Hi, John

You could add code like this to your u_tab_xxx's selectionchanging event:

// When changing tabs, this will validate all columns on the current tab
w_master  lw_parent
of_GetParentWindow(lw_parent)
IF IsValid(lw_parent) THEN     
   if lw_parent.Event pfc_accepttext(This.control,TRUE) = -1 THEN return 1
END IF

By the way, check out http://www.pfcguide.com/faq/faq_req.asp ...  Note
that the name of the "Required Column" service is a bit of a misnomer...

Have fun,
~Sharon
--
Sharon Weinstrom Buntz      | mailto:[EMAIL PROTECTED]
Cheat Sheet for PFC/PB Help | http://www.pfccheatsheet.com/


> "John D. Cruz" wrote:
> 
> Hi Sharon,
> 
>         Is there a service in u_tab or u_tabpage object that will provide
> a validation for pending updates in the datawindow that has the focus (
> some sort of req. service in datawindow ) when the user select another
> page...
> I think a already asked u regarding this scenario... I'm using PB ver.
> 7.0 w/ PFC... thanks a lot sharon....
> 
> still having fun,
> john
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE:   help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]

Reply via email to