Created several unbound text boxes in a field to calculate results on yes/no fields, not realizing that the data captured would not be stored in the table or query. Yep, I'm a novice! Only after 325 records later did I realize I made a BIG mistake! I created only 1 table and linked that table to a query. On the form I summed the fields for each session -
Table: tbl_EP
Qry: qry_EP
form: frm_EP
S1: Abs([Apple1]+[Orange1]+[Melon1]+[Pear1]....[Peach1]) S2: Abs([Apple2]+[Orange2]+[Melon2]+[Pear2]....{Peach2])
I did this until I had all 8 sessions. Note, these fields are hidden in the form. I also had a field [TS](linked to the table) for supervisors to plug in # of sessions per audit. This would allow me to calculate the unbound fields.
Then I created my calculated box:
Total Possible: Name: PETotalP Control Source =8*[TS], Total Correct: Name: PETotalC Control Source = ([S1]+[S2]+[S3]+[S4]....[S8],
PE Score: Name: PEScore Control Source = ([PETotalC])/([PETotalP]) Format Percent.
TS = [2]
End result: Total Possible [16] Total Correct [14] Score [87.50]
FYI: My queries are strictly QBE, not SQL.
How do I tie my data to the table without losing everything? Do I need to create a seperate table and link it to my main table? I welcome any suggestions at this point.
This woman is totally lost, so any suggestions would be very, very grateful and appreciated right about now.
Thanks.......
Table: tbl_EP
Qry: qry_EP
form: frm_EP
S1: Abs([Apple1]+[Orange1]+[Melon1]+[Pear1]....[Peach1]) S2: Abs([Apple2]+[Orange2]+[Melon2]+[Pear2]....{Peach2])
I did this until I had all 8 sessions. Note, these fields are hidden in the form. I also had a field [TS](linked to the table) for supervisors to plug in # of sessions per audit. This would allow me to calculate the unbound fields.
Then I created my calculated box:
Total Possible: Name: PETotalP Control Source =8*[TS], Total Correct: Name: PETotalC Control Source = ([S1]+[S2]+[S3]+[S4]....[S8],
PE Score: Name: PEScore Control Source = ([PETotalC])/([PETotalP]) Format Percent.
TS = [2]
End result: Total Possible [16] Total Correct [14] Score [87.50]
FYI: My queries are strictly QBE, not SQL.
How do I tie my data to the table without losing everything? Do I need to create a seperate table and link it to my main table? I welcome any suggestions at this point.
This woman is totally lost, so any suggestions would be very, very grateful and appreciated right about now.
Thanks.......