Title Bar Menu

"Cheat Sheet" for PowerBuilder/PFC "Help"

...PFC 7 Release Notes:  PB 7.0.2   |   PB 7.0.1   |   PFC 7.0 + PB 7.0
...PFC 6 Release Notes:  PFC 6.5.1 + PFC 6.5.1 Y2K + PB 6.5.1   |   PFC 6.5 + PB 6.5   |   PFC 6.0 + PB 6.0
...PFC 5 Release Notes:  PFC 5.0.04 + PFC 5.0.04 Y2K + PB 5.0.04 EBF#3 (includes Y2K fixes) + PB 5.0.04
...PFC 5 Release Notes:  PFC 5.0.03 + PB 5.0.03   |   PFC 5.0.02   |   PFC 5.0.01
...PFC/PB Release Downloads:  Maintenance Downloads
...PFC Upgrade Check List: Cheat Sheet Upgrade Check List | PFCGuide Migration Check List | Faxback #44505
...PFC/PB Y2K FAQ


What's New in PFC 6.5.1 ?


[smallhot.gif (610 bytes)  PFC/PB Y2K FAQ]
[PFC 6.5.1 Y2K Special Release Notes (Below)] [
Official place for PFC 6.5.1 Y2K Special Release Notes:  pfcy2k.txt from PFC Y2K Download]
[PB (vs. PFC) 6.5.1 Release Notes (Below)] [Official place for PB 6.5.1 Release Notes:  Online]
[PB 6.5 Get/SetFullState Workarounds]
[How to fix AutoInstantiated Objects]

[Sybase Downloads]

Help!  Does anyone know if there were any PFC changes from PFC 6.5 to PFC 6.5.1?  If so, please send them to me so that I may post them here...  mailto:"Sharon Weinstrom Buntz" <sbuntz@texas.net>  Thanks!

 

[Back to Top] [Sybase Downloads]

...PFC 7 Release Notes:  PB 7.0.2   |   PB 7.0.1   |   PFC 7.0 + PB 7.0
...PFC 6 Release Notes:  PFC 6.5.1 + PFC 6.5.1 Y2K + PB 6.5.1   |   PFC 6.5 + PB 6.5   |   PFC 6.0 + PB 6.0
...PFC 5 Release Notes:  PFC 5.0.04 + PFC 5.0.04 Y2K + PB 5.0.04 EBF#3 (includes Y2K fixes) + PB 5.0.04
...PFC 5 Release Notes:  PFC 5.0.03 + PB 5.0.03   |   PFC 5.0.02   |   PFC 5.0.01
...PFC/PB Release Downloads:  Maintenance Downloads
...PFC Upgrade Check List: Cheat Sheet Upgrade Check List | PFCGuide Migration Check List | Faxback #44505
...PFC/PB Y2K FAQ


What's New in PB 6.5.1 - Y2K Special Release?

[smallhot.gif (610 bytes)  PFC/PB Y2K FAQ]
[Official place for PFC 6.5.1 Y2K Special Release Notes:  pfcy2k.txt from PFC Y2K Download]
[PB (vs. PFC) 6.5.1 Release Notes (Below)] [Official place for PB 6.5.1 Release Notes:  Online]
[Sybase Downloads]

PowerBuilder Foundation Class (PFC) Y2K 5.0.04\6.5.1 Fixes
==========================================================
The Y2K patches are delivered as a complete set of PFC libraries (including extensions). If you are already using PFC you should replace only your main PFC libraries and not your extension libraries.

For example:
Version 5.0.04:
Replace pfcapsrv.pbl, pfcdwsrv.pbl, pfcmain.pbl, pfcwnsrv.pbl

Version 6.5.1:
Replace pfcapsrv.pbl, pfcdwsrv.pbl, pfcmain.pbl, pfcwnsrv.pbl, pfcutil.pbl

If an attempt to fix these Y2K issues has been made by overriding these PFC functions in your own customized extension layer, first compare the official fixes with your own changes. Remove the overriding functions in your customized extension layer only if they address the fixes included in this set of Y2K patches.

