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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Insert data into DataGrid

Status
Not open for further replies.

Moogles

MIS
Oct 6, 2002
37
US
I use DataGrid for the purpose of storing runtime data (like a spreadsheet, no database connection), is this right?

I try to insert DataGrid with the following statements, it gave me 7005 runtime error. (rowset not available)
Me.DataGrid1.col= 0
Me.DataGrid1.row = 0
Me.DataGrid1.text= "100"

How should I correct this error and insert the data?

TIA
 
Unlike the old DBGrid, I don't believe that the DataGrid supports unbound mode.

Try usingMSHFlexgrid instead Let me know if this helps
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'There are 10 kinds of people in the world: those who understand binary, and those who don't.'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top