Hello folks,
I have run into a weird issue. I am using PB 2021 - 1228.
I have a datawindow which has a column - member_id. There is a function in my application which tries to get this value.
// of_GetInfo
String ls_mID
.
.
.
.
ls_mID = dw_1.Object.member_id[1] // Error
//ls_mID = dw_1.GetItemString (1, 'member_id') // This works
When I try to get the column's value using dot notation, I get this error - Error accessing external object property member_id at line 22 in function of_GetInfo of object w_profile.
But GetItemString for the same row/column works fine.
Any ideas what is wrong?
Thanks.
I tried ls_mID = dw_1.Object.Data[1,66] - Got Error accessing external object property data at line 26 in function of_GetInfo of object w_profile.
GetItemString (1, 66) works ok.
Have you tried regenerating the DW data object and optimizing the pbl in which it resides?
If this was happening to me, I would also try exporting the DataWindow, editing & inspecting the .srd file to see if there was anything that appeared unusual, particularly in regards to the member_id column object syntax. If it looks OK, try importing it into a work/scratch pbl and test again.