I have a dialog box with the OK and Cancel buttons, but I cannot workout how to get the answer from the dialog box telling me which button was pressed. This is what I've got...
result = MsgBox "test",1
if result = 1 Then
MsgBox "you chose OK"
if result = 2 Then
MsgBox "you chose Cancel"
DxDesigner errors when the code gets to the "result = MsgBox "test",1" statement with the following:
If anyone can help that would be fantastic.