Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • 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!

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

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I think the forum is a great idea, especially for those of us in consulting engineering. Keep up the good work!..."

Geography

Where in the world do Tek-Tips members come from?
petart (Programmer)
15 Aug 12 7:59
Hi all,
May VB2008 progect works with Access data base. Once at a command "DataSet1. Row. Count " gives 125 rows, as well as it is necessary but then at attempt to take value column "ID" the last rows, gives value 116 rows as that the following rows are not present and confuses the program.
Certain ideas?
dhookom (Programmer)
15 Aug 12 8:51
Records don't have any order so there is by default no first and no last. If your records are queried with an ORDER BY, you can move to the last record based on the sort order.

Duane
Hook'D on Access
MS Access MVP

petart (Programmer)
15 Aug 12 9:08
I specify will give value record with number 125, but answer that is those recorda is not present. When I shall open table in Access records are 125.
Andrzejek (Programmer)
15 Aug 12 9:18
I am confused here.
DataSets are collections of data Tables, Tables have Rows, and you can Count Rows in a Table in the DataSet

You can set a break on your line of code: DataSet1. Row. Count, move your mouse over DataSet1 and click on a little magnifying glass to see the tables in your DataSet1. That may help you see what you have in there.

Have fun.

---- Andy

petart (Programmer)
15 Aug 12 9:54
Problems not in DataSet, problems in Access table. I export table in Excel, then back import in Access but without column "ID". I would give that Access itself has added her and has filled up AutoNumber and already all is adjusted OK.I think that error on Access, but I do not know whence it.

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!

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