T
Thebrads
Hi
I wonder if someone could guide me with a database I am developing for a
horse-racing friend.
The rating of a horse for racing purposes depend on about 24 different
criteria, age, sex, jockey, surface, ground condition, draw, distance etc
etc.
I have categorised each of these (eg Distance has 7 different distances)
which are selected from a listbox , but only an integer number 1 to 7 is
entered into the Db (to save on size and speed).
My friend has no knowledge of access other than data entry, so I would like
to make him a user defined query form..
I have tried an unbound form and referenced the fields in a query, this
works fine until I leave one of the fields blank, where it shows no records.
I read this newsgroup and found that if I include (or Is Null) to the
control reference it will then return all the records of that field
correctly.
I did however notice that the query now has 4 OR criteria for only 2 fields,
where as I am going to need any mix of 24!!!!
Therefore I would welcome some guidance of how best to allow him to select
any of 24 different fields and to enter an integer 1 to 10 to give horses
with these certain characteristics, but also to pass all records where the
criteria field is left blank (as per normal query). It would also be useful
to be able to use between and greater than to select hoses within a range of
values.
The data is held in 1 table and another thought I had was to make another
form for the table without the list boxes and use filter form to query the
data. I would then need to find some way of performing some adding, dividing
and counting on the filtered data to give a possible profit scenario.
That's All!!!!!!!!!!
Thanks in Anticipation
Ray Bradshaw UK
I wonder if someone could guide me with a database I am developing for a
horse-racing friend.
The rating of a horse for racing purposes depend on about 24 different
criteria, age, sex, jockey, surface, ground condition, draw, distance etc
etc.
I have categorised each of these (eg Distance has 7 different distances)
which are selected from a listbox , but only an integer number 1 to 7 is
entered into the Db (to save on size and speed).
My friend has no knowledge of access other than data entry, so I would like
to make him a user defined query form..
I have tried an unbound form and referenced the fields in a query, this
works fine until I leave one of the fields blank, where it shows no records.
I read this newsgroup and found that if I include (or Is Null) to the
control reference it will then return all the records of that field
correctly.
I did however notice that the query now has 4 OR criteria for only 2 fields,
where as I am going to need any mix of 24!!!!
Therefore I would welcome some guidance of how best to allow him to select
any of 24 different fields and to enter an integer 1 to 10 to give horses
with these certain characteristics, but also to pass all records where the
criteria field is left blank (as per normal query). It would also be useful
to be able to use between and greater than to select hoses within a range of
values.
The data is held in 1 table and another thought I had was to make another
form for the table without the list boxes and use filter form to query the
data. I would then need to find some way of performing some adding, dividing
and counting on the filtered data to give a possible profit scenario.
That's All!!!!!!!!!!
Thanks in Anticipation
Ray Bradshaw UK