Just inherited an Access Database that tracks member activity...
Two main tables
1. Transactions
2. Dealer List (dealer code, name, contact info, etc)
Currently users enter directly in the transaction table... causing major accuracy issues. I have created a Form for them to enter transaction information (mbr name, dates, amount, etc.)
The problem... I want to have a field for Dealer Name but need the list to match what is currently in the Dealer List table.
How do reference a table in a Form? List, combo list?
Is there any common field that you can use to link the two tables? In order to get the information onto the form, you will need to add a subform to the mainform. The subform will be bound to the dealer table, but you will have to have the two tables linked to each other with a common field so that it all is in sync.
Alan
Alan
Click the * below to say thanks.
Database Principles
Pivot Table Tips
Good Excel Video Tutorials
Sumifs or SumProduct
DataPig Access Tutorials
MS Query Tutorial
Worst Pie Chart Ever?
If you ant to crreate a combobox that shows the list of the dealers then
1. Create a combo box
2. Display property sheet
3. In row source table select Table / query
4. In row source click the drop down arrow and select the required
table (may be dealer in this case)
5. Use control source property to set the destination if data (where to
save).
An automatic wizard may run when you create the combo box. follow this
Regards
The combobox worded perfectly... Thanks!
In looking at my new form I see some areas where I can improve the process.
?. How do I look up a value in another table? I've tried DLookup but cannot get it to work.
Two main tables
1. Transactions
2. Dealer List (dealer code, name, contact info, etc)
I have a combo box to select Dealer Name in my transaction form. I would like to pick a Dealer from the list and have the Code Field populate automatically.
Ex: select Dealer - James Johnson.... Lookup in Dealer List and populate code JJ
- In your Transection form create a subform.
- If the wizard starts close it
- In property sheet of this subform
* Source object to Dealer table
* Click "..." in link child field and select "dealer name" in both sides
(Master and Child
- Lock property to "Yes" So that itmay not br changed accidently
Regards
Mahju
Mark the thread as solved if you are satisfied with the answer
Rule 9
Acknowledge the responses you receive, good or bad. If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks