dear all,
i am trying to enter data into a flex-grid from a text box and combo box by pressing a command button. after that i need to be able to se my data to a recordset. my code works fine when i enter one record but when i try to enter the second it just replaces the first.
nachiketh
0
Newbie Poster
Recommended Answers
Jump to Postdid you added the following to your code:-
MSFlexGrid1.Rows = MSFlexGrid1.Rows + 1
MSFlexGrid1.TextMatrix(MSFlexGrid1.Rows - 1, 0) = Text1.Text
MSFlexGrid1.TextMatrix(MSFlexGrid1.Rows - 1, 0) = Combo1.Text
hope this helps you to solve the issue.
Jump to Postso is it possible to be able to save that to one record?
do you mean to insert the record into Database ?
All 5 Replies
rishif2
57
Posting Whiz in Training
nachiketh
0
Newbie Poster
rishif2
57
Posting Whiz in Training
nachiketh
0
Newbie Poster
rishif2
57
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.