B
brownti via AccessMonster.com
I am getting a run-time error 3075 from the following code:
Dim lkupDoorID As Variant
lkupDoorID = DLookup("[DoorID]", "tblDoorBuilds", _
"[DoorWidth] = '" & Forms![frmDoors]![DoorWidth] _
& "' And [DoorHeight] = " & Forms![frmDoors]![DoorHeight])
Forms![frmDoors]![DoorID] = lkupDoorID
Where DoorWidth = 1'6 and DoorHeight = 6'8 and are both text fields. Anybody
have suggestions?
Dim lkupDoorID As Variant
lkupDoorID = DLookup("[DoorID]", "tblDoorBuilds", _
"[DoorWidth] = '" & Forms![frmDoors]![DoorWidth] _
& "' And [DoorHeight] = " & Forms![frmDoors]![DoorHeight])
Forms![frmDoors]![DoorID] = lkupDoorID
Where DoorWidth = 1'6 and DoorHeight = 6'8 and are both text fields. Anybody
have suggestions?