Dbgrid current record 
Author Message
 Dbgrid current record

 I have a frmMain with a data control and textboxes bound to that
control.
frmMain has browse button that brings up frmDatagrid with a Dbgrid
control.

I am using the Dbgrid to browse and select a record.

How can I make the record I select in the frmDatagrid the current
record when I  return to frmMain?

--
wjbarrows

Sent via Deja.com http://www.*-*-*.com/
Before you buy.



Fri, 06 Sep 2002 03:00:00 GMT  
 Dbgrid current record
Hi,

Did you try to connect the DataSource property of the grid to the datasource
on frmMain.?

Sandra

Quote:

> I have a frmMain with a data control and textboxes bound to that
> control.
> frmMain has browse button that brings up frmDatagrid with a Dbgrid
> control.

> I am using the Dbgrid to browse and select a record.

> How can I make the record I select in the frmDatagrid the current
> record when I  return to frmMain?

> --
> wjbarrows

> Sent via Deja.com http://www.deja.com/
> Before you buy.



Sat, 07 Sep 2002 03:00:00 GMT  
 Dbgrid current record
When I enter frmMain.data1 into the grid property window, nothing
appears in the grid.

When I code the datasource to frmMain.data1, I get an error: Class does
not support automation.

--
wjbarrows

Sent via Deja.com http://www.deja.com/
Before you buy.



Sat, 07 Sep 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. DataBound DBGrid current record question

2. Display the current record within a DBgrid control

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

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

5. Function to seek record and make current record on form

6. Current record in Recordset to Record?

7. Current Recordset in DBGrid

8. DBGrid - Current Row and events?

9. Current Row Number in dbGrid

10. Current Row in DBGrid?

11. current row; DBGrid

12. value of current DBGrid row/column?

 

 
Powered by phpBB® Forum Software