The of_setUpdateable(ab_switch) function is intended for those cases when
you have a datawindow that should not be part of the automatted update
processing built into PFC windows. A simple example might be a datawindow
you use to display calculations only (i.e. does not affect the database).
of_setUpdatable(False) will drop the datawindow control out of
pfc_validation and pfc_update logic.
I do not believe that crosstabs are updatable without special coding and I
know PFC 5 does not support any features to make it updatable. I cannot
speak for PFC 6/7, but I would doubt it. Crosstabs are a special breed and
an odd creature at best.
Daniel
----- Original Message -----
From: Ken George <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 10, 1999 4:26 PM
Subject: RE: PFCSIG Update Crosstab datawindow
> This is out of the Power Builder PFC Online Help
>
> of_SetUpdateable function
>
> <Object> <Online Books> <Examples>
>
> Description
> Specifies whether the DataWindow is updatable.
> Access
> Public
> Syntax
>
> instancename.of_SetUpdateable ( boolean )
> Argument Description
> instancename Instance name of u_dw
> boolean Boolean indicating whether the DataWindow is updatable. All
updatable DataWindows are included in w_master's default save processing
>
>
> Return value
> Integer. Returns 1 if the function succeeds and -1 if an error occurs.
> Usage
> Call this function to disable default save processing for DataWindows that
are not updatable.
> Shared DataWindows If your application uses shared data, be sure that
only one of the DataWindows using the shared data is declared as updatable.
> PFC 6.0.01 Copyright � 1990-1998 Sybase, Inc. %date
>
> > [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]
>
> [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]