PC Review


Reply
Thread Tools Rate Thread

How can I Randomize database results using FrontPage

 
 
=?Utf-8?B?U2ltb25ESg==?=
Guest
Posts: n/a
 
      9th Feb 2006
I am trying to randomise a recordset in FrontPage but I am getting nowhere
fast.

I have tried all the search engines and the suggestions I have used either
don;t work or have no effect.

I don't want to get into using script if I can help it.

I am using MS Access, DSN connection and .ASP pages to retrive the information

If anyone can help I would be grateful.

I can send the page I am trying to use, but it is confidential.

Simon Jefferson

 
Reply With Quote
 
 
 
 
=?Utf-8?B?Z3VudGhlcjEyMw==?=
Guest
Posts: n/a
 
      9th Feb 2006

I'm not sure what you mean by randomise a recordset but my experience with
FrontPage is that it is good for submitting data to a database and displaying
data in a database using the "Database Results" wizard. But if you try to do
much beyond that you are going to have to delve into the script a bit.

-Michael

"SimonDJ" wrote:

> I am trying to randomise a recordset in FrontPage but I am getting nowhere
> fast.
>
> I have tried all the search engines and the suggestions I have used either
> don;t work or have no effect.
>
> I don't want to get into using script if I can help it.
>
> I am using MS Access, DSN connection and .ASP pages to retrive the information
>
> If anyone can help I would be grateful.
>
> I can send the page I am trying to use, but it is confidential.
>
> Simon Jefferson
>

 
Reply With Quote
 
Thomas A. Rowe
Guest
Posts: n/a
 
      9th Feb 2006
Requires custom written ASP/VBScript to accomplish, not something that can be accomplished from
within the FP database components.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

"SimonDJ" <(E-Mail Removed)> wrote in message
news:51EFF672-EA26-42EB-AE3C-(E-Mail Removed)...
>I am trying to randomise a recordset in FrontPage but I am getting nowhere
> fast.
>
> I have tried all the search engines and the suggestions I have used either
> don;t work or have no effect.
>
> I don't want to get into using script if I can help it.
>
> I am using MS Access, DSN connection and .ASP pages to retrive the information
>
> If anyone can help I would be grateful.
>
> I can send the page I am trying to use, but it is confidential.
>
> Simon Jefferson
>



 
Reply With Quote
 
Clark
Guest
Posts: n/a
 
      10th Feb 2006
Just curious -- what do you mean by randomize the recordset? Do you
mean that you want to bring up the records resulting from some query
and have tnem ordered differently every time the query is run?

Or could it mean that each record has a randomly generated (but doesnt
change once it is entered) number in one of the fields, and the
results are ordered by that "random" number? In which case the same
query will always bring up the results in the same order, but it would
be "random" in terms of the order in which the records were created?
In which case you could just put a random number in one of the fields
as a (somewhat hokey) solution.

In any case, (I'm no asp maven) that has to be really easy to do with
a little asp code --

On Thu, 9 Feb 2006 12:02:07 -0800, "SimonDJ"
<(E-Mail Removed)> wrote:

>I am trying to randomise a recordset in FrontPage but I am getting nowhere
>fast.
>
>I have tried all the search engines and the suggestions I have used either
>don;t work or have no effect.
>
>I don't want to get into using script if I can help it.
>
>I am using MS Access, DSN connection and .ASP pages to retrive the information
>
>If anyone can help I would be grateful.
>
>I can send the page I am trying to use, but it is confidential.
>
>Simon Jefferson


 
Reply With Quote
 
Clark
Guest
Posts: n/a
 
      10th Feb 2006
actually, if the scenario described in the second paragraph works for
you, it is easy to accomplsh using a randomly generated autonumber
field and sorting by that number. Even though the records would come
up in the same (random-looking) order when queried, any new record
added to the database would get inserted at a random location relative
to prior records (and it would stay in that position in subsequnet
queries)

On Fri, 10 Feb 2006 13:39:58 GMT, Clark <(E-Mail Removed)>
wrote:

>Just curious -- what do you mean by randomize the recordset? Do you
>mean that you want to bring up the records resulting from some query
>and have tnem ordered differently every time the query is run?
>
>Or could it mean that each record has a randomly generated (but doesnt
>change once it is entered) number in one of the fields, and the
>results are ordered by that "random" number? In which case the same
>query will always bring up the results in the same order, but it would
>be "random" in terms of the order in which the records were created?
>In which case you could just put a random number in one of the fields
>as a (somewhat hokey) solution.
>
>In any case, (I'm no asp maven) that has to be really easy to do with
>a little asp code --
>
>On Thu, 9 Feb 2006 12:02:07 -0800, "SimonDJ"
><(E-Mail Removed)> wrote:
>
>>I am trying to randomise a recordset in FrontPage but I am getting nowhere
>>fast.
>>
>>I have tried all the search engines and the suggestions I have used either
>>don;t work or have no effect.
>>
>>I don't want to get into using script if I can help it.
>>
>>I am using MS Access, DSN connection and .ASP pages to retrive the information
>>
>>If anyone can help I would be grateful.
>>
>>I can send the page I am trying to use, but it is confidential.
>>
>>Simon Jefferson


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Database results on FrontPage Sophia Microsoft Frontpage 10 19th Mar 2009 08:13 AM
Editing Database Results in FrontPage =?Utf-8?B?SW5xdWlyaW5nIE1pbmRz?= Microsoft Frontpage 7 30th Dec 2005 12:40 AM
In Frontpage, when I choose Insert>Database> Results, the results. =?Utf-8?B?Q2hpbWVyaWNhbF9naXJs?= Microsoft Access Getting Started 2 2nd Jan 2005 03:03 PM
Frontpage and Database Results wizard Tyler Albright Microsoft Frontpage 1 10th May 2004 09:27 PM
How to Add an All Values Item to a Database Query by Using the FrontPage 2003 Database Results Wizard =?Utf-8?B?RGFuaWVs?= Microsoft Frontpage 4 2nd Feb 2004 05:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:12 PM.