Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Event in ActiveX control won't allow REPLACE?
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Event in ActiveX control won't allow REPLACE?
Miscellaneous
Thread ID:
00521423
Message ID:
00521423
Views:
43
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.com
Would you believe Far Side Lite?
More than 270 original cartoons.
Next
Reply
Map
View

Click here to load this message in the networking platform