Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Do This?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
How To Do This?
Divers
Thread ID:
00808535
Message ID:
00808535
Vues:
44
I have created a VFP7 COM DLL that creates data for a report. You set some
properties and call the StartReport method, and when it's done, it returns
the full path and name of the table created.

In the process of creating the data, I do some SQL's, SCAN and REPLACES,
TOTAL's and other data manipulation to get the table ready.

Here's the question:

I want to be able to report back the status, preferably in a status bar, to
the client application.

To accomplish this, I created 2 properties called oCallBackObj anc cCallBackFunc
which contain an object reference to the object which will do the reporting
and the name of the funtion to call.

The question is; how to I determine the percent done of a SQL command? And then
how do I determine the total percent completed? To clarify, there are
many steps involved in preparing the data. First some SQL's, the some SCANs,
and a TOTAL command.

It would be nice to simply call the ReportStatus method, passing a percent done,
and have that percent represent the total percent done, including SQL's, SCANs
and so forth.

Any ideas?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform