Ask a Question related to Dreamweaver AppDev, Design and Development.
-
Moragreid #1
show all records apart from First
This may be really easy - but can anyone tell me how to create a record set to
show all records except the first record.
I would use the primary key ID but it may change with adding and deleting of
records. So just to show all except the lowest ID
any ideas?
Moragreid Guest
-
MMColParam and Default Show All Records?
I have a recordset and I want to set the default variable for MMColParam to default to showing all records in case the page is called outside of the... -
database - show all records apart from the 1st...how?
Hi, We have an events calendar in Access, and we are using VBScript/ASP for the site. Is it possible to display ALL events, apart from the 1st... -
Show Multiple Records in one Row
Hi We can do this using Cross Tab SQL Query. Can you send the Table name and fields so that i can give you the correct Cross Tab Query for this.... -
How to get all records to show in the database all the time please
Shuqian <peacedmr@yahoo.com> wrote: After you enter Find mode and enter your search criteria, you have to hit Enter to perform the Find. You... -
new records will not show up in form
I have created a form using a query and I want to add new records, and I want them to show up in the form. However, when I add new records they... -
Grant Berkeley #2
Re: show all records apart from First
You could try this
<%
Recordset.MoveNext
While Not Recordset.EOF
Response.Write Recordset("MyRecord") & "<br>"
Recordset.MoveNext
Wend
%>
Grant
"Moragreid" <webforumsuser@macromedia.com> wrote in message
news:d3lj7f$hf$1@forums.macromedia.com...> This may be really easy - but can anyone tell me how to create a record
> set to
> show all records except the first record.
> I would use the primary key ID but it may change with adding and deleting
> of
> records. So just to show all except the lowest ID
>
> any ideas?
>
Grant Berkeley Guest
-
David Powers #3
Re: show all records apart from First
Moragreid wrote:
When asking for advice of this sort, you need to specify which database> This may be really easy - but can anyone tell me how to create a record set to
> show all records except the first record.
you're working with, because the syntax is often different.
If you're using MySQL, put this at the end of your SELECT statement:
LIMIT 1,999999999999999999999
For example:
SELECT * FROM mytable
WHERE this = 'that'
ORDER BY primary_key
LIMIT 1,999999999999999999999
That will skip the first item. The 999999999999999999999 is an
arbritrarily high number to indicate that you want all records.
--
David Powers
Author, "Foundation PHP 5 for Flash" (friends of ED)
Co-author "PHP Web Development with DW MX 2004" (Apress)
[url]http://computerbookshelf.com[/url]
David Powers Guest
-
Julian Roberts #4
Re: show all records apart from First
Something like
select * from t where in not in (
select id from t order by id
)
order by id
--
Jules
[url]http://www.charon.co.uk/charoncart[/url]
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004
Julian Roberts Guest



Reply With Quote

