General information
Category:
Coding, syntax & commands
Title:
Nice grid but rebel
Hi friends:
I have a grid with this characteristic:
column.textbox.controlsource="(IVA(field1,field2))"
As I need change field:
column.textbox.gotfocus:
this.controlsource="thisform.cost"
thsform.cost=IVA(field1,field2)
column.textbox.valid:
replace field1 with thisform.cost/(1+(field2/100))
thisform.cost=0
column.textbox.controlsource="(IVA(field1,field2))"
If I change next column no problem, if I change next row value in next row replace value in first row but only for display, field is ok since if I return to first row value in second row displays first row field.
I tried with beforerowcolchange but I discovered it executes before even valid event...
fieds are ok but the problem is how they are displayed.
If I include thisform.grid.refresh() every row shows my entry but not real fields.
Does anyone know how can I avoid this?
Thank you.
Héctor
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only