Still rather new to Access, took an introductory course years ago but it's not helping. Been searching and reading through this forum, but I guess I just don't know exactly what I need to be looking for in order to find a thread that can help me.
I'm created a database to verify winning sweepstakes tickets and I'm having trouble figuring out how to get a form button to lookup a specific ticket's prize. I'm in the beginning stages of starting to make some of the forms that will be used by the end-user . I've created a Verification form with 5 text boxes, 4 of them are based on the sweepstakes ticket numbering system which is broken down as follows;
- Game Number
- Game ID Number
- Game Ticket Number
- Game Ticket Ver Code
and the 5th text box is where I would like the ticket's prize to show up.
Function of the form:
Once the 4 ticket number fields (as described above) are filled in and you click on the Verify button, It needs to; 1) make sure the numbers entered are a valid ticket number and 2) display that ticket's prize in the 5th text box. I'd also like to get a message box to pop-up if the numbers entered are invalid.
So far all I have accomplished is getting the form to pop-up a message box if one of the 4 ticket number fields are left blank when you click the Verify button, clearing the fields with a Clear button and closing the form with a Cancel button.
Can anyone help me with how to finish the programming of the Verify button's function? Any help would be appreciated.