Senin, 03 Desember 2012

[MS_AccessPros] Re: Create a form that can send and get data from 2 tables.

 

Your Name?

There are several ways to do this. The way I would choose is to create a form using tbl_Info as the RecordSource. Then add a sub form for the comments table. Set the child and master fields to the ticker field. The form wizard will do most of the work for you, but we will be happy to help.

Regards,
Bill Mosca, Founder - MS_Access_Professionals
http://www.thatlldoit.com
Microsoft Office Access MVP
https://mvp.support.microsoft.com/profile=C4D9F5E7-BB03-4291-B816-64270730881E
My nothing-to-do-with-Access blog
http://wrmosca.wordpress.com

--- In MS_Access_Professionals@yahoogroups.com, "timdbui" <timdbui@...> wrote:
>
> Could any of you please show me how to create a form that can send data to a table and retrieve data from another table (similar to query) concurrently.
>
> For example: I have tbl_Info that keeps a list of information on companies (ticker, company name, EPS,...) and I also have tbl_Comments that keeps my comments about the companies (ticker, dateinput, comment).
>
> I would like to create a blank form, frm_Comments, linked to tbl_Comments so that when I put a ticker in the Ticker control, and my comments in the comment control, this table can also pull in the relevant company name from tbl_Info.
>
> I can easily creat a query that is driven tom the ticker control on frm_Comment to get the data from tbl_Info, but I would like to be able to get the relevent results from this query to show up on the frm_Comments.
>
> Thank you so much in advance for taking the time to help me! Regards, Tim
>

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)
Recent Activity:
.

__,_._,___

[MS_AccessPros] Format Date Field in a report to another language

 

Hi guys,

I was wondering it there was a way to format a date field in a report to a specific language format without having to change the language format of my operating system.

Example:

The current field in the report is called [date]

When in the report it displays as
(Monday, December 3, 2012)

I want to change that particular form to show it in spanish as
(Lunes, 3 de diciembre de 2012)

In order to do this, what would the text box have to say in regards to adding to:
=[date]

Thanks in advance!

Jonathan
Running:
Microsoft Access 2010
Windows 7 Ultimate

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)
Recent Activity:
.

__,_._,___

[MS_AccessPros] Create a form that can send and get data from 2 tables.

 

Could any of you please show me how to create a form that can send data to a table and retrieve data from another table (similar to query) concurrently.

For example: I have tbl_Info that keeps a list of information on companies (ticker, company name, EPS,...) and I also have tbl_Comments that keeps my comments about the companies (ticker, dateinput, comment).

I would like to create a blank form, frm_Comments, linked to tbl_Comments so that when I put a ticker in the Ticker control, and my comments in the comment control, this table can also pull in the relevant company name from tbl_Info.

I can easily creat a query that is driven tom the ticker control on frm_Comment to get the data from tbl_Info, but I would like to be able to get the relevent results from this query to show up on the frm_Comments.

Thank you so much in advance for taking the time to help me! Regards, Tim

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)
Recent Activity:
.

__,_._,___

RE: [MS_AccessPros] Multi- year tables and many queries

 

John-

That would be one of the advantages of loading the records into tables that
contain all records - you could apply appropriate indexes to make your
queries run faster. Looks like you need four tables:

tblHEDISAll-AllMeasures
tblHEDISAll-AllMeasuresMedicare
tblHEDISAll-Percentiles
tblHEDISAll-PercentilesMedicare

Then rebuild your 20 queries to run off these tables with a Year column
added and appropriate indexes.

John Viescas, Author
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications
SQL Queries for Mere Mortals
http://www.viescas.com/
(Paris, France)

-----Original Message-----
From: MS_Access_Professionals@yahoogroups.com
[mailto:MS_Access_Professionals@yahoogroups.com] On Behalf Of jfakes.rm
Sent: Monday, December 03, 2012 2:45 PM
To: MS_Access_Professionals@yahoogroups.com
Subject: Re: [MS_AccessPros] Multi- year tables and many queries

John V,
Each year I get four tables (a new one was added in 2012):
tblHEDIS2012-AllMeasures (around 90,000 records).
tblHEDIS2012-AllMeasuresMedicare (around 280,000 records).
tblHEDIS2012-Percentiles (around 1,400 records).
tblHEDIS2012-PercentilesMedicare (around 4,500 records).

