I have a FaxMan Jr. ActiveX control on my form.
The ActiveX control has an event called CompletionStatus.
Completion Status Event = fired at the end of the faxing process to indicate that your app can check the status object to determine the overall success of the fax process.
My REPLACE command is not working inside this event. Any clue as to why the REPLACE command is not saving the word "FAX" in the fax record in the Faxreq (fax request) table?
Here is the code inside the Completion Status event:
LPARAMETERS
pStatObj
* Shutdown Fax
cstatus = "Shutting fax modem down ....."
THISFORM.cstatus.Refresh
SELECT faxreq
REPLACE faxreq.route WITH "FAX"
IF pStatObj.CurrentStatus = 16 && Fax success
... other REPLACE code goes here
REPLACE faxreq.faxstatus WITH "SENT"
ELSE
... other REPLACE code goes here
REPLACE faxreq.faxstatus WITH "PENDING"
ENDIF
Don't know what's wrong. Do you? Thanks for the help.
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site:
www.stephenkramer.comWould you believe Far Side Lite?
More than 270 original cartoons.