Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data access in remote automation
Message
De
23/05/2003 14:19:22
John Fitzgerald
Kenneths Hair Salons & Day Spas,Inc.
Columbus, Ohio, États-Unis
 
 
À
23/05/2003 12:09:58
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00792262
Message ID:
00792349
Vues:
18
Thanks for your reply Cetin,

We're not using a data environent in the object's class procedure.
This is what the procedures looks like.

*a simple function will work on the remote computer, we're getting an answer
Function Add(FirstNumber as Number, SecondNumber as Number) As Number
Answer = FirstNumber + SecondNumber
Return Answer
Endfunc

*trying to open a table from the remote computer doesn't work
Procedure Open_Tables
Set Exclusive off
Select 0
Use o:\kdg\data\cust.dbf Alias cust
Endproc

This works when running the COM object locally.

Can you simply open a table using remote automation, or do you have to use a data enviroment??
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform