Forums
This topic is locked
Move to next record if...
10 May 2002 18:23:53 lee aston posted:
Hi,Can anyone please help me with this problem:
When using the server behaviour to go to the next record in a rs I want the ability to check if the item is in stock (I have created an in/out stock field in my database). If it's in stock then display it, if it's not then skip to next record and do in/out stock check again.
Is there an enhanced extension for this?
Cheers.
lee
Replies
Replied 13 May 2002 13:13:14
13 May 2002 13:13:14 David Behan replied:
If I understand you correctly, you could you IF stock is empty THEN move to the next record. Or maybe filter the listing where products are in stock.
Is that what you are looking for? I'll put up code for that if you need it.
_________________________
David Behan - www.bmor.com
Is that what you are looking for? I'll put up code for that if you need it.
_________________________
David Behan - www.bmor.com