Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning data from a COM object
Message
 
À
01/09/2003 14:09:30
John Tomblin
Service Station Systems, Inc.
San Jose, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00825107
Message ID:
00826561
Vues:
23
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform