PC Review


Reply
Thread Tools Rate Thread

Re: correlating data

 
 
John Spencer (MVP)
Guest
Posts: n/a
 
      1st Aug 2003
Add a table to your database that has the CPT and the corresponding CDM codes.

tblConvertCPTCDM
CPT
CDM

Now, build a query and link that table to your imported table. I would probably
use an Outer Join just in case you are missing one of the conversions or someone
has entered an invalid CPT on the spreadsheet.

SQL would look SOMETHING Like:

SELECT S.*, T.CDM
FROM Spreadsheet as S LEFT JOIN tblConvertCPTCDM as T
ON S.Field17 = T.CPT

Substitute your field and table names as appropriate.

Antonio wrote:
>
> I have an excel spread sheet that I would like to import
> into Access. This Excel spread sheet contains 25
> individual data fields and between 10 to 20 entries per
> sheet (they are batched by date of scan). All 25 fields
> contain some sort of information. The requirement is to
> have a report print out that displays the uploaded
> information as well as one extra field of data. This field
> of data is related to filed #17 of the original 25 data
> fields. This field is a numeric code called "CPT".
> This "CPT" code has a corresponding "CDM" code that is
> used for billing within the department. My boss would like
> a report that contains all of the origial data plus the
> CDM code that corresponds to the CPT code. This report
> would then in turn be sent to the data entry personnell
> within the department. I am not sure how to design/set up
> the correlation between data field #17 and the
> corresponding CDM code.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Correlating data Antonio Microsoft Access Macros 1 31st Jul 2003 08:20 PM
correlating data Antonio Microsoft Access Queries 1 31st Jul 2003 03:51 PM
Correlating Data Fields Antonio Microsoft Access Getting Started 1 31st Jul 2003 11:29 AM
correlating data Antonio Microsoft Access Queries 0 31st Jul 2003 06:58 AM
Correlating data fields Antonio Microsoft Access 0 31st Jul 2003 06:53 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:01 AM.