John, that's exactly what I need. I guess I should've said "empty string" instead of null in my original email.
I want to use QuerySim to create default values for my forms. Most of the form elements need to be blank but I can't get QuerySim to generate blank values. Sorry for the confusion. Does that explain the problem better? Balazs -----Original Message----- From: John Quarto-vonTivadar [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 12:37 PM To: [EMAIL PROTECTED] Subject: Re: querySim problems p.s. I would venture to guess you will get empty strings out of this not true nulls. That's a limitation of CF I should think, and combined with the fact that CF considers "v1|v2||" to be a list of only two elements. ----- Original Message ----- From: "John Quarto-vonTivadar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 31, 2002 3:24 PM Subject: Re: querySim problems > try using the literal value NULL so that it looks like: > > <cf_QuerySim> > test > c1,c2,c3,c4 > v1|v2|NULL|NULL > </cf_QuerySim> > > > ----- Original Message ----- > From: "Balazs Wellisch" <[EMAIL PROTECTED]> > To: "Fusebox@Topica. Com" <[EMAIL PROTECTED]> > Sent: Friday, May 31, 2002 2:54 PM > Subject: querySim problems > > > > Hi all, > > > > I ran into a problem with the QuerySim custom tag and I was wondering if > > anyone had a solution for this. > > > > When I try to create a simulated query with null values the tag crashes. > The > > reason seems to be that CF treats a list like "|||" not as a list of 4 > blank > > values but as a list of 0 values. Furthermore, a list like "v1|v2||" is > not > > treated as a list of four but as a list of two. > > > > So if I try to create a query like this > > <cf_QuerySim> > > test > > c1,c2,c3,c4 > > v1|v2|| > > </cf_QuerySim> > > > > I get an error. > > > > Has anyone encountered this problem before? If so, is there a work around? > > > > Thanks, > > Balazs > > > > > > ==^================================================================ This email was sent to: [email protected] EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9 Or send an email to: [EMAIL PROTECTED] T O P I C A -- Register now to manage your mail! http://www.topica.com/partner/tag02/register ==^================================================================
