473,378 Members | 1,134 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,378 software developers and data experts.

subforms

27
Hello there!
As you were really helpful last time i would like to ask another question if you don't mind.:)
I have created a form Purchase Orders with subform PO1 for item, descriptions, qty and prices.It works fine when entering new records via form, but when i go to table Purchase Orders it doesn't look like all fields from subform are related to all fields from main form.
I mean each line in table should show:item, descr, qty, price (from subform) and ship from, deliver to (from main form)but it doesn't....
Do you think that you can help on this one????thank you very much:)


--------------------------------------------------------------------------------
Apr 24 '08 #1
5 1557
NeoPa
32,556 Expert Mod 16PB
It might help to explain which items (controls) are present in which of the forms. After all, we can't see what you have in front of you so we rely largely on what you tell us.
Apr 24 '08 #2
MEGDZIA
27
Main form (Purchase Order ) has got PO NO, Ship to Adress, Vendor Address, ,job Number, Tax Date and field: Target met?

The subform contains fields as follow: item, description, Qty, rate and delivery date.

when I'm trying to run a query which shows undelivered orders (when Target met?=No) it doesn't ahow vendors and PO No in every line...
May 1 '08 #3
NeoPa
32,556 Expert Mod 16PB
Well, this doesn't really tell me much as there is no information as to which fields are linked between the main form and the subform, or even what matches what between the two forms.

Basically, you will need to ensure that all fields that you want duplicated throughout the records on the subform are linked to those you want them to be like on the main form.

It's a good idea only to link on those fields which are indexed though of course. Copying names or descriptions is not a recommended way to store data hierarchically. It is generally better to keep the data stored only once and link to it when required.
May 1 '08 #4
MEGDZIA
27
Thank you for your response. I'm sorry for this silly question but I don't really know how to link fields between main form and subform as can't build relationship( subform is not a table or query).......
Jun 17 '08 #5
NeoPa
32,556 Expert Mod 16PB
No worries.

Check out a couple of things then come back if there's further explanation you need.
  1. Create a Form/Subform pair using the Wizard. This will give you a bunch of ideas about how it works and what it does for you.
  2. Check out the properties - Link Child Fields & Link Master Fields in the Subform/Subreport control which is a control on your main form which CONTAINS the subform.
  3. Use F1 with the cursor in one of these properties to get a full explanation.
Jun 18 '08 #6

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

Similar topics

1
by: JJMM | last post by:
Hi, I have a form (form1) with a large number of subforms inside it (around 20 subforms), There is the possibility of filtering the data using a pop-up form that create/change a query (all the...
3
by: Evil | last post by:
Hi, i have a problem with a treeview and some subforms in MS Access97. I have a form with a treeview on the left side which lets me navigate thru some projects. Then on the right side, i have...
0
by: Arnold | last post by:
Hi there, I have a form to organize bottles in mind, but am unsure if it will work. Here's some background info: Mainform = frmProduct, which contains fields for pricing, status, etc. of...
1
by: M Wells | last post by:
Hi All, I am developing an Access 2003 project application with the back end in SQL Server 2003. I have a master form that tracks projects, and several subforms on it that track various...
2
by: Jack | last post by:
Hi all, I searched the archives and found everyone happy with Stephen's MouseWheel On/Off code except for those with subforms. Stephen's page indicates that he has added code to handle subforms...
0
by: Jack | last post by:
Gday everyone, I'm dearly hoping Stephen Lebans is going to update his masterpeice to stop the mouse wheel scrolling to work on subforms *he has indicated this to me but of course beggers can't...
5
by: Richard Stanton | last post by:
Hello all My database has a main form linked to table1. It has several subforms on the main form, all linked to table2. Table1 and Table2 are linked by primary/foreign key, no duplicates...
8
by: Zlatko Matić | last post by:
Hello. How can I synchronize subforms content with current record in master form, if both form and subform are based on DAO code ? I assigned DAO recordset to forms by using QueryDef, on Load...
2
by: robert.waters | last post by:
Hello, If I have a form containing a Tab Control with N pages, each page containing a subform, are those subforms loaded into memory when another page has the focus? I have tried iterating...
4
by: Harlequin | last post by:
I have a question concerning the need to trigger events within a "child" subform which is itself enbedded within a master "parent" form and which is accessible via a tab in the parent form. Becuase...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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...

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.