473,403 Members | 2,338 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,403 software developers and data experts.

sub form wont show results

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) so I dropped the
query onto the form and it added a subform based on the query however it
doesnt show the dataset everything is blank. I am not sure what I did wrong
I would like to see it exactly as if I had run the query manually ie
datasheet view but on the form. it does take a parameter from the form
itself ie FrmBookingCurveInput!TxtPrior

regards in advance

the dataset is below just to prove it works on its own.

SELECT Pro.[Week Commencing], Pro.[Total Bookings], (Select Sum(Pro1.[Total
Bookings]) from Qrygetweeklycountofdosmoduleenrollments Pro1 where
Pro1.[Week Commencing]<=Pro.[Week Commencing]) AS [Running Total], Pro.[Week
Number], [Running Total]+forms!FrmBookingCurveInput!TxtPrior AS [Running sum
inc Prior]
FROM Qrygetweeklycountofdosmoduleenrollments AS Pro
ORDER BY Pro.[Week Commencing];

Qrygetweeklycountofdosmodulesptb Week Commencing Total Bookings Running
Total Week Number Running sum inc Prior
19/04/2004 1 1 21 35
20/04/2004 1 2 20 36
27/04/2004 1 3 19 37
04/05/2004 3 6 18 40
11/05/2004 1 7 17 41
18/05/2004 0 7 16 41
25/05/2004 2 9 15 43
01/06/2004 5 14 14 48
08/06/2004 1 15 13 49
15/06/2004 3 18 12 52
22/06/2004 4 22 11 56
29/06/2004 4 26 10 60
06/07/2004 7 33 9 67
13/07/2004 3 36 8 70
20/07/2004 4 40 7 74
27/07/2004 4 44 6 78
03/08/2004 9 53 5 87
10/08/2004 4 57 4 91
17/08/2004 12 69 3 103
24/08/2004 1 70 2 104
31/08/2004 5 75 1 109
Nov 13 '05 #1
0 1096

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

Similar topics

2
by: Krzysztof Karnicki | last post by:
I would like develop Form on my Windows Application, that is going to notify the user, just like Microsoft Office 2003 shows that there are new mail coming. When I use System.Windows.Forms.Form and...
2
by: Mihailo | last post by:
I am new in VB.NET and at the bigining of my work I have a problem. I wont to make small program which contain 3 forms. In the 1st Form I put 10 Textbox which contents I need to display in the 3th...
3
by: Hollypop | last post by:
Hello all, wondering if someone can shed some light on this for me. I have made a query which looks up data from another tables, then from that query i have made a form. So when i open the form...
2
pradeepjain
by: pradeepjain | last post by:
for ($i= 1; $i <=10 ;$i++) { $myresult .= "<span style='visibility: hidden;' id ='hide".$i."'>"; for ($k= 1; $k <=10 ;$k++) { $myresult .= "<input class='star' type='radio' name='rating".$i."'...
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...
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.