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