Gladys,
Are you STILL dazed and confused? I know I AM. To even begin to sort it out / help, I would need a bit more detail? Lets break down your request and try to sort out some details.
Whew!! I finally got one of the payment histories to work, and it calculates the balance for each transaction. BUT, which history is this approximatly HOW is it being calculated?
The second part of my task is to integrate it with another payment history that gets its information from a different database. (My company converted from one loan servicing application to another, the historical data is in the old, the current in the new, which is why I am doing this.) Is the goal to simply do a one time conversion for the "Historical Data" to a format acceptable to the 'loan servicing application'? Or are you going to maintain both untill all of hte 'historical' loans are retired?
This second database carries a daily balance. I did a union query to put everything together, and it runs (without calculating balances). Why doesn't it calculate the balances? Is this one of the problems to solve? Did you deliberatly omit the balance information? If so, why? In the UNION query, are all of the fields from both recordsets the same type and are they all carried forward into the UNION query properly? Have you checked that the recordcount for the UNION query is equal to the sum of the record counts for the sources?
I then built a report based on it. The problem is, the records that need a calculated balance need the balance field set as a running sum, but the records from the second part of the query do not. Any suggestions?
Are the records which need this calculation redily identified within the query? Is there a "Source" field denoting WHERE the record originated? Can You ADD this field?
If So, add a (Hidden field in hte report which is the "running sum" for all records. For the records where you NEED this calc, set the report field = runningsum, but for the others, set it to the query field (use =IIF(DbFlag, SourceA, SourceB).
MichaelRed
redmsp@erols.com
There is never time to do it right but there is always time to do it over