in vb if in form1 the user login how to come the form2 that come out information with access

Recommended Answers

All 3 Replies

Please be descriptive abut your problem. Do not understand what is your problem. We are here to help you.

oh i mean if the user login then come out the information of the user detail like address, email and more
n i useing VB with the access database and i have two form: in form 1 is the login and form 2 is the information

Declare variables publicly in main module. In Click event of 'ok' button in Form1 store data to the variables and show Form2.
In Form2 Class Module make a sub procedure to show the data of the user from database filtering by the previously declared public variables. Then call the procedure in Form2_Load Event.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.