NewTexican
Technical User
I'm using the info from a field on one subform in other subforms. When I scroll to a record on the mainform that doesn't have a record on the subform. I get a "you have entered an expression that has no value" error. NZ and Trim$ don't get rid of this error. Any suggestions?
I'll get the error either in the highlighted code.
Dim compnum As Variant
Dim addtype As Variant
Dim compname As Variant
compnum = Me.Text18
[highlight]addtype = Me.Text20[/highlight]
dim ssthing as string
[highlight]ssthing = Me![Company Address T subform].Form![company address type][/highlight]
I'll get the error either in the highlighted code.
Dim compnum As Variant
Dim addtype As Variant
Dim compname As Variant
compnum = Me.Text18
[highlight]addtype = Me.Text20[/highlight]
dim ssthing as string
[highlight]ssthing = Me![Company Address T subform].Form![company address type][/highlight]