Forums

This topic is locked

Odd and Even number

Posted 13 Mar 2004 13:21:56
1
has voted
13 Mar 2004 13:21:56 Mikey Worrall posted:
Right im quite new to this ASP thing, i need to select Odd and Even Numbers in a record set using dreamweaver.

I have a Table with a cakeID that generates an autonumber. I would like my recordset to look at this and only select either odd or even numbers....

Im completely stuck and its probably really simple, but please help me..

Thanks for any help in advance!!!! you can email me with the answer if you like

Replies

Replied 17 Mar 2004 21:42:31
17 Mar 2004 21:42:31 Phil Shevlin replied:
what database are you using. SQL has the modulo (remainder) operator
Replied 06 Apr 2004 13:54:02
06 Apr 2004 13:54:02 michael worrall replied:
Was using Access, Managed to figure it out in the end...

Reply to this topic