LinkedCombo in subform

  • Thread starter Thread starter owilson
  • Start date Start date
O

owilson

Hi,

I have subform, with a linked combobox, inside a subform
inside a subform.

I keep getting a syntax error message with the following:
(((tblCostCode2.Div)=Forms!BillingOption2.form!DivTots
subform1.form!CCTotsStep3 subform.form!Table4a subform4!
cboDiv));

I cannot find the error. If anyone else can please help.

Also, what do I need to add to the following when I'm
dealing with a subform:

Private Sub cboDiv_AfterUpdate()
Me![cboCostCode] = Null
Me![cboCostCode].Requery
End Sub

TIA

Owen
 
Hi,


It seems a punctuation is missing between CCTotsStep3 and
subform.form!Table4a and again between this last one and subform4!cboDiv.
If a name has a space in it, the name should be enclose within a pair of
square bracket.


Hoping it may help,
Vanderghast, Access MVP
 
Back
Top