473,387 Members | 1,483 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Having a hard time 2 controll source in one form.

14
Hello All,

I'm having a hard time setting up a form using two control source.

Let me explain to you my form first.

The form acquires data and date and comment in table A
so we have Category1, Date completed and Comment as main column in table A.

I have a table B that I want to link to the same Form...
Column in Table B are:
Part Used
Misc. 1
Misc. 2

The reason why I'd like to have two table in one form, is that when the user access the form, he will fill the complete form. So I can export Table B and send it by email.

So how do I insert two record source in the main form?
I've tried in control source
= SELECT tableA.*, TableB.*

But didnt work =(

Thank you for taking your time to read this!
Sep 21 '10 #1

✓ answered by colintis

Query simply pulls data directly from the table and put them up the screen, it doesn't store anything as a new table, which is very useful to get parts from many tables and generate the result into one screen. And this is the most simple way, this is also the only solution for putting multiple tables as record source in the form.

If you don't understand the coding very well, the design mode in the query will be very helpful to you.

4 1491
colintis
255 100+
With more than one table as record source, you can try to create a query that only extract the columns you need from both table A & B, and use this query as record source.
Sep 21 '10 #2
LyTseu
14
Hello Colintis,

But will the new information stored using table A & B data, will still be in another table? (different than the main table used for the form?) which will alow me to send that table seperatly. Or is there a simpler way.

Thank you,
Ly.
Sep 21 '10 #3
colintis
255 100+
Query simply pulls data directly from the table and put them up the screen, it doesn't store anything as a new table, which is very useful to get parts from many tables and generate the result into one screen. And this is the most simple way, this is also the only solution for putting multiple tables as record source in the form.

If you don't understand the coding very well, the design mode in the query will be very helpful to you.
Sep 21 '10 #4
LyTseu
14
Thank you for your help!
Sep 22 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: George Hester | last post by:
You know there is a difference between the Microsoft .NET Framework and the Microsoft .NET Framework SDK. Besides the fact that the former is 20 some MB and the latter is some 100MB there is a...
1
by: Dan | last post by:
Hello, I need a good way to have my users enter the date and time into a form. Could someone please give me some ideas here. What is the preferrable method for doing this in an asp form page? ...
3
by: intl04 | last post by:
I was told by an instructor of Oracle SQL that an MS Access database cannot be used to have several people enter records at about the same time, that the database will "freeze up" as a result -...
6
by: NomoreSpam4Me | last post by:
Hi there i'm having a hard time: i have a form and a rpt base on a qry Name: Frm Notice Rpt Notice Qry Notice
6
by: jaytm | last post by:
I am trying to figure out how to place the current time on a form and keep it current. Can someone please point me to a tutorial or code on how to do this in vb.net? thanks
11
by: Jim S. | last post by:
hi guys and gals, i have an array, but i have the hardest time putting the value in the table, so what is the normal procedure? thanks Jim
1
by: Dieter Vanderelst | last post by:
Dear all, Could anybody tell me whether there are ways to use an existing DLL file in Python without having access to the source code? I'm trying to find a way to use the image filters...
1
by: gmax2006 | last post by:
Hi, I am having hard time with installing MySQLdb on Linux. My Python version is 2.3. I have downloaded "MySQL-python-1.2.1_p2.tar.gz" from sourceforge. The README file asks for MySQL...
0
by: antonyliu2002 | last post by:
I am having a hard time connecting to an oracle database from within Visual Web Developer (VWD) 2005 Express Edition. Check out the screen snap shot here: ...
5
by: veer | last post by:
hello expert i am making a programe in which i want to show the date and time option in vb form during designing time i choose the window component option from project -> component->window...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.