J
John C.
I have a table. It contains ComputerID and Location.
I have a subroutine that reads the .LDB file for a
database I administer. It determines each Computers ID
that is using the DB.
The subroutine creates a list, which populates a list box
(values seperated by a semi-colon).
As each Computers ID is determined, I want to lookup the
associated location, and populate another list box.
I have tried the following:
sLocation = DLookup
("[Location]", "ComputerLocations", "[ComputerID] = " &
sLogStr)
[Location] and [ComputerID] are fields within
the "ComputerLocations" table.
sLogStr is the variable which contains the Computers ID.
I receive the following ERROR message:
Error: 64479
The expression you entered as a query parameter produced
this error: 'The object doesn't contain the Automation
object 'PC42218.''
PC42218 is a computer ID.
I have a subroutine that reads the .LDB file for a
database I administer. It determines each Computers ID
that is using the DB.
The subroutine creates a list, which populates a list box
(values seperated by a semi-colon).
As each Computers ID is determined, I want to lookup the
associated location, and populate another list box.
I have tried the following:
sLocation = DLookup
("[Location]", "ComputerLocations", "[ComputerID] = " &
sLogStr)
[Location] and [ComputerID] are fields within
the "ComputerLocations" table.
sLogStr is the variable which contains the Computers ID.
I receive the following ERROR message:
Error: 64479
The expression you entered as a query parameter produced
this error: 'The object doesn't contain the Automation
object 'PC42218.''
PC42218 is a computer ID.