M
Mishanya
I have form with 2 subforms.
1st subform shows assets' names (securities etc) and its overall
possessions(calculated sums of all transactions money-wise and units-wise)
and is based on query using tblTransactions
2nd subform is TransactionForm - with controls for AssetName,
TransactionKind (Buy-Sell), Price and Quantity and is based on
tblTransactions.
I need to set the Quantity control validation rule, so it won't allow
selling asset that is not in the 1st subform, or selling greater quantity
then the asset overall possession as calculated in the 1st subform.
What shoud I put (in the Validation Rule property? maybe some kind of
=<DLookup?)?
1st subform shows assets' names (securities etc) and its overall
possessions(calculated sums of all transactions money-wise and units-wise)
and is based on query using tblTransactions
2nd subform is TransactionForm - with controls for AssetName,
TransactionKind (Buy-Sell), Price and Quantity and is based on
tblTransactions.
I need to set the Quantity control validation rule, so it won't allow
selling asset that is not in the 1st subform, or selling greater quantity
then the asset overall possession as calculated in the 1st subform.
What shoud I put (in the Validation Rule property? maybe some kind of
=<DLookup?)?