I just took over this database and am trying to make my life a little easier
by eliminating making 20 new queries every year.

Yes the columns are always the same.

I'm beginning to see what you are saying to do, however, several of the
queries deal with sorting and ranking top ten measures and it already takes
at least 5 minutes to run some of my queries. I'm afraid if I make the
tables bigger, it will take 15 or even 20 minutes to run.

Thanks for helping out, I'm going to start updating the queries in the next
few weeks so I'll start testing and see how it comes out.

John F.

--- In MS_Access_Professionals@yahoogroups.com, John Viescas <JohnV@...>
wrote:
>
> John F.-
>
> What, for example, are the names of the 2012 tables? The 2013 tables?
> Are the columns always the same?
>
> The problem is you appear to have separate tables for each year, which
> is going to be a management nightmare over time. When you import the
> new data, why not dump it into a table that has the data from ALL the
> years and add a DataYear column that you plug with a constant? Then
> use the combined table (you can even throw away the individual annual
> data tables) and dynamically filter for the years you want.
>
> John Viescas, Author
> Microsoft Access 2010 Inside Out
> Microsoft Access 2007 Inside Out
> Microsoft Access 2003 Inside Out
> Building Microsoft Access Applications SQL Queries for Mere Mortals
> http://www.viescas.com/ (Paris, France)
>
>
>
> -----Original Message-----
> From: "jfakes.rm" <jfakes@...>
> Reply-To: <MS_Access_Professionals@yahoogroups.com>
> Date: Thursday, November 29, 2012 3:54 PM
> To: <MS_Access_Professionals@yahoogroups.com>
> Subject: Re: [MS_AccessPros] Multi- year tables and many queries
>
> John V,
> Like I said, this was but one of many queries I need to build. The table
> names do stay constant year from year. So each year, I have to add code
> in my queries to add the current year. For example, I have numerous
> queries for 2012 for numerous reports and graphs. Next year, I will have
> to copy all the queries for 2013 and point everything to the new tables.
> What I would like to do, is take all my existing queries and rebuild them
> somehow to automatically add the data for 2013, 2014 etc automatically so
> I don't have to add new queries every year.
>
> I have around 100 reports I produce from this database each year so as you
> can imagine, I have to do a lot of updating. I'd like to figure out the
> best way to update queries as well as reports to calculate everything
> automatically.
>
> BTW I have been reading your book MS Office Access 2003 and have learned
> several slick tricks I wasn't aware of.
>
> John F.
>
> --- In MS_Access_Professionals@yahoogroups.com, John Viescas <JohnV@>
> wrote:
> >
> > John-
> >
> > I assume that some of the table names remain the same from year to year
-
> > like subtblHEDISMeasureID. For the tables that contain the year as part
> > of the name, think about temporarily dumping the "current" year into a
> > table with a generic name. For example, put the
tblHEDIS2012-Percentiles
> > data in tblHEDISCurrent-Percentiles. Then build all your queries once
> > using the generic names. When you want to run the report for 2012,
clear
> > out the "generic" tables and copy the 2012 data into them, then run your
> > queries unmodified.
> >
> > John Viescas, Author
> > Microsoft Access 2010 Inside Out
> > Microsoft Access 2007 Inside Out
> > Microsoft Access 2003 Inside Out
> > Building Microsoft Access Applications
> > SQL Queries for Mere Mortals
> > http://www.viescas.com/
> > (Paris, France)
> >
> > -----Original Message-----
> > From: "jfakes.rm" <jfakes@>
> > Reply-To: <MS_Access_Professionals@yahoogroups.com>
> > Date: Wednesday, November 28, 2012 3:20 PM
> > To: <MS_Access_Professionals@yahoogroups.com>
> > Subject: [MS_AccessPros] Multi- year tables and many queries
> >
> > I have a database that gets fed three tables each year from a vendor.
> >The
> > tables contain nation wide data just for that year so you can guage your
> > performance against other companies in the US. Each year, I have to
> >build
> > numerous queries to grab the data and display different views for 5
> >years.
> > The problem is, I have to prepare numerous reports and graphs so each
> > year I have to update at least 20 queries.
> >
> > Here are some of the things I have to capture and group (I didn't make
> > these names up, I inherited this database and can't make changes):
> > 1. HEDIS measure name rates for Commerical and Medicare.
> >
> > 2. I have to capture what my company scored and what the 50th, 75th,
and
> > 90th percentile is for the nation and how many points we need to reach
> >the
> > next percentile.
> >
> > 3. HEDIS measures where my company is in the top ten in the nation.
> >
> > This is just a small portion of what I have to add to the queries each
> > year.
> >
> > My question is, is there someway I can build a table with the years I
> >want
> > to pull (say 2008, 2009, 2010, 2011, and 2012) and grab and group the
> >data
> > the way I need it? To display it in the various reports, I have to name
> > each years data like: 2008 Commercial Rate, 2008 Medicare rate etc.
How
> > would I update each years field names so that it would group and sort
the
> > way the user needs it?
> >
> >
> >
> > This is just one of the many queries that I have to build each year to
> > capture data for the new year.
> >
> > SELECT DISTINCT subtblHEDISMeasureID.[Measure ID],
> > tblCOMPANYSpecificRates.AccreditationID,
> > subtblHEDISMeasureID.RequiredForAccreditation, subtblEntity.EntityType,
> > [tblHEDIS2012-Percentiles].AverageID,
> > [tblHEDIS2012-Percentiles].AverageName,
> > subtblHEDISMeasureID.ActiveMeasure, subtblHEDISMeasureID.[Domain Name],
> > tblCOMPANYSpecificRates.ReportingYear,
> > f_qryCOMPANYExecutiveSummarySelectBestInCO2012.COMPANYShortName,
> > subtblHEDISMeasureID.ShortName, tblCOMPANYSpecificRates.LineOfBusiness,
> > tblCOMPANYSpecificRates.ServiceArea,
> >
>
>IIf(tblCOMPANYSpecificRates.ReportingYear=2012,tblCOMPANYSpecificRates.Rat
> >e
> > ,0) AS 2012Rate, [tblHEDIS2012-Percentiles].[10thPercentile] AS
201210th,
> > [tblHEDIS2012-Percentiles].[25thPercentile] AS 201225th,
> > [tblHEDIS2012-Percentiles].[50thPercentile] AS 201250th,
> > [tblHEDIS2012-Percentiles].[75thPercentile] AS 201275th,
> > [tblHEDIS2012-Percentiles].[90thPercentile] AS 201290th,
> >
>
>f_qryCOMPANYExecutiveSummary2012GetInvertedRates.[2012CorrectedPercentile]
> > AS 2012Percentile,
> >
>
>f_qryCOMPANYExecutiveSummary2012GetInvertedRates.[2012CorrectedNextPercent
> >i
> > le] AS 2012NextPercentileRate,
> > [f_qryCOMPANYExecutiveSummary2011-For2012].[2011Rate],
> > [f_qryCOMPANYExecutiveSummary2011-For2012].[2011CorrectedPercentile] AS
> > 2011Percentile,
> > Val([f_qryCOMPANYExecutiveSummarySelectBestInCO2012].[Rate]) AS
BestInCO,
> > f_qryCOMPANYExecutiveSummary2012SoCO.[2012SoCORate],
> > IIf([2012Percentile]="N/A" Or
> > [2011Percentile]="N/A","N/A",IIf([2012Percentile]="<10th" And
> >
>
>[2011Percentile]="10th","¡Ã¨",IIf([2012Percentile]>[2011Percentile],"¡Ã¨",II
> >f
> >
>
>([2012Percentile]<[2011Percentile],"¡Ã©",IIf([2012Percentile]=[2011Percenti
> >l
> > e],"¡Ãª"))))) AS PercentileChange, subtblHPRRankingWeights.HPRCAHPSComm,
> > subtblHPRRankingWeights.HPRTreatmentComm,
> > subtblHPRRankingWeights.HPRPreventionComm,
> > subtblFiveStars.Medicare1StarRate, subtblFiveStars.Medicare2StarRate,
> > subtblFiveStars.Medicare3StarRate, subtblFiveStars.Medicare4StarRate,
> > subtblFiveStars.Medicare5StarRate, IIf([HPRTreatmentComm]=True Or
> > [HPRPreventionComm]=True Or [HPRCAHPSComm]=True,"*") AS
> > HPRRankingEntityComm, IIf([HPRTreatmentMedicare]=True Or
> > [HPRPreventionMedicare]=True Or [HPRCAHPSMedicare]=True,"*") AS
> > HPRRankingEntityMed, subtblHEDISMeasureID.RequiredForFiveStar, "0" AS
> > RequiredForAccredComm, "0" AS RequiredForAccredMedicare INTO
> > tblCOMPANYExecutiveSummary
> > FROM (((subtblHEDISMeasureID RIGHT JOIN (((((tblCOMPANYSpecificRates
LEFT
> > JOIN [tblHEDIS2012-Percentiles] ON tblCOMPANYSpecificRates.MeasureID =
> > [tblHEDIS2012-Percentiles].MeasureID) LEFT JOIN
> > f_qryCOMPANYExecutiveSummarySelectBestInCO2012 ON
> > [tblHEDIS2012-Percentiles].MeasureID =
> > f_qryCOMPANYExecutiveSummarySelectBestInCO2012.MeasureID) LEFT JOIN
> > f_qryCOMPANYExecutiveSummary2012GetInvertedRates ON
> > tblCOMPANYSpecificRates.MeasureID =
> > f_qryCOMPANYExecutiveSummary2012GetInvertedRates.MeasureID) LEFT JOIN
> > [f_qryCOMPANYExecutiveSummary2011-For2012] ON
> > tblCOMPANYSpecificRates.MeasureID =
> > [f_qryCOMPANYExecutiveSummary2011-For2012].[Measure ID]) LEFT JOIN
> > f_qryCOMPANYExecutiveSummary2012SoCO ON
tblCOMPANYSpecificRates.MeasureID
> > = f_qryCOMPANYExecutiveSummary2012SoCO.[Measure ID]) ON
> > subtblHEDISMeasureID.[Measure ID] = tblCOMPANYSpecificRates.MeasureID)
> > LEFT JOIN subtblHPRRankingWeights ON
> > tblCOMPANYSpecificRates.AccreditationID =
> > subtblHPRRankingWeights.AccreditationID) LEFT JOIN subtblFiveStars ON
> > tblCOMPANYSpecificRates.AccreditationID =
> >subtblFiveStars.AccreditationID)
> > LEFT JOIN subtblEntity ON tblCOMPANYSpecificRates.AccreditationID =
> > subtblEntity.AccreditationID
> > WHERE (((subtblEntity.EntityType)="Executive Summary") AND
> > (([tblHEDIS2012-Percentiles].AverageID)=1) AND
> > (([tblHEDIS2012-Percentiles].AverageName)="National - All LOBs:
Average")
> > AND ((subtblHEDISMeasureID.ActiveMeasure)=True) AND
> > ((tblCOMPANYSpecificRates.ReportingYear)=2012) AND
> > ((tblCOMPANYSpecificRates.LineOfBusiness)="Commercial") AND
> > ((tblCOMPANYSpecificRates.ServiceArea)="Regional (all service areas)"))
> > ORDER BY subtblHEDISMeasureID.[Measure ID],
> >subtblHEDISMeasureID.ShortName;
> >
> > John F

------------------------------------

Yahoo! Groups Links

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (6)
Recent Activity:
.

__,_._,___

Re: [MS_AccessPros] Multi- year tables and many queries

 

John V,
Each year I get four tables (a new one was added in 2012):
tblHEDIS2012-AllMeasures (around 90,000 records).
tblHEDIS2012-AllMeasuresMedicare (around 280,000 records).
tblHEDIS2012-Percentiles (around 1,400 records).
tblHEDIS2012-PercentilesMedicare (around 4,500 records).

I just took over this database and am trying to make my life a little easier by eliminating making 20 new queries every year.

Yes the columns are always the same.

I'm beginning to see what you are saying to do, however, several of the queries deal with sorting and ranking top ten measures and it already takes at least 5 minutes to run some of my queries. I'm afraid if I make the tables bigger, it will take 15 or even 20 minutes to run.

Thanks for helping out, I'm going to start updating the queries in the next few weeks so I'll start testing and see how it comes out.

John F.

--- In MS_Access_Professionals@yahoogroups.com, John Viescas <JohnV@...> wrote:
>
> John F.-
>
> What, for example, are the names of the 2012 tables? The 2013 tables?
> Are the columns always the same?
>
> The problem is you appear to have separate tables for each year, which is
> going to be a management nightmare over time. When you import the new
> data, why not dump it into a table that has the data from ALL the years
> and add a DataYear column that you plug with a constant? Then use the
> combined table (you can even throw away the individual annual data tables)
> and dynamically filter for the years you want.
>
> John Viescas, Author
> Microsoft Access 2010 Inside Out
> Microsoft Access 2007 Inside Out
> Microsoft Access 2003 Inside Out
> Building Microsoft Access Applications
> SQL Queries for Mere Mortals
> http://www.viescas.com/
> (Paris, France)
>
>
>
> -----Original Message-----
> From: "jfakes.rm" <jfakes@...>
> Reply-To: <MS_Access_Professionals@yahoogroups.com>
> Date: Thursday, November 29, 2012 3:54 PM
> To: <MS_Access_Professionals@yahoogroups.com>
> Subject: Re: [MS_AccessPros] Multi- year tables and many queries
>
> John V,
> Like I said, this was but one of many queries I need to build. The table
> names do stay constant year from year. So each year, I have to add code
> in my queries to add the current year. For example, I have numerous
> queries for 2012 for numerous reports and graphs. Next year, I will have
> to copy all the queries for 2013 and point everything to the new tables.
> What I would like to do, is take all my existing queries and rebuild them
> somehow to automatically add the data for 2013, 2014 etc automatically so
> I don't have to add new queries every year.
>
> I have around 100 reports I produce from this database each year so as you
> can imagine, I have to do a lot of updating. I'd like to figure out the
> best way to update queries as well as reports to calculate everything
> automatically.
>
> BTW I have been reading your book MS Office Access 2003 and have learned
> several slick tricks I wasn't aware of.
>
> John F.
>
> --- In MS_Access_Professionals@yahoogroups.com, John Viescas <JohnV@>
> wrote:
> >
> > John-
> >
> > I assume that some of the table names remain the same from year to year -
> > like subtblHEDISMeasureID. For the tables that contain the year as part
> > of the name, think about temporarily dumping the "current" year into a
> > table with a generic name. For example, put the tblHEDIS2012-Percentiles
> > data in tblHEDISCurrent-Percentiles. Then build all your queries once
> > using the generic names. When you want to run the report for 2012, clear
> > out the "generic" tables and copy the 2012 data into them, then run your
> > queries unmodified.
> >
> > John Viescas, Author
> > Microsoft Access 2010 Inside Out
> > Microsoft Access 2007 Inside Out
> > Microsoft Access 2003 Inside Out
> > Building Microsoft Access Applications
> > SQL Queries for Mere Mortals
> > http://www.viescas.com/
> > (Paris, France)
> >
> > -----Original Message-----
> > From: "jfakes.rm" <jfakes@>
> > Reply-To: <MS_Access_Professionals@yahoogroups.com>
> > Date: Wednesday, November 28, 2012 3:20 PM
> > To: <MS_Access_Professionals@yahoogroups.com>
> > Subject: [MS_AccessPros] Multi- year tables and many queries
> >
> > I have a database that gets fed three tables each year from a vendor.
> >The
> > tables contain nation wide data just for that year so you can guage your
> > performance against other companies in the US. Each year, I have to
> >build
> > numerous queries to grab the data and display different views for 5
> >years.
> > The problem is, I have to prepare numerous reports and graphs so each
> > year I have to update at least 20 queries.
> >
> > Here are some of the things I have to capture and group (I didn't make
> > these names up, I inherited this database and can't make changes):
> > 1. HEDIS measure name rates for Commerical and Medicare.
> >
> > 2. I have to capture what my company scored and what the 50th, 75th, and
> > 90th percentile is for the nation and how many points we need to reach
> >the
> > next percentile.
> >
> > 3. HEDIS measures where my company is in the top ten in the nation.
> >
> > This is just a small portion of what I have to add to the queries each
> > year.
> >
> > My question is, is there someway I can build a table with the years I
> >want
> > to pull (say 2008, 2009, 2010, 2011, and 2012) and grab and group the
> >data
> > the way I need it? To display it in the various reports, I have to name
> > each years data like: 2008 Commercial Rate, 2008 Medicare rate etc. How
> > would I update each years field names so that it would group and sort the
> > way the user needs it?
> >
> >
> >
> > This is just one of the many queries that I have to build each year to
> > capture data for the new year.
> >
> > SELECT DISTINCT subtblHEDISMeasureID.[Measure ID],
> > tblCOMPANYSpecificRates.AccreditationID,
> > subtblHEDISMeasureID.RequiredForAccreditation, subtblEntity.EntityType,
> > [tblHEDIS2012-Percentiles].AverageID,
> > [tblHEDIS2012-Percentiles].AverageName,
> > subtblHEDISMeasureID.ActiveMeasure, subtblHEDISMeasureID.[Domain Name],
> > tblCOMPANYSpecificRates.ReportingYear,
> > f_qryCOMPANYExecutiveSummarySelectBestInCO2012.COMPANYShortName,
> > subtblHEDISMeasureID.ShortName, tblCOMPANYSpecificRates.LineOfBusiness,
> > tblCOMPANYSpecificRates.ServiceArea,
> >
> >IIf(tblCOMPANYSpecificRates.ReportingYear=2012,tblCOMPANYSpecificRates.Rat
> >e
> > ,0) AS 2012Rate, [tblHEDIS2012-Percentiles].[10thPercentile] AS 201210th,
> > [tblHEDIS2012-Percentiles].[25thPercentile] AS 201225th,
> > [tblHEDIS2012-Percentiles].[50thPercentile] AS 201250th,
> > [tblHEDIS2012-Percentiles].[75thPercentile] AS 201275th,
> > [tblHEDIS2012-Percentiles].[90thPercentile] AS 201290th,
> >
> >f_qryCOMPANYExecutiveSummary2012GetInvertedRates.[2012CorrectedPercentile]
> > AS 2012Percentile,
> >
> >f_qryCOMPANYExecutiveSummary2012GetInvertedRates.[2012CorrectedNextPercent
> >i
> > le] AS 2012NextPercentileRate,
> > [f_qryCOMPANYExecutiveSummary2011-For2012].[2011Rate],
> > [f_qryCOMPANYExecutiveSummary2011-For2012].[2011CorrectedPercentile] AS
> > 2011Percentile,
> > Val([f_qryCOMPANYExecutiveSummarySelectBestInCO2012].[Rate]) AS BestInCO,
> > f_qryCOMPANYExecutiveSummary2012SoCO.[2012SoCORate],
> > IIf([2012Percentile]="N/A" Or
> > [2011Percentile]="N/A","N/A",IIf([2012Percentile]="<10th" And
> >
> >[2011Percentile]="10th","¡Ã¨",IIf([2012Percentile]>[2011Percentile],"¡Ã¨",II
> >f
> >
> >([2012Percentile]<[2011Percentile],"¡Ã©",IIf([2012Percentile]=[2011Percenti
> >l
> > e],"¡Ãª"))))) AS PercentileChange, subtblHPRRankingWeights.HPRCAHPSComm,
> > subtblHPRRankingWeights.HPRTreatmentComm,
> > subtblHPRRankingWeights.HPRPreventionComm,
> > subtblFiveStars.Medicare1StarRate, subtblFiveStars.Medicare2StarRate,
> > subtblFiveStars.Medicare3StarRate, subtblFiveStars.Medicare4StarRate,
> > subtblFiveStars.Medicare5StarRate, IIf([HPRTreatmentComm]=True Or
> > [HPRPreventionComm]=True Or [HPRCAHPSComm]=True,"*") AS
> > HPRRankingEntityComm, IIf([HPRTreatmentMedicare]=True Or
> > [HPRPreventionMedicare]=True Or [HPRCAHPSMedicare]=True,"*") AS
> > HPRRankingEntityMed, subtblHEDISMeasureID.RequiredForFiveStar, "0" AS
> > RequiredForAccredComm, "0" AS RequiredForAccredMedicare INTO
> > tblCOMPANYExecutiveSummary
> > FROM (((subtblHEDISMeasureID RIGHT JOIN (((((tblCOMPANYSpecificRates LEFT
> > JOIN [tblHEDIS2012-Percentiles] ON tblCOMPANYSpecificRates.MeasureID =
> > [tblHEDIS2012-Percentiles].MeasureID) LEFT JOIN
> > f_qryCOMPANYExecutiveSummarySelectBestInCO2012 ON
> > [tblHEDIS2012-Percentiles].MeasureID =
> > f_qryCOMPANYExecutiveSummarySelectBestInCO2012.MeasureID) LEFT JOIN
> > f_qryCOMPANYExecutiveSummary2012GetInvertedRates ON
> > tblCOMPANYSpecificRates.MeasureID =
> > f_qryCOMPANYExecutiveSummary2012GetInvertedRates.MeasureID) LEFT JOIN
> > [f_qryCOMPANYExecutiveSummary2011-For2012] ON
> > tblCOMPANYSpecificRates.MeasureID =
> > [f_qryCOMPANYExecutiveSummary2011-For2012].[Measure ID]) LEFT JOIN
> > f_qryCOMPANYExecutiveSummary2012SoCO ON tblCOMPANYSpecificRates.MeasureID
> > = f_qryCOMPANYExecutiveSummary2012SoCO.[Measure ID]) ON
> > subtblHEDISMeasureID.[Measure ID] = tblCOMPANYSpecificRates.MeasureID)
> > LEFT JOIN subtblHPRRankingWeights ON
> > tblCOMPANYSpecificRates.AccreditationID =
> > subtblHPRRankingWeights.AccreditationID) LEFT JOIN subtblFiveStars ON
> > tblCOMPANYSpecificRates.AccreditationID =
> >subtblFiveStars.AccreditationID)
> > LEFT JOIN subtblEntity ON tblCOMPANYSpecificRates.AccreditationID =
> > subtblEntity.AccreditationID
> > WHERE (((subtblEntity.EntityType)="Executive Summary") AND
> > (([tblHEDIS2012-Percentiles].AverageID)=1) AND
> > (([tblHEDIS2012-Percentiles].AverageName)="National - All LOBs: Average")
> > AND ((subtblHEDISMeasureID.ActiveMeasure)=True) AND
> > ((tblCOMPANYSpecificRates.ReportingYear)=2012) AND
> > ((tblCOMPANYSpecificRates.LineOfBusiness)="Commercial") AND
> > ((tblCOMPANYSpecificRates.ServiceArea)="Regional (all service areas)"))
> > ORDER BY subtblHEDISMeasureID.[Measure ID],
> >subtblHEDISMeasureID.ShortName;
> >
> > John F

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (5)
Recent Activity:
.

__,_._,___

[MS_AccessPros] Re: IT suggests not to use MS Access

 

Been developing using MS Access since Access v2.0 and yes, it's my experience that IT doesn't support it or like it. Too bad ... the applications (when properly designed and maintained) are extremely effective when used for the right purposes. Small businesses and departments in a large company have come to reply on MS Access and it's amazing what it can do. A real timesaver! And I've never had an app become corrupt ... and most have been stored on a network with multiple users.
I agree with Bill ... split the database, even if you do not use SQL Server as your back end.

--- In MS_Access_Professionals@yahoogroups.com, "Bill Mosca" <wrmosca@...> wrote:
>
> Dan
>
>
>
> If your IT department says don't use Access for databases, it's because they
> don't know how to properly develop an Access database. Splitting is the answer.
> The data in aback end rarely becomes unstable. But unless you have proof they
> won't listen to you. That's a decent article you linked. If you can get the lead
> IT person to read it and discuss it with you, you might be able to convince him
> that Access is okay to use...as long as the data does not have to be secured.
>
>
>
> Compromise and build the back end in SQL Server. If money is an issue, use SQL
> Server Express. It's free and has all the tools you will need to build your
> tables. Plus it has the security and stability of SQL Server Standard edition.
>
>
>
> You can even build your tables in Access and then use SQL Server Migration
> Assistant for Access to upsize the back end.
>
>
>
> Regards,
> Bill Mosca,
> Founder, MS_Access_Professionals
> That'll do IT <http://thatlldoit.com/> http://thatlldoit.com
> MS Access MVP
>
> <https://mvp.support.microsoft.com/profile=C4D9F5E7-BB03-4291-B816-64270730881E>
> https://mvp.support.microsoft.com/profile=C4D9F5E7-BB03-4291-B816-64270730881E
>
> My Nothing-to-do-with Access blog
>
> <http://wrmosca.wordpress.com> http://wrmosca.wordpress.com
>
>
>
> From: MS_Access_Professionals@yahoogroups.com
> [mailto:MS_Access_Professionals@yahoogroups.com] On Behalf Of Dan Abc
> Sent: Saturday, December 01, 2012 6:39 PM
> To: MS_Access_Professionals@yahoogroups.com
> Subject: [MS_AccessPros] IT suggests not to use MS Access
>
>
>
>
>
> At work our IT is suggesting not to use MS Access because the data base is prone
> to corruption, is that true?
>
> the data bases that I made are small and still work fine after 2 years
>
> http://www.techrepublic.com/blog/10things/10-reasons-why-it-pros-hate-microsoft-
> access-but-really-shouldnt/386
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
> [Non-text portions of this message have been removed]
>

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (4)
Recent Activity:
.

__,_._,___

Minggu, 02 Desember 2012

RE: [MS_AccessPros] Referencing control on subform to requery

 

Rod-

Ah, it was your use of "split form" that threw me off. I should have
figured out you meant another form with its own subform because you cannot
use a true "Split Form" as a subform and still see the split part.

You need to go one level deeper:

Me.F_Correspondence.Form!F_CorrespondenceDS.Form!NameOfControl

John Viescas, Author
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications
SQL Queries for Mere Mortals
http://www.viescas.com/
(Paris, France)

-----Original Message-----
From: MS_Access_Professionals@yahoogroups.com
[mailto:MS_Access_Professionals@yahoogroups.com] On Behalf Of rodbevill
Sent: Monday, December 03, 2012 3:28 AM
To: MS_Access_Professionals@yahoogroups.com
Subject: Re: [MS_AccessPros] Referencing control on subform to requery

Hi John, Thanks for the reply. I am still have the problem and I think is
has to do with the fact that I am using a split-form in the tabctrl. The
form name of the split form is F_Correspondence (selection type:
Subform/Subreport) with two forms making the split. The upper form is
frmCorrespondence (where the controls occur) and the bottom form is
F_CorrespondenceDS (datasheet view). As a note I am trying to use the
split-form design of A.D. Tejpal which is the only split-form I found to
work within a tab-control.
Any further suggestions would be greatly appreciated.

Rod

--- In MS_Access_Professionals@yahoogroups.com, John Viescas <JohnV@...>
wrote:
>
> Dear rodbevill- (name?)
>
> Assuming you'll be running Requery in code behind the outer form
> (perhaps in the Current event), you would reference the controls on
> the subforms like this:
>
> Me.Subformcontrolname.Form!NameOfControl
>
> Note that Subformcontrolname is the name of the subform control, NOT
> the name of the form inside the control - though they are often the same.
>
> John Viescas, Author
> Microsoft Access 2010 Inside Out
> Microsoft Access 2007 Inside Out
> Microsoft Access 2003 Inside Out
> Building Microsoft Access Applications SQL Queries for Mere Mortals
> http://www.viescas.com/ (Paris, France)
>
>
>
> -----Original Message-----
> From: rodbevill <desertscroller@...>
> Reply-To: <MS_Access_Professionals@yahoogroups.com>
> Date: Saturday, December 1, 2012 5:25 AM
> To: <MS_Access_Professionals@yahoogroups.com>
> Subject: [MS_AccessPros] Referencing control on subform to requery
>
> The db that I am developing (Access 2010 on Windows 7) consist of a main
> form with a tabcontrol. Each tab consist of a split form. Within the
> split form are combo-boxes with data based on a saved query. The issue
> is requerying the row source for the various combo-boxes when the record
> on the main form changes. Each of the tabs contain different data from
> the db tables. Each tab only uses one table. Each tab is linked to the
> main form thru an id field.
> Query definition for the combo-box row source:
> SELECT tblParcel.lngParcelID, tblParcel.lngParcelNum
> FROM tblParcel
> WHERE (((tblParcel.lngTPTID)=GETTPTID()));
>
> The function GETTPTID() retrieves the ID which is updated every time the
> main form updates to a new record.
> I am trying to use the TabCtl On Change to initiate the requery for the
> combo-box. Tried several approaches at a loss. The combo-box is used to
> list the currently identified property parcels used when sending
> correspondence. Not sure if I have explained the issue well enough? Any
> suggestions would be greatly appreciated.
>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>

------------------------------------

Yahoo! Groups Links

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (4)
Recent Activity:
.

__,_._,___