CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 How to have a multiple output in randomly manner?

Print topic Send  topic

Author Message
normanchiutan

Posts: 4
Posted: 06/27/2010, 11:13 PM

I would like to have a randomly output of 6 records that is 3 x 2 (as shown in figure 1) from an Access database. How can I do this? I have more than 500 records in the database and has at least selected 100 records to be displayed in the page. But, will only show 6 records that is randomly selected from these selected 100 records to be displayed. Could someone help me on this issue? I do not know how to start.

==================================
Figure 1: Output in randomly manner..
-----------------------------------------------------------
Output(21) Output(3) Output(12)
Output(31) Output(15) Output(2)
==================================

I would appreciate for any help on this regard. Thank you for your time.

Cheers,
View profile  Send private message
ReneS

Posts: 225
Posted: 06/29/2010, 7:37 AM

Hi,

Use the gallery builder to get the 3 x 2 layout.

In the select of the records use "RND" (Random) Google gives: http://www.databasedev.co.uk/random_query.html

Good luck,

Rene
View profile  Send private message
normanchiutan

Posts: 4
Posted: 06/30/2010, 7:16 PM

Hi Rene,

Thank you so much for your great reply. However, I forgot to include in my message that I am using ASP to get these random data from MS Access. I'm so sorry about that. Can you help me? Again, thank you very much for your reply.

Cheers,
Norman
View profile  Send private message
ReneS

Posts: 225
Posted: 07/01/2010, 4:56 AM

Hi,

Independend of ASP or PHP or whatever. In the "gallery builder" at step 2 choose "build query" there switch from table to sql, and type your query. That's it.

Good luck

Rene
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.