Nothing is random
From: Jenny Yellman (jaquynn_at_ihmail.com.donotspam)
Date: 08/27/04
- Previous message: GrantS: "ADO.Net; Smart Client; Web service - Dataset"
- Next in thread: William \(Bill\) Vaughn: "Re: Nothing is random"
- Reply: William \(Bill\) Vaughn: "Re: Nothing is random"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 26 Aug 2004 19:33:04 -0700
How do I write a SQL statement so that the dataset will be filled with
randomly chosen records?
The following SQL statement works perfectly well in Access, but not when
configuring my dataadapter in VB.NET.
SELECT Problem
FROM tblX
WHERE (Skill = ?)
ORDER BY Rnd(ID)
In VB.NET the above appears to fill the ds randomly, but it is the same set
of records every time I run the program.
Thank you for your help.
-- Jennifer Yellman Quynn Motivational Assessment
- Previous message: GrantS: "ADO.Net; Smart Client; Web service - Dataset"
- Next in thread: William \(Bill\) Vaughn: "Re: Nothing is random"
- Reply: William \(Bill\) Vaughn: "Re: Nothing is random"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|