How to select the current record only with SELECT statement 
Author Message
 How to select the current record only with SELECT statement

How can I select only the current record with the SELECT Statement.
Thanks
Asif


Tue, 14 Oct 2003 00:37:40 GMT  
 How to select the current record only with SELECT statement
On Thu, 26 Apr 2001 09:37:40 -0700, "Asif Anwar"

Quote:

>How can I select only the current record with the SELECT Statement.
>Thanks
>Asif

Asif,

I am not sure what you mean by "Current Record".

If your tables all have a Primary Index field (which I recommend), and
the record is not in the process of creation then it is easy.

Get the Primary Index value for the record, and put it in a statement
like this:

"SELECT * FROM MyTable WHERE MyIndex = " & CStr( CurrentIndexNumber )

If you do not have a Primary Index field, then selecting a single
record can be difficult, if not impossible.



Tue, 14 Oct 2003 09:44:52 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Select Most Current Record

2. Selecting current record to be printed

3. Counting records returned by SQL Select statement

4. vb Select * from tableA?How to select record from 1000 to 2500

5. Cetting A Report To Select Records Based Upon A Value Selected In A Combo Box

6. vb Select * from tableA?How to select record from 1000 to 2500

7. Phantom records in select statement w/RDO

8. selecting items in a Data bound list and passing a field content for the selected record

9. SQL Select only selecting 1 record

10. vb Select * from tableA?How to select record from 1000 to 2500

11. SELECT Statement returns no records....

12. vb Select * from tableA?How to select record from 1000 to 2500

 

 
Powered by phpBB® Forum Software