Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE iDispatch Error - What does it mean?
Message
From
10/01/2007 09:10:39
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01183748
Message ID:
01184154
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform