Ah!  Good Ryan, thanks.   I had forgotten that a list has to be created first. 

However there's still a logic error becuase now the list exists, but
it contains two elements -the name and one date, for example:

listname = (property79, 13775)

where i'd be expecting to see  a list called property79, with values like:

property79 = (13775, 13779, 14556)


Cheers
Mike Kear
Windsor, NSW, Australia
AFP Webworks
http://afpwebworks.com
.com,.net,.org domains from AUD$20/Year



On Thu, 21 Oct 2004 14:47:21 +1000, Ryan Sabir <[EMAIL PROTECTED]> wrote:
> Heya Mike,
> 
> The first time you do a list append, the list needs to exist, and in
> your case it doesn't...
> 
> A quick and dirty fix would be:
> 
> <cfoutput query="getbookings">
> <cfset listname="property" & #propertyID#>
> <cfif NOT isdefined(listname)>
>  <CFSET temp = SetVariable(listname,"")>
> </cfif>
> <cfset listname = listappend(#listname#, "#date#")>
> </cfoutput>
> 
> Not sure if that will work exactly... but do you get my drift?
> 
> bye
> 
--

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to