G
Guest
Hi,
I've a table with six fields,
AutoNum(PK), AccountNum, PostDate, Debit, Credit, ReconStatus.
The debits are reconciliatory i.e. every originating debit has a
corresponding credit at a later date.
The datasheet view is something like this:
AutoNo AccountNo PostDate Debit Credit ReconStatus
-------- ------------ ---------- ------ ------- --------------
1 111 09/07/06 600 Reconciled
2 111 10/07/06 600 Reconciled
3 111 10/07/06 750 Unreconciled
Now, the problem is I have more than 100000 records that have to be uploaded
into my db, and I want to programmatically decide which debit entries are
reconciled i.e. have a corresponding credit(update ReconStatus).
The criteria for this are really simple:If two records have the same
AccountNum and Debit and Credit amounts are equal, they are deemed to be
reconciled. Any ideas ?
Thanks for any help.
I've a table with six fields,
AutoNum(PK), AccountNum, PostDate, Debit, Credit, ReconStatus.
The debits are reconciliatory i.e. every originating debit has a
corresponding credit at a later date.
The datasheet view is something like this:
AutoNo AccountNo PostDate Debit Credit ReconStatus
-------- ------------ ---------- ------ ------- --------------
1 111 09/07/06 600 Reconciled
2 111 10/07/06 600 Reconciled
3 111 10/07/06 750 Unreconciled
Now, the problem is I have more than 100000 records that have to be uploaded
into my db, and I want to programmatically decide which debit entries are
reconciled i.e. have a corresponding credit(update ReconStatus).
The criteria for this are really simple:If two records have the same
AccountNum and Debit and Credit amounts are equal, they are deemed to be
reconciled. Any ideas ?
Thanks for any help.