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

Save Buttom

Status
Not open for further replies.

Collin79

Programmer
Dec 31, 2000
31
MX
Hi!

I'm new programing in VB, and I have a question, I'm using a combo box, depending of it's selected value, I'll use a table from an Access database, but I need to do a command that saves all the data captured, How can I do it, in Fox Pro I used to use the Replace command, but in VB don't know How.

Any Hint or tip will be helpful.

Thanks

Collin79
 
If my thinking is correct you want to replace the value of a field in a record in an access table with a combo box on a vb form ??

If so the just binding the datasource property of the combo box to your database, and your datafield to the field, this will save the information in the table
 
What jet you working on : DAO(nr) or ADO (nr) ? Eric De Decker
vbg.be@vbgroup.nl

Licence And Copy Protection AxtiveX.

Download Demo version on my Site:
Promotions before 02/28/2001 (free source codebook),visite my site
 
edderic:

I'm working with DAO

I've been reading the Programmer's Guide and I've used this on Save Button_click:
Set text1.Datasource= Data1
text1.Datafield= employee

But I can't do that it works

Any comment?

Collin79
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top