Hello,
Somebody help, please.
The problem:
I have a column in the dw(the db value is numeric [15,6]).
The column needs to have different edit and display characteristic for different rows.
For rows #1-#22 it is greyed out, not editable (format #,###.00).
For the row #23 - editable, editmask and format = #,###.00
For the row #24 - editable, editmask and format = #,###.000000
For the row #25 - it is greyed out, not editable (format #,###.00).
For the row #26 - editable, editmask and format = #,###.00
For the row #27 - editable, editmask and format = #,###.000000
and so on....
I was able to make it behave the way expected, except one thing.
I CAN NOT FIND A WAY TO SET DIFFERENT EDITMASKS FOR DIFFERENT ROWS. IT WORKS ONLY FOR THE WHOLE COLUMN.
I tried putting code in the editchanged event, it did not work.
If someone had a similar problem - please let me know your solution.
Thank you so much,
pbp.
Somebody help, please.
The problem:
I have a column in the dw(the db value is numeric [15,6]).
The column needs to have different edit and display characteristic for different rows.
For rows #1-#22 it is greyed out, not editable (format #,###.00).
For the row #23 - editable, editmask and format = #,###.00
For the row #24 - editable, editmask and format = #,###.000000
For the row #25 - it is greyed out, not editable (format #,###.00).
For the row #26 - editable, editmask and format = #,###.00
For the row #27 - editable, editmask and format = #,###.000000
and so on....
I was able to make it behave the way expected, except one thing.
I CAN NOT FIND A WAY TO SET DIFFERENT EDITMASKS FOR DIFFERENT ROWS. IT WORKS ONLY FOR THE WHOLE COLUMN.
I tried putting code in the editchanged event, it did not work.
If someone had a similar problem - please let me know your solution.
Thank you so much,
pbp.