Hello All
I am trying to create a table using ControlCreate()
It works ok and I can set most of the column attributes that I need except for TotalsEnabled
I have tried Indirection and referencing the column but no luck with either.
This is the code:
Col4 is Control <- ControlCreate("drl_table.Col4",typColumn)
Col4..Width = 100
Col4..Caption = "Money"
Col4..InputType = typInputNum
Col4..InputMask = "999999,99"
{"drl_table.col4"}..TotalsEnabled = True
Col4..TotalsEnabled = True
This is the error message
The TotalsEnabled property does not apply to Col4 control. Control Type: Table Column.
Can it done ? and if so can anyone post the correct syntax please
Regards
Al