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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access / Windows 7 issue

Status
Not open for further replies.

Palmyra

Programmer
Jan 5, 2007
150
US
The below code opened a form and displayed the next sequential number on the form. The form is based on a table with an identity seed.

If bolTest Then
DoCmd.OpenForm "frmVoucher", acNormal, , , acFormAdd, acWindowNormal

It worked in Windows XP, but is not displaying the next id in Windows 7.

Any ideas?

 
Look at the table in design view and make sure the table didn't lose some settings, such as autonumber.

Gluais faicilleach le cupan làn
 
It's a SQL table and it has it's identity seed, int, length of 4.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top