Re: getting rid of Evaluate in CF 5.0

2004-08-13 Thread Jim Louis
Peter, I will get rid of those pesky #'s.I learned CF from a book. and I did a lot of this scripting in the first few months of programming. Bryan, This is what I am trying to do. 1. This is for a registration for a conference. (1500+ registrants) 2. This part is for a hotel rooms for this

Re: getting rid of Evaluate in CF 5.0

2004-08-12 Thread Joe Rinehart
cfif variables[rm1Day a1] eq 0 and variables[rm2day a1]... ...should start to get ya there. -joe - Original Message - From: Jim Louis [EMAIL PROTECTED] Date: Thu, 12 Aug 2004 12:46:48 -0400 Subject: getting rid of Evaluate in CF 5.0 To: CF-Talk [EMAIL PROTECTED] I have a complex page

Re: getting rid of Evaluate in CF 5.0

2004-08-12 Thread Jim Louis
Thank you Jim cfif variables[rm1Day a1] eq 0 and variables[rm2day a1]... ...should start to get ya there. -joe - Original Message - From: Jim Louis [EMAIL PROTECTED] Date: Thu, 12 Aug 2004 12:46:48 -0400 Subject: getting rid of Evaluate in CF 5.0 To: CF-Talk [EMAIL PROTECTED] I

RE: getting rid of Evaluate in CF 5.0

2004-08-12 Thread Pascal Peters
NOT in cf5 it won't (variables became a struct in cf6). But you could put your vars in a structure and then use that syntax. Pascal -Original Message- From: Joe Rinehart [mailto:[EMAIL PROTECTED] Sent: 12 August 2004 18:56 To: CF-Talk Subject: Re: getting rid of Evaluate in CF 5.0

RE: getting rid of Evaluate in CF 5.0

2004-08-12 Thread Bryan Love
reconsider the way you create those variables.How are RM1DAY and the other variables getting created?A struct or an array would probably work very nicely to store those variable values differently and speed up your code. Also, it's generally a very bad idea to put a query inside a loop.Of all

Re: getting rid of Evaluate in CF 5.0

2004-08-12 Thread Peter Farrell
I'm being anal about something here, but you should be able to remove the pound signs (#) in this statement and it should continue to work correctly: CFIF Query.DATE EQ #Query2.DATE1# To: CFIF Query.DATE EQ Query2.DATE1 Sorry, I'm so weird about using pounds - read this article by Ben Forta for