Ask a Question related to Dreamweaver AppDev, Design and Development.
-
woodywyatt #1
Display all records on a page?
This is the code I'm using to display records from an Access database in a
random order.
The problem is when the page is refreshed it doesn't always show all of the
records at once. What do I need to change in this code to display all
records in a random order?
<%
Const adCmdText = &H0001
Dim Recordset1
Dim Recordset1_numRows
Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_Uploadad_STRING
Recordset1.Source = "SELECT * FROM upload"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 3
Recordset1.LockType = 1
Recordset1.Open()
Recordset1_numRows = 0
Dim intRnd
Randomize Timer
intRnd = (Int(RND * Recordset1.RecordCount))
' Now moving the cursor to random record number
Recordset1.Move intRnd
%>
woodywyatt Guest
-
Records Display formatting
My query returns hundreds of records. I wish to display 25 each page with the usual menu at the bottom of the page to move forward into the... -
Display x number of records
How could I display *only* x# of records even if the select statement returns a value >x? -
Every time i try to display records on an include page i get repeats of the whole include
hi guys and ladies, here is my problem and i would be most grateful if any one could shed some light on this please: i have a default.asp page... -
How to display multiple records per page?
How can i build the easiest way an script which enables me to display an x amount of records per page? Friendly greetings, André -
When records don't display that are there
Hi All, Using Dreamweaver MX, Personal Web Server 4.0, VB Script, Asp Pages, MS Access Database, WIN 98 OS I basically have a Search Page with...



Reply With Quote

