Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing a class method
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Accessing a class method
Miscellaneous
Thread ID:
00755091
Message ID:
00755091
Views:
36
------------------------------
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
------------------------------
Next
Reply
Map
View

Click here to load this message in the networking platform