Form design problem. pls help!

  • Thread starter Thread starter gz
  • Start date Start date
G

gz

I have the tables Orders and OderDetails.
I need create a form for data input and view of these two tables.
I'm wondering is there any wizard to create this kind of forms?
If there is no such wizard, what's the normal way to design the form? I'm
just confusion as the number of the Details are unpredictable, its obviously
inapplicable to put lots of text boxes on a form for data input.

Anyone can help?

Thanks!
 
Open the Northwind database and see how it is done. Normally the subform is
a continuous form on a main form. The Link Master/Child properties on the
subform control "link" the main report to the appropriate related records on
the subform.
 
Thank you for the help!
Now I got the subform. However, I am not clear how the total is calculated.
I did not find the code to do this anywhere.
Do you have time to tell me how it works?
Thanks again!
 
You can to the totals several ways. The easiest is to put a text box in the
footer of the subform, right under the column you want to sum. Give this
textbox a label, something like "Total", then, in the Control source
property of the text box put:

=Sum([Amount])

Replace [Amount] with the name of the field you are totaling.

HTH
Dale
 
How what total is calculated? You can add a calculated text box on the main
form that displays the total from a subform.

Are you thinking that you want to "store" a total in the main Order table?
 
Hi gz,

Try my tutorial on this subject:

Displaying Subtotals and a Grand Total on a Form
That Displays a One-to-Many Relationship

http://www.access.qbuilt.com/html/subtotals.html


Tom

http://www.access.qbuilt.com/html/expert_contributors.html
http://www.access.qbuilt.com/html/search.html
__________________________________________

:

Thank you for the help!
Now I got the subform. However, I am not clear how the total is calculated.
I did not find the code to do this anywhere.
Do you have time to tell me how it works?
Thanks again!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top