deepbreath
10-24-2001, 04:49 AM
i need to put a input box, which asks for name and then stores in a table field and print it in a report, thanks in advance
|
View Full Version : asks user name deepbreath 10-24-2001, 04:49 AM i need to put a input box, which asks for name and then stores in a table field and print it in a report, thanks in advance Pat Hartman 10-24-2001, 01:25 PM My guess is that you don't want to do all of these things at once. Create a Login form that is opened at startup. Have an unbound control for UserId entry and a button to open your main form. In the click event of the button make sure that the user has entered a valid value in the UserId field. Hide the Login form (don't close it) and then open the main form. Then, anytime you need to use the logged in UserId refer to the control on the hidden form - Forms!YourLoginFormName!YourUserIdControlName |