What would be the proper input for "CheckBox" if you want it to stay a check
box in a table and default to blank. I have tried (with all failures) ="0",
="", and =" ". Any ideas?
|
|
0
|
|
|
|
Reply
|
Utf
|
8/27/2007 3:46:04 PM |
|
On Aug 27, 10:46 am, franks <fra...@discussions.microsoft.com> wrote:
> What would be the proper input for "CheckBox" if you want it to stay a check
> box in a table and default to blank. I have tried (with all failures) ="0",
> ="", and =" ". Any ideas?
checkboxes in access are true and false. Set the format to false.
|
|
0
|
|
|
|
Reply
|
OldPro
|
8/27/2007 3:55:37 PM
|
|
OldPro:
I tried both of the following, and got Type Mismatch.
attended = False
attended = "False"
and even tried:
Set attended = False
Set attended = "False"
In my humble opinion, I just don't think this project wants to be. Oh, yea,
by the way, I have Dim attended As CheckBox.
Well, if there is any thought on the matter, by all means, do let me know.
fs
"OldPro" wrote:
> On Aug 27, 10:46 am, franks <fra...@discussions.microsoft.com> wrote:
> > What would be the proper input for "CheckBox" if you want it to stay a check
> > box in a table and default to blank. I have tried (with all failures) ="0",
> > ="", and =" ". Any ideas?
>
> checkboxes in access are true and false. Set the format to false.
>
>
|
|
0
|
|
|
|
Reply
|
Utf
|
8/27/2007 4:42:04 PM
|
|
On Aug 27, 11:42 am, franks <fra...@discussions.microsoft.com> wrote:
> OldPro:
> I tried both of the following, and got Type Mismatch.
>
> attended = False
> attended = "False"
>
> and even tried:
> Set attended = False
> Set attended = "False"
>
> In my humble opinion, I just don't think this project wants to be. Oh, yea,
> by the way, I have Dim attended As CheckBox.
>
> Well, if there is any thought on the matter, by all means, do let me know.
>
> fs
>
>
>
> "OldPro" wrote:
> > On Aug 27, 10:46 am, franks <fra...@discussions.microsoft.com> wrote:
> > > What would be the proper input for "CheckBox" if you want it to stay a check
> > > box in a table and default to blank. I have tried (with all failures) ="0",
> > > ="", and =" ". Any ideas?
>
> > checkboxes in access are true and false. Set the format to false.- Hide quoted text -
>
> - Show quoted text -
You've lost me. Why did you dim attended as checkbox? If there is a
checkbox, just go its properties and set default to false. Or, to set
it in code, chkAttended.value=false (it is always good practice to
preface the name of a checkbox with chk).
|
|
0
|
|
|
|
Reply
|
OldPro
|
8/27/2007 5:57:57 PM
|
|
On Aug 27, 1:54 pm, franks <fra...@discussions.microsoft.com> wrote:
> There is not a checkbox from the form. I was just thinking in terms of
> default, attended = false; thus, DIMmed the object to the CheckBox. How else
> would I get that column to be a visible check box without the parameter
> coming up and asking me for an input for the field? I have been working on
> this form for about two weeks and it has to be finished for the user to use
> by Monday. So, if I seem to be doing desperate things, you can see why.
> It's just getting through my mind or something! Thanks for trying to help.
>
Perhaps you are creating a datasheet or a continuous form, and you
want a checkbox to appear.
1) Open table in designview.
2) Select the Yes/No field.
3) Select 'Checkbox' in the 'Display Control' property, on the
'Lookup' tab of the 'Field Properties' pane.
|
|
0
|
|
|
|
Reply
|
OldPro
|
8/27/2007 7:47:14 PM
|
|
As concerning this part of the problem (See "Input from Form, Create fields
for Query bla bla bla. Can't even remember the whole of it!), Datasheet view
would be great after the table is created. My thinking was that I have to
have the "check box" created as the other variables are being added to the
list of names of the cohort; thus, the user could create attendance "sheets"
for several meetings that they had had through the week, and then post them
to a master table holding all of the attendances. I still cannot get the
syntax of getting "check box" to be part of the table via the OnClick Module.
It keeps trying to treat it as a parameter to be filled out.
I have put in the line "Dim ckbxAtttended As CheckBox." I then had
"ckbxAttended = False."
Another senerio:
No Dim statement. Put a hidden ckbxattended on Form that holds other
variable text boxes, Put a line then that said ckbxattended =
Me.ckbxAttended.Value, and the parameter box still comes up.
The string that creates the query with that senerio is:
strTblBldqry = "SELECT DISTINCT L8Names.stu_name, L8Names.stu_id,
typeofcontact, activitydate, " & _
"mintimecredit, ckbxattended INTO ActivityTrker " & _
"FROM L8Names;"
If this seems disjointed, it is probably because I have had to try to
compose it with several interruptions. So....If it makes sense, good. If
not, let me know and I will bolt the door, unplug the phone and try to
concentrate. Your extremely kind in your help and I am indebted.
fs
"OldPro" wrote:
> On Aug 27, 1:54 pm, franks <fra...@discussions.microsoft.com> wrote:
> > There is not a checkbox from the form. I was just thinking in terms of
> > default, attended = false; thus, DIMmed the object to the CheckBox. How else
> > would I get that column to be a visible check box without the parameter
> > coming up and asking me for an input for the field? I have been working on
> > this form for about two weeks and it has to be finished for the user to use
> > by Monday. So, if I seem to be doing desperate things, you can see why.
> > It's just getting through my mind or something! Thanks for trying to help.
> >
>
> Perhaps you are creating a datasheet or a continuous form, and you
> want a checkbox to appear.
> 1) Open table in designview.
> 2) Select the Yes/No field.
> 3) Select 'Checkbox' in the 'Display Control' property, on the
> 'Lookup' tab of the 'Field Properties' pane.
>
>
>
|
|
0
|
|
|
|
Reply
|
Utf
|
8/27/2007 9:28:00 PM
|
|
Put a checkbox on your form. Delete its label. Set its data source to the
appropriate Yes/No field in your table. Set its default value property to
FALSE. Make its visible property = NO.
With this, any time your create a new record with the form, the table will
automatically contain FALSE for that column.
HTH, UpRider
"franks" <franks@discussions.microsoft.com> wrote in message
news:ECE53338-BF81-4E09-994D-2A9FA305890F@microsoft.com...
> As concerning this part of the problem (See "Input from Form, Create
> fields
> for Query bla bla bla. Can't even remember the whole of it!), Datasheet
> view
> would be great after the table is created. My thinking was that I have to
> have the "check box" created as the other variables are being added to the
> list of names of the cohort; thus, the user could create attendance
> "sheets"
> for several meetings that they had had through the week, and then post
> them
> to a master table holding all of the attendances. I still cannot get the
> syntax of getting "check box" to be part of the table via the OnClick
> Module.
> It keeps trying to treat it as a parameter to be filled out.
>
> I have put in the line "Dim ckbxAtttended As CheckBox." I then had
> "ckbxAttended = False."
>
> Another senerio:
>
> No Dim statement. Put a hidden ckbxattended on Form that holds other
> variable text boxes, Put a line then that said ckbxattended =
> Me.ckbxAttended.Value, and the parameter box still comes up.
>
> The string that creates the query with that senerio is:
>
> strTblBldqry = "SELECT DISTINCT L8Names.stu_name, L8Names.stu_id,
> typeofcontact, activitydate, " & _
> "mintimecredit, ckbxattended INTO ActivityTrker " & _
> "FROM L8Names;"
>
>
> If this seems disjointed, it is probably because I have had to try to
> compose it with several interruptions. So....If it makes sense, good. If
> not, let me know and I will bolt the door, unplug the phone and try to
> concentrate. Your extremely kind in your help and I am indebted.
>
> fs
>
>
> "OldPro" wrote:
>
>> On Aug 27, 1:54 pm, franks <fra...@discussions.microsoft.com> wrote:
>> > There is not a checkbox from the form. I was just thinking in terms of
>> > default, attended = false; thus, DIMmed the object to the CheckBox.
>> > How else
>> > would I get that column to be a visible check box without the parameter
>> > coming up and asking me for an input for the field? I have been
>> > working on
>> > this form for about two weeks and it has to be finished for the user to
>> > use
>> > by Monday. So, if I seem to be doing desperate things, you can see
>> > why.
>> > It's just getting through my mind or something! Thanks for trying to
>> > help.
>> >
>>
>> Perhaps you are creating a datasheet or a continuous form, and you
>> want a checkbox to appear.
>> 1) Open table in designview.
>> 2) Select the Yes/No field.
>> 3) Select 'Checkbox' in the 'Display Control' property, on the
>> 'Lookup' tab of the 'Field Properties' pane.
>>
>>
>>
|
|
0
|
|
|
|
Reply
|
UpRider
|
8/28/2007 2:57:37 PM
|
|
Thanks! fs
"UpRider" wrote:
> Put a checkbox on your form. Delete its label. Set its data source to the
> appropriate Yes/No field in your table. Set its default value property to
> FALSE. Make its visible property = NO.
> With this, any time your create a new record with the form, the table will
> automatically contain FALSE for that column.
>
> HTH, UpRider
>
> "franks" <franks@discussions.microsoft.com> wrote in message
> news:ECE53338-BF81-4E09-994D-2A9FA305890F@microsoft.com...
> > As concerning this part of the problem (See "Input from Form, Create
> > fields
> > for Query bla bla bla. Can't even remember the whole of it!), Datasheet
> > view
> > would be great after the table is created. My thinking was that I have to
> > have the "check box" created as the other variables are being added to the
> > list of names of the cohort; thus, the user could create attendance
> > "sheets"
> > for several meetings that they had had through the week, and then post
> > them
> > to a master table holding all of the attendances. I still cannot get the
> > syntax of getting "check box" to be part of the table via the OnClick
> > Module.
> > It keeps trying to treat it as a parameter to be filled out.
> >
> > I have put in the line "Dim ckbxAtttended As CheckBox." I then had
> > "ckbxAttended = False."
> >
> > Another senerio:
> >
> > No Dim statement. Put a hidden ckbxattended on Form that holds other
> > variable text boxes, Put a line then that said ckbxattended =
> > Me.ckbxAttended.Value, and the parameter box still comes up.
> >
> > The string that creates the query with that senerio is:
> >
> > strTblBldqry = "SELECT DISTINCT L8Names.stu_name, L8Names.stu_id,
> > typeofcontact, activitydate, " & _
> > "mintimecredit, ckbxattended INTO ActivityTrker " & _
> > "FROM L8Names;"
> >
> >
> > If this seems disjointed, it is probably because I have had to try to
> > compose it with several interruptions. So....If it makes sense, good. If
> > not, let me know and I will bolt the door, unplug the phone and try to
> > concentrate. Your extremely kind in your help and I am indebted.
> >
> > fs
> >
> >
> > "OldPro" wrote:
> >
> >> On Aug 27, 1:54 pm, franks <fra...@discussions.microsoft.com> wrote:
> >> > There is not a checkbox from the form. I was just thinking in terms of
> >> > default, attended = false; thus, DIMmed the object to the CheckBox.
> >> > How else
> >> > would I get that column to be a visible check box without the parameter
> >> > coming up and asking me for an input for the field? I have been
> >> > working on
> >> > this form for about two weeks and it has to be finished for the user to
> >> > use
> >> > by Monday. So, if I seem to be doing desperate things, you can see
> >> > why.
> >> > It's just getting through my mind or something! Thanks for trying to
> >> > help.
> >> >
> >>
> >> Perhaps you are creating a datasheet or a continuous form, and you
> >> want a checkbox to appear.
> >> 1) Open table in designview.
> >> 2) Select the Yes/No field.
> >> 3) Select 'Checkbox' in the 'Display Control' property, on the
> >> 'Lookup' tab of the 'Field Properties' pane.
> >>
> >>
> >>
>
>
>
|
|
0
|
|
|
|
Reply
|
Utf
|
8/28/2007 4:20:03 PM
|
|
|
7 Replies
186 Views
(page loaded in 0.25 seconds)
Similiar Articles: input mask for proper case on form - microsoft.public.access.forms ...What's the input mask on the form to force proper case? If user type LASTNAME ... Using MS Access: Proper/Title/Sentence Case, input mask ..... to force the data into ... Using Checkboxes to add data to a table. - microsoft.public.access ...I have an input form with four text boxes. I need to use the same data ... Main Form checkbox toggles many subform checkboxes - microsoft ..... that is a yes/no data type ... data input format - microsoft.public.excel.miscHi I have a user entry form and need to ensure the correct data format is used ... EXCEL Basics: Data Types and Data Input - Colin Cameron, Economics ... Read in data from ... Table/Form Checkbox - microsoft.public.accessSet the Data Type to "Yes/No". These fields will appear in the data ... access Access: Checkbox enters a x in table if checked: access, checkbox ... I have a user input ... Checkbox will not check - microsoft.public.access.forms ...... and is the control source of a checkbox for ... and I double-checked that the data type ... Allen Browne, who is almost always right! Also, setting the Recordset Type ... Filter by Checkbox - microsoft.public.access.forms... am not sure if this is along the right track ... Just type a few characters, and only checkboxes ... SQL Dynamic filter based on Dynamic CheckBox: SQL, DataTable, Data ... Updating Yes/No table field based after form input completed ...Right after adding a new shipment record (or ... in the table to yes/no then make the checkbox data source ... form input completed ... lock field after data input ... Main Form checkbox toggles many subform checkboxes - microsoft ...The subform has a field that is a yes/no data type, represented by a checkbox in the field. ... Query menu.) >Enter a sample value in the Update row under the right ... Input Mask - Date and Time - microsoft.public.accessThanks for clarifying what an Input mask is. Your assumption is correct. ... ReplicationID), Currency, and Date/Time data types. Note If you use an input mask ... Checkbox values - microsoft.public.excel.programmingThis is not correct. Both values will get ... Checkbox value or data updating to & from table record Updating ... EchoEcho.Com - Web Hosting ... <input type="checkbox" name ... MySQL :: Re: correct datatype for checkbox?One <input name="numbers[]" type="checkbox" value="1" /> ... would reveal two different types of data ... Re: correct datatype for checkbox? Jay Alverson: 07/29/2009 07 ... HTML Form Input Type Checkbox - Advanced HTML For BeginnersInput Type Checkbox; Input Type Radio; Input Type Hidden; Input Types Submit and Reset; Textarea Tag; HTML Select Menus; HTML Frames. HTML Frames; Frameset Tag HTML Forms and InputHTML forms are used to pass data to a server. A form can contain input elements like text fields ... <input type="checkbox" name="vehicle" value="Car" /> I have a car </form> HTML input tag... controls that allow users to input data. An input ... that the server accepts (only for type="file") STF: align: left right ... when the page loads (for type="checkbox" or type ... MySQL :: correct datatype for checkbox?Hi all - I'm using PHP to post data from an online form into a database ... correct datatype for checkbox? Steve Kohr: 07/29/2009 04:18PM: Re: correct datatype for checkbox? 7/28/2012 4:49:05 PM
|