A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Setvalue to -1 in option field in subform



 
 
Thread Tools Display Modes
  #1  
Old December 4th, 2006, 12:25 PM posted to microsoft.public.access.forms
syedalna via AccessMonster.com
external usenet poster
 
Posts: 9
Default Setvalue to -1 in option field in subform

I have a Mainform & subform (data from query100). when query data on query100,
it show in the subform... and i have to click on the [option] field to mark
it down.

what i am looking for is a way...when daya is query and show in subform.. its
automatically set the mark [option] field to -1.

is there away to do this?.. your help is needed.

--
Message posted via http://www.accessmonster.com

  #2  
Old December 4th, 2006, 01:03 PM posted to microsoft.public.access.forms
Jeff Boyce
external usenet poster
 
Posts: 1,555
Default Setvalue to -1 in option field in subform

I may be thinking of something else, but I thought option groups in Access
started with a value of 1, by default. Are you working with a checkbox
(true/false, yes/no, 0/-1)?

--
Regards

Jeff Boyce
Microsoft Office/Access MVP
http://mvp.support.microsoft.com/

Microsoft IT Academy Program Mentor
http://microsoftitacademy.com/

Microsoft Registered Partner
https://partner.microsoft.com/


"syedalna via AccessMonster.com" u29806@uwe wrote in message
news:6a4197433d699@uwe...
I have a Mainform & subform (data from query100). when query data on

query100,
it show in the subform... and i have to click on the [option] field to

mark
it down.

what i am looking for is a way...when daya is query and show in subform..

its
automatically set the mark [option] field to -1.

is there away to do this?.. your help is needed.

--
Message posted via http://www.accessmonster.com


  #3  
Old December 5th, 2006, 01:26 AM posted to microsoft.public.access.forms
syedalna via AccessMonster.com
external usenet poster
 
Posts: 9
Default Setvalue to -1 in option field in subform

i am working with CHECKBOX (yes/no, 0/-1)...

Jeff Boyce wrote:
I may be thinking of something else, but I thought option groups in Access
started with a value of 1, by default. Are you working with a checkbox
(true/false, yes/no, 0/-1)?

I have a Mainform & subform (data from query100). when query data on query100,
it show in the subform... and i have to click on the [option] field to mark

[quoted text clipped - 4 lines]

is there away to do this?.. your help is needed.


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/200612/1

  #4  
Old December 5th, 2006, 12:39 PM posted to microsoft.public.access.forms
Jeff Boyce
external usenet poster
 
Posts: 1,555
Default Setvalue to -1 in option field in subform

Is the checkbox bound to an underlying field? Is the checkbox in the main
form or the sub-form?

I don't understand "mark it down". How do you know when the checkbox should
be checked? How will Access know when the checkbox should be checked?

If you are saying that the checkbox should be automatically checked, then
why bother even showing it? You could add code to an event that sets the
underlying field to True.

--
More info, please ...

Jeff Boyce
Microsoft Office/Access MVP
http://mvp.support.microsoft.com/

Microsoft IT Academy Program Mentor
http://microsoftitacademy.com/

Microsoft Registered Partner
https://partner.microsoft.com/


"syedalna via AccessMonster.com" u29806@uwe wrote in message
news:6a486a5aa57cb@uwe...
i am working with CHECKBOX (yes/no, 0/-1)...

Jeff Boyce wrote:
I may be thinking of something else, but I thought option groups in

Access
started with a value of 1, by default. Are you working with a checkbox
(true/false, yes/no, 0/-1)?

I have a Mainform & subform (data from query100). when query data on

query100,
it show in the subform... and i have to click on the [option] field to

mark
[quoted text clipped - 4 lines]

is there away to do this?.. your help is needed.


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/200612/1


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:07 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.