wood burning stoves 2.0*
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
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?