Information générale
Titre:
Accessing a class method
------------------------------
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement