Form

  • Thread starter Pass-the-reality
  • Start date
P

Pass-the-reality

I have a form called frmSpecialistView. On this form I added a button
through the wizard to open another form called frmCallLog. When I select the
button, I want frmCallLog to open (which is does), However I the form to
force the auto number. In the VB code it says

stDocName ="frmCallLog"
DoCmd.OpenForm stDocName, , , stLink Criteria

I added
Me.AgentName.SetFocus
Me.Dirty =True

AgentName is a field on the form frmCallLog. I thought maybe be forcing it,
it would change my ID number from Auto Number to an actually number. HELP!!!
 
Top