I am receiving a run-time 48 error loading dll error in access 2000.
The database works fine, on my machine, but seemingly not on any other access 2000 machine.
There are 4 linked tables to a SQL database.
When the main form is opened, i have a dropdown with a list of employee names. When you click in the dropdown to select another employee, the error occurs. Here is the code i am using which, when you select an employee, is supposed to load that employees demographic information.
Private Sub Form_Current()
[Combo170] = [NameSearch]
End Sub
Private Sub Combo170_AfterUpdate()
' Find the record that matches the control.
Me.RecordsetClone.FindFirst "[NameSearch] = '" & Me![Combo170] & "'"
Me.Bookmark = Me.RecordsetClone.Bookmark
End Sub
I'm sure alot of you have seen similar code.
Does anyone have any idea why this would work on my machine and not on any other's i have tried? I even did a fresh install of Office2k on a WIN2k OS...the same as mine. Service Packs are the same, the same OfficeCD install was used etc. I do however have VB.NET installed on my PC where this database works as well as SQL Enterprise Manager and Query analyzer. I'm not sure if there is some dll that was installed that makes this work.
Any help is appreciated. If not by letting me know what dll i migh be missing, an option for code that may do what i want.
Thanks for the help.
dc~
The database works fine, on my machine, but seemingly not on any other access 2000 machine.
There are 4 linked tables to a SQL database.
When the main form is opened, i have a dropdown with a list of employee names. When you click in the dropdown to select another employee, the error occurs. Here is the code i am using which, when you select an employee, is supposed to load that employees demographic information.
Private Sub Form_Current()
[Combo170] = [NameSearch]
End Sub
Private Sub Combo170_AfterUpdate()
' Find the record that matches the control.
Me.RecordsetClone.FindFirst "[NameSearch] = '" & Me![Combo170] & "'"
Me.Bookmark = Me.RecordsetClone.Bookmark
End Sub
I'm sure alot of you have seen similar code.
Does anyone have any idea why this would work on my machine and not on any other's i have tried? I even did a fresh install of Office2k on a WIN2k OS...the same as mine. Service Packs are the same, the same OfficeCD install was used etc. I do however have VB.NET installed on my PC where this database works as well as SQL Enterprise Manager and Query analyzer. I'm not sure if there is some dll that was installed that makes this work.
Any help is appreciated. If not by letting me know what dll i migh be missing, an option for code that may do what i want.
Thanks for the help.
dc~