AccessXP (Me) call generates "Data type Mismatch"

GumbyD

Accessosaurus
Local time
Today, 01:19
Joined
Aug 21, 2003
Messages
283
I am getting the error "Data type Mismatch" when a form opens and runs this code:

Private Sub Form_Activate()
Call FormOnActivate(Me)
DoCmd.MoveSize 0, 0
End Sub

When I debug it takes me to the line

Call FormOnActivate(Me)

The funciton FormOnActivate is in a referenced mde database and is looking for a form as the parameter.

This is on an AccessXP database referencing the DAO 3.6. It only seems to occur on some workstations but not others. I have checked to make sure all of the ocx and dll files are the same version and registered.

If anyone has any ideas, I would be very thankful!

GumbyD
 

Users who are viewing this thread

Back
Top Bottom