Hey everyone, sorry for the repeated questions here. I'm working on a fairly big project without any real experience in visual basic (or access) so it's been tough, but I've managed to make some good progress. I just have two more questions that I couldn't seem to find answers to anywhere else.
The first is how to change the default value for a field depending on a user's selection in a form. Right now I have a form where the user selects a shift number and supervisor before proceeding to the datasheet form. I'd like for this info to be automatically entered into each record submitted, in the fields 'Shift' and 'Supervisor'. However, these fields will not be displayed in the form, as I want to use them solely for sorting and printing reports. I figured the best way to do this would be to have the field's default values change once the form is submitted, but I'm not sure on how to do this. Any thoughts would be welocme.
My second question, which hopefully is a bit more simple, is how to construct a query based on checkbox selections from the user. I have a form setup where the user chooses a begin and end date, and then selects one or more ehifts from a series of checkboxes. I'm having no problem with the dates, but am unsure of how to proceed with the checkboxes since I figure the query would change based on which ones are selected.
Sorry for the long post here - any help on either of these issues would be great...
The first is how to change the default value for a field depending on a user's selection in a form. Right now I have a form where the user selects a shift number and supervisor before proceeding to the datasheet form. I'd like for this info to be automatically entered into each record submitted, in the fields 'Shift' and 'Supervisor'. However, these fields will not be displayed in the form, as I want to use them solely for sorting and printing reports. I figured the best way to do this would be to have the field's default values change once the form is submitted, but I'm not sure on how to do this. Any thoughts would be welocme.
My second question, which hopefully is a bit more simple, is how to construct a query based on checkbox selections from the user. I have a form setup where the user chooses a begin and end date, and then selects one or more ehifts from a series of checkboxes. I'm having no problem with the dates, but am unsure of how to proceed with the checkboxes since I figure the query would change based on which ones are selected.
Sorry for the long post here - any help on either of these issues would be great...