K
Karen
Hi Harry,
I'm no expert but I think something like this may work:
Dim strTable1MerchandiseType as String
strTable1MerchandiseType = txtMerchandiseType.value
If IsNull(dlookup("Table2","MerchandiseType","MerchandiseType = " &
strTable1MerchandiseType)) then
...........SQL to insert new MerchandiseType in Table 2
End If
Karen
I'm no expert but I think something like this may work:
Dim strTable1MerchandiseType as String
strTable1MerchandiseType = txtMerchandiseType.value
If IsNull(dlookup("Table2","MerchandiseType","MerchandiseType = " &
strTable1MerchandiseType)) then
...........SQL to insert new MerchandiseType in Table 2
End If
Karen