A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Field justification in update query



 
 
Thread Tools Display Modes
  #1  
Old August 6th, 2004, 04:06 PM
Ted
external usenet poster
 
Posts: n/a
Default 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  
Old August 6th, 2004, 11:07 PM
Douglas J. Steele
external usenet poster
 
Posts: n/a
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 06:46 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.