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 August 9th, 2009, 04:37 PM
Authorized User
 
Join Date: May 2009
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default Copying and identifying field from one table to another easily

I have an application where the salesperson enters sales orders into a local Access application, including all the normal details one would expect. They are nearly always new customers that are not yet in the corporate computers.

These same orders are submitted to the company who enters the same info (although not necessarily identical in terms of how they show a company name) into the corporate mainframe computers. The company eventually sends out commission sheets to the salesperson. They too often do not include some orders, list others wrong in many of the details, necessitating the salesperson compare her records with corporate commission sheets.

Tidbits:
The commissions are normally paid for 12 consecutive months, requiring repeat comparisons of commission amounts, not one time comparisons.

There is no way to get corporate to share more info as to what is in their systems; there is no way to get corporate to enter customer names into their computers in a standardized way.

Therefor there are no fields in the corporate report that are guaranteed to be an identical match with what is entered by the salesperson. They often make errors even in invoice amount, etc.

Thus it seems to me that we have no choice on the salesperson's end but to use the corporate commission sheet to hand enter the corporate assigned ID numbers into such a field in the salesperson's Access database so we can then compare overall data withing the two systems.

I am trying to figure out the easiest way to do that for the salesperson. The starting point is 1)a commission report (electronic) from corporate that shows companyID, CompanyName, many fields to do with the invoice; and 2) the invoice data entered locally into Access by the salesperson.

About the only thing I can think of is to have 2 queries (or forms) sitting side by side on the screen and copying and pasting IDs from corporate data to a comparable field in the local database. On one side show the query with CompanyName and CompanyID from the corporate systems, and on the other side show all comanynames and companyIDs where the companyIDs are null, and alphabetize both of these so that they will mostly match up.

The salesperson can add the appropriate CompanyID from each matching record on the corporate report and, when done, we will still have the list from the local system of those orders that did not make it at all into the corporate system (where the CompanyID is still empty because we could find to match).

My question is, is there any easier way to set this up for the salesperson?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't EASILY set cbo.selecteditem using VALUE Ron Howerton Visual Basic 2005 Basics 5 December 14th, 2006 04:52 PM
Truncated field when copying Tachyophan Access VBA 3 November 16th, 2006 08:23 AM
Copying from one table to another Clive Astley VB Databases Basics 2 August 23rd, 2005 12:48 AM
copying from table 1 inserting in table 2 gilgalbiblewheel Java GUI 0 September 15th, 2004 03:40 PM
Copying Table Relationship Diagram mike123abc SQL Server 2000 1 February 19th, 2004 09:16 AM





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