Works on one machine - not another

  • Thread starter Thread starter Alex H
  • Start date Start date
A

Alex H

Hi

I have a database and on a button on a form I have the following code:
Private Sub btnEditRequest_Click()
On Error GoTo btnEditRequest_Click_error

Me.Parent![Edit].Form.Requery

btnEditRequest_Click_Exit:
Exit Sub

btnEditRequest_Click_error:
Select Case Err
Case Else
MsgBox Err & " - " & Error$, vbCritical + vbOKOnly, "Error in
btnEditRequest_Click"
Resume btnEditRequest_Click_Exit
End Select
End Sub

On my desktop, running Access2003 aspart of Office2003,if Iclick on the
button, I get the data displayed in my form. If I move the database to my
laptop,also running Access 2003 as part ofOffice 2003, and the the
button,nothing happens.

Can anyone tell me what is wrong, or even where to start looking?

Thanks

A
 
Back
Top