When replaying an Oracle Forms script that contains window names with a timestamp, or other dynamic data, please follow the steps below. For example: OraFormsSetWindow( "Window Name 10-JUN-2005 17:22:12" ); You can handle these in the following way: First you should comment out the OraFormsSetWindow command and use a variable (e.g. nWindow). //OraFormsSetWindow( "Window Name 10-JUN-2005 17:22:12" ); nWindow := OraFormsFindAndSetWindow("Window Name"); OraFormsFindAndSetWindow allows you to find a window based on a partial name, it returns the internal window id which can then be used in subsequent calls on this window e.g. OraFormsWindowUpdate, or as in the example below. OraFormsSetWindow(string(nWindow)); OraFormsCloseWindow(string(nWindow)); Note: To successfully use this function in Silk Performer 7.1 you should apply Patch 17. Note: As Silk Performer 7.3 contains numerous enhancements to Silk Performer's support for Oracle Forms it is strongly recommended the you use at least version 7.3 of Silk Performer for testing Oracle Forms. Old KB# 17988
↧