|
|
form/subform question
I have a form with two textboxes in it. I also added a subform to it. On the
beforeupdate event of each form, i set it up to prompt the user about saving
the data. My question is: Is there a way to set it up so that it only prompts
you once and perform the actions(save or discard data) on both the main form
and subform?
My other question is:
Can you link textboxes to values in listboxes just as you can do
with subforms and textboxes?
|
|
0
|
|
|
|
Reply
|
Utf
|
1/17/2008 8:53:03 PM |
|
tope12 wrote:
>I have a form with two textboxes in it. I also added a subform to it. On the
>beforeupdate event of each form, i set it up to prompt the user about saving
>the data. My question is: Is there a way to set it up so that it only prompts
>you once and perform the actions(save or discard data) on both the main form
>and subform?
If the forms are bound, then the main form's data is saved
automatically as soon as the focus moves into a subform and
vice versa. This means that there is no reason to prompt
users to save anything.
OTOH, if you are using unbound formsm then you can do most
anything, but it's a ridiculous amount of work fo so little
benefit.
>My other question is:
>
> Can you link textboxes to values in listboxes just as you can do
>with subforms and textboxes?
A text box expression can reference the value of a single
select list box. Multi select list boxes do not have a
value so there is nothing to retrieve.
--
Marsh
MVP [MS Access]
|
|
0
|
|
|
|
Reply
|
Marshall
|
1/17/2008 10:55:57 PM
|
|
|
1 Replies
202 Views
(page loaded in 0.051 seconds)
Similiar Articles: Subform as datasheet question - microsoft.public.access ...Hello, Access 2007 mdb file Using DAO in VBA module of a form to query data from SQL Server and make a local table. I would like to display the data on a subform ... subform - new record entry - microsoft.public.access.forms ...i have a form called clients and a subform called history. the subform ... to add a new >> > record >> > to the subform i click on the >* and type away as usual. my question ... Criteria for opening a form based on a value in another form's ...Hello everyone, Please pardon the noob question, but I've got a form with a subform and I would like to be able to open another form with only the r... Autosize subform - microsoft.public.access.formsHello all I know this question has been asked million times, but I just can not figure out the right correct way to do it. This is my scenario: Form ... If No Records in Subform, Parent Form Record doesn't display ...In a main-form/subform arrangement, this is neither necessary nor desirable, since ... Additionally, the record in question shows up in the underlying query (record ... Subform Linking To Multiple Master Fields Optional - microsoft ...Hi, I posted a question yesterday which Karl helped me, but I want to take it further by linking the master fields to the subform where ... stop subform refresh! - microsoft.public.access.forms... to the table as well, but except for the first order that is "deleted," all the orders appear on the order form. so then my question becomes, how do i get the subform to ... RQuestion on Form Record Selector Bar - microsoft.public.access ...How do I turn off the record selector on a subform? - microsoft ... page up/down in subform question - microsoft.public.access.forms ..... Record Selector Bar - microsoft ... access 2007 form sql subform - microsoft.public.accessWhen i use a database with linked table on sql 2005, each time i open a form with subform ... Subform as datasheet question - microsoft.public.access ... Hello, Access 2007 ... go to record of a form from a subform - microsoft.public.access ...I don't understand this question. The normal way you set up a form with a subform is to match a one-to-many relationship. The table on the ONE side of the ... Form / Subform questionHi - I have a unbound form / subform - works fine - but do not like the appearance of it. I prefer 'Northwind - Categories' form. I have been trying to copy this, but Using MS Access: Form Subform Question - Right Join Query, strsql ...strsql, combo boxes, response fields: Let me see if I follow this. The question relate to a claim, correct? So the InsClaim file in tblResponses links it back to a claim. Subform Question #Error DataBaseGary - The =Sum() will only work in the header/footer of the form (in this case subform) you are summing records for. Look at the DCOUNT function to use on the main ... Question on Subform in Adobe Form | SCNHi everyone, I would like to know what is a subform and when it is used. I am exploring a standard form wherein many ... Form-Subform-2ndSubForm question... - Wrox Programmer ForumsI have a subform with a combo. The uses selects a choice. On the 2nd subform, embedded in the first subform, I have another combo box. I want the Row 7/17/2012 2:28:15 AM
|
|
|
|
|
|
|
|
|