Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning data from a COM object
Message
 
To
01/09/2003 14:09:30
John Tomblin
Service Station Systems, Inc.
San Jose, California, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00825107
Message ID:
00826561
Views:
22
You can do it 1 record at a time:

DEFINE CLASS MyClass AS SESSION OLEPUBLIC

PROCEDURE GetRecord
LPARAMETERS cRecordId

LOCAL oRecord AS NULL

USE SomeTable
SET ORDER TO RecordId

=SEKE(cRecordId)

SCATTER NAME oRecord MEMO

USE
RETURN oRecord

ENDPROC

ENDDEFINE
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Reply
Map
View

Click here to load this message in the networking platform