Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / March 2005

Tip: Looking for answers? Try searching our database.

Works on one machine - not another

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alex H - 08 Mar 2005 22:25 GMT
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
Duane Hookom - 09 Mar 2005 04:13 GMT
Most of the time when code works on one PC and not another, the issue is
references. Check Doug Steele's page
http://www.accessmvp.com/djsteele/AccessReferenceErrors.html.

Signature

Duane Hookom
MS Access MVP

> Hi
>
[quoted text clipped - 26 lines]
>
> A
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.