M
miss031
I made a subform with a twxt box on my main menu to show a "quote of the
day". I have about 200 of them etnered into "table_quotes", containing
fields "
day". I have about 200 of them etnered into "table_quotes", containing
fields "
" as memo, and "[quote_ID]" as number (PK).
I made a query with the following SQL, and it returns a new quote every time
I run it, but not that I have the result of the query as the record source of
the text box, it returns the same first quote everytime I open the form. I
tried requery on load, so no it returns another same quote everytime. What
did I do wrong?
SELECT TOP 1 table_quotes.*
FROM table_quotes
WHERE randomizer()=0
ORDER BY rnd(isnull([table_quotes].)*0+1);
I made a command button on the form that reloads or refreshes the form to
bring a new quote, and it appears to be fairly random once the form is open,
but the form always opens on the same quote.