Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Which end to start from?
Message
 
 
To
11/10/2000 11:17:23
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00427864
Message ID:
00428166
Views:
22
>Hi all-
>I am new to automation. My job right now is to link Spss with a VFP application to allow the users to run regression analyses on the VFP data (brought into Spss using ODBC), and then write the results back to the VFP tables if the user wants to keep them.
>
>Spss is a fairly well documented ole automation server. The problem I have is that I don't know whether it's better to write a VFP component to be called from the spss end (via a menu item) to write the data back, or automate the process of getting the Spss results from the VFP end. Calling from Spss provides easier access to the results data, while calling from VFP obviously makes it easier to get at the VFP data.
>
>None of the field or table names are known in advance as they are all set up by the users.
>Carlie

Just an opinion - but I would start from the end that scores highest on the following criteria:
- you are most comfortable with from a programming perspective
- the end that is likely to have the most code in it
- the one that offers the greatest future flexibility
- if you need robustness (e.g. error handling) this might be better implemented from the vfp end.
- etc.

Personnally I think VFP makes a better Server than Client (in OLE Automation), so I would try to do everything with VFP in control.
censored.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform