this is in the init of a form. If I browse dcdocs I get an error 1938 "Object is not contained in a form" lnd_pk is the pk used as a foreign key in dcdocs. I have been using this technique for years but recently discovered this error when dcdocs had over one screen in a grid. When scrolling through the grid I get the same error. If the number of records of dcdocs does not fill the visible rows in the grid then no error.

thisform.incurrentpk = lnd_pk

select dcdocs
set filter to doc_clpk = thisform.incurrentpk
locate

Any ideas?

--
Jeff

Jeff Johnson
[email protected]
SanDC, Inc.
623-582-0323
Fax 623-869-0675

http://www.san-dc.com

_______________________________________________
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.

Reply via email to