Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Checkbox


Message #1 by nusrat sarwar <nusratsarwar@y...> on Fri, 12 Jul 2002 09:33:21 -0700 (PDT)
Hi all
Hope you all are fine.

I have done it before but i dont know why now the
check box is getting nasty 
there is a checkbox in my form for choice of
subscribing
(means subscribe yes/no)

in my Access database I have checkbox field for it .

and even I change it to text but the value is not
inserting in the database

the insert command is well /correct

when I have response.write the sql giving value of yes
for checked checkbox
 but data is not inserting in DB 
why ???
any tip or solution??

many thanx for your time
take care
regards
nusrat


__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
Message #2 by "Larry Woods" <larry@l...> on Fri, 12 Jul 2002 10:12:27 -0700
The field in your Access database is a True/False field even
though you are seeing a Checkbox.  Set this field with a True or
a False value (boolean).

Larry Woods  MCSD,MCT


> -----Original Message-----
> From: nusrat sarwar [mailto:nusratsarwar@y...]
> Sent: Friday, July 12, 2002 9:33 AM
> To: ASP Web HowTo
> Subject: [asp_web_howto] Checkbox
>
>
>
> Hi all
> Hope you all are fine.
>
> I have done it before but i dont know why now the
> check box is getting nasty
> there is a checkbox in my form for choice of
> subscribing
> (means subscribe yes/no)
>
> in my Access database I have checkbox field for it .
>
> and even I change it to text but the value is not
> inserting in the database
>
> the insert command is well /correct
>
> when I have response.write the sql giving value of yes
> for checked checkbox
>  but data is not inserting in DB
> why ???
> any tip or solution??
>
> many thanx for your time
> take care
> regards
> nusrat
>
>
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.yahoo.com
>
>
> ---
>
> Improve your web design skills with these new books
> from Glasshaus.
>
> Usable Web Menus
> http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=n
osim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/thepr
ogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/thepr
ogramme
r-20

Message #3 by nusrat sarwar <nusratsarwar@y...> on Fri, 12 Jul 2002 16:35:24 -0700 (PDT)
many thanx Larry
God bless you for your time and help
take care
regards
nusrat

--- Larry Woods <larry@l...> wrote:
> The field in your Access database is a True/False
> field even
> though you are seeing a Checkbox.  Set this field
> with a True or
> a False value (boolean).
> 
> Larry Woods  MCSD,MCT
> 
> 
> > -----Original Message-----
> > From: nusrat sarwar
> [mailto:nusratsarwar@y...]
> > Sent: Friday, July 12, 2002 9:33 AM
> > To: ASP Web HowTo
> > Subject: [asp_web_howto] Checkbox
> >
> >
> >
> > Hi all
> > Hope you all are fine.
> >
> > I have done it before but i dont know why now the
> > check box is getting nasty
> > there is a checkbox in my form for choice of
> > subscribing
> > (means subscribe yes/no)
> >
> > in my Access database I have checkbox field for it
> .
> >
> > and even I change it to text but the value is not
> > inserting in the database
> >
> > the insert command is well /correct
> >
> > when I have response.write the sql giving value of
> yes
> > for checked checkbox
> >  but data is not inserting in DB
> > why ???
> > any tip or solution??
> >
> > many thanx for your time
> > take care
> > regards
> > nusrat
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Sign up for SBC Yahoo! Dial - First Month Free
> > http://sbc.yahoo.com
> >
> >
> > ---
> >
> > Improve your web design skills with these new
> books
> > from Glasshaus.
> >
> > Usable Web Menus
> >
>
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=n
> osim/theprogramme
> r-20
> Constructing Accessible Web Sites
>
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/thepr
> ogramme
> r-20
> Practical JavaScript for the Usable Web
>
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/thepr
> ogramme
> r-20
> 
> 
> 
> ---
> 
> Improve your web design skills with these new books
> from Glasshaus.
> 
> Usable Web Menus
>
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
> r-20
> Constructing Accessible Web Sites
>
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
> r-20
> Practical JavaScript for the Usable Web
>
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
> r-20


__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

  Return to Index