Set/get current row using table object 
Author Message
 Set/get current row using table object

Is there any way to set and get the current row (record number) using the
table object?  I am using a scrollbar to move through the database, and need
to set the current record based on the scrollbar value.  The data control is
not really what I am looking for.  Any advice or help is greatly
appreciated!


Wed, 04 Jul 2001 03:00:00 GMT  
 Set/get current row using table object
Hello,

I assume you are using DAO, in which case maybe you could use a
combination of the recordset's move method, PercentPosition or
recordcount properties with the scrollbar property. Failing that,
could you not use a non-table type recordset, in which case you could
use the absoluteposition property of the recordset.

         Alan Davis, Southampton, England



Sat, 07 Jul 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Getting the current row of a child table

2. adding a table row, without setting same defaults as previous row

3. Getting the Current Row/Col Position in Richtextbox

4. Keep getting object variable not set when using inet

5. Error occurred while trying to set current row!

6. No Current Row when using DBCombo Control

7. Getting Text from Table Causes Problems with the Row Number

8. Getting row/column index of HTML TABLE cell

9. Getting a specific row from a table

10. (Q) Getting current Sub/Function name (or Object Browser functionality)

11. Add row to datatable from datagrid without leaving current row with cursor

12. Help: DBGrid - how to make DBGrid.row = current row when I click the a cell

 

 
Powered by phpBB® Forum Software