RE: Struct Issue

2008-01-03 Thread Adkins, Randy
good now :-) -Original Message- From: Brian Kotek [mailto:[EMAIL PROTECTED] Sent: Thursday, January 03, 2008 3:06 PM To: CF-Talk Subject: Re: Struct Issue Just a note that your method does not return a struct or an array, which is what your description attribute says. It returns a struct or

Re: Struct Issue

2008-01-03 Thread Brian Kotek
Just a note that your method does not return a struct or an array, which is what your description attribute says. It returns a struct or a query. Also, you might want to consider refactoring this into two methods, because having it sometimes return a query and other times return a struct will prob

Re: Struct Issue

2008-01-03 Thread Rick Root
On 1/3/08, Adkins, Randy <[EMAIL PROTECTED]> wrote: > Thanks. Sometimes the query will have multiple messages to be displayed > with different messageIDs. Thus the reason I considered the dynamic > query method :-) > > I will try isQuery but I think I have found that for some reason the > initial c

RE: Struct Issue

2008-01-03 Thread Adkins, Randy
Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Thursday, January 03, 2008 2:23 PM To: CF-Talk Subject: Re: Struct Issue On 1/3/08, Adkins, Randy <[EMAIL PROTECTED]> wrote: > > Here is the call to the getMessages function: (Yes it is set as an > object) > application

Re: Struct Issue

2008-01-03 Thread Josh Nathanson
> Any idea why it would return the error or a way I can prevent it? I can > not use IsStruct since it is a query rather than a true structure? It looks like a string is being returned rather than a query as you are expecting. You'll need to trace back through your code and figure out where it's

Re: Struct Issue

2008-01-03 Thread Rick Root
On 1/3/08, Adkins, Randy <[EMAIL PROTECTED]> wrote: > > Here is the call to the getMessages function: (Yes it is set as an > object) > application.msgMgr.getMessage(attributes.messageId)> > > Now I can check it this way but at times it returns an error on the > initial startup: > > ... blah blah