You should still be able to get the active form with _Screen.ActiveForm. 
Make sure the property exists. The runtime throws an error if there is 
not an active form.

Tracy

Sytze de Boer wrote:
> Gentlemen
> Thank you for assistance, but I didn't make myself clear.
> 
> In my master calling program, I activate an OKL with Ctrl+F do smartsrch
> I want it where this can only be called if the user has a grid in the FORM
> e.g
> I have a FORM with a GRID (with clients)
> They may click on Change/View button for the client profile
> When they click this button, Ctrl+F should not be permitted
> i.e. on the profile form, there is no grid
> The solutions offered all bomb out because when the OKL do smartsrch
> activates, there is no FORM, it is PRG
> By the way, this project has 400 scx files
> 
> I would appreciate any more help anyone can offer
> Sytze



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://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