Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting value from a table opened in a different DS
Message
From
10/03/2010 16:18:29
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01453599
Message ID:
01453810
Views:
61
>>>>>Alternative might be to save result in an ADO stream for example or recordset which you would be able to access from any session and get as a cursor idf you need using CA.
>>>>>ADO is a simple alternative and there others like XML, array ...
>>>>
>>>>...and a simple scatter name, then returning the object to the caller. Fields are now properties of that object, and the caller can do anything with them.
>>>
>>>This is if it's one record cursor (and I think it is). I didn't want to change the main object method, though.
>>
>>No, it works for a single record data or multiple (see 'array' in my reply:)
>>
>>PS: I don't understand 'I didn't want to change the main object though' statement at all.
>>Cetin
>
>I meant - I don't want to change code in the main application object class. I don't know what implications may arise if I change it. I wanted to only change the form's code assuming the application object is a black box.

That is what I don't understand. Why would getting items say into an array would cause a change in application object class. You would do that from within your form.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform