G
Guest
I have a table (Table name:Lotto) with 61 fields (Names: Pos1, Pos2, Pos3,
Pos4, Pos5, Jan1, Jan2, Jan3 ...... Feb25) All these fields are of BYTE data
type. I have ten records in this table. I have filled up numbers in Pos1 to
Pos5 for all 10 records. Data for Jan1..... Feb25 is ZERO.
I have another table (Table nameraw) with 56 fields (Names: Jan1, Jan2,
Jan3 ...... Feb25). All these fields are of BYTE data type. I have 21 records
in this table. These 21 records are just the numbers that came in the draw.
Now I have shortlisted 10 combinations of 5 numbers which I have entered in
the Lotto table. I want to check how many numbers appreared in a particular
day.
Example:
My combinations are:
Pos1 Pos2 Pos3 Pos4 Pos5
1 5 12 15 21
2 4 12 16 18
I want to check, out of 1 5 12 15 21, how many numbers came on Jan1 (The
query should check this in Draw table in the field Jan1) and update the count
in Jan1 field of Lotto table next to that combination.
Maxi
Pos4, Pos5, Jan1, Jan2, Jan3 ...... Feb25) All these fields are of BYTE data
type. I have ten records in this table. I have filled up numbers in Pos1 to
Pos5 for all 10 records. Data for Jan1..... Feb25 is ZERO.
I have another table (Table nameraw) with 56 fields (Names: Jan1, Jan2,
Jan3 ...... Feb25). All these fields are of BYTE data type. I have 21 records
in this table. These 21 records are just the numbers that came in the draw.
Now I have shortlisted 10 combinations of 5 numbers which I have entered in
the Lotto table. I want to check how many numbers appreared in a particular
day.
Example:
My combinations are:
Pos1 Pos2 Pos3 Pos4 Pos5
1 5 12 15 21
2 4 12 16 18
I want to check, out of 1 5 12 15 21, how many numbers came on Jan1 (The
query should check this in Draw table in the field Jan1) and update the count
in Jan1 field of Lotto table next to that combination.
Maxi