RE:otra manera de editar base de datos sin usar qu
gracias, yo buscaba otra manera de hacerlo por qu e me urge entregar un sistema.. pero el problema es que no me jala el query.. mira este es:
While not FindFields.EOF do
begin
try
begin
Tindic.active:=true;
TIndic.Append;
TIndic.FieldByName('dacd').AsString:= FindFields.FieldByName('dacd').AsString;
TIndic.Post;
end
except
TIndic.Cancel;
end;
FindFields.Next;
end;
y este es el codigo del mismo pero con un queruy echo por codigo.. tampoco jala, no se que me falta...
while not FindFields.EOF do
begin
try
begin
SqlLine := 'Insert into tindicae(dacd) VALUES('''+FindFields.FieldByName('dacd').AsString +''')';
InsertQuery := TQuery.Create(Nil);
InsertQuery.DataBaseName := DataSic.DBSic.DatabaseName;
InsertQuery.Sql.Add(SqlLine);
InsertQuery.ExecSQL;
InsertQuery.close;
InsertQuery.free;
end
except
Application.MessageBox('Datos incorrectos en Alta de findfields(SQL)...', 'Error !!', mb_Ok + mb_IconError);
/ break;
end;