Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing a class method
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Accessing a class method
Divers
Thread ID:
00755091
Message ID:
00755091
Vues:
42
------------------------------
I created a class (obs_web_import_timer), which has one control on it, a timer.
When the timer event fires the timer checks a table for undeleted content.
If it find any undeleted records, in creates records in my Orders.dbf, OrderItems.dbf and Location.dbf.
When before creating the location record it needs a number for a unique ID. My DBC is called OFAX and in it I have a routine in my RI code called NextID. NextID is what I would use but when I try to use it I can't find it. So I created a class method called GetNextID, which has the same code in it as the RI code for NextID. Even tho I now have this as a PUBLIC method, I still can't find it.

I must be calling it wrong.
What would be the proper syntax?
Is there a way to call the RI codes NextID?

My next step would be to create a PRG for GetNextID, but that seems like a wrong solution.

please help

Rick
------------------------------
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform