sychoangel
Registered User.
- Local time
- Today, 11:29
- Joined
- Jul 4, 2008
- Messages
- 20
Hello J I’m using Access2007…
I have a Database with 2 tables... One is where the primary information is stored, and the second has a list of reserved IDs.
I need to set up a form where based on the values of the first 2 fields , it will look at the second table & find the next available ID that matches the criteria and then populate the ID field of the table with a value (and also store the ID in the table)
An e.g. of the Form filled in with the criteria:
Colour: RED
Size: Sm
ID: _______
So then the ID needs to be automaticall populated (and stored in the primary table) from the second table with the next available value that meets the criteria:
Colour Size ID
Red Lg RL01
Red Lg RL02
Red Sm RS01
Red Sm RS02
Red Sm RS03
I am normally good with databases, but have a mental block & don’t know where to start…
I have a Database with 2 tables... One is where the primary information is stored, and the second has a list of reserved IDs.
I need to set up a form where based on the values of the first 2 fields , it will look at the second table & find the next available ID that matches the criteria and then populate the ID field of the table with a value (and also store the ID in the table)
An e.g. of the Form filled in with the criteria:
Colour: RED
Size: Sm
ID: _______
So then the ID needs to be automaticall populated (and stored in the primary table) from the second table with the next available value that meets the criteria:
Colour Size ID
Red Lg RL01
Red Lg RL02
Red Sm RS01
Red Sm RS02
Red Sm RS03
I am normally good with databases, but have a mental block & don’t know where to start…