This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes B&S: What does Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "B&S: What does "recNo" means?" Watch "B&S: What does "recNo" means?" New topic
Author

B&S: What does "recNo" means?

Eric Pu
Greenhorn

Joined: Jul 27, 2002
Posts: 23
In the DBMain.java provided by Sun, There is a parameter "recNo" as in the following code.


What does the "recNo" means? As I see, there is no such field in the database file. How can I create the recNo and where to store and identify it?

Thanks.


SCJP, SCMAD, MCAD<br /> <br />Shanghai,China GMT+0800
James Turner
Ranch Hand

Joined: May 10, 2004
Posts: 194
recNo mean simply... record number.


James<br />SCJP 1.4 - 92%<br />SCJD - 93%<br />SCWCD 1.4 - 95%<br />SCBCD 1.3 - 100%<br />SCEA - 92%
Eric Pu
Greenhorn

Joined: Jul 27, 2002
Posts: 23
Originally posted by James Turner:
recNo mean simply... record number.


But how do I know the "recNo" of a record?
peter wooster
Ranch Hand

Joined: Jun 13, 2004
Posts: 1033
Originally posted by Eric Pu:

But how do I know the "recNo" of a record?


recNo is the relative record number in the flat file. The first record after the header information can have an arbitrary value, such as 0 or 1. All remaining records are numbered sequentially from there. If the first record is 0, then the location in the file of record recNo is

/peter
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: B&S: What does "recNo" means?
 
Similar Threads
[B&S] lock/update/read method
Logical/File Locking and nested synchronisation
URLyBird 1.2.1 recNo
Scjd B&S- Failed due to locking.
NX: Two questions