SetPubRequired (client-side)
Use this routine to set the "publication required" flag so that a warning dialog displays if the user exits Business Desk without publishing the data changes.
Definition
sub SetPubRequired(sModule,
bRequired)
Parameters
- sModule
A string that contains the name of the module for which the "publication required" flag will be set. - bRequired
A Boolean value that specifies whether or not publication is required. A value of True indicates that data changes requiring publication have been made. A value of False indicates that no such changes have been made since the last publication operation.
Return Value
None.
Remarks
Normally, this routine should be called with the bRequired parameter set to True when data changes requiring publication have been made, and called with the bRequired parameter set to False after a publication operation.
This routine is available in the include file ActionPageUtil.asp.
See Also
Copyright © 2005 Microsoft Corporation.
All rights reserved.