473,394 Members | 1,722 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.

Question about forms

I have a table set up as follows

name,class,date1,time1,date2,time2...date10,time10

I am trying to create a report that would pull up, based on an entered
date, the class, name, and time of the exam.

Aug 8 '06 #1
5 1226
Why do you need some many date fields?

You can create a query, and under criteria create a parameter that
prompts you for a date. Then use that query for your report, when you
run the report it will prompt for a date and once a date is entered it
will return only the information that you want relating to the date
entered.

tr************@gmail.com wrote:
I have a table set up as follows

name,class,date1,time1,date2,time2...date10,time10

I am trying to create a report that would pull up, based on an entered
date, the class, name, and time of the exam.
Aug 8 '06 #2
The reason is this. When I created the form it was supposed to be used
such that a persons name and class are entered and then every date and
time of the exam would be entered. I used 10 dates and times because
there may be up to ten tests throughout the semester. Did I do a bad
thing? should I try using a subform? Any help will be appreciated.

gumby wrote:
Why do you need some many date fields?

You can create a query, and under criteria create a parameter that
prompts you for a date. Then use that query for your report, when you
run the report it will prompt for a date and once a date is entered it
will return only the information that you want relating to the date
entered.

tr************@gmail.com wrote:
I have a table set up as follows

name,class,date1,time1,date2,time2...date10,time10

I am trying to create a report that would pull up, based on an entered
date, the class, name, and time of the exam.
Aug 8 '06 #3

tr************@gmail.com wrote:
The reason is this. When I created the form it was supposed to be used
such that a persons name and class are entered and then every date and
time of the exam would be entered. I used 10 dates and times because
there may be up to ten tests throughout the semester. Did I do a bad
thing? should I try using a subform? Any help will be appreciated.
Any time you have repeating groups of data for a single record,
something's wrong. The dates/times should go into a child table. or
if you really feel like having fun, try writing SQL statements to do
averages across several fields. I just think that doing it the way you
are doing it is heading for trouble.

Aug 9 '06 #4
Yes you need to setup two tables. Probably one with all the persons
info and the other with all the test info, but only one time. For
instance only one date field, one time field, one score field, and so
one.

Link the two fields most likey the person name with a TestID number.
TestID could be the name of one of fields in your second table. Check
out this template by Microsoft.

http://office.microsoft.com/en-gb/te...366821033.aspx

View the relationships under tools. This will get you started in
setting up your tables correctly.

tr************@gmail.com wrote:
The reason is this. When I created the form it was supposed to be used
such that a persons name and class are entered and then every date and
time of the exam would be entered. I used 10 dates and times because
there may be up to ten tests throughout the semester. Did I do a bad
thing? should I try using a subform? Any help will be appreciated.

gumby wrote:
Why do you need some many date fields?

You can create a query, and under criteria create a parameter that
prompts you for a date. Then use that query for your report, when you
run the report it will prompt for a date and once a date is entered it
will return only the information that you want relating to the date
entered.

tr************@gmail.com wrote:
I have a table set up as follows
>
name,class,date1,time1,date2,time2...date10,time10
>
I am trying to create a report that would pull up, based on an entered
date, the class, name, and time of the exam.
Aug 9 '06 #5
Cool Thanks
gumby wrote:
Yes you need to setup two tables. Probably one with all the persons
info and the other with all the test info, but only one time. For
instance only one date field, one time field, one score field, and so
one.

Link the two fields most likey the person name with a TestID number.
TestID could be the name of one of fields in your second table. Check
out this template by Microsoft.

http://office.microsoft.com/en-gb/te...366821033.aspx

View the relationships under tools. This will get you started in
setting up your tables correctly.

tr************@gmail.com wrote:
The reason is this. When I created the form it was supposed to be used
such that a persons name and class are entered and then every date and
time of the exam would be entered. I used 10 dates and times because
there may be up to ten tests throughout the semester. Did I do a bad
thing? should I try using a subform? Any help will be appreciated.

gumby wrote:
Why do you need some many date fields?
>
You can create a query, and under criteria create a parameter that
prompts you for a date. Then use that query for your report, when you
run the report it will prompt for a date and once a date is entered it
will return only the information that you want relating to the date
entered.
>
tr************@gmail.com wrote:
I have a table set up as follows

name,class,date1,time1,date2,time2...date10,time10

I am trying to create a report that would pull up, based on an entered
date, the class, name, and time of the exam.
Aug 9 '06 #6

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

Similar topics

1
by: Damian Greene | last post by:
I know this is an asp newsgroup, and I've gotten help from the group on several asp related questions, but I was hoping someone could answer a JScript question I wrote this script that was...
7
by: Randell D. | last post by:
Folks, I have a Javascript performance question that I might have problems explaining... In PHP, better performance can be obtained dealing directly with a variable, as opposed to an element...
55
by: Steve Jorgensen | last post by:
In a recent thread, RKC (correctly, I believe), took issue with my use of multiple parameters in a Property Let procedure to pass dimensional arguments on the basis that, although it works, it's...
44
by: craig | last post by:
I am wondering if there are some best practices for determining a strategy for using try/catch blocks within an application. My current thoughts are: 1. The code the initiates any high-level...
8
by: =?Utf-8?B?TFc=?= | last post by:
Hello! I am just learning about forms authentication so please excuse this basic question. I am using .NET 1.1 and C#. I have created my web.config file and my login.aspx and the associated cs...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
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.