I tried to ask this question several days ago, but I didn't explain my
application correctly.
Basically I want to have one record from table "A" and I want to display,
say, 5 records from table "B" which are specified by the one record from
table "A"... And all on the same form. I do not want to use a subform. The
record fields from table "B" must be displayed in text boxes with the record
fields from the single record from table "A".
The idea is that the form is a product enter form. Table "A" holds products.
Table "B" holds the different specifications which must be entered for each
product. By displaying specifications, I can guide the user to enter certain
specifications which are specific to a group of products. For instance, all
drills would have the specs: amps, volts, rpm, chuck size. Saws would have
specs like: horsepower, volts, rpm, blade size, table size.
It is a many-to-many relationship.
I just don't know how to pull more than one record from the same table on
the same form. I can design the form in Access if it would help explain my
idea (although, it would not actually function of course).
Thanks for any thoughts. I've been going over this in my mind for several
weeks now. You can tell this isn't my day job (week-end job).
Regards,
Robin 3 3482
"Robin S." <la*******@hotmail.com> wrote in
news:m0*******************@news20.bellglobal.com: I tried to ask this question several days ago, but I didn't explain my application correctly.
Basically I want to have one record from table "A" and I want to display, say, 5 records from table "B" which are specified by the one record from table "A"... And all on the same form. I do not want to use a subform. The record fields from table "B" must be displayed in text boxes with the record fields from the single record from table "A".
Robin, whether or not you want to use a subform, a subform is the
correct way to design this application.
The idea is that the form is a product enter form. Table "A" holds products. Table "B" holds the different specifications which must be entered for each product. By displaying specifications, I can guide the user to enter certain specifications which are specific to a group of products. For instance, all drills would have the specs: amps, volts, rpm, chuck size. Saws would have specs like: horsepower, volts, rpm, blade size, table size.
It is a many-to-many relationship.
I just don't know how to pull more than one record from the same table on the same form. I can design the form in Access if it would help explain my idea (although, it would not actually function of course).
Nobody knows, because it's not really possible, except for using
a subform. You could try to set up a list box, but you'd then
have to write tons of code to duplicate what's built into a
subform control. Thanks for any thoughts. I've been going over this in my mind for several weeks now. You can tell this isn't my day job (week-end job).
Regards,
Robin
"Bob Quintal" <bq******@generation.net> wrote in message
news:83******************************@news.teranew s.com... Nobody knows, because it's not really possible, except for using a subform. You could try to set up a list box, but you'd then have to write tons of code to duplicate what's built into a subform control.
Do you mean that what I want to do cannot be done, or that it cannot be done
without a subform? I didn't really mean I don't want it used so much as I
don't want the fields displayed in the one box as in a standard subform. I
need them displayed on the mainform... Whatever means possible.
Thanks again.
Regards,
Robin
the only way to show more than one record on a form is to make it
tabular or datasheet
the best way to show master (product) data and detail (specification)
data is to use a subform on a form
tblProduct
productId autokey (pk)
description
tblSpecification
productId (fk)
specificationId autokey (pk)
description
tblProduct
drill
tblSpecification
amps
volts
rpm
chuck size
create a columnar form for Product, showing productId, description
create a second tabular from for Specification, showing just
description
drag the specification form undo the product form (to create a
subform) or use
the subform wizard
your form will end up with
productId: 1 description: drill
description
amps
volts
rpm
chuck size
"Robin S." <la*******@hotmail.com> wrote in message news:<Gn*******************@news20.bellglobal.com> ... "Bob Quintal" <bq******@generation.net> wrote in message news:83******************************@news.teranew s.com... Nobody knows, because it's not really possible, except for using a subform. You could try to set up a list box, but you'd then have to write tons of code to duplicate what's built into a subform control.
Do you mean that what I want to do cannot be done, or that it cannot be done without a subform? I didn't really mean I don't want it used so much as I don't want the fields displayed in the one box as in a standard subform. I need them displayed on the mainform... Whatever means possible.
Thanks again.
Regards,
Robin This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Bill Brinkworth |
last post by:
it's would be simple in Access, but seems to be harder in VB. I want to
enter part of a word and search an access table, and display all instances of
words containing those letters in a box (say a...
|
by: Matt K. |
last post by:
Hi there,
I have a form in an Access project that contains a subform which
displays the results of a query of the style "select * from
where = #a certain date#". In the main part of the form...
|
by: shank |
last post by:
I'm trying to use online samples for submitting multiple records from ASP
into a stored procedure. Failing! Through the below form, a user could be
submitting many records at a time. I'm not...
|
by: Kaur |
last post by:
Hi, I have been successful copying a vba code from one of your posts on
how to copy and paste a record by declaring the desired fields that
needs to be copied in form's declaration and creating two...
|
by: NumberCruncher |
last post by:
Hi All,
I am struggling with setting up my first system of tables, forms,and reports, and could use your help!
I am setting up a database to keep track of the production of a produced item. The...
|
by: littlevikinggirl |
last post by:
Hi,
I have a table "Location" consisting of two fields - "Serial Number"
and "Location". I want to be able to represent in graphic form the
locations of multiple the items in that table. I...
|
by: 4Him |
last post by:
First off, let me say this is a great site! I've just started working with Access and much of my success is from what I've read here!
Background: I have a form, driven off a single table.
Goal:...
|
by: jamieda |
last post by:
I have a multiple items form displaying the contents of a table. It has a primary key and the records are ordered by this. I want to be able to manually select a record in the form and then...
|
by: jmarcrum |
last post by:
Hello all,
i have a continuous form that displays about 1000 records and opens when I click a button. When the form opens, the user has the option of checking a checkbox that is located beside...
|
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,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
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...
|
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...
| |