Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 17th, 2007, 10:24 AM
Registered User
 
Join Date: Jul 2007
Location: , , .
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
Reply With Quote
  #2 (permalink)  
Old July 18th, 2007, 06:40 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
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
Reply With Quote
  #3 (permalink)  
Old July 18th, 2007, 08:36 AM
Registered User
 
Join Date: Jul 2007
Location: , , .
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 06:21 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.