Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Event in ActiveX control won't allow REPLACE?
Message
De
20/06/2001 11:28:54
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00521423
Message ID:
00521511
Vues:
22
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform