Several things I can think of:
- Pass the value to the form when it's called
- Provide a method on the application object to get the value
But I don't understand why SET DATASESSION is a problem.
>Hi everybody,
>
>In a form I call a method of the application object, that opens a cursor in a default DS. Is there a simple way of getting to this cursor's field without switching DS in code using SET DATASESSION command?
>
>Thanks in advance.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer