G
Guest
Is there a way to call a procedure from within Access when accessing the
database via ODBC?
My Access application uses ODBC to connect to a DB2 database. This works
fine for extracting data and for some update/append statements. However, a
table to which I need to append records has a primary key that is normally
generated by a procedure within the DB2 database. I tried incrementing using
a DMax(PrimaryKey) +1; this worked for me but did not increment the sequence
generator, so the next record created natively by a user within the DB2
environment tried to use the same ID that I had just created.
I know that Crystal Reports is able to call procedures because some of the
reporting from this same DB2 db uses procedures to pre-populate fields when a
particular Crystal Report is run. Is it possible in Access?
database via ODBC?
My Access application uses ODBC to connect to a DB2 database. This works
fine for extracting data and for some update/append statements. However, a
table to which I need to append records has a primary key that is normally
generated by a procedure within the DB2 database. I tried incrementing using
a DMax(PrimaryKey) +1; this worked for me but did not increment the sequence
generator, so the next record created natively by a user within the DB2
environment tried to use the same ID that I had just created.
I know that Crystal Reports is able to call procedures because some of the
reporting from this same DB2 db uses procedures to pre-populate fields when a
particular Crystal Report is run. Is it possible in Access?