For example: a Y2K issue is addressed by modifiying n_cst_datetime and overriding the function of_lastdayofmonth. After the patches are applied, pfc_n_cst_datetime::of_lastdayofmonth now includes these changes, therefore of_lastdayofmonth in n_cst_datetime should be removed from your customized extension layer.

After applying the Y2K patches, it is advised to perform a Full Rebuild of the application.

-----------------------------------------------------------
Object: pfc_n_cst_datetime    DateTime Service


CR169790
Method:    of_lastdayofmonth
Fix: Removed a loop which relied on an invalid date.
Added an array containing the number of days in each month.
Fix Release: 7.0GA, 6.5.1(y2kpatch), 5.0.04(y2kpatch)


CR162134
Method:    of_relativemonth
Fix: Removed a loop which determined the last day in month.
The loop was relying on the of_IsValid(date) function to find an invalid date. In PB 5.0.03+ a date variable can only contain a Null or a valid date.
Fix Release: 7.0GA, 6.5.1(y2kpatch), 5.0.04(y2kpatch)


CR188246
Method:    of_relativeyear
Fix: Removed a loop which determined the last day in month.
The loop was relying on the of_IsValid(date) function to find an invalid date. In PB 5.0.03+ a date variable can only contain a Null or a valid date.
Fix Release: 7.0GA, 6.5.1(y2kpatch), 5.0.04(y2kpatch)


=========================================================


Object: pfc_u_calendar        Drop Down Calendar


CRs 162134 and 184373
Method:    of_drawmonth
Fix: Did not redraw date of 1/1/1900. Removed an invalid comparison to date(‘50/50/1900’)). The comparison is no longer needed. Post 5.0.03 PowerBuilder date type cannot contain an invalid date with an exception of a null value.
Fix Release: 7.0GA, 6.5.1(y2kpatch), n/a for 5.0


CRs 162134 and 184373
Method:    of_setdate
Fix: Add code to always redraw for date matching 1/1/1900 to allow date display for January 1900. Previously the calendar did not redraw since the initial value of the previous date was also 1/1/1900.
Fix Release: 7.0GA, 6.5.1(y2kpatch), n/a for 5.0


CRs 162134 and 184373
Method:    of_reset
Fix: If the date is invalid set the calendar date to today's date.
Fix Release:    7.0GA, 6.5.1(y2kpatch), n/a for 5.0

 

[Back to Top] [Sybase Downloads]

 

 


...PFC 7 Release Notes:  PB 7.0.2   |   PB 7.0.1   |   PFC 7.0 + PB 7.0
...PFC 6 Release Notes:  PFC 6.5.1 + PFC 6.5.1 Y2K + PB 6.5.1   |   PFC 6.5 + PB 6.5   |   PFC 6.0 + PB 6.0
...PFC 5 Release Notes:  PFC 5.0.04 + PFC 5.0.04 Y2K + PB 5.0.04 EBF#3 (includes Y2K fixes) + PB 5.0.04
...PFC 5 Release Notes:  PFC 5.0.03 + PB 5.0.03   |   PFC 5.0.02   |   PFC 5.0.01
...PFC/PB Release Downloads:  Maintenance Downloads
...PFC Upgrade Check List: Cheat Sheet Upgrade Check List | PFCGuide Migration Check List | Faxback #44505
...PFC/PB Y2K FAQ


What's New in PB 6.5.1 ?

[Official place for PB 6.5.1 Release Notes:   Online
[PB 6.5 Get/SetFullState Workarounds]
[How to fix AutoInstantiated Objects]

[Sybase Downloads]

Official place for PB 6.5.1 Release Notes:  Online

 

[Back to Top] [Sybase Downloads]

 

Click Here to visit our sponsor - DW Book

Visit our sponsors

Click Here to visit our sponsor - XPEDITER/SQL

 

Go to Home Page Home

Where to Go Know where to go

Site Map Work smarter, not harder

Search Answers at your fingertips

   Turn Off MenuTurn On Menu  Contact WebmasterYour Comments   Your New Home

 

Cheat Sheet for PFC/PB Help Home  |  Top