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!

how to know the line no of class module code in runtime

Status
Not open for further replies.

kanth

Programmer
Aug 25, 2001
1
IN
please let me any body
as i want to get the line no of class module in runtime.
actullay i want to know the error line no of the class module
 
There is no way to get this information out of Access at runtime. The compiled code contains no information about the source line numbers.

You'll have to devise your own technique in code, setting a class module-level variable as you get from point to point in the logic, and then displaying it somewhere in the class method's (or procedure's) error handler. Rick Sprague
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top