I have a subform where I put a value into a text box, I have an on-change event for that box that causes the box to do a simple calculation on another text box.
private sub text1_change()
me.refresh
me!sum_cost = me!quantity_pulled * me!cost_per_item
me.refresh
end sub
if I leave the refreshes in the sum_cost is updated appropriately, however the quantity_pulled box does some funky business with the select cursor... it will only allow single characters to be entered...unless you click off of the select cursor... anyway... the cursor works fine if I leave out the me.refresh statements.. but the quantity_pulled is not displayed.. is there an alternative to refresh? I tried requery but it did something totally different...
thanks for any suggestions
private sub text1_change()
me.refresh
me!sum_cost = me!quantity_pulled * me!cost_per_item
me.refresh
end sub
if I leave the refreshes in the sum_cost is updated appropriately, however the quantity_pulled box does some funky business with the select cursor... it will only allow single characters to be entered...unless you click off of the select cursor... anyway... the cursor works fine if I leave out the me.refresh statements.. but the quantity_pulled is not displayed.. is there an alternative to refresh? I tried requery but it did something totally different...
thanks for any suggestions