×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

start broswe

start broswe

start broswe

(OP)
Suppose we issue a start browse command and then a read next and then a read previous and then again a read next ..on which record are we now?..this is aminly to know where exactly the start browse gets positioned .

RE: start broswe

you are at the same place where you started! start sets the ponter to 1st rec. read next actually reads it (and re-positions the pointer to 2nd rec). ReadPrev reads 1st rec again by repositioning pointer. Now we are at the start; so next read-next reads 1st rec!

RE: start broswe

ceeja,

start sets the pointer to the record.

READ NEXT reads the record and sets the pointer to the next record.

Issuing the READ PREVIOUS will read the same record again, as it's the record previous to the pointer. This effectively puts you back you your start position as regards the pointer.

Not surprisingly, the next READ NEXT reads the same record for a third time.

Cheers
Greg


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close