If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Field justification in update query
I need to combine records (vendor accounts) in a table. I
want to add the values associated with each record and post the cumulative total to the single combined record. For example: I have 3 records with different dollar totals associated with each record. I want to combine all 3 into a single record and the dollar total needs to be the cumulative total of all 3. What I have: Record Total 1000 500.00 1050 250.00 1100 300.00 What I want: 1000 1050.00 I can generate the proper totals, but when I write the cumulative total back to the the final single record, I need to right-justify the value. I am writing to a 12- charater field including the decimal poisition. I also need for the cumulative total to always use 2 decimal places. Thanks for any help as I am still learning. ted |
#2
|
|||
|
|||
Field justification in update query
Where are you trying to right-justify? On a form or report? Set the field's
Align property to Right. -- Doug Steele, Microsoft Access MVP http://I.Am/DougSteele (no e-mails, please!) "Ted" wrote in message ... I need to combine records (vendor accounts) in a table. I want to add the values associated with each record and post the cumulative total to the single combined record. For example: I have 3 records with different dollar totals associated with each record. I want to combine all 3 into a single record and the dollar total needs to be the cumulative total of all 3. What I have: Record Total 1000 500.00 1050 250.00 1100 300.00 What I want: 1000 1050.00 I can generate the proper totals, but when I write the cumulative total back to the the final single record, I need to right-justify the value. I am writing to a 12- charater field including the decimal poisition. I also need for the cumulative total to always use 2 decimal places. Thanks for any help as I am still learning. ted |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
EXISTS reserved word in FROM clause | Stephanie Doherty | Running & Setting Up Queries | 6 | July 21st, 2004 01:15 AM |
Update query by 1/2 entered number | Eb1mom | Running & Setting Up Queries | 2 | July 9th, 2004 02:07 AM |
Update Query Type Conversion Failure | Running & Setting Up Queries | 2 | July 7th, 2004 06:52 PM | |
Update another table with a Max record query | Ngan | Running & Setting Up Queries | 2 | June 22nd, 2004 05:01 PM |
Update Query Problem | Casa | General Discussion | 1 | June 14th, 2004 04:17 PM |