RE: Multiple addition query Issue
- From: RKM solutions <RKMsolutions@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 13 Mar 2009 23:43:01 -0700
Hi Jim,
Thanks for your response. Yes thats right ...its relates to an accounting
procedure. On accassions there is a requirement to find historical items
which have no linked field.
I am writing a system for an accountant, who has to deal with many different
data structures presented to him. The only certainty is that there will
always be two tables, one the child of the other, "Payments and Invoices"
.... but not linked by any reference!! (This is data supplied by some of his
clients)
His job is to troll through the invoice tbl adding up the iitems that relate
to a single payment entry in the master tbl (payments)
I realise that the data should never have been input in the first place
in this fashion ...that is with no linked fields, but hey thats a problem
that hes left me to solve!!
Any suggestions that you have are greatly received
..
Cheers
"Jim Burke in Novi" wrote:
Why exactly do you need this functionality? It seems like a bit of an odd.
request to me. Are there times where you're supposed to have a bill total
that relates to individual items or something along those lines? i.e. do you
have, for example, a DB that has bills in it, with each bill having a groups
of related 'items', and you need to find a bill that equals that total,
something like that?
"RKM solutions" wrote:
Hi Guys,
Hope that someone out there has a plausible solution and quick.
I have been attempting to query a table via both sql and vb in order to
process every possible addition permutation
To explain:
table data
Gross Amount Required Search :4911.51
23.73
14.87
345.87
4550.77
678.90
etc
The user needs to input a value of the statement and the system queries the
invoice tbl until it finds a sum of multiple value(s) which matches their
query.
It seemed simple when i started today but whichever way I tackle it when the
table size increases the query time gets silly!!
Any help would be much appreciated... Ive tried For/ next statemnts /Looping
code, multiple copies of the table to one query etc , What I need simply put
is a query that produces all mathematical permutations of the table
efficiently
Thanks to anyone you is able to take the challenge on
thanks in advance
R.K.M
- Follow-Ups:
- RE: Multiple addition query Issue
- From: Jim Burke in Novi
- RE: Multiple addition query Issue
- References:
- Multiple addition query Issue
- From: RKM solutions
- RE: Multiple addition query Issue
- From: Jim Burke in Novi
- Multiple addition query Issue
- Prev by Date: Re: Exiting Access Problem
- Next by Date: VBScript RegExp only working with access2007 ?
- Previous by thread: RE: Multiple addition query Issue
- Next by thread: RE: Multiple addition query Issue
- Index(es):
Relevant Pages
|