Friday, August 08, 2008   
  Search  
 
Register  Login  
Forums  
     Minimize  

Welcome to MeraWindows forums.

Thank you for being at the Microsoft Windows Community Site. You may have to register before posting in forums. It's absolutely free. After registering, you can get all the benefits available to our registered members, you can access our Downloads section, you can participate in contests, etc. You can post in forums in English as well as in Hindi, in fact we encourage you to use Hindi in your posts. If you have any problem with registration or login, please contact us.

     
  


 
  Microsoft Windows Forums  Microsoft Offic...  Microsoft Acces...  Check box in Tabular Form ???
Previous Previous
 
Next Next
New Post 11/3/2007 12:11 AM
User is offline Ramesh
2283 posts
Forum Guru








Check box in Tabular Form ??? 

Hi friends.
I hav a little bit of confusion about Access Database. I have created a database contains a single table (consists of five fields)
A Tabular Form has been created using Form Wizard. The table having two "Yes/No" data type that can contain only n only 0 and 1. Now the form is in tabular form... I have coded some VB code for manipulation of data. I want to set Uncheck all check boxes at startup, I mean...What should I code in Form_Load() function.

I have tried this
S1.Value=0
S2.value=0

It unchecks upper first checkboxes only. Rest of grid having same state and doesn't change.
But I have also used this code to disable these checkboxes and whole grid of checkboxex can be disabled.

S1.Enabled=0
S2.Enabled=0

If Its not possible using VB code...Please give any UPDATE query that SET S1 and S2 to zero via calling some function name like UpdateCheckBox()

Help Me Please !!!

http://www.sendspace.com/file/rmf128 Here is the sample access database file


Ramesh Kumar [Microsoft MVP]
 
New Post 11/5/2007 2:46 PM
User is offline Vishal Gupta
5794 posts
www.AskVG.com
Ultimate Member








Re: Check box in Tabular Form ??? 

Sorry buddy but I have no idea about it otherwise I'll be delighted to help you. May be some one else can help you?


Microsoft Windows MVP

Tweaking with Vishal

How to Use Smiley Code in Forum?
Promote MeraWindows at Your Blog / Site
Read Forum Guidelines
 
New Post 11/5/2007 11:46 PM
User is offline Ramesh
2283 posts
Forum Guru








Re: Check box in Tabular Form ??? 

 Vishal Gupta wrote

Sorry buddy but I have no idea about it otherwise I'll be delighted to help you. May be some one else can help you?

Thanx Vishal for reply ! I have posted this in MSDN Forum since 2 day before....But its so sad nobody....reply


Ramesh Kumar [Microsoft MVP]
 
New Post 11/6/2007 10:53 AM
User is offline Piyush Gupta
1834 posts
www.piyushworld.com
MW Addict


Re: Check box in Tabular Form ??? 
This is just a logic but i can try this

s1.value=0
if(s1.value=0)
s2.value=0


Read Forum Guidelines before posting

 
New Post 11/7/2007 12:30 AM
User is offline Ramesh
2283 posts
Forum Guru








Re: Check box in Tabular Form ??? 

 piyush wrote
This is just a logic but i can try this

s1.value=0
if(s1.value=0)
s2.value=0

It unchecks upper row only.....complete form can't be unchecked.


Ramesh Kumar [Microsoft MVP]
 
Previous Previous
 
Next Next
  Microsoft Windows Forums  Microsoft Offic...  Microsoft Acces...  Check box in Tabular Form ???
   Get Your Own E-Mail Account @MeraWindows.com Minimize  
New Page 1 New Page 1
Show your cool quotient with @merawindows.com email account