473,394 Members | 1,739 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

ACCESS PROJECT, MS GRAPH, STORED PROCEDURE

I am dealing with very frustrating problem: I don't know how to pass
parameters to the stored procedure which is row source of MS Graph in Access
PROJECT form.
The problem apears because there is no Input Parameters property on the MS
Graph (unlike forms)...
Of cours, I can pass parametrs explicitely, using EXEC NameOfStoredProcedure
'value1','value2' etc...but I should reference some controls from other form
EXEC NameOfStoredProcedure, @parameter1=ReferenceToControl,
@parameter2=ReferenceToControl....etc, which seems to be impossible because
the query is executed on SQL Server, while forms are placed in Access front
end...

If there is somebody familiar with Acces Project as front end for SQL
Server, please help me !
Is there any substitute for MS Graph if there is no solution for this
problem ?
Is there any similar easy, intuitive, user-friendly substitute for Access
front-end for SQL Server?

Thank you in advance!

Zlatko

zl**********@pliva.hr
Nov 13 '05 #1
2 2492
It's been a while since I did that, but it seems to me that I solved it by
just dynamically generating the SQL. If the parameter values come from fields
on a form, just make sure the OnCurrent handler for the form regenerates the
SQL and writes it to the MS Graph object.

On Fri, 15 Oct 2004 09:03:31 +0200, "Zlatko" <zl**********@pliva.hr> wrote:
I am dealing with very frustrating problem: I don't know how to pass
parameters to the stored procedure which is row source of MS Graph in Access
PROJECT form.
The problem apears because there is no Input Parameters property on the MS
Graph (unlike forms)...
Of cours, I can pass parametrs explicitely, using EXEC NameOfStoredProcedure
'value1','value2' etc...but I should reference some controls from other form
EXEC NameOfStoredProcedure, @parameter1=ReferenceToControl,
@parameter2=ReferenceToControl....etc, which seems to be impossible because
the query is executed on SQL Server, while forms are placed in Access front
end...

If there is somebody familiar with Acces Project as front end for SQL
Server, please help me !
Is there any substitute for MS Graph if there is no solution for this
problem ?
Is there any similar easy, intuitive, user-friendly substitute for Access
front-end for SQL Server?

Thank you in advance!

Zlatko

zl**********@pliva.hr


Nov 13 '05 #2
Thank you for the answer.
Can you please give some example ? How do you mean "dynamically generating
the SQL" OnCurrent ?
Thanks.

"Steve Jorgensen" <no****@nospam.nospam> wrote in message
news:t2********************************@4ax.com...
It's been a while since I did that, but it seems to me that I solved it by
just dynamically generating the SQL. If the parameter values come from fields on a form, just make sure the OnCurrent handler for the form regenerates the SQL and writes it to the MS Graph object.

On Fri, 15 Oct 2004 09:03:31 +0200, "Zlatko" <zl**********@pliva.hr> wrote:
I am dealing with very frustrating problem: I don't know how to pass
parameters to the stored procedure which is row source of MS Graph in AccessPROJECT form.
The problem apears because there is no Input Parameters property on the MSGraph (unlike forms)...
Of cours, I can pass parametrs explicitely, using EXEC NameOfStoredProcedure'value1','value2' etc...but I should reference some controls from other formEXEC NameOfStoredProcedure, @parameter1=ReferenceToControl,
@parameter2=ReferenceToControl....etc, which seems to be impossible becausethe query is executed on SQL Server, while forms are placed in Access frontend...

If there is somebody familiar with Acces Project as front end for SQL
Server, please help me !
Is there any substitute for MS Graph if there is no solution for this
problem ?
Is there any similar easy, intuitive, user-friendly substitute for Access
front-end for SQL Server?

Thank you in advance!

Zlatko

zl**********@pliva.hr

Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Joe | last post by:
Dear Friends, I want dynamically create the Graph from C# application. The graph would be timeInterval VS percentage. timeInterval percentage Recordno 8/2/2003...
1
by: zlatko | last post by:
How to pass parameters to MS Graph (row source is a stored procedure with parameters) placed in Access Project form ? The problem is that there is no Input Parameters property on the graph...
0
by: sedefo | last post by:
I ran into this Microsoft Patterns & Practices Enterprise Library while i was researching how i can write a database independent data access layer. In my company we already use Data Access...
1
by: Lauren Quantrell | last post by:
I have read the newsgroups and see this is a common issue but I saw no resolution for it: I have an Access2K frotn end and SQL Server 2K backend. In access, I create a temp table using code in a...
0
by: hf | last post by:
Does anybody know how to pass parameters to the stored procedure (or in-line function) that is used as row source for MS Graph in a form of Access Project ? The problem is that there is no Input...
1
by: JoeBobHankey | last post by:
Background: - I'm running MSDE 2000 (not client tools, stored procedure capability, etc). This may change, but not in the first part of development. - My Access file is an Access 2002 project...
0
by: Joe | last post by:
Dear Friends, I want dynamically create the Graph from C# application. The graph would be timeInterval VS percentage. timeInterval percentage Recordno 8/2/2003...
3
by: Bon | last post by:
Hello All I want to draw my own pie chart in MS Access 2000 form. Could anyone tell me where I can find information or sample code on doing it? Cheers Bon
2
by: Andy | last post by:
Hi guys I having a problem creating a report in Access 2003 project talking to a SQL database through and ODBC connect. After hours of trying things from Access Help, MSDN and Google I still...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.