L
Lawrence J. Rizzo
Hello,
A couple easy questions...any help is greatly appreciated!
1) I am writing an application that will have a login form. I have defined
the connection and get it all to validate against a USER table in my
database. I then load an MDI form. My question is do I need new connection
objects for each form that will be doing database updates? It just seems to
me that a global connection object would be nice but that would seem to go
against the disconnected ideas of ADO. (Rambling...sorry!)
2) For the connection string, I have it hard coded to work just fine. When
I deply my application, what is the best way to specify the location of the
database? (In my application, this will be an Access database, so, the
path.) In a SUB MAIN() ? Any other ideas?
Thanks, again!
Larry
A couple easy questions...any help is greatly appreciated!
1) I am writing an application that will have a login form. I have defined
the connection and get it all to validate against a USER table in my
database. I then load an MDI form. My question is do I need new connection
objects for each form that will be doing database updates? It just seems to
me that a global connection object would be nice but that would seem to go
against the disconnected ideas of ADO. (Rambling...sorry!)
2) For the connection string, I have it hard coded to work just fine. When
I deply my application, what is the best way to specify the location of the
database? (In my application, this will be an Access database, so, the
path.) In a SUB MAIN() ? Any other ideas?
Thanks, again!
Larry