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

New to Access-Grouping in Form Question

I'm new to Access and need some advice. I am trying to setup a database to
print labels and reports for our shipments. I have set up a table with
fields such as

I have taken a snapshot of what I would like to do:

http://www.chadworld.com/images/form.jpg

All of these fields are in a table called: Ship_Info

I would like to type in the Destination, Load ID, Ready to Ship, Ship Date
and BOL# at the top of the screen, and, I would like to type in information
for a list of boxes associated with the Load ID at the top in the middle
subform. I would like the Destination, Load ID, Ready to Ship, Ship Date
and BOL# at the top to also transfer to the Ship_Info table without having
to retype them for each box I type. I would like to scroll with the bottom
record control through the Load ID at the top and have it show each list of
boxes for that shipment. I might be working on 2 shipments for the San
Diego called SD1 and SD2. I would like to flip back and forth between them
on the form so I can add more boxes as needed.

I saw something similar to this in another database I was looking at, but it
was using multiple tables. It was using forms and subforms, but I'm not
sure how to set the Link Child and Link Master properties.

As I said, I am very new to Access, so I might not be on the right track at
all. If you have an alternate suggestion, please let me know. I don't know
much about programming and have been trying to mainly use menus and the
expression builder. Any help would be greatly appreciated.

Thanks,

Chad

Nov 13 '05 #1
3 1671
Rog
You need to use two tables, one with the shipping info - for your main
form - where LoadID is the record key (index), and which has
Destination, Ready to ship, Ship date and BOL# as fields. Your second
table should contain parcel data for your subform. This second table
should also contain the field LoadID so that the two tables can be
linked.

Nov 13 '05 #2
I'm new to access and need some help.

I have a form with a shipment destination at the top. I then have a subform
that I enter boxes for that shipment. I have several shipments going at a
time, so I can use the control at the bottom of the form to move from
shipment to shipment and I can see all the boxes in each shipment.

I'd like to put a subtotal for the shipment weight and box types at the
bottom of the subform.

I placed =Sum([Weight]) in the footer of the subform and it works fine.
When I switch to the next shipment, it shows a total for just that
shipment-just what I want.

The problem is with text values. I want to have running total of each type
of box I have. I have a field called Box_Type that contains text values
like Assembly Box, Regular Box, Small Box, etc. I would to have running
totals in the footer like this:

Total Assembly Boxes:

Total Regular Boxes:

Total Small Boxes:

These are text values, so I need to count every time the value is "Assembly
Box" for example.

I tried to use the Dcount function with the value = "Assembly Box", but it
gives me a total for the entire table and not just the shipment. I guess
this is because you have to specify the table in the conditions.

What I was thinking is to use the =Count([Box_Type]) with some kind of
condition that it counts "Assembly Box" or whatever other types.

I'm new to Access, so I might not be using the right terminology or going at
the problem the right way. Any information would be appreciated.

Thanks,

Chad

"Rog" <de********@state.gov> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
You need to use two tables, one with the shipping info - for your main
form - where LoadID is the record key (index), and which has
Destination, Ready to ship, Ship date and BOL# as fields. Your second
table should contain parcel data for your subform. This second table
should also contain the field LoadID so that the two tables can be
linked.

Nov 13 '05 #3
Thanks. That worked great. I appreciate the help.

Chad
"Rog" <de********@state.gov> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
You need to use two tables, one with the shipping info - for your main
form - where LoadID is the record key (index), and which has
Destination, Ready to ship, Ship date and BOL# as fields. Your second
table should contain parcel data for your subform. This second table
should also contain the field LoadID so that the two tables can be
linked.

Nov 13 '05 #4

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

Similar topics

63
by: Jerome | last post by:
Hi, I'm a bit confused ... when would I rather write an database application using MS Access and Visual Basic and when (and why) would I rather write it using Visual Studio .Net? Is it as easy...
1
by: Dave | last post by:
Hello NG, Regarding access-declarations and member using-declarations as used to change the access level of an inherited base member... Two things need to be considered when determining an...
20
by: Olav.NET | last post by:
I am a .NET/C++ developer who is supposed to do some work with Access. I do not know much about it except for the DB part. Questions: *1* I am looking for INTENSIVE books to get quickly up to...
47
by: ship | last post by:
Hi We need some advice: We are thinking of upgrading our Access database from Access 2000 to Access 2004. How stable is MS Office 2003? (particularly Access 2003). We are just a small...
92
by: Jeffrey P via AccessMonster.com | last post by:
Our IT guys are on a vendetta against MS Access (and Lotus Notes but they've won that fight). What I can't understand is, what's the problem? Why does IT hate MS Access so much. I have tried...
0
by: com | last post by:
MS Access 2000 Password Recoverer 4.2 Screenshot - Soft30.com MS Access 2000 Password Recoverer will display the password to a MS Access database (*.mdb). This program works for MS Access files...
49
by: Mell via AccessMonster.com | last post by:
I created databases on Access 2003 and I want to deploy them to users. My code was also done using 2003. If they have Ms Access 2000 or higher, will they be able to use these dbs with all code,...
17
by: Mell via AccessMonster.com | last post by:
Is there a way to find out where an application was created from? i.e. - work or home i.e. - if application sits on a (work) server/network, the IT people know the application is sitting...
4
by: Vanessa | last post by:
Hi there I am an Access developer, and I have written applications for a 30 telephone call center, using the standard multiuser jet engine, it all works fine, but I want to move our systems onto...
16
by: JoeW | last post by:
I'm utilizing a database that I created within MS Access within a program I've created in VB.NET. I am using the VB front end to navigate the information, but want to be able to print a report,...
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: 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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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,...

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.