Cant retrieve value in Checkbox?
-
I am using Visual basic 2008, i have used datareader to retrieve data from access 2008 to vb userform where i have used textbox and checkbox, ( For checkbox item I have used Datatype Yes/No in access) I want a code like this txtName.Text & = rdrOledb.Item(0).Tostring&"" -------this code works to retrieve date to textbox I want similar code to retrieve for Checkbox also ( When it is checked in access table it need to be checked in vb userform or and else unckeked if not in access.. Please help!!!!
-
Answer:
When I process the form, assuming the first two checkboxes are ticked, when the php executes $activity = $_POST['activity']; var_dump($activity); it prints: array(2) [0]=> string(0) "" [1]=> string(0) "" Obviously it is detecting that two of the three boxes are ticked, but it is not passing through the values. If the HTML starts with the checked attribute for all checkboxes then it correctly sends through the checkbox value.
kHA at Yahoo! Answers Visit the source
Related Q & A:
- How to retrieve a variable name given its value?Best solution by Stack Overflow
- how to insert multiple rows from MySQL with checkbox?Best solution by Stack Overflow
- How to disable button when checkbox is checked. vbscript?Best solution by Stack Overflow
- How come I cant sign into the messenger?Best solution by Yahoo! Answers
- Why cant i see my Cursor Mania on my tool bar?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.