A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Chart Object with SQL Query



 
 
Thread Tools Display Modes
  #1  
Old November 20th, 2007, 03:06 PM posted to microsoft.public.access.tablesdbdesign
PeteVTX
external usenet poster
 
Posts: 32
Default Chart Object with SQL Query

I have an Access form with an embedded chart object which originally acquired
its data from an Access query. Start and End date parameters were passed from
the main form to the underlying Access query and the output data passed to
the chart

Now the query is an SQL Server query and I do not know how to pass the date
parameters to the SQL query. I can pick up the column data in the SQL query
so the chart is produced but using ALL data in the underlying table rather
than between start and end dates.

Does anyone have a solution for this?

Help appreciated

Regards

Pete
  #2  
Old November 20th, 2007, 07:41 PM posted to microsoft.public.access.tablesdbdesign
Larry Daugherty
external usenet poster
 
Posts: 1,012
Default Chart Object with SQL Query

Your issue is in the SQL Server domain, not Access.

HTH
--
-Larry-
--

"PeteVTX" wrote in message
...
I have an Access form with an embedded chart object which originally

acquired
its data from an Access query. Start and End date parameters were

passed from
the main form to the underlying Access query and the output data

passed to
the chart

Now the query is an SQL Server query and I do not know how to pass

the date
parameters to the SQL query. I can pick up the column data in the

SQL query
so the chart is produced but using ALL data in the underlying table

rather
than between start and end dates.

Does anyone have a solution for this?

Help appreciated

Regards

Pete



  #3  
Old November 20th, 2007, 07:58 PM posted to microsoft.public.access.tablesdbdesign
PeteVTX
external usenet poster
 
Posts: 32
Default Chart Object with SQL Query

Larry,

Thanks for this but are you able to be any more specific?

Regards

Pete

"Larry Daugherty" wrote:

Your issue is in the SQL Server domain, not Access.

HTH
--
-Larry-
--

"PeteVTX" wrote in message
...
I have an Access form with an embedded chart object which originally

acquired
its data from an Access query. Start and End date parameters were

passed from
the main form to the underlying Access query and the output data

passed to
the chart

Now the query is an SQL Server query and I do not know how to pass

the date
parameters to the SQL query. I can pick up the column data in the

SQL query
so the chart is produced but using ALL data in the underlying table

rather
than between start and end dates.

Does anyone have a solution for this?

Help appreciated

Regards

Pete




  #4  
Old November 20th, 2007, 08:16 PM posted to microsoft.public.access.tablesdbdesign
Larry Daugherty
external usenet poster
 
Posts: 1,012
Default Chart Object with SQL Query

For pass through queries, you need to know what the target application
requires. That information is more likely to be found in the target
application's Help files or in Newsgroups that support it than here in
a newsgroup devoted to Access.

HTH
--
-Larry-
--

"PeteVTX" wrote in message
...
Larry,

Thanks for this but are you able to be any more specific?

Regards

Pete

"Larry Daugherty" wrote:

Your issue is in the SQL Server domain, not Access.

HTH
--
-Larry-
--

"PeteVTX" wrote in message
...
I have an Access form with an embedded chart object which

originally
acquired
its data from an Access query. Start and End date parameters

were
passed from
the main form to the underlying Access query and the output data

passed to
the chart

Now the query is an SQL Server query and I do not know how to

pass
the date
parameters to the SQL query. I can pick up the column data in

the
SQL query
so the chart is produced but using ALL data in the underlying

table
rather
than between start and end dates.

Does anyone have a solution for this?

Help appreciated

Regards

Pete






 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:09 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.