Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 1 / August 2004

Tip: Looking for answers? Try searching our database.

currency

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
J.J. - 31 Aug 2004 10:47 GMT
Hi,
i have in my table/form two fields, first is number_field(decimal) and
second is combo with two values from other table(USD and EURO). now i want
that after i select USD the number_field is formated as Currency and if i
select EURO than as Euro.
how can i make this happen?
many thanks
J.J.
Lumpierbritches - 31 Aug 2004 12:48 GMT
Why don't you use the AfterUpdate Event and use an If then Else Statement.

Air Code:

If cboCombobox.value = USD Then
textbox = Format(value, "currency")
Else If cboCombobox.value = Euro Then
textbox= Format(Euro Format)
End If

HTH

Michael
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.