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

how to save data in MSHflexgrid

Status
Not open for further replies.

akshita

Programmer
Mar 26, 2002
25
0
0
IN
hi,

i want to save the data in the database which i enter in flexgrid.i want that as soon as flexgrid_leavecell event is invoked its saves the data .i am using ado

the coding of my leavecell event is:::

Private Sub flxgrid_LeaveCell()
If Not IsNull(txtedit.Text) Then
'user typed an entry in the text box
flxgrid.TextMatrix(Active_FlxCell.row, Active_FlxCell.col) = txtedit.Text
End If
End Sub

regards
akshita
 
where is the sentence which save the data in database
you can add this line to the procedure.
'db_set is a record set
'name is a field

db_set("name") = flxgrid.TextMatrix(Active_FlxCell.row, Active_FlxCell.col)

 
where is the sentence which save the data in database
you can add this line to the procedure.
'db_set is a record set
'name is a field

db_set("name") = flxgrid.TextMatrix(Active_FlxCell.row, Active_FlxCell.col)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top