Wrox Programmer Forums
|
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 July 17th, 2007, 10:24 AM
Registered User
 
Join Date: Jul 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Form to table in Access 2003

I want to, among other things, have fields on my main form collect Vendor information (name, address, phone, etc.) and save this data to a table, but NOT if there is already an entry for that particular vendor. I.E. If Machine & Welding Supply is already in the Vendor table, don't add a new row to the table; instead, go ahead and populate the rest of the fields on the form for me. And if ClearView Pools is not already an entry, add a new row to the Vendor table when the last textbox on the form dealing with the Vendor table loses focus.

How can I do that?

Thanks!

Shane
 
Old July 18th, 2007, 06:40 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Normally that is a training issue with the users. Typically I will make a look up combo box to find vendors on a form, for example. I put instructions on the form that:

1. Please look up the vendor here first:

2. If the vendor is not in the list, create a new vendor (however you are doing that.)

If the user has to look for the vendor first, then they won't have to spend time filling in all the information that is already there. AND if they have new information, using your scheme, the old bad information would not be replaced, potentially.

I would make them look for the vendor first, and if not in list, create new record.

Did that help?


mmcdonal
 
Old July 18th, 2007, 08:36 AM
Registered User
 
Join Date: Jul 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

That does seem to be a good working solution to the issue.

Hadn't looked at it from that angle, but I will.

Thanks!

Shane





Similar Threads
Thread Thread Starter Forum Replies Last Post
Edit Access Table in Excel (2003) kewldude_3001 Access 0 April 10th, 2008 02:26 PM
Access 2003 form in Pivot Table View Steve McGuire Access 4 July 29th, 2007 07:42 AM
Upgrading from Access 2002 to Access 2003 lryckman Access 1 July 16th, 2006 01:46 AM
Linking VB 6 form and Access table takawera VB Databases Basics 1 October 15th, 2004 09:12 PM
Access update table from form values trevander Access VBA 2 April 28th, 2004 03:06 PM





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