Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE iDispatch Error - What does it mean?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01183748
Message ID:
01184154
Vues:
21
Hi:

Now I really understand what you want to do. The up to date way should be:

1. Create a WebService in your branch, which takes as parameter a FOR Condition. Example:

GetOrdersByAmountOrder(string forCondition)

forCondition could be: "OrderAmount >= 100"

You would extract this info from the orders table and return it like a XML DataSet.

2. In VFP you'll use the WebService as:

LOCAL oService
oService = && Code goes here to create the WebService

cResult = oService.GetOrdersByAmountOrder("OrderAmount >= 200")
= XMLToCursor(cResult,"MyCursorName")
SELECT "MyCursorName"
REPORT FORM "YourReportName"

Hope this helps you.

Martin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform