P
PeteCresswell
Trading system.
Parent accounts and child accounts.
Trader buys five mil into a parent account.
Now they have to allocate that amount across a number of sub-
accounts.
Might be two, might be twenty, might be two hundred subaccounts.
We know all the possible sub accounts in advance - but the number
is large: 1,000+
We don't want to confront the user with list of 1,000+ account
numbers.
Here's what I'm thinking:
-----------------------------------------------------------------------------------------------
01) Link the subform to a work table.
02) Populate the work table with a bazillion (more or less....)
empty records.
03) On the subform, we have two fields:
- A combo box that is linked to the work table's "AccountNumber"
and whose .RowSource includes all possible child accounts.
- A locked text box that reveals the name of whatever account is
chosen in the combo box
- An editable text box for the allocation amount
04) To do an allocation, user places cursor in combo box
and starts typing an account number.
05) Auto-complete jumps down the list as he types.
06) .LimitToList makes sure account number is legit.
07) User tabs out of the combo box and into Allocation
08) OnExit retrieves account name
09) User types allocation
10) User tabs out of allocation, and they're in the next
empty combo box....and so-on...
---------------------------------------------------------------------------------------------
Anybody got something better?
The idea being to not overwhelm the user with a huge list,
yet allow them to specify any one of many possibilities.
Parent accounts and child accounts.
Trader buys five mil into a parent account.
Now they have to allocate that amount across a number of sub-
accounts.
Might be two, might be twenty, might be two hundred subaccounts.
We know all the possible sub accounts in advance - but the number
is large: 1,000+
We don't want to confront the user with list of 1,000+ account
numbers.
Here's what I'm thinking:
-----------------------------------------------------------------------------------------------
01) Link the subform to a work table.
02) Populate the work table with a bazillion (more or less....)
empty records.
03) On the subform, we have two fields:
- A combo box that is linked to the work table's "AccountNumber"
and whose .RowSource includes all possible child accounts.
- A locked text box that reveals the name of whatever account is
chosen in the combo box
- An editable text box for the allocation amount
04) To do an allocation, user places cursor in combo box
and starts typing an account number.
05) Auto-complete jumps down the list as he types.
06) .LimitToList makes sure account number is legit.
07) User tabs out of the combo box and into Allocation
08) OnExit retrieves account name
09) User types allocation
10) User tabs out of allocation, and they're in the next
empty combo box....and so-on...
---------------------------------------------------------------------------------------------
Anybody got something better?
The idea being to not overwhelm the user with a huge list,
yet allow them to specify any one of many possibilities.