Re: [Firebird-net-provider] Problem Inserting Boolean Values as Chars into DB

2006-11-06 Thread Kwok, Marcus B.
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of Jiri Cincura > Sent: Monday, November 06, 2006 17:57 > To: For users and developers of the Firebird .NET providers > Subject: Re: [Firebird-net-provider] Problem Inserting >

Re: [Firebird-net-provider] Problem Inserting Boolean Values as Chars into DB

2006-11-06 Thread Jiri Cincura
Kwok, Marcus B. wrote: >char maint = (run.maintenance) ? 'T' : 'F'; >command->Parameters->Add(S"@maint", __box(maint)); > >char avail = (run.availability) ? 'T' : 'F'; >command->Parameters->Add(S"@avail", __box(avail)); > Well, I'm not familiar with C++/CLI. But try to force para

[Firebird-net-provider] Problem Inserting Boolean Values as Chars into DB

2006-11-06 Thread Kwok, Marcus B.
Hi! This is my first post to the list. I've tried to trim it down to what seems the most relevant. I am having a problem inserting into my database using the Firebird .NET provider. I am using Visual Studio .NET 2003 SP1 and thus the .NET provider 1.7 and Firebird 1.5, and I am coding in Manage