Newbies Robertvideo Posted August 7, 2000 Newbies Posted August 7, 2000 Greetings Can someone look at http://24.29.137.85/bnlv/ I need to limit the number of reservations per show and have the FORM kick back a message sold out... I believe it's an FPM if statement however I dont know the wording IE: Seat limit is 150... so if someone books a show that is over the limit I want a page or message to pop up Any suggestions
softhead Posted August 9, 2000 Posted August 9, 2000 have 2 fields in your database, one called 'limit' and the other something like 'numRegistered'. [FMP-If: numRegistered .lte. limit] *This is where the regular code would appear* [FMP-Else] Sold Out! [/FMP-If] Hope this helps! Anita
softhead Posted August 9, 2000 Posted August 9, 2000 I guess I should explain a little more...hehe, sorry! the lte stands for less than or equal to gte would be greather than or equal to, if you don't want the 'equal to' part there, just drop the 'e' at the end. And also 'eq' means simply equal to That's for future reference if you need it! Anita
Recommended Posts
This topic is 8940 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now