Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 2nd, 2005, 12:11 PM
Registered User
 
Join Date: Apr 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Entering Multiple Sale Items on a Form

I have built an Access database for an art gallery and am having trouble designing a form that will allow me to record several pieces of art sold on one invoice. Each piece of art has a unique stock number, which is the key field of the Inventory Table. I've also created a Sales Table to act as a bridge between the Inventory Table and the Clients Table. Unless I can figure out how to enter more than one piece of art on the Sales Form, I'll have to enter the same information (e.g. Invoice No., Client ID, Artist ID, etc.) more than once for sales that involve more than one piece.

I know that there is probably a simple solution to this problem, but I can't seem to find it. (This is my first experience with a relational database, so please excuse my ignorance. :()


Richard Murphy
Sedona, AZ
 
Old May 2nd, 2005, 12:48 PM
ru1 ru1 is offline
Authorized User
 
Join Date: Feb 2005
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can use a subform on your main form. The two will be linked by what you set up in the subform wizard. Then, when you enter an item in the subform, it will be recorded for you in the sales and inventory table. See the Northwind database provided with Access and there is a good example of this there.

RU1






Similar Threads
Thread Thread Starter Forum Replies Last Post
Entering special characters on the form MyronCope Classic ASP Basics 1 November 21st, 2006 09:27 AM
Cannot have multiple items selected in a DropDownL Ron Howerton ASP.NET 1.0 and 1.1 Basics 23 November 8th, 2006 04:29 PM
Cannot have multiple items selected in a DropDownL Ron Howerton ASP.NET 2.0 Basics 2 May 18th, 2006 04:59 AM
Entering Multiple Parameters in a Paramter Query jjc9809 Access 2 February 15th, 2006 09:36 PM
Entering Date on web form mrideout BOOK: Beginning ASP.NET 1.0 6 October 19th, 2004 12:08 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.