continuous-forms

Non Recordsource - Does not update with the row

可紊 提交于 2019-12-12 01:41:00
问题 I have a form that i am using to input information into a table. Table Definition: Field0 - AutoNumber Field1 - Text Field2 - Number (Loose Referential Integrity) Field3 - Number (Loose Referential Integrity) Control - Record Source: TextBox - Field1 ComboBox1 - `Unbound` ComboBox2 - Field2 ComboBox3 - Field3 In regards to the Form: New Record - ComboBox1 defines the selections available in ComboBox2 Edit/View Record - ComboBox1.Value is deduced by the ComboBox2.Value Originally, this Form

Enabling and disabling controls on a Continuous Subform in Access 2007/2010

放肆的年华 提交于 2019-11-27 15:38:57
I need to enable or disable a control on a continuous subform, dependent on another field. The initial code I wrote by instinct was very similar to what is suggested here , but instead of only disabling those controls which are marked as "child", it disables all of them - in effect, it seems only to be looking for the value of the last record and affecting all the rows. Is there a way this can be achieved, or am I barking up the wrong tree? Code below: If Me.Record_Type = "Child" Then 'Disable subsidiary records Me.Record_Type.SetFocus Me.Prospect_Name.Enabled = False End If The only way of

Enabling and disabling controls on a Continuous Subform in Access 2007/2010

╄→гoц情女王★ 提交于 2019-11-26 17:15:16
问题 I need to enable or disable a control on a continuous subform, dependent on another field. The initial code I wrote by instinct was very similar to what is suggested here, but instead of only disabling those controls which are marked as "child", it disables all of them - in effect, it seems only to be looking for the value of the last record and affecting all the rows. Is there a way this can be achieved, or am I barking up the wrong tree? Code below: If Me.Record_Type = "Child" Then 'Disable