refershing the textbox

hi,

i have to display a formula in a textbox. i have binded the textbox with a globa variable…

I am able to display the formula…now when i am clicking to the next record …the same formula was displaying as in the previous record.

so now i want the textbox to be blank when we click to the next record

please guide me…

Hi Bavani,

Have you calculated the global variable again?

Sound like you need to calculate this in the OnAfterGetRecord trigger.

hi dave…

i have written the code in the button…so that if i click the button the formula should be displayed in the textbox…it was working…

but now problem is after displaying…

if i click the next record there also the same previous formula was displayed first …if click the button there then it is refershing and giving me the formula…

for me when i click the next record the textbox should be blank…

please help me out what code i have to write…

Hi Bavani Uma,

please raed Dave T’s reply, he has suggested what is wrong but you seem to have ignored him. If you don’t understand what he posted, then ask for more information.

As Dave said , Write the code into the OnAfterGetRecord trigger to CLEAR the Variable which will prevent to carry the same data into the next record.

thank u dave and David

I got the solution…