Problem writing field using alias (MSQuery)
Posted: Mon 06 Oct 2014 19:05
Hello,
When i put a query in Msquery with a field using alias, it is not written.
Example:
Delphi:
Is that a problem? Know any solution?
Note: I'm replacing the use of TClientDataset by TMsquery
When i put a query in Msquery with a field using alias, it is not written.
Example:
Code: Select all
select upper(field) as field from table
Code: Select all
msQuery.Open;
msQuery.First;
msQuery.Edit;
msQuerycampo.AsString := 'test';
msQuery.Post;
Note: I'm replacing the use of TClientDataset by TMsquery