New topic: 

Checkbox and Database

<http://forums.realsoftware.com/viewtopic.php?t=25803>

       Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic         Author  
Message       drndpatel           Post subject: Checkbox and DatabasePosted: 
Mon Dec 29, 2008 3:55 am                        
Joined: Mon Dec 08, 2008 3:13 pm
Posts: 2              I have a listbox with a check box colomn.

I have the following code in the databasing of the detail...

  rec.Column("Paid") = str(LBBlended.CellCheck(r,10))
   
this gives me a "true" or "False" in a database field setups as a Boolean.

Now when retreiving the information from the database back to the listbox... I 
have the following codeline:

  me.CellCheck(me.LastIndex,10) = rs.field("paid").BooleanValue

Well... this does not work and there is no check box or no "ture" or "False" in 
the column unless I read the database field as a StringValue instead of a 
BooleanValue.

I want to upload as a checkbox from the database, and be transparent to the 
user as to "true" and "False"   
                            Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]     

-- 
Over 900 classes with 18000 functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin v8.1. 

&lt;http://www.monkeybreadsoftware.de/realbasic/plugins.shtml&gt;

[email protected]

Reply via email to