Re: Multiple Tables
- From: "Cortney" <Cortney@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 22 Nov 2005 11:46:06 -0800
I was able to link it through subforms by linking the name and the date on
the master/child fields. The only reason I was trying to go a different
route was because I could not get the information to report correctly, it was
just coming from the main form rather than all the forms. If you knew a way
to print the subform results as well as the main form results, I would be
able to keep the subform format. It was easier than this, that's for sure.
"Cortney" wrote:
> SELECT [AR Aging Percentages Query].[Billins Address Subgroup], [AR Aging
> Percentages Query].[Commercial/Blue], [AR Aging Percentages
> Query].[Contracted/Non Contracted], [AR Aging Percentages Query].Date AS [AR
> Aging Percentages Query_Date], [AR Aging Percentages Query].[Full Denial as a
> % of A/R], [AR Aging Percentages Query].[A/R balance 0-90 Days], [AR Aging
> Percentages Query].[AR Balance 0-120 Days], [AR Aging Percentages Query].[AR
> Balance 0-181 Days], [AR Aging Percentages Query].[A/R Balance > 181 Days],
> [Payments to Charges Query].[Payments to Charges Ratio], [Days Billed
> Outstanding].[Days Billed Outstanding]
> FROM (([Payer Table] LEFT JOIN [Payments to Charges Query] ON [Payer
> Table].[Billins Address Subgroup] = [Payments to Charges Query].[Billins
> Address Subgroup]) LEFT JOIN [AR Aging Percentages Query] ON [Payer
> Table].[Billins Address Subgroup] = [AR Aging Percentages Query].[Billins
> Address Subgroup]) LEFT JOIN [Days Billed Outstanding] ON [Payer
> Table].[Billins Address Subgroup] = [Days Billed Outstanding].[Billins
> Address Subgroup];
>
> Billins Address Subgroup Commercial/Blue Contracted/Non Contracted AR Aging
> Percentages Query_Date Full Denial as a % of A/R A/R balance 0-90 Days AR
> Balance 0-120 Days AR Balance 0-181 Days A/R Balance > 181 Days Payments to
> Charges Ratio Days Billed Outstanding
> BCBS OF
> TN Blue Non-Contracted Sep-05 53.69% 54.99% 62.27% 76.84% 23.16% 73.13% 143
> BCBS OF
> TN Blue Non-Contracted Oct-05 56.52% 47.70% 57.99% 70.16% 29.84% 73.13% 143
> BCBS OF
> TN Blue Non-Contracted Sep-05 53.69% 54.99% 62.27% 76.84% 23.16% 79.14% 143
> BCBS OF
> TN Blue Non-Contracted Oct-05 56.52% 47.70% 57.99% 70.16% 29.84% 79.14% 143
>
> This doesn't look pretty but the problem is that the last two entries,
> Payments to charges ratio and days billed outstanding are not linking with
> the date field in the Payer Profile table. It is duplicating the entries in
> each month. In this instance, there are two months of data in the payer
> profile, there is an entry for each month in the Payments to Charges Ratio (
> Sept is 73% Oct is 79%) but there is only one month in the days billed
> outstanding field(Oct is 143) . It is pulling the numbers in for each month
> whether is corresponds with the correct month or not. I was wondering if I
> could join the date fields somehow or do I need to set up my tables
> different? Each table has a date field with the format mmm-yy.
>
>
> "John Vinson" wrote:
>
> > On Tue, 22 Nov 2005 08:02:08 -0800, "Cortney"
> > <Cortney@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > >I am still having the problem with the date fields. The are not linking up
> > >to the correct date from each table. Do you know how to fix that?
> > >
> >
> > No, I don't - because I cannot see your table structure or your query
> > or the results you are seeing.
> >
> > You can see your computer. I cannot. You're doing something wrong in
> > the query, but I don't know what the query IS because I cannot see it.
> >
> > Please open the query in SQL view and copy and paste it to a message
> > here. Also give an example of what's in the table, and what you're
> > seeing that is not "linking up".
> >
> >
> > John W. Vinson[MVP]
> >
.
- Follow-Ups:
- Re: Multiple Tables
- From: John Vinson
- Re: Multiple Tables
- References:
- Re: Multiple Tables
- From: Pat Hartman\(MVP\)
- Re: Multiple Tables
- From: John Vinson
- Re: Multiple Tables
- From: John Vinson
- Re: Multiple Tables
- From: Cortney
- Re: Multiple Tables
- Prev by Date: Re: Can I set relative paths for linked tables instead of absolute path?
- Next by Date: Re: When "Splitting" isn't enough
- Previous by thread: Re: Multiple Tables
- Next by thread: Re: Multiple Tables
- Index(es):
Relevant Pages
|