Subject Re: [IBO] Connect to Database calls Generator
Author Lucas Franzen
Florian,



> I left the GeneratorLink property undefined and assign a newly generated
> value just before a new row is posted.
> However, I could only get it pass the compiler with
> ...FieldByName('ID').AsInteger := cnBestell.Gen_ID('Gen_tabBestell',1), note
> the apostrophe.

Which apostrophe?
Around the Generatorname???

That's normal since the Gen_ID of of IBO expects a string as param

whereas:

SELECT GEN_ID ( GEN_TABBESTELL, 1 )
FROM RDB$DATABASE

(as you used) is a string itself ....

Luc.