I have several text boxes on a report. I can pass a value back to current text box, but how to I pass a value back to a differernet textbox in my code.
I pass the Textbox name to this code, but need to pass a value back to the next textbox.
Function DOWN(TBOX as string) as integer
DIM retValue as string
DIM ntbox as integer
ntbox = val(right(TBOX,3))
ntbox = ntbox + 1
'ReportItems![eng226].value = "DOWN"
return ntbox
end function