Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can't change fieldvalue on form

Status
Not open for further replies.

fedum

Technical User
Mar 22, 2004
104
BE
If I open in the code from a form, another form then I can't change the fields. If I close the first form then it is possible to change the fields. What can I do to let the first form open an stiil change the values of the fields in the second form?

stDocName = "frmOntvangsten"
DoCmd.OpenForm stDocName
Form_frmOntvangsten.VerkoopKassaId.SetFocus
DoCmd.FindRecord gintTicketnr, , , , , , True
Form_frmOntvangsten.txtOntvangenBedrag.SetFocus
Exit Sub
 
If you open the second form as modal then the user must close this form before focus is transferred to another form. Under the forms properties>other>modal>yes

HTH << MaZeWorX >> "I have not failed I have only found ten thousand ways that don't work
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top