Compiled Runtime Applications

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible to set up an Access97 database to allow debugging after it has
been opened using the /runtime command line switch? I am getting an error on
a user desktop that does not occur when I run the app on my desktop, and the
user does not have MSAccess installed.

I've tried setting the AllowBreakIntoCode and AllowSpecialKeys properties to
true, but this doesn't appear to have any effect whit runtime apps.

/_~_\
{ @ @ }
---o00o-(_)-o00o---John
 
If you are trying to debug in using a runtime, I think the only way to do it
is to add a code and messages to the routine. I assume you have an error
handler for the routine already. This is tedious, but I know of no other
way to handle it.

Sub MySub
Dim strMsg as string
On error Goto mySub_ERROR

strMsg = "If A = G: " & A & ":" & G
If A = G then

strMsg = "If A = G*#: " & A & ":" & G
A = G * 3
Else

strMsg = "If A = Null " & A & ":" & G
A = Null
end if

Exit Sub
MySub_Error:
msgbox strMsg & vbcrlf & err.number & ":" & err.description

End Sub
 
Back
Top