This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JDBC and the fly likes How to get next available number from MS access Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to get next available number from MS access " Watch "How to get next available number from MS access " New topic
Author

How to get next available number from MS access

shah jehan sanai memon
Greenhorn

Joined: Nov 18, 2007
Posts: 1
Dear alll,

How I can get next available number (Primary Key) from MS access. There is a function of MS access Nz(DMax("+"Acc_id"+","+"Accessories"+"))+1. but it is not working in java. is there any funtion.


Thanks in advance.
 
GeeCON Prague 2014
 
subject: How to get next available number from MS access