PowerBuilder Tips
PFC dw linkage run time error
Just in case this helps someone else, I figured I would post it.
I'm running PB 5.0.03 32 bit under Windows NT with PFC 5.0.03.
I was getting a GPF during run time. By running the applications with /PBDEBUG, I could tell the problem was occurring in the PFC_N_CST_DWSRV in function OF_GETITEMANY. Here is the line in question:// Get the column data value from the master. ls_coldata = string( idw_master.inv_Linkage.of_GetItemAny (ll_currrow, & inv_linkargs.is_mastercolarg[li_i] ) )I copied this function to the PFE layer changed the above lines to this:
// Get the column data value from the master. la_Temp = idw_master.inv_Linkage.of_GetItemAny (ll_currrow, & inv_linkargs.is_mastercolarg[li_i] ) ls_coldata = string( la_Temp )Note la_Temp is of type any.
And the error went away.
[ About | Services | Products | Search | Feedback | Support ]
This page last updated: Wednesday, 23 February 2000 |