Did I see that was in the Activate event? It's just that I've been bit by event's not always respecting what object and datasession they are in that I bring this up. You might want the move the code out of the event into a method on the class, and have the event call the method.
HTH, Tracy -----Original Message----- From: James Roark Sent: Tuesday, May 06, 2008 1:21 PM At this iteration cvalue='cdatapath' - running thru the debugger so I can see what is going on. I've only been doing this for about 13 years but I seem to have gotten a brain fog for some reason. I just can't seem to find the problem. Jim Stephen Russell wrote: > On Tue, May 6, 2008 at 12:01 PM, James Roark <[EMAIL PROTECTED]> > wrote: > > >> cvalue='c'+aValue >> This.AddObject(cvalue,'label') >> >> > ---------------------------------------------------------- > > Can you force it? > > cvalue='c'+str(aValue) > This.AddObject(cvalue,'label') > > I forget how to deal with null in vfp but you are probably getting a null > value for cvalue. > > cvalue='c'+ ((str)aValue ) > This.AddObject(cvalue,'label') > _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

