kermit01de
Technical User
Access 2010
The following procedure is on the "after update" event on a checkbox
netsend.exe is a piece of freeware belonging to WinPopup Messenger. It is residing in System32 folder
When checking the FertigX-box After answering the MsgBox something is happening at the taskbar for 1/2 seconds. I assume that is the shell ...
When copying the command to the cmd-window everything runs fine, message pops up in Winpopup. So the command itself is not wrong.
My question is,
a) why does it not execute correctly from within Access
a1) How to debug that and get back a possible error in the shell?
Thank you.
Mirko
Kind regards
Mirko
--------------------------------------
>>>>>> ... I am sure, some supportissues are a matter of PEBKAC ... <<<<<
The following procedure is on the "after update" event on a checkbox
Code:
Private Sub FertigX_AfterUpdate()
CurrentDb.Execute "INSERT INTO LapLog ([LfdNr], Aktion, Zeit) VALUES (" & LfdNr & ", 'Fertig neu: " & FertigX & "', Now())"
If FertigX = True Then
If MsgBox("Wirklich FERTIG? Alle Eintragungen zum Anwender vorgenommen?", vbOKCancel, "Wirklich Fertig?") = vbOK Then
Shell "netsend.exe /WINPOPUP A0003372 " & """Achtung: Vorgang " & [User] & " ist fertig zur Eintragung in I T D S"""
Else
FertigX = False
End If
End If
End Sub
netsend.exe is a piece of freeware belonging to WinPopup Messenger. It is residing in System32 folder
When checking the FertigX-box After answering the MsgBox something is happening at the taskbar for 1/2 seconds. I assume that is the shell ...
When copying the command to the cmd-window everything runs fine, message pops up in Winpopup. So the command itself is not wrong.
My question is,
a) why does it not execute correctly from within Access
a1) How to debug that and get back a possible error in the shell?
Thank you.
Mirko
Kind regards
Mirko
--------------------------------------
>>>>>> ... I am sure, some supportissues are a matter of PEBKAC ... <<<<<