Hi all
I have, by example, a record type populated with the values returned by a query.
No compilation errors are generated but the receiving 'Record', whether set as dynamic or assigned to a file, is always Null.
Trying to process the receiving 'Record' generates an 'element was not allocated' error
I can overcome the issue by using global variables but this is a bit of a pain.
So is it me or an oversight on behalf of PCS for a variable type that is very useful.
I have, by example, a record type populated with the values returned by a query.
recLandlord is a Record of Landlord
recLandlord = arrLandlord[TableSelect(tbl_arrLandlord)]
I can send this as a parameter to a report, window and even an internal window when using ChangeSourceWindow(InternalWindow1,IW_LandlordDetail,recLandlord)
However if I send it as a parameter when adding a Dynamic Tab it fails.
No compilation errors are generated but the receiving 'Record', whether set as dynamic or assigned to a file, is always Null.
Trying to process the receiving 'Record' generates an 'element was not allocated' error
I can overcome the issue by using global variables but this is a bit of a pain.
So is it me or an oversight on behalf of PCS for a variable type that is very useful.