473,378 Members | 1,119 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

currency

27
Hi Guys,
Could you please advise if there is a possibility of changing the currency in datasheet subform. For example I need to raise a Purchase Order in Euros instead of GBP (GBP is set up as currency) when I try to change only one PO it changes all of them to EUR....help:P
Jun 30 '08 #1
4 1194
missinglinq
3,532 Expert 2GB
If you're asking if you can change the currency formatting for a field in some records, but not in all records, the answer is No. The only way to conditionally format a field in a datasheet view is to use Format - Conditional Formatting option from the menu, and this doesn't allow for formatting such things as currency formatting.

The only work around I can think of, assuming that there's a condition of a field that differentiates the Euro records from the GBP records, would be to use this condition in the above mentioned Format - Conditional Formatting option to set the the background color depending on whether it's Euro or GBP, dropping the currency formatting completely and simply listing the amount.

Linq ;0)>
Jun 30 '08 #2
Stewart Ross
2,545 Expert Mod 2GB
Hi. Further to Linq's reply, there is another issue which you may not have considered; if you are dealing with Purchase Orders you need to consider the current exchange rate, which is of course different for the currencies mentioned.

Whilst this has nothing whatsoever to do with formatting, it has a very real impact on accounting for budgeted vs actual spend, where currency conversion will be essential.

For example, the Euro is currently trading at 0.791 GBP, the US dollar at 1.9625 and so on.

If you are recording only Euros and GBP you will also need to consider whether you need to take into account local rates of VAT which may be charged in other European countries that would invalidate the routine 17.5% standard / 5% low rate/ 0 % exempt rates applicable in the UK.

For these reasons I would suggest that you really need to hold a currency type table to establish for each transaction the currency involved, and to record the currency type as part of the purchase order - with GPB the default. Then you can apply custom formatting dependent on the currency, and include the exchange rate ruling on the transaction date concerned.

-Stewart
Jun 30 '08 #3
MEGDZIA
27
Thank you for help.
The prices don't need invertion to another currency.
Is there not possible to run a code in VBA for that???
Jul 1 '08 #4
Stewart Ross
2,545 Expert Mod 2GB
...Is there not possible to run a code in VBA for that???
Unless the table design of the database specifically accounted for the need to record prices in other currencies there would be little point in running VBA code behind the scenes. In your application you do not need to do this - but if you had it is necessary to store the conversion rate along with the transaction. Exchange rates vary throughout the day in real time, so running an exchange rate conversion function in VBA will not recover the exchange rate that was applicable at the time of the transaction!

-Stewart
Jul 1 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: techy techno | last post by:
hii Experts..!! I need someone to tell me where I can get a Currency Converter like http://cconv.textor.com please can someone tell me where I can get it I need it for free + I dont need...
2
by: Willing 2 Learn | last post by:
I'm still having trouble getting my program to do arithmetic in cents(keeping all #'s) then convert the answer in a format of dollars & cents. The main program should add, subtract, scalar...
3
by: Dalan | last post by:
Is there any code available to address currency rounding problems in Access 97? Apparently, selecting currency type table fields does not resolve the problem. For instance, in my form I have a...
3
by: Dave Stone | last post by:
This question appeared years ago in the context of Acc2K and SQL Server 7, but no replies were posted. HOWEVER!! It still seems to be a problem with Acc XP and SQL Server 2000. Surely someone has a...
11
by: Adrian | last post by:
Hi I want to use the following declarations but vb dotnet keeps complaining that currency can't be used because it private ? I have tried it in a module and in the declaration pare same error!...
7
by: meenasamy | last post by:
Hi all, i need to create a function that takes three parameters( Original currency, needed currency, amount) i need to convert from the original currency to the needed currency the amount and...
18
by: Boris Yeltsin | last post by:
OK, I have a database table, it has prices of products in it, like so: ProductPrice MONEY ProductIsoCurrencyCode CHAR(3) Now, both CultureInfo and RegionInfo have...
16
by: xjohnx | last post by:
Hi, I'm hoping someone can help me I am quite new to Javascript and have had to create a programme which converts dollars into euros and vice versa, here is my script which is working var...
25
by: mereba | last post by:
Hello My country Ghana is changing its currency. I want to write a small programme in C++ that can covert from the old currency into the new one. I would like this programme to run behind a simple...
2
by: mahesh123 | last post by:
Hi Folks, I am information regarding the Changing the Indian Currency to USD Currency. How can we change the Indian Currency to USD Currency. For example if the Indian Currency is 100 rs then the...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.