Kalyan Ganesan
Programmer
I have this code in the Afterupdate and Afterchange events of a Combobox
If Me![pageMain].LinkChildFields <> "GOLD_NUMBER" Then
Dim strMasFld, strChlFld As String
strMasFld = "cmbGoldNumb"
strChlFld = "GOLD_NUMBER"
Me![pageMain].LinkMasterFields = strMasFld
Me![pageMain].LinkChildFields = strChlFld
End If
I tried doing this without using variables and i got the Runtime error 3071
This expression is typed incorrectly, or it is too complex to be evaluated. For example, a numeric expression may contain too many complicated elements. Try simplifying the expression by assigning parts of the expression to variables
So i am using variables and i am still getting it,please help
If Me![pageMain].LinkChildFields <> "GOLD_NUMBER" Then
Dim strMasFld, strChlFld As String
strMasFld = "cmbGoldNumb"
strChlFld = "GOLD_NUMBER"
Me![pageMain].LinkMasterFields = strMasFld
Me![pageMain].LinkChildFields = strChlFld
End If
I tried doing this without using variables and i got the Runtime error 3071
This expression is typed incorrectly, or it is too complex to be evaluated. For example, a numeric expression may contain too many complicated elements. Try simplifying the expression by assigning parts of the expression to variables
So i am using variables and i am still getting it,please help