DreamGenius
Annoying Questionner
- Local time
- Today, 08:08
- Joined
- Jul 29, 2004
- Messages
- 116
I have a table, which is a local copy of a linked Oracle table, where one of the fields is a unique record number.
I've built a form which enables people to edit the local table, changes being posted to the linked table on closing the database.
I'm having difficulty building an expression in the default value field that will add the next unique record number to any new line added.
= Max (Field_Name) + 1 just returns 1 (and there are 655 records in the table) whilst = (Select (Max (Field_Name) from Table) + 1) returns #Name?!
Help, please?
I've built a form which enables people to edit the local table, changes being posted to the linked table on closing the database.
I'm having difficulty building an expression in the default value field that will add the next unique record number to any new line added.
= Max (Field_Name) + 1 just returns 1 (and there are 655 records in the table) whilst = (Select (Max (Field_Name) from Table) + 1) returns #Name?!
Help, please?