Ok, here's more detail. I don't have an exact statement
that the error appears on, but my best guess is during the
data access to the database on the form load. This is the
suspect code right now:
Set qdfTemp = .CreateQueryDef("", "SELECT * FROM
MotorVariables where MotorId = '" + Motor.Text + "'")
The machine is running VB executable, but does not have VB
loaded so I can't step through the code on the machine to
confirm this.
The exact error message is "Data Access Error". I receive
it twice, once for each dropdown that fails to load, then
the mainmenu form loads normally. If I click on the
refresh data button which refreshes the data to one of the
dropdowns that is giving the problem, I found that it
gives me a runtime error 525 with the same Data Access
Error message during loading. (just found this today)
Two of three fields don't update from the database
information means exactly that. There are 3 fields that
pull data from the database and create lists for pull
downs. One is working, 2 are not. They do access
different tables in the database. Here is the one that
works on this machine:
Set qdfTemp = .CreateQueryDef("", "SELECT * FROM
UserInformation where Username = '" + Operator.Text + "'")
I also have a mirror of this exact program and database on
another machine that works just fine. So I can't figure
out why it works one place and not here.