473,387 Members | 1,588 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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 12653
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
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
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)...
4
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...
2
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...
1
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),...
4
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...
1
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:...
6
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...
2
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
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.