John Purser wrote:
> On Thu, 31 Aug 2006 18:39:45 GMT
> John Salerno <[EMAIL PROTECTED]> wrote:
>
>> John Salerno wrote:
>>> John Purser wrote:
>>>
I'd say you had a record with a null value for the namefirst field.
The join method don't like that.
>>> Wow, you're right! I tried this:
On Thu, 31 Aug 2006 18:39:45 GMT
John Salerno <[EMAIL PROTECTED]> wrote:
> John Salerno wrote:
> > John Purser wrote:
> >
> >> I'd say you had a record with a null value for the namefirst field.
> >> The join method don't like that.
> >
> > Wow, you're right! I tried this:
> >
> > if x[0] and
John Salerno wrote:
> John Purser wrote:
>
>> I'd say you had a record with a null value for the namefirst field.
>> The join method don't like that.
>
> Wow, you're right! I tried this:
>
> if x[0] and not x[0] == 'NULL':
>
> and sure enough it works after that. (Not sure if that's the best
John Purser wrote:
> I'd say you had a record with a null value for the namefirst field.
> The join method don't like that.
Wow, you're right! I tried this:
if x[0] and not x[0] == 'NULL':
and sure enough it works after that. (Not sure if that's the best way to
test, though. Just testing for
On Thu, 31 Aug 2006 18:11:15 GMT
John Salerno <[EMAIL PROTECTED]> wrote:
> Here's the code:
>
> class MyFrame(wx.Frame):
>
> def __init__(self):
> wx.Frame.__init__(self, None, wx.ID_ANY)
> panel = wx.Panel(self)
> dbconn = self.connect_db()
> dbconn.exec