Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying access data in ms flexgrid

Status
Not open for further replies.

davelee

Programmer
Dec 3, 2001
4
GB
i am using ms flexgrid to display some data held in an access database but can only seem to get the whole table to display. all i really need is 2 or 3 of the fields from the table and then the user will be required to enter data in the other columns.

Hope someone can help!
 
What you can do is use and ADO data bound control and a DataGrid. Then code what fields you want e.g.

Dim adors as recordset

sql = "Select field1, field2 from table where condition"
adors.open sql, connection

set ADODC1.recordset = adors

Hope this helps you somewhat. Mark

The key to immortality is to make a big impression in this life!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top