Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Division question

Status
Not open for further replies.

Dashley

Programmer
Dec 5, 2002
925
US
I want to determin if a record count result is a odd or an even number.


Whats the best way to do it..
Is there a function available?


Thanks
 
'i= recordset count
if i mod 2 = 0 then
'even number
else
'odd number

above is just a pseudo code...

-DNG
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top