473,378 Members | 1,679 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,378 software developers and data experts.

Form in chart view

Hi

I have made a form in chart view based on query named
"Q_Fejl_3_month_back" and I can se the following in the property
"Record source" :
TRANSFORM Sum([Count Of T_FejlProIndivid]) AS [SumOfCunt Of
T_FejlProIndivid] SELECT [DatoOpr By Month] FROM
[Q_Fejl_3_month_back]GROUP BY [DatoOpr By Month] PIVOT [VareNr];

Now I want to specify witch "varenr" I want to display so I have added
this to the Record source proberty:
WHERE [Varenr] = "51606106"

so it look like this:

TRANSFORM Sum([Count Of T_FejlProIndivid]) AS [SumOfCunt Of
T_FejlProIndivid] SELECT [DatoOpr By Month] FROM
[Q_Fejl_3_month_back]WHERE [Varenr] = "51606106" GROUP BY [DatoOpr By
Month] PIVOT [VareNr];

Now I want to change the "51606106" to a variable.
I made a textbox on the form called "VareNr" and then change the
"51606106" to Me!VareNr but it don't work.

Can anyone help me whit that ?

best regards Ronald

Nov 13 '05 #1
0 1180

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

Similar topics

0
by: Tom | last post by:
I have an unbound object frame on a subreport containing a chart linked to a chart in an Excel worksheet. I can open the subreport in design view, select the unbound frame, go to Edit - OLE/DDE...
1
by: Jim | last post by:
I have this chart on a form. I'm trying to get this chart to render only if the user chooses to do so. This because of that the chart is quite complex and takes some time to render. I know that I...
0
by: Peter Bailey | last post by:
I have a query that supplies info to a chart on an input form : everything works fine however my boss wanted the dataset on the form below the graph (the chart dataset is awful its all squidged up)...
3
by: StBond | last post by:
Hi everyone, I am new to Access and Visual Basic so things my be getting across a bit cloudy. I only started using VB for one week. I am having a little problem with the database that I am...
0
by: francophone77 | last post by:
I created a button to open a pivotchart, but each time I click the button, it comes up in form view and I have to switch the view to pivotchart view in order to see the chart. Is there anyway...
1
by: Marcin | last post by:
Hello all! I have unusual problem with a database form. I have a few forms with charts. I`ve created a module which changes me a chart title. I send an object into the module function and then I...
6
by: Thelma Lubkin | last post by:
I am trying to modify an Access form that allows a user to specify the information s/he needs from a census-type database. The form's code builds a SQL statement from the user's request, and...
2
by: MLH | last post by:
A97 Am having difficulty displaying graph in Form View that I see fine in graph control on form opened in design view. I know I'm doing something wrong. If I open the form in design view - I...
0
by: ravindarjobs | last post by:
hello friends, i am using ms access 2003, vb6. i have created a form in pivot table view. i have placed this form in other form as sub form. in the second form, i have a button. when i click...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.