Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Operation different in compiled code than in IDE

Status
Not open for further replies.

runals

Technical User
May 20, 2005
11
US
Hello,

I have an application that I am writing that uses an Access 2000 DB to hold information. A user has complained that when selecting a record from a flexgrid and updating it that a runtime error 5 occurs which is an invalid procedure call or argument. I have tried to duplicate it in the IDE and have not been able to. The programs functions properly. If I compile the IDE working code and execute it while accessing the exact DB that the IDE uses I get the reported run time error.

I am a bit stuck. How can I troubleshoot this sort of problem? Thanks in advance.

Andrew
 
Never mind I found it. I commented out the offending routine and then uncommented sections until I found the problem lines. For some reason I had put in

On Err goto xxx

I changed it to

On Error goto xxx

And the problem went away.


Andrew
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top