more than 10 params with a Tquery 
Author Message
 more than 10 params with a Tquery

Hello,

When I want to insert a record with a TQuery, everything works correctly
until I use more than 10 params.
Returned Error : Missing comma ...

I still use delphi 1.00.

Does someone know this problem ?

Thanks a lot for your help;

- Dejan ILIC. -



Wed, 18 Jun 1902 08:00:00 GMT  
 more than 10 params with a Tquery
I have some tables with more than 100 fields,
I use Fieldbyname('..').as..:= ..
eg.
with Query1 do begin
     Append;  //or insert
     Fieldbyname('sNum').asInteger    :=Counter;
     Fieldbyname('FullName).asString  :=Edit1.text+' '+Edit2.text;
     Fieldbyname('thisDate).asDateTime:= date;
     ...
     Post;
end;

Rudy
==================================
Dejan Ilic schreef:

Quote:

> Hello,

> When I want to insert a record with a TQuery, everything works correctly
> until I use more than 10 params.
> Returned Error : Missing comma ...

> I still use Delphi 1.00.

> Does someone know this problem ?

> Thanks a lot for your help;

> - Dejan ILIC. -



Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Base 10/Base 2 or Base 2/Base 10 conversion

2. updating Tquery - params dont appear to change

3. Apostrophes with TQuery (Params and Literals)

4. TQuery adn its Params limitation

5. Params in TQuery

6. Run time error with TQuery Params.

7. can't read/write dbf fields with 10 decimals

8. Delphi C/S and Sybase Sytem 10

9. 10 non-concurrent users, Pdox, Cached updates:

10. HELP IN SORTING 10 NUMBERS

11. ===== GraphiX-v6.10 Bugfix 2 =====

 

 
Powered by phpBB® Forum Software