0
Fields to Access Database Fields
New Here
,
/t5/dreamweaver-discussions/fields-to-access-database-fields/td-p/785495
May 01, 2006
May 01, 2006
Copy link to clipboard
Copied
I have an Access database with numeric and Yes/No fields -
when I add the fields to my form for these numeric and Yes/No
fields - I can not get the data into the Access database.
On the insert record - I clarify the numeric as numeric and the Yes/No as Checkbox Y,N
Is there something else that I need to do?
On the insert record - I clarify the numeric as numeric and the Yes/No as Checkbox Y,N
Is there something else that I need to do?
TOPICS
Server side applications
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/dreamweaver-discussions/fields-to-access-database-fields/m-p/785496#M176810
May 01, 2006
May 01, 2006
Copy link to clipboard
Copied
check your box and field names.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
frito212
AUTHOR
New Here
,
/t5/dreamweaver-discussions/fields-to-access-database-fields/m-p/785497#M176812
May 01, 2006
May 01, 2006
Copy link to clipboard
Copied
I matched the field names and boxes - I also checked that it
was numeric on the insert record area.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
frito212
AUTHOR
New Here
,
/t5/dreamweaver-discussions/fields-to-access-database-fields/m-p/785498#M176815
May 01, 2006
May 01, 2006
Copy link to clipboard
Copied
If I make the Access fields text - it sort of works.
What I want to do is: I have radio group Yes No that I want to put the value into a field in the Access Database - if they select Yes, I want Yes (or a Y) to go into the field, if they select No, I want No (or a N) to be inserted into the Access Database field.
What I want to do is: I have radio group Yes No that I want to put the value into a field in the Access Database - if they select Yes, I want Yes (or a Y) to go into the field, if they select No, I want No (or a N) to be inserted into the Access Database field.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/dreamweaver-discussions/fields-to-access-database-fields/m-p/785499#M176818
May 01, 2006
May 01, 2006
Copy link to clipboard
Copied
We need to see any error message to be really clear on what
is happening,
but basically a Yes/No field in Access stores a boolean value. Depending
upon the way that the database is set up this is either 0 -1 or True/False.
It is not Yes or No. If you want to have those types of entry in the field
then change it to a text field.
--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"frito212" <webforumsuser@macromedia.com> wrote in message
news:e365oo$9cg$1@forums.macromedia.com...
> If I make the Access fields text - it sort of works.
>
> What I want to do is: I have radio group Yes No that I want to put
> the
> value into a field in the Access Database - if they select Yes, I want
> Yes (or
> a Y) to go into the field, if they select No, I want No (or a N) to be
> inserted
> into the Access Database field.
>
but basically a Yes/No field in Access stores a boolean value. Depending
upon the way that the database is set up this is either 0 -1 or True/False.
It is not Yes or No. If you want to have those types of entry in the field
then change it to a text field.
--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"frito212" <webforumsuser@macromedia.com> wrote in message
news:e365oo$9cg$1@forums.macromedia.com...
> If I make the Access fields text - it sort of works.
>
> What I want to do is: I have radio group Yes No that I want to put
> the
> value into a field in the Access Database - if they select Yes, I want
> Yes (or
> a Y) to go into the field, if they select No, I want No (or a N) to be
> inserted
> into the Access Database field.
>
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
frito212
AUTHOR
New Here
,
/t5/dreamweaver-discussions/fields-to-access-database-fields/m-p/785500#M176820
May 01, 2006
May 01, 2006
Copy link to clipboard
Copied
I changed the field to text - I am no longer getting an
error.
But - the value from the radio group is not correct when it goes into the database. If I select Yes - it might put N in the database or vice versa - doesn't seem to take the correct value that I select?
But - the value from the radio group is not correct when it goes into the database. If I select Yes - it might put N in the database or vice versa - doesn't seem to take the correct value that I select?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
frito212
AUTHOR
New Here
,
/t5/dreamweaver-discussions/fields-to-access-database-fields/m-p/785504#M176827
May 02, 2006
May 02, 2006
Copy link to clipboard
Copied
Here is the code - I'm not sure how to attach the data - but
what I did was for the radio buttons, I selected N, Y, Y and it put
Y, Y, Y in the database fields.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
frito212
AUTHOR
New Here
,
LATEST
/t5/dreamweaver-discussions/fields-to-access-database-fields/m-p/785505#M176829
May 02, 2006
May 02, 2006
Copy link to clipboard
Copied
I'm not sure what I did, but I have it working -
Thank you
Thank you
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
frito212
AUTHOR
New Here
,
/t5/dreamweaver-discussions/fields-to-access-database-fields/m-p/785501#M176823
May 01, 2006
May 01, 2006
Copy link to clipboard
Copied
It seems to always put Y in the database field no matter if I
select the Yes or No radio button.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/dreamweaver-discussions/fields-to-access-database-fields/m-p/785502#M176825
May 01, 2006
May 01, 2006
Copy link to clipboard
Copied
If the field is set to text then it should be getting
whateever value you
have set in radio box. If it is not check that the database doesn't have a
default value set.
--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"frito212" <webforumsuser@macromedia.com> wrote in message
news:e3682n$btl$1@forums.macromedia.com...
>I changed the field to text - I am no longer getting an error.
>
> But - the value from the radio group is not correct when it goes into the
> database. If I select Yes - it might put N in the database or vice
> versa -
> doesn't seem to take the correct value that I select?
>
have set in radio box. If it is not check that the database doesn't have a
default value set.
--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"frito212" <webforumsuser@macromedia.com> wrote in message
news:e3682n$btl$1@forums.macromedia.com...
>I changed the field to text - I am no longer getting an error.
>
> But - the value from the radio group is not correct when it goes into the
> database. If I select Yes - it might put N in the database or vice
> versa -
> doesn't seem to take the correct value that I select?
>
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/dreamweaver-discussions/fields-to-access-database-fields/m-p/785503#M176826
May 02, 2006
May 02, 2006
Copy link to clipboard
Copied
can you post your source and the resulting database entries?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

