antvon
Programmer
- Dec 2, 2002
- 45
Hi
I have several ado data controls on various forms
that have their recordsources set to a sql server
string
What I'd like to do is set these ado's recordsource
strings to another value (so that a different user
can log in to the database)
I have tried setting the ado recordsource in the
form load event, but when I access the control it
still looks at the control property first for the
recordset - tries to connect - fails and then
looks at the form load event for the string
and loads correctly
having an empty recordsource on the ado does'nt
work either.
Thanks in advance
I have several ado data controls on various forms
that have their recordsources set to a sql server
string
What I'd like to do is set these ado's recordsource
strings to another value (so that a different user
can log in to the database)
I have tried setting the ado recordsource in the
form load event, but when I access the control it
still looks at the control property first for the
recordset - tries to connect - fails and then
looks at the form load event for the string
and loads correctly
having an empty recordsource on the ado does'nt
work either.
Thanks in advance