stevegee76
New member
- Local time
- Tomorrow, 03:54
- Joined
- Apr 13, 2011
- Messages
- 5
Hi everyone, i have a database where users enter a code for a record into a form which populates a field in one table but I want to now only allow further information about that record to be entered if the code is within a field in another table.
I am setting up a database where users will enter information for a road on which they will conduct maintenance works into a form, which then populates this information into tables. This code is in alpha-numeric format, eg A12345.
I then want to setup a check that either allows the rest of the maintenance works information to be entered into the form if the code is included in a field in a seperate table or to have a message box come up that advises the user that the code is not in the field in the seperate table and no other information is able to be entered into the form.
I can do the checking part in excel with =ISNUMBER(MATCH(lookup_value, lookup_array, [match_type])) where lookup_value is the value in a particular cell, say A1, lookup_array is an array or list of group of cells to look for the value in, say B1:B50 and the match type is usually FALSE.
Ideally I am wanting to know how to do this in access so I do not have to switch between excel and access.
I have spent some time researching DLOOKUP, ISNUMERIC etc but these do not seem to do what i want.
Anyone have any ideas please?
I am setting up a database where users will enter information for a road on which they will conduct maintenance works into a form, which then populates this information into tables. This code is in alpha-numeric format, eg A12345.
I then want to setup a check that either allows the rest of the maintenance works information to be entered into the form if the code is included in a field in a seperate table or to have a message box come up that advises the user that the code is not in the field in the seperate table and no other information is able to be entered into the form.
I can do the checking part in excel with =ISNUMBER(MATCH(lookup_value, lookup_array, [match_type])) where lookup_value is the value in a particular cell, say A1, lookup_array is an array or list of group of cells to look for the value in, say B1:B50 and the match type is usually FALSE.
Ideally I am wanting to know how to do this in access so I do not have to switch between excel and access.
I have spent some time researching DLOOKUP, ISNUMERIC etc but these do not seem to do what i want.
Anyone have any ideas please?