Subject | Generator Links at runtime |
---|---|
Author | txwhytboy |
Post date | 2002-07-06T06:39:56Z |
the TIB_Query that runs this is created on the fly just before this...
SQL.TEXT := 'Select * from TABLE1';
GeneratorLinks.Add('Table1_ID=gen_Table1_PK');
Prepare;
TABLE1ID := GeneratorValue('gen_Table1_PK',1);
Is this the proper use to set the variable TABLE1ID to the Value that
would be the genrerated value of an InSERT?
- Roger
SQL.TEXT := 'Select * from TABLE1';
GeneratorLinks.Add('Table1_ID=gen_Table1_PK');
Prepare;
TABLE1ID := GeneratorValue('gen_Table1_PK',1);
Is this the proper use to set the variable TABLE1ID to the Value that
would be the genrerated value of an InSERT?
- Roger