Z-Space Technologies, Inc.
Support Forums
Join | Logon
ITScriptNet Support Forums
 All Threads | New ThreadView:  Search:  
 Author  Thread: Saving boolean data to an Access Database.
GiantTCR
Posts: 16
Saving boolean data to an Access Database.
Posted: 15 Mar 11 6:13 PM
I have a proram that saves a record to an access database it all work except for saving a check box to a yes/no field in MSAccess. How do I do this?
[Reply][Quote]
Bev Connor
Posts: 117
Re: Saving boolean data to an Access Database.
Posted: 16 Mar 11 10:47 AM
First please confirm that your Access database field has its data type set to yes/no.

In your ITScriptNet program, open the properties window for your Checkbox element. Confirm that the Selected value is a 1 and the Unselected value is a zero.

Next, along the bottom of that properties window, there should display a drop-down to set the Database Field for this element. Confirm that the Checkbox element's Database Field drop-down list is set to your Access database's yes/no field.

[Reply][Quote]
GiantTCR
Posts: 16
Re: Saving boolean data to an Access Database.
Posted: 16 Mar 11 3:48 PM
Thank you it worked! In one of the fields everything was right except I had the box do not save data checked, in the other the values were -1 and 0 not one and zero, once fixed it worked.
[Reply][Quote]
 Page 1 of 1 
 
Website (C) 2004-2008 Z-Space Technologies, Inc. All Rights Reserved.
All messages posted here are the sole responsiblity of the poster. Z-Space Technologies, Inc. is not responsible for the content of messages. Messages do not reflect the official positions or policies of Z-Space Technologies, Inc.