form linked with query and table

luvbite38

Active Member
Joined
Jun 25, 2008
Messages
368
Hi guys,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
I am almost a stranger to MS Access and this is my only second attempt to create a small yet complex (for me) database.<o:p></o:p>
I have a database (lets call it DB-Banana), which is querying a another database (lets call this DB-Main). DB-Main contains information for all the products we sell, and DB-Banana query’ the DB-Main and shows only Banana product entries.<o:p></o:p>
Also, there is a form in the DB-Banana which is also linked with the banana query, so the banana department views their listings using query and add new listings using the form. So everytime when they add anything, it goes into the Main-DB. All is good so far…….. BUT now banana department want to add few more fields in their DB which cannot be added into the Main-DB and run some more queries, their queries has to be run on info from Main DB and new fields in their DB.<o:p></o:p>
<o:p> </o:p>
Is there a way, I can make some changes in the form so all the fields which belongs to Main-DB go to Main-DB and combination of Main-DB and new fields runs the queries for Banana Dpt<o:p></o:p>
<o:p> </o:p>
Example.<o:p></o:p>
<o:p> </o:p>
Existing<o:p></o:p>
DB-Main<o:p></o:p>
ID Product Fee<o:p></o:p>
1 Banana 100<o:p></o:p>
2 Banana 150<o:p></o:p>
3 Apple 100<o:p></o:p>
4 Guava 100<o:p></o:p>
5 Banana 300 (Auto Filled)<o:p></o:p>
<o:p> </o:p>
DB-Banana<o:p></o:p>
<o:p> </o:p>
ID Product Fee<o:p></o:p>
1 Banana 100<o:p></o:p>
2 Banana 150<o:p></o:p>
5 Banana 300 (new entry)<o:p></o:p>
<o:p> </o:p>
So if I add 5<SUP>th</SUP> Banana entry in DB-Banana, it will be autofilled in DB-Main<o:p></o:p>
<o:p> </o:p>
Desired<o:p></o:p>
<o:p> </o:p>
ID Product Fee Sales Manager <o:p></o:p>
1 Banana 100 Luvbite <o:p></o:p>
2 Banana 150 Angerbite<o:p></o:p>
<o:p> </o:p>
So if they want to add new entry this time, this only autofills same ID, Product, Fee to be auto filled in DB-Main, however, they now want to run a query Sales Manager Performance. So query one can be Performance of Ms Luvbite and the filter1 be on DB-Main on Banana and filter2 on Sales Manager.<o:p></o:p>
<o:p></o:p>
<o:p>Hope it makes sense???</o:p>
<o:p>Please help.......</o:p>
<o:p></o:p>
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Hi, you need to add a new column to the table on the "Main-DB" and a new column to the query on the "DB-Banana" for the sales manager info. Once you add the fields, you will have to go back and add the data associated with the field to the table on the "Main-DB" database.
 
Upvote 0

Forum statistics

Threads
1,225,155
Messages
6,183,215
Members
453,151
Latest member
Lizamaison

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top