Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

is there any sql statement for ...

 
   Database Help (Home) -> Visual Basic -> DAO RSS
Next:  DAO mdb to SQL Server Express?  
Author Message
Zeynel Kaya

External


Since: Mar 21, 2007
Posts: 2



(Msg. 1) Posted: Wed Mar 21, 2007 12:35 pm
Post subject: is there any sql statement for ...
Archived from groups: microsoft>public>vb>database>dao (more info?)

hi,

i want to select between 100th and 200th records on a table.
is there any sql statement for that like TOP statement.

I know TOP statement returns absultely (or percently when use TOP
PERCENT) top records. But i need between 100th and 200th records or other.

if there is not, is there any way for that?

 >> Stay informed about: is there any sql statement for ... 
Back to top
Login to vote
Richard T. Edwards

External


Since: Mar 21, 2007
Posts: 2



(Msg. 2) Posted: Wed Mar 21, 2007 12:54 pm
Post subject: Re: is there any sql statement for ... [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

If you have an auto incrementing index you could use it in your SQL
statement.

Where ID > 99 and ID < 201.

"Zeynel Kaya" wrote in message

> hi,
>
> i want to select between 100th and 200th records on a table.
> is there any sql statement for that like TOP statement.
>
> I know TOP statement returns absultely (or percently when use TOP PERCENT)
> top records. But i need between 100th and 200th records or other.
>
> if there is not, is there any way for that?

 >> Stay informed about: is there any sql statement for ... 
Back to top
Login to vote
Zeynel Kaya

External


Since: Mar 21, 2007
Posts: 2



(Msg. 3) Posted: Thu Mar 22, 2007 5:31 pm
Post subject: Re: is there any sql statement for ... [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks,

Richard T. Edwards yazmış:
> If you have an auto incrementing index you could use it in your SQL
> statement.
>
> Where ID > 99 and ID < 201.
>
> "Zeynel Kaya" wrote in message
>
>> hi,
>>
>> i want to select between 100th and 200th records on a table.
>> is there any sql statement for that like TOP statement.
>>
>> I know TOP statement returns absultely (or percently when use TOP PERCENT)
>> top records. But i need between 100th and 200th records or other.
>>
>> if there is not, is there any way for that?
>
>
 >> Stay informed about: is there any sql statement for ... 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
DAO 3.6 record locking - Hi, Is it possible to programmatically lock a single record in a VB application using DAO 3.6? I would like to lock users' records when they log on to the app. Later I can check if a user's record is locked to see if they are logged in or not. (I....

Fixes for VB4 or DAO 3.0 - I've got VB4 (32-bit) and it seems to use DAO 3.0. Is there a service pack for either of these that I can use? I'm having issues with DAO and > 2GB of RAM on the machine, and don't want to have to move to a newer version of VB if I can help it, just t...

Jet error - I've just started getting this error message on a seemingly random basis. 'The Microsoft Jet database engine does not recognize 'CID' as a valid field name or expression.' CID is a text field, and it is a valid column name. The line of code that..

DAO reference / Access 2007 - while using an Access 2007 .accdb file I can access the dao. object very easily. the following code in VBA works well : Function getrecordcount(strTableName As String) As Long Dim dbCurrent As DAO.Database Set db = CurrentDb Dim rstRecords A...

Data Source - Data Report Designer - Is there a way to change the Database Source at run time in the Microsoft Data Report Designer? If so. How?
   Database Help (Home) -> Visual Basic -> DAO All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]