How can I pass Login info (userID, password, server, database) from the Login form to the mainform before Load event is fired in the main form?
The reason being that I need to capture the Login info to build a connection string and only will be able populate the main form. I appreciate your help. S.
dim connectionString as string ="Provider=SQLOLEDB.1;Persist Security Info = False;" & _
"Initial Catalog = " & database & ";Data Source = " & Server & ";User ID =" & userName & ";Password =" & password & ";"
The reason being that I need to capture the Login info to build a connection string and only will be able populate the main form. I appreciate your help. S.
dim connectionString as string ="Provider=SQLOLEDB.1;Persist Security Info = False;" & _
"Initial Catalog = " & database & ";Data Source = " & Server & ";User ID =" & userName & ";Password =" & password & ";"