Hello All,
my form is connected to an external data source in Oracle through ODBC. When I link my form to the Oracle table, it automatically maps the datatypes in Access 97. However, there is a field called "ID" which is an autonumber field but when I link it to Access, it mapped the datatype to text. And when I try to change it to autonumber, it says I can't change property on a linked table.
Now, when I create new records, that field is blank since it doesn't do the autonumbering. Is there a way to change it to autonumber or is there a code that I can write so that when the user clicks on the add record button, that field is automatically populated by a number that is the ID number of the last record plus 1??
Thanks in advance!
-Lory
my form is connected to an external data source in Oracle through ODBC. When I link my form to the Oracle table, it automatically maps the datatypes in Access 97. However, there is a field called "ID" which is an autonumber field but when I link it to Access, it mapped the datatype to text. And when I try to change it to autonumber, it says I can't change property on a linked table.
Now, when I create new records, that field is blank since it doesn't do the autonumbering. Is there a way to change it to autonumber or is there a code that I can write so that when the user clicks on the add record button, that field is automatically populated by a number that is the ID number of the last record plus 1??
Thanks in advance!
-Lory