473,524 Members | 3,050 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Importing data to a Check Box from Excel

I have a database that one of the fields is a check box. Basically a
check means yes, no check means no. I am trying to import data from an
Excel spreadsheet. I assumed the check box would use a simple yes/no,
so I set up the Excel SS that way. It will not import the data for
that field. The rest of the fields import fine. How do I do this
please?

Bullfrog
Feb 13 '07 #1
3 12671
On Feb 13, 6:40 pm, Bullfrog <BullfrogATbullfrogspond.com@wrote:
I have a database that one of the fields is a check box. Basically a
check means yes, no check means no. I am trying to import data from an
Excel spreadsheet. I assumed the check box would use a simple yes/no,
so I set up the Excel SS that way. It will not import the data for
that field. The rest of the fields import fine. How do I do this
please?

Bullfrog

If you are talking about a checkbox in Excel and not a cell value,
then you need to get the checkbox value into a cell in the
spreadsheet. Access doesn't include user controls in an import. In the
control format properties, I think on the control tab, there should be
a Cell Link box. Enter the cell the checkbox should update. It will do
using a True/False value. When you import the spread sheet, Access
should recognize it as a Yes/No value and import them as 0's and -1's.

Feb 14 '07 #2
In the Excel spreadsheet change the yes's to TRUE and the no's to
FALSE

On Tue, 13 Feb 2007 23:40:38 +0000, Bullfrog
<BullfrogATbullfrogspond.com@wrote:
>I have a database that one of the fields is a check box. Basically a
check means yes, no check means no. I am trying to import data from an
Excel spreadsheet. I assumed the check box would use a simple yes/no,
so I set up the Excel SS that way. It will not import the data for
that field. The rest of the fields import fine. How do I do this
please?

Bullfrog
Have a nice day. ld****@NOPANTS.juno.com

Remove NOPANTS. To reply by direct E-Mail;
Support: The Right to Privacy and Anti-SPAM projects
Feb 14 '07 #3
On Tue, 13 Feb 2007 21:52:47 -0500, Thats Me <yq****@whab.pbzwrote:
>In the Excel spreadsheet change the yes's to TRUE and the no's to
FALSE

On Tue, 13 Feb 2007 23:40:38 +0000, Bullfrog
<BullfrogATbullfrogspond.com@wrote:
>>I have a database that one of the fields is a check box. Basically a
check means yes, no check means no. I am trying to import data from an
Excel spreadsheet. I assumed the check box would use a simple yes/no,
so I set up the Excel SS that way. It will not import the data for
that field. The rest of the fields import fine. How do I do this
please?

Bullfrog

Have a nice day. ld****@NOPANTS.juno.com

Remove NOPANTS. To reply by direct E-Mail;
Support: The Right to Privacy and Anti-SPAM projects
DUH, I should of thought of that, TRUE and FALSE worked! Thanks
Feb 14 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
7691
by: Michal Maciejczak | last post by:
Is it possible to import data from excel file into php and than put it in mysql database?
2
4980
by: Mr. Bungle | last post by:
When importing excel from access I am fully aware that one can import directly into a table. Can you get as specific via code or something to import data from an excel sheet to a FORM (Not Table) through a command button. For example: cell C5 on the selected excel spread sheet = textbox2 in the current form. This is for a service repair...
4
1596
by: hibbii | last post by:
I am trying to import data from a spreadsheet into a pre-created table. The table however has columns that the spreasheet does not such as an autonumber PK and an ID as the FK. What is the best way to get start importing into column 3 of the table from the spreadsheet and keep the first 2 columns intact. The other problem I have is when...
2
1908
by: ScardyBob | last post by:
Hello, I am having trouble importing data from an Excel Worksheet. When I try to import the data, everything works except certain columns that contain dates, where it replaces the date with a null in the access table. To import the data I do the following. 1. Create a table based on the excel spreadsheet setup with the following query...
1
5164
by: Haas C | last post by:
Hi All! I was wondering if you guys can help with this: I have created an Access database which has a table with identical fields as a tab in an Excel workbook. To update this table (tblClaims), I open it up and delete all rows. Nex, I Import data into the table from Excel (i don't use the Link Tables... function because it corrupted my...
4
2755
by: alvinstraight38 | last post by:
Hey guys, I am trying to import data from an Excel spreadsheet into my SQL database. I am running SQL 2005. I following Microsoft's instructions for creating a linked server, and it appeared to work. However when I run this query: SELECT * INTO test FROM OPENQUERY(EFORMS, 'SELECT * FROM ')
1
1932
by: MBlock316 | last post by:
Hello everyone, I am trying to import a Microsoft Excel 2007 formatted file into my application. I found on another thread in another forum that I needed to install the 2007 Office System Driver: Data Connectivity Components found here: ...
6
1635
by: sachinkale123 | last post by:
I am working on an application Where I want to import data from Excelsheet to Dataset. But While doing that i am facing following problems: 1) When I close excelsheet and try to import data from excel it gives me following error. Code is as follows: public DataTable originalData1(String _filename, String _sheet) { ...
2
4678
by: muddasirmunir | last post by:
I want to know how can we Import data from Excel into Excel Using vb6. Any help where can i start ?
15
7785
numberwhun
by: numberwhun | last post by:
Ok, let me preface this thread by saying that I cannot provide a real sample of the data that I am working with. The reason is, because it contains a lot of private, confidential information (for work) that I cannot divulge. But, I can provide the details of the database coding that I have been working on. I have been racking my brains the last...
0
7327
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7248
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7220
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7598
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5167
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3301
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1694
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
868
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
537
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.