If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
how to update value
Actually, my question is probably very simple, but I
can't figure out where/how to do it ! Here is my problem: I have a table, with a field called "item" and another one called "description" In a form, I have a combo box (called "combo1"), that let you choose an item from the "item" field. I want a text box (called "description1") (or other object) to display the description ( from the "description" field) corresponding to value choosen in the combo box. I wrote something similar to : (select [description1] from [test]![description] where [combo1] = [test]! [item]) this is placed in the "after update" of my "combo1" object.. You guessed it, "test" is the name of the table ! If you have a solution, I'll be more than happy to hear from you . if you have an example, feel free to send it to me ! please send any reply to my E-mail address: thanks ! |
#2
|
|||
|
|||
how to update value
"Jasmin Ouellet" wrote in
: I wrote something similar to : (select [description1] from [test]![description] where [combo1] = [test]! [item]) this is placed in the "after update" of my "combo1" object.. I don't completely understand what you are trying to do, but it sounds as if you are planning to insert the Test.Description value into another table. Well, DON'T! In the words of Another, "Access is a relational database, use it relationally". The main table holds the key to the test table only: when you want to see the test.description value you join the tables together in a query. That way, the .Description value is only held in the database once, so when you need to change it or correct it, you only have to do that once, rather than having to search the entire mcguffin for it. If you see what I mean. Hope that helps Tim F |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Update another table with a Max record query | Ngan | Running & Setting Up Queries | 2 | June 22nd, 2004 05:01 PM |
ie6 sp1 update fails->"wfp: unrecognized version" | Beemer Biker | Outlook Express | 2 | June 14th, 2004 10:36 PM |
Can't update table from Form | sara | Using Forms | 3 | June 11th, 2004 02:12 PM |
Why no update? Help! | Brian | New Users | 1 | May 6th, 2004 11:15 AM |
Template Update Help | ND | Worksheet Functions | 1 | October 2nd, 2003 09:19 PM |