I have created a database for logging computer fault calls. I have 1 table for holding call details and 1 that lists serial numbers that are on contract.
I have created a form based on the call details table [Calls] and I have a text box on this form [SerialNo] for the user to enter serial number.
Now to get to the point :^) After the user enters a serial number, I would like access to check to see if the entered serial number is listed in the Serial No table (thus being on contract) if so then display a message box stating the serial number is on contract, if not then display msgbox advising and asking if want to add serial number to contract.
I think....that i need to use the DLookup function but have been playing around with this all day (without success, hence the post!).
Can anyone provide a solution or a better way of verifying serial numbers??? I did think of a quick and dirty way (change text box to a combo and use the serial no table as the recordsource) unfortunately there are 1400 machines on contract soooooo it would be a pretty big combo!!
Any ideas please help (i don't think i'm going to have any hair left at this rate!).
P.S. Ian, if you read this, thanks for all your help with this - I have managed to import the data after all - Ta.
I have created a form based on the call details table [Calls] and I have a text box on this form [SerialNo] for the user to enter serial number.
Now to get to the point :^) After the user enters a serial number, I would like access to check to see if the entered serial number is listed in the Serial No table (thus being on contract) if so then display a message box stating the serial number is on contract, if not then display msgbox advising and asking if want to add serial number to contract.
I think....that i need to use the DLookup function but have been playing around with this all day (without success, hence the post!).
Can anyone provide a solution or a better way of verifying serial numbers??? I did think of a quick and dirty way (change text box to a combo and use the serial no table as the recordsource) unfortunately there are 1400 machines on contract soooooo it would be a pretty big combo!!
Any ideas please help (i don't think i'm going to have any hair left at this rate!).
P.S. Ian, if you read this, thanks for all your help with this - I have managed to import the data after all - Ta.