G
Guest
The following code gives varying results. If the PurchaseOrderNumber (which
is a Double) is 1234 or 1234.01 the form opens and the data is displayed. If
the PurchaseOrderNumber is 1234.02 or greater, the value of the
PurchaseOrderNumber in the PurchaseOrderDetail form is 0. There are no
warnings or errors.
Ideas?
stDocName = "PurchaseOrderDetail"
stLinkCriteria = "[PurchaseOrderNumber] = " & Me![PurchaseOrderNumber]
DoCmd.OpenForm stDocName, , , stLinkCriteria
is a Double) is 1234 or 1234.01 the form opens and the data is displayed. If
the PurchaseOrderNumber is 1234.02 or greater, the value of the
PurchaseOrderNumber in the PurchaseOrderDetail form is 0. There are no
warnings or errors.
Ideas?
stDocName = "PurchaseOrderDetail"
stLinkCriteria = "[PurchaseOrderNumber] = " & Me![PurchaseOrderNumber]
DoCmd.OpenForm stDocName, , , stLinkCriteria