On Mar 9, 2012, at 5:46 AM, Justin Will wrote: > QUERY([FWClient];[FWClient]Subdomain=$host) > > If (Records in selection([FWClient])=1) > > return:="/"+String([FWClient]Version)+$inURL > > Else > > return:=$inURL > > End if
Return is a function. You have it as a variable and just assign a value (this is not $0!!). The real one works because the default is that if nothing returned, use the $inURL. return("/"+String([FWClient]Version)+$inURL) Steve _______________________________________________ Active4D-dev mailing list Active4D-dev@aparajitaworld.com http://list.aparajitaworld.com/listinfo/active4d-dev Archives: http://vasudev.aparajitaworld.com/archive/active4d-dev/