Stephen Lebans: frmNavButtons

  • Thread starter Thread starter george
  • Start date Start date
G

george

Stephen hi,

I use your form, frmNavButtons, it is very helpfull (thank
you for it) and it works very well on my form frmClients.
However on the frmClients there is a command button which
opens another form, frmClientPolicies, which also uses
frmNavButtons on it.

In this case regardless of the number of policies,
*initially* it displays 'Record 1 of 1' and only after I
click on the Next button it changes to 'Record 2 of 5'.
After this manuver it works as expected. Have I done
something wrong with the second form?

thanks in advance, george
 
This is the standard Access UI behaviour that is usually only seen with
larger recordsets which does not seem to fit your case.

Have you changed any of the code behind my form? Is perhaps the second
form's Modal prop enabled?

OTTOMH the simplest solution is to issue a MoveLast/MoveFirst command on
the form's recordset/clone during the Form's Load event.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Back
Top