Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Event in ActiveX control won't allow REPLACE?
Message
From
20/06/2001 11:28:54
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00521423
Message ID:
00521511
Views:
21
This message has been marked as the solution to the initial question of the thread.
>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,
At eof() ?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform