It's a database for the logging of service access requests. I have a table of user details. The user id is the primary key here.
What i want to do is when I log a request a form pops up and you enter the user id of the person making the request. If the user has already made a request in the past, the service form appears with his details pre loaded into the relevant places on the form (like location, name, telephone no.) so all I need to fill in is the system they want access to. If they have never been entered onto the system a form to enter all the user details comes up before you get to the access request form.
*phew* I guess what I need is, the initial form runs a query on the user table, and the details from that query are entered into the access request form automatically, if that query returns nothing, then the user form appears, you enter the user details and then the access request form opens with these details in place. Sorry for all the info at once, but thanks for your time!