Hi Kent,
your method seems to be correct; Perhaps a detail is wrong.
Here are my 2 cents :
when you call your object method, write, in your form, something like
Local lnsessionsid AS number
lnsessionid = ThisForm.DataSessionId
= Myobject.mymethod( m.lnsessionid)
I have had some 'strange behaviour' when passing a form property as a parameter.
Now, why do you say "it's not working" : aliases are not here or seek command
are failing ? You must be careful that SET commands scope to the datasession
where they are executed ...(SET EXACT, SET NEAR, ...)
If you open tables in the init of your object, they will not been available
after the SET DATASESSION TO ... (in fact all tables opened before the SET
DATASESSION command)
hth
The Foxil
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.