Main form:
PDATE REF NO ORGID FM AMT
date num num txt curr
sub form/split form: Entry form and the data is below
PDATE REF NO ORGID AMT %_ALLOCATED AMT_ALLOCATED
date num num curr % curr
The tables are linked by REF NO.
When the percentages are broken down below and the percentages do not reach
100%. I would like for a message to signal the inputer that you have not put
in 100% and a control to stop the process. I have tried changing the DEFAULT
value to 100. This did not work because if each entry didnot equal to 100%
they got a message and could not go on. The total lines of entry per
breakdown will not be over 6 entries. I tried to use a count function that
if 6 entries = 100,100,0. This did not work. I am lost.
EXAMPLE:
(MAIN TABLE/FORM: SOURCE (ODBC) THIS INFO COMES FROM ORACLE) (FM =Fiscal Mth)
PDATE REF NO ORGID FM AMT
5/27/09 666 I318 06 $200
(SUBFORM/SPLIT) (In this particular demo, the cost needs to be spreaded to
another ORG, a different one)
PDATE REF NO ORGID AMT %_ALLOCATED AMT_ALLOCATED
5/31/09 666 I318 200 50 $100
5/31/09 666 I320 200 49 $ 98
(I know what you are thinking, the REF NO is used by many other records, not
just this situation)
THE PERCENTAGES DO NOT EQUAL TO 100%. AT THIS POINT I AM TRYING TO FLAG
THIS TO KEEP THE PROCESS FROM GOING ON. SINCE THE LADIES ARE BREAKING DOWN SO
MANY, THE ONLY THING THAT I COULD FIGURE OUT IS THAT PER 100% IF THEY DO NOT
EQUAL - A FLAG WILL STOP THIS PROCESS, UNTIL IT EQUALS TO 100%. I am lost,
if you have a better way of doing this, please help.
Step 2
After this process has taken place, then the record in the main form, must
be placed in a temp table to stop this double entry. Since I cannot add
nothing to this table (ODBC) to mark this record, how on earth can this
record be placed in a temp file. I guess that it will take coding. I am not a
programmer. I am just learng VBA. I have tried everything that I know.
HELP!!!!!!!!!!!