Numbers In Averages

johann201

Registered User.
Local time
Today, 15:03
Joined
Dec 14, 2006
Messages
39
Hi guys...
I have a problem...

In a query i calculate averages.How can averages looked like
Number,NumberNumber for example: like 2,35 and not like 2,346789?

Thanx in advance...
Johann
 
?

Hi bob, tnx for quick reply...

I put that here (Attach file) and don't work

Where i have to put it?....

Tnx in advance man.
Johann
 

Attachments

  • 1.jpg
    1.jpg
    12.8 KB · Views: 138
Up at the top where you have Avg:

So it would be

Avg:Format(YourCalculationStuffHere,"0,00")
 
forgive me bob about my weakness. I can't do this...I'm noobie

I have this calculation:
Avg: (EVs!Μικ_Αλ_Επ_Τοπ_Περ+EVs!Επιλ_Πρ_Υλών+EVs!Ενερ_Παραγωγής+EVs!Μεταφορές_Υλ+EVs!Ενερ_Κατασκευής+EVs!Επαν_Προ_Κελύφους+EVs!Χρ_Ανακ_Υλ+
EVs!Χρ_Συμβ_Υλ+EVs!Χρ_Υπερ_Υλ+EVs!Δηλ_Εκπ_Απορ_Υλ+EVs!Κοστ_Συντ+EVs!Δηλ_Εκπ_Απορ+EVs!Δυν_Επανα_Υλικ_Περ+EVs!Δυν_Επαναχρ_Υλικ+EVs!Δυν_Ανακ_Υλικ+EVs!Πλ_Παυ_Δηλ_Εκπ_Απορ)/16

When i do that ia have wrong message...
 
Avg:Format((EVs!Μικ_Αλ_Επ_Τοπ_Περ+EVs!Επιλ_Πρ_Υλών+EVs!Ενερ_Π αραγωγής+EVs!Μεταφορές_Υλ+EVs!Ενερ_Κατασκευής+EVs! Επαν_Προ_Κελύφους+EVs!Χρ_Ανακ_Υλ+
EVs!Χρ_Συμβ_Υλ+EVs!Χρ_Υπερ_Υλ+EVs!Δηλ_Εκπ_Απορ_Υλ+ EVs!Κοστ_Συντ+EVs!Δηλ_Εκπ_Απορ+EVs!Δυν_Επανα_Υλικ_ Περ+EVs!Δυν_Επαναχρ_Υλικ+EVs!Δυν_Ανακ_Υλικ+EVs!Πλ_ Παυ_Δηλ_Εκπ_Απορ)/16,"0,00")
 
sorry bob but i have the same broblem...

Sorry again...

Johann
 
Well, I'd suggest posting your database so I could take a look but I'm not sure how much help that would be since I don't read/speak Greek.
 
Before you do, what size does it come out to be when you've run Tools > Database Tools > Compact and Repair?
 
Then, if you use WinZip to zip it then it WILL fit under the 393Kb limit. If you go off of the compacted (which isn't zipped) size then it LOOKS like it won't but if you run WinZip (or another zip utility and zip it up into a zip file) it will fit.
 
ok man... it will be ok to put it here but i don't want to see it another people
 
Okay, I don't know if this will work, because I couldn't make it work on mine because of the language version issue. But, if you add the format to the formula, just like I showed you before, and then you ALSO put square brackets around the fields like:

Format([Field1]+[Field2]+[Field3],"0,00")

That might be why it's not working. But, since I don't have a copy of Access in your language, mine doesn't like the characters that are currently in yours. So, hopefully this will help. Sorry I can't be more definitive.
 
OK man thank you very much.
You spend a lot of time to do it works...

I'll send a reply for my progress...

i'm obligated...:):):)

Johann
 
It doesn't work...
You do everything...
Many Many thanx

Johann
 
Bobbbb i founded

Format([Field1]+[Field2]+[Field3];"0,00")

i replace the , with ; :)
thanx again man .I'm obliged to u...
Johnn
 

Users who are viewing this thread

Back
Top Bottom