G
gary b
First post was not complete - trying again. Excuse length
of post.
MAIN form based on CONTESTANTS table
SUBFORM based on HORSE table
Contestants table includes usual demographic info;
Horse table includes list of races, checkboxes to note
entry in a race, competition times, AND a field named
RANDOM [Number: single; default value = Round(((1000*Rnd())
*(10*Rnd())),0)]
I use a query that polls BOTH joined tables and displays
data for selected fields in a form named Race1Editor. If
I right-click on any field header EXCEPT Random, the sub-
menu includes Sort (asc or desc). I cannot sort by the
Random field. I have no clue why not!
I am trying to generate a 'running order' for the
contestants based on the random number. I have
incorporated the Serialize function from Stephan Lebans
into the form -- this numbers each row consecutively.
This gives me the 'running or draw number' for the race
contestants -- except that the form displays the query
results as the data is pulled from the table. The random
number is NOT used as the primary sort field. Bummer!
I have tried to use the OrderBy prop and several other
approaches -- but nothing works. Once (IF) the query
results are sorted according to the random number, the
Serialize function allows me to print the running order
(hiding the random number field). I then want to record
the running order number of the contestants for this and
every race back into my Horse table. [So I can go back to
this race a year later and re-create the running order!]
Anyone wanna take a whack at this one? I'm stumped!
Thanks for the bandwidth. All ideas appreciated!! If you
need more info, please email -- remove NOSPAM from address
of post.
MAIN form based on CONTESTANTS table
SUBFORM based on HORSE table
Contestants table includes usual demographic info;
Horse table includes list of races, checkboxes to note
entry in a race, competition times, AND a field named
RANDOM [Number: single; default value = Round(((1000*Rnd())
*(10*Rnd())),0)]
I use a query that polls BOTH joined tables and displays
data for selected fields in a form named Race1Editor. If
I right-click on any field header EXCEPT Random, the sub-
menu includes Sort (asc or desc). I cannot sort by the
Random field. I have no clue why not!
I am trying to generate a 'running order' for the
contestants based on the random number. I have
incorporated the Serialize function from Stephan Lebans
into the form -- this numbers each row consecutively.
This gives me the 'running or draw number' for the race
contestants -- except that the form displays the query
results as the data is pulled from the table. The random
number is NOT used as the primary sort field. Bummer!
I have tried to use the OrderBy prop and several other
approaches -- but nothing works. Once (IF) the query
results are sorted according to the random number, the
Serialize function allows me to print the running order
(hiding the random number field). I then want to record
the running order number of the contestants for this and
every race back into my Horse table. [So I can go back to
this race a year later and re-create the running order!]
Anyone wanna take a whack at this one? I'm stumped!
Thanks for the bandwidth. All ideas appreciated!! If you
need more info, please email -- remove NOSPAM from address