Board index » delphi » TQuery vs SQL Server problems
Guy Taschereau
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
TQuery vs SQL Server problems
I have a complex (I thought it was simple) situation and I can't find a
proper way to do it. May be someone can guide me through the right way. I'm using Delphi 5 with Remote MSSQL server. Here is my situation: I have a DBGrid containing only 1 field from a MyTable which contains may be SELECT F2001,UPPER(F2001) as F2001S from MyTable ORDER BY F2001S Here is my problem number 1: The field in my DBGrid is F2001 and with this SELECT F2001,UPPER(F2001) as F2001S from MyTable WHERE F2001 <> 'trash' then it's OK. Why??? Now, problem #2: If I want to add, delete or modify records, I must use I wanted to use a small dataset for the DBGrid (only 1 field) to minimise I was wondering if it would be possible to work on the cache (both TQuery Any suggestion? Regards, Guy |