ZmrAbdulla
Technical User
I have a datalist populated from an "AccessDataSource". It should pick a random record. If I run the query itself it works fine as it should be. But when populates it brings up only the same record.
SQL of it is
RecID is an Autonumber field.
anyone having a clue what happens?
________________________________________________________
Zameer Abdulla
Help to find Missing people
Sharp acids corrode their own containers.
SQL of it is
Code:
SELECT
TOP 1 Rnd([RecID]) AS Rec
, tblProverbs.Proverb
, tblProverbs.Source
FROM
tblProverbs
ORDER BY
Rnd([RecID])
RecID is an Autonumber field.
anyone having a clue what happens?
________________________________________________________
Zameer Abdulla
Help to find Missing people
Sharp acids corrode their own containers.