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

Creating an if/then field on a report - can it be done?

46
We have a table that stores data from an evaluation. The table was created kind of funky. The evaluation data has 4 questions. So normally a table design like this would go as follows. One record would be: Evaluator, Evaluatee, Question 1, Q2, Q3, Comments.

Example 1 table storing one evaluation record
evaluatee evaluator q1 q2 q3 comments


This new table on the other hand is storing this data differently. So each record would store one answer to the question, example: Evaluator, Evaluatee Question1
next record, evaluator, evaluatee, question2, 3rd record: evaluator, evaluatee, question3, 4th record evaluator, evaluatee, Comments.

example 2 table storing 1 evaluation record
evaluatee evaluator q1
evaluatee evaluator q2
evaluatee evaluator q3
evaluatee evaluator comments

So each evaluation is now stored in 4 records and I am attempting to create a report from this.
Here is the scenario - everytime question 3 is blank, the comments field is not. so is there a way to add a textbox onto the report in access- that captures the comments field if question 3 is null? and if so - how do i do this?


Example 1 table storing one evaluation record
evaluatee evaluator q1 q2 q3 comments


example 2 table storing 1 evaluation record
evaluatee evaluator q1
evaluatee evaluator q2
evaluatee evaluator q3
evaluatee evaluator comments


Thank you!!
Nov 13 '07 #1
1 1187
NeoPa
32,556 Expert Mod 16PB
I would start off by sorting out the quesion.
Is Evaluator first or Evaluatee? You seem to jumble up the examples - some one way around and some the other.

What is the identifying field(s) that enable the system to determine which records are logically together?
How does the system determine which question is in which record (you don't indicate)?

Fundamentally, I would be looking to create a GROUP BY query with your data, but the information you've provided is too scant (and partly contradictory) to go into any more detail than that.

If you can provide some reliable information we can look more closely at the sort of query we would need.
Please provide your metadata in the following format :
Table Name=tblStudent
Expand|Select|Wrap|Line Numbers
  1. Field; Type; IndexInfo
  2. StudentID; AutoNumber; PK
  3. Family; String; FK
  4. Name; String
  5. University; String; FK
  6. Mark; Numeric
  7. LastAttendance; Date/Time
Nov 14 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: gonzalo briceno | last post by:
I have been using phplib for a while and I really like the framework except for form creation. Maybe it is me but I in my opinion there isn't a good way to create forms or should I say, everything...
1
by: James | last post by:
I am creating a system whereby equipment is inspected. Data is inputted into an inspection form. However, any equipment that is not satisfactory needs to have spare parts ordered for that piece of...
1
by: longtim | last post by:
I have been having endless difficulty creating reports/queries that set any relevent parameters from controls in forms. I am creating an application under access 2003 but will target access...
5
by: Ralph | last post by:
Hi Everyone, I need some help!! I'm not sure if you could do this, but I want to be able to create a report based on one field in the database. This field contains File Paths like for example: ...
2
by: Swinky | last post by:
This is probably very easy but I'm not experienced with writing code. Here's what I'm trying to do: I want to print a report that has text "Unapproved Document" at the top if two conditions are...
3
by: T | last post by:
I'm trying to determine the useage of varioius reports I have. I need the following to occur when a report is opened, get the name of the report, datetime, username. I created a tblLog...
1
by: Rodo | last post by:
Hi all, I'm trying to generate a simple crystal report without a database. Several people mention the use of a dataset. Someone mention in a msdn forum that I could use the SetParameterValue to...
1
by: MichaelZ | last post by:
After all is done, I want query(s) which will give me the ability to create a report which will allow me to compare 3 apts with the parameters equaling bedroom size, and rents which are equal or...
22
kcdoell
by: kcdoell | last post by:
I have been trying for the last several days to create a query that will give me all of the values I need to create a report. Background: The report is different than anything I have done but...
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: 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
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
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.