I have a database with a parent table and a child table. It has a one to many relationship. The user can add 1 record to the parent table and many records to the child table. In the parent table, the primary key is an autonumber that the database populates. I need to find a way to get that value and carry it to the next screen to prepopulate that value when the user adds records to the child table.
After the user adds a record to the parent table, they are redirected to a page that asks them if they want to add records to the child table. I have tried to use the session variable and the dictionary value but it gives me an error. Can you tell me where this value might be stored. Would it be stored anywhere since the database creates the number? Any ideas you have would be very helpful.
Kym