I need some help please with a custom property issue I'm encountering in a datagrid. I have a datagrid setup as a form and inside the dg, I have a 3 of fields, all labelled appropriately. However when I populate the grid, it seems to only accept values into "Label 2", "Label 3", "Label 4" which isn't a problem as I've commented it in my code as to what the source fields they are.
The problem is, I have custom properties assigned to each of those three fields, and I can't seem to set any of the values in them. When I try running the code, the code seems to break. Can someone look at my syntax and help me to get a value in my custom properties.
Thanks in advance
Code: Select all
//this line works as it populates my field called fld_line_total
put currency(item 4 of tLine) into tDataA[tCounter]["Label 2"]
//this line does not work, but I definitely have a custom property associated to my field
//fld_line_total which is interpreted in the dg as Label 2
set the c_line_total of field tDataA[tCounter]["Label 2"] to (item 4 of tLine)