473,399 Members | 3,919 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,399 software developers and data experts.

Name of query/table from where values are pass into table

There is a form where it ask the two dates and then run a query then
report.

Private Sub Command36_Click()
DoCmd.OpenQuery "qryResultsReport"
DoCmd.OpenReport "rpt_TopTen", acPreview, "", ""
end sub
qryResultsReport
SELECT tblCallSummary.* INTO tblResults
FROM tblCallSummary
WHERE (((tblCallSummary.[Date/Time]) Between
[forms]![MainMenu]![txtStartDate] And
[forms]![MainMenu]![txtEndDate]+1));

When i open the report rpt_TopTen the values which pass into the report
is totall different the values which are in that table. How to i know
the name of the table/query from where the values are comming into the
report. I am trying to find the name of table/query but i dont know how
to i find the source. For example when i click on the properties of one
textbox it shows some thing like that in the control source:

=Sum([Connecticut])

Another textbox control source shows some thing like that:
=[CombinedCountOfCallID]/Sum([CombinedCountOfCallID])

None of these variables are found in the table. I need help how to I
know the name of their table or query from where the values pass into
the report.
Thank You.

Aug 18 '06 #1
1 1773
Baz

<co*********@gmail.comwrote in message
news:11**********************@i3g2000cwc.googlegro ups.com...
There is a form where it ask the two dates and then run a query then
report.

Private Sub Command36_Click()
DoCmd.OpenQuery "qryResultsReport"
DoCmd.OpenReport "rpt_TopTen", acPreview, "", ""
end sub
qryResultsReport
SELECT tblCallSummary.* INTO tblResults
FROM tblCallSummary
WHERE (((tblCallSummary.[Date/Time]) Between
[forms]![MainMenu]![txtStartDate] And
[forms]![MainMenu]![txtEndDate]+1));

When i open the report rpt_TopTen the values which pass into the report
is totall different the values which are in that table. How to i know
the name of the table/query from where the values are comming into the
report. I am trying to find the name of table/query but i dont know how
to i find the source. For example when i click on the properties of one
textbox it shows some thing like that in the control source:

=Sum([Connecticut])

Another textbox control source shows some thing like that:
=[CombinedCountOfCallID]/Sum([CombinedCountOfCallID])

None of these variables are found in the table. I need help how to I
know the name of their table or query from where the values pass into
the report.
Thank You.
With the report open in design view, click on the square in the top left
corner. If the properties window is not already open, press F4. Click on
the "Data" tab. What you are looking for is in the "Record Source".
Aug 18 '06 #2

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

Similar topics

2
by: Iain | last post by:
Hi I have the following tables and stored procedure. I need to pass a value to the stored procedure and have it use the value in a query. After running that query it will return an ID which is...
2
by: kj | last post by:
Here is tested schema if exists (select * from dbo.sysobjects where id = object_id(N'.') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table . GO CREATE TABLE . ( (12) COLLATE...
4
by: Orion | last post by:
Hi, This is kind of last minute, I have a day and a half left to figure this out. I'm working on a project using ms-sqlserver. We are creating a ticket sales system, as part of the system, I...
2
by: JJA | last post by:
Please advise on how to get the GROUP BY coded in an acceptable way: DECLARE @LO INT DECLARE @HI INT DECLARE @StartDate varchar(10) DECLARE @EndDate varchar(10) SELECT @StartDate =...
8
by: Andrew McNab | last post by:
Hi folks, I have a problem with an MS Access SQL query which is being used in an Access Report, and am wondering if anyone can help. Basically, my query (shown below) gets some records from a...
1
by: Andrew McNab | last post by:
Hi folks, I have a problem with an MS Access SQL query which is being used in an Access Report, and am wondering if anyone can help. Basically, my query (shown below) gets some records from a...
7
by: Regnab | last post by:
I know this has been covered before but being a beginner at SQL, and only marginally better at VBA, I'm struggling. All I wish to do is call the following function which is in "Microsoft Office...
6
by: lesperancer | last post by:
SELECT distinct b.t_orno, b.t_pono FROM tblMonthlyBooking AS b, tblFilterDate, tblFilterDate AS tblFilterDate_1 WHERE (((b.t_yearMonth) Between . And .)); tblMonthlyBooking is a sql server...
11
by: funky | last post by:
hello, I've got a big problem ad i'm not able to resolve it. We have a server running oracle 10g version 10.1.0. We usually use access as front end and connect database tables for data extraction....
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.