473,396 Members | 2,011 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,396 software developers and data experts.

Form based on query

I created a form via the wizard with 1 main table and 2 one-on-one tables.
As i couldn't add a field to the form (a field that I added to the table
after creating the form), I googled out that the form is based on a Select
Query. I managed to alter that query so that the field shows up in the field
list.

My question is, why exactly does access base this form on a query? What is
the difference and the benefit?
Thanks,
john
Jul 13 '06 #1
4 8524
On Thu, 13 Jul 2006 19:16:49 +0200, john wrote:
I created a form via the wizard with 1 main table and 2 one-on-one tables.
As i couldn't add a field to the form (a field that I added to the table
after creating the form), I googled out that the form is based on a Select
Query. I managed to alter that query so that the field shows up in the field
list.

My question is, why exactly does access base this form on a query? What is
the difference and the benefit?
Thanks,
john
If you had based your form record source on just one table, you could
use either the table or a query based just on that one table.
But because your form record source is based on 3 tables, you must use
a query. Some multi-table queries are not updatable.
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Jul 13 '06 #2
"fredg" <fg******@example.invalidschreef in bericht
news:av****************************@40tude.net...
On Thu, 13 Jul 2006 19:16:49 +0200, john wrote:
>I created a form via the wizard with 1 main table and 2 one-on-one
tables.
As i couldn't add a field to the form (a field that I added to the table
after creating the form), I googled out that the form is based on a
Select
Query. I managed to alter that query so that the field shows up in the
field
list.

My question is, why exactly does access base this form on a query? What
is
the difference and the benefit?
Thanks,
john

If you had based your form record source on just one table, you could
use either the table or a query based just on that one table.
But because your form record source is based on 3 tables, you must use
a query. Some multi-table queries are not updatable.
--
Fred
Thanks Fred. But what is the difference in behavior between basing a form on
a table and on a query. May I encounter problems in the future because of
using either one of them?
john
Jul 13 '06 #3
On Thu, 13 Jul 2006 19:43:04 +0200, john wrote:
"fredg" <fg******@example.invalidschreef in bericht
news:av****************************@40tude.net...
>On Thu, 13 Jul 2006 19:16:49 +0200, john wrote:
>>I created a form via the wizard with 1 main table and 2 one-on-one
tables.
As i couldn't add a field to the form (a field that I added to the table
after creating the form), I googled out that the form is based on a
Select
Query. I managed to alter that query so that the field shows up in the
field
list.

My question is, why exactly does access base this form on a query? What
is
the difference and the benefit?
Thanks,
john

If you had based your form record source on just one table, you could
use either the table or a query based just on that one table.
But because your form record source is based on 3 tables, you must use
a query. Some multi-table queries are not updatable.
--
Fred

Thanks Fred. But what is the difference in behavior between basing a form on
a table and on a query. May I encounter problems in the future because of
using either one of them?
john
Records in a tables are basically unordered.
Basing the form on a query, even for one table, allows you to sort and
filter the record source as you wish. Why include all of your table
fields in the form's record source if the form is only going to be
used for entering just a few field's data? And, as I stated in my
other post, you must use a query (SQL) if you need more than one table
in the form.

You won't get into 'trouble' using the table itself.
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Jul 13 '06 #4
"fredg" <fg******@example.invalidschreef in bericht
news:1o*******************************@40tude.net. ..
On Thu, 13 Jul 2006 19:43:04 +0200, john wrote:
>"fredg" <fg******@example.invalidschreef in bericht
news:av****************************@40tude.net. ..
>>On Thu, 13 Jul 2006 19:16:49 +0200, john wrote:

I created a form via the wizard with 1 main table and 2 one-on-one
tables.
As i couldn't add a field to the form (a field that I added to the
table
after creating the form), I googled out that the form is based on a
Select
Query. I managed to alter that query so that the field shows up in the
field
list.

My question is, why exactly does access base this form on a query? What
is
the difference and the benefit?
Thanks,
john

If you had based your form record source on just one table, you could
use either the table or a query based just on that one table.
But because your form record source is based on 3 tables, you must use
a query. Some multi-table queries are not updatable.
--
Fred

Thanks Fred. But what is the difference in behavior between basing a form
on
a table and on a query. May I encounter problems in the future because of
using either one of them?
john

Records in a tables are basically unordered.
Basing the form on a query, even for one table, allows you to sort and
filter the record source as you wish. Why include all of your table
fields in the form's record source if the form is only going to be
used for entering just a few field's data? And, as I stated in my
other post, you must use a query (SQL) if you need more than one table
in the form.

You won't get into 'trouble' using the table itself.
--
Fred
Thank you!
john
Jul 13 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: John | last post by:
Just a general question... I'm currently using a combobox that when updated, opens a form with its recordset based on a query using the combo box value as the criteria. I'm I correct in...
2
by: neptune | last post by:
I have a query where each customer has an or . Sometimes both fields for a customer are populated, but if is null, then will be populated and vice versa. I have a form, , where I select a...
4
by: DebbieG | last post by:
I have a form based on this query: SELECT Students.LastSerDT, OtherInfo.Served, OtherInfo.HSGradYr, OtherInfo.ActivePart, OtherInfo.Served, Students.SSN, & ", " & & " " & AS Name,...
2
by: dkintheuk | last post by:
Hi all, Using Access 2000 on XP Pro PC. I have a form that is based on a presaved query - all fine with this. I also have a refresh button that takes the values from various unbound...
1
by: meganrobertson22 | last post by:
hi everybody- what is the best way to add data from one form to another? i have 2 tables: person and contract. here are some of the fields. table: person personid (autonumber and primary...
2
by: Robert | last post by:
I am trying to give the user dynamic search capabilities to select almost any record in the database from criteria they select. Everything seems to work except when I open the display form to...
2
by: fstenoughsnoopy | last post by:
I have a customer order database and I need to pull a customers information, ie first name, last name, address, city, state, zip, phone, etc, into the oder table. i don't know how to go about...
31
by: DWolff | last post by:
I'm somewhat new to Access, and have no VB experience at all (except for modifying existing code where obvious). I built a data entry form that works fine. Typically, a client will call in and...
8
by: tess | last post by:
I have: table 1 - tblLeadInfo which includes a salesman ID field table 2 - tbllkpSalesman with all zips in the state and a Salesman assigned to that area. I have a form based on table #1 When...
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.