R
Rajeev
Hi everybody,
I developed an application with access and when I tried to deploy the
application with the access runtime it gives me the following error:
"Execution of this application has stopped due to a run-time error"
"The application can't continue an it will shut down."
It works fine in full version of access..
The following is the code:
The function Activity_Enter() calls the StartRecordAtBeginning and
it(StartRecordAtBeginning) does executes fine but after that I get an error
message
"Execution of this application has stopped due to a run-time error"
"The application can't continue an it will shut down."
please help me...I'm working on this from last the 3 weeks but i could not
fix the problem
Note: its working fine in full version of access.
Private Sub Activity_Enter() 'this checks TargetID info
If IsNull(TargetID) Then
Call StartRecordAtBeginning
End
End If
End Sub
-----------------------------------------------------------------------------------------------------------------------
Sub StartRecordAtBeginning()
If MsgBox("You have not yet entered the target ID#. " & _
"You must start data entry at the beginning. " & _
"Click 'Retry' to go back and enter the target " & _
"ID#, or click 'Cancel' to erase this record without " & _
"saving it.", vbRetryCancel, "Enter Target ID#") = vbCancel Then
Call UndoRecordButton_Click
End
Else
Screen.ActiveControl = ""
TargetID.SetFocus
End If
End Sub
I developed an application with access and when I tried to deploy the
application with the access runtime it gives me the following error:
"Execution of this application has stopped due to a run-time error"
"The application can't continue an it will shut down."
It works fine in full version of access..
The following is the code:
The function Activity_Enter() calls the StartRecordAtBeginning and
it(StartRecordAtBeginning) does executes fine but after that I get an error
message
"Execution of this application has stopped due to a run-time error"
"The application can't continue an it will shut down."
please help me...I'm working on this from last the 3 weeks but i could not
fix the problem
Note: its working fine in full version of access.
Private Sub Activity_Enter() 'this checks TargetID info
If IsNull(TargetID) Then
Call StartRecordAtBeginning
End
End If
End Sub
-----------------------------------------------------------------------------------------------------------------------
Sub StartRecordAtBeginning()
If MsgBox("You have not yet entered the target ID#. " & _
"You must start data entry at the beginning. " & _
"Click 'Retry' to go back and enter the target " & _
"ID#, or click 'Cancel' to erase this record without " & _
"saving it.", vbRetryCancel, "Enter Target ID#") = vbCancel Then
Call UndoRecordButton_Click
End
Else
Screen.ActiveControl = ""
TargetID.SetFocus
End If
End Sub