I'm new to IB and Delphi.
I've created a table with an auto increment generator in IB .when I insert data manually through the Isql of Interbase everything works fine.
Problem is when I try to insert data through a dbedit component in a delphi form .I he won't accept it .because it needs a value for the primary key field which should be auto incemented by the generator.
For example I have a table of 3 columns :
1. UserCode integer not null primary key
2. FirstName char(15) not null
3. LastName char(15) not null
the generator fills in the UserCode field automatically.
when I insert data to the 2nd and third field through a
dbedit box on a delphi form it won't let me submit and
will shout that the first field (usercode) needs a value.
I have no idea what am I doing wrong/missing