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

update query help

Status
Not open for further replies.

amna77

Programmer
May 27, 2003
69
0
0
GB
hi I have 2 fields in my update query, one is txtPartNum and other one is txtBaanNum. txtBaanNumber I want to update, it should equal to txtpartNum. so what ever value is in txtpartnum, should update table, so that txtbaannum will have same value as well. when i view the query then it gives me right data, but when i click on run, then it does not update the table. why?
 
its update query and in the TxtBaanNUmber field,its like that
Field=txtbaannum
Table=tblparts
Update=[txtpartnum]
when i view the query, it puts the same value like txtpart, but when i run it, it does not update.

thanks
 
Hi. Please supply your update query here so we can see what you are doing.

If you don't know what I mean, open your query in DESIGN MODE. From the menu pick VIEW + SQL VIEW. copy that code and paste it here. Thanks.
 
UPDATE tblParts SET tblParts.txtBaanNum = ([txtPartNum]);

Its working now, actully I closed the database and open it up again, it worked.
so thanks for help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top