Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
Boolean Values |
Post Reply |
Author | |
unified
Beginner Joined: 04 Dec 05 Status: Offline Points: 11 |
Post Options
Thanks(0)
Posted: 02 Oct 07 at 3:48AM |
How can I set the form field's value if it is a checkbox?
I am loading values from an access database and the field values in the Access table are boolean.
Calling
QP.SetFormFieldValueByTitle( "Error_Correction." + RecNo.ToString, ds_Binding.Tables(0).Rows(RecNo).Item("Error_Correction").ToString)or
QP.SetFormFieldValueByTitle( "Error_Correction." + RecNo.ToString, ds_Binding.Tables(0).Rows(RecNo).Item("Error_Correction"))The checkbox does not appear in the form field if the Error_Correction field value of the Access table is set to "True" nor if it is set to "Yes"
I am using VB.Net 2005. Everything else works fine. I have no problems with text or date fields.
Thanks in advance for your assistance. |
|
unified
Beginner Joined: 04 Dec 05 Status: Offline Points: 11 |
Post Options
Thanks(0)
|
Solved.
The export value of the checkbox field on the form should be set to "True" rather than "Yes" in order for this to work.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store