I saw on another post to preface my recordset statements with DAO, and I
will do that, but I also would like to know why the reference got moved and
if there's something I should do about that.
Thanks in advance.
However, from what you've described, I'd hazard a guess that you haven't
split the application into a front-end (containing the queries, forms,
reports, macros and modules), linked to a back-end (containing the tables
and relations). Only the back-end should be on the server: each user should
have his/her own copy of the front-end, ideally on his/her hard drive. With
a set up like that, at least you wouldn't have to worry about one user
impacting the others (and you likely wouldn't have had to restore from
backup)
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
"Trillium97" <Trill...@discussions.microsoft.com> wrote in message
news:CFC5ED1F-D913-47FE...@microsoft.com...
Are you using ADO? If not then remove the ADO reference completely
and that should take care of any ordering problems in the reference
list.
Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Dim rst As Recordset
With a statement like the above, VBA will find the FIRST object from the
object libraries that are referenced that match the word "Recordset" ... so
if the ADO object library is HIGHER on the list (thus greater priority) than
DAO, the object variable rst is being flaged as an ADO Recordset. That is
why its good to fully qualify your DAO and ADO objects ...
Dim rstD As DAO.Recordset
Dim rstA As ADODB.Recordset
I would encourage you to place the library identifier you need in front of
all DAO and ADO objects. Then the order of the reference is not
critical.... although I put the most used ones near the top of the list.
--
Brent Spaulding | datAdrenaline | Access MVP
"Trillium97" <Trill...@discussions.microsoft.com> wrote in message
news:CFC5ED1F-D913-47FE...@microsoft.com...