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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

position() question

Status
Not open for further replies.

acsooley

Programmer
Nov 13, 2002
32
CA
It their a easer way to test the position than:

test="position()=5 or position()=10 or position()=15 or position()=20 or position()=25 or position()=30 ect..."


I need to test for the fifth one.

Adam
 
Code:
test="position() mod 5 = 0"

Jon

"Asteroids do not concern me, Admiral. I want that ship, not excuses.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top