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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

End using the command word

Status
Not open for further replies.

Zeroanarchy

Technical User
Jun 11, 2001
630
AU
ok an unusual error I came across in Access97 and 2000.

The command word End does not work well with Runtime 97 or 2000 you should convert it to Exit Sub

eg.

Programming | Command Word | Command Word
Language | END | Exit Sub
----------------------------------------------------------
Access97 |No errors | No errors
Access97 Runtime |Runtime error | No errors
Access2000 |No errors | No errors
Access2000 Runtime |Runtime error | No errors

It shuts dow the entire program and comes up eith a runtime error.

Thought i would save a few of you future problems.

Zero Anarchy :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top