i am trying to call a form "fpwmod" from another form "fpw004". i am have a button on the first form "fpw004" and in this buttons click event i used "do form fpwmod" to call the other form. then in the form "fpwmod" i am trying to assign a value to a text field "txtEmpNum" with the code
with thisform
.txtEmpNum.value = intEmpNum
endwith
however, i get an error "unknown member txtEmpNum" on the second line of the above code. does anyone know why i am getting this error? i also tried fpwmod in place of thisform in the first line and i get the error "variable 'fpwmod' is not found". thanks in advance.
erik
with thisform
.txtEmpNum.value = intEmpNum
endwith
however, i get an error "unknown member txtEmpNum" on the second line of the above code. does anyone know why i am getting this error? i also tried fpwmod in place of thisform in the first line and i get the error "variable 'fpwmod' is not found". thanks in advance.
erik