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  dBforums > Data Access, Manipulation & Batch Languages > ASP > Data Formatting in spreadsheet 9

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-17-05, 02:14
ragini_shet ragini_shet is offline
Registered User
 
Join Date: Nov 2005
Posts: 1
Unhappy Data Formatting in spreadsheet 9

I am working on ASP project that will be used in France, Beljium and US. I am using Office web component (Spreadsheet 9) to design a grid. I have to display Amount in local currency format. For ex.

France €100 0,00

Belgium €100.0,00

US $100,0.00

I am using NumberFormat function. But it is converting Amount into $ and not to €.

Can anybody guide me to format this Amount column. I want to know is there any built in function available or can I use any user defined function.
How can I bind user defined format to this column?
Reply With Quote
  #2 (permalink)  
Old 11-29-05, 15:21
pramsey pramsey is offline
Registered User
 
Join Date: Nov 2005
Posts: 20
I'm not familiar with a program named Spreadsheet 9. But, if it's an Office program as you said, there should be a Help button. Just type in keywords to your problem. Also, try looking in the format menu
__________________
Programming/Web Design
http://eofficeprofessionals.com/forums

Offer solutions-not criticism.
Reply With Quote
  #3 (permalink)  
Old 11-30-05, 15:58
Bullschmidt Bullschmidt is offline
Guru
 
Join Date: Jun 2003
Location: USA
Posts: 1,032
Perhaps these articles about LCID regional settings will give you some ideas:

Using the Locale Identifier (LCID), Part 2 by Scott Mitchell
http://4guysfromrolla.com/webtech/031401-1.2.shtml
Session.LCID = 1061 'Estonian Locale ID

HOWTO: Set the ASP Locale ID Per the Browser's Language Settings
http://support.microsoft.com/?id=229690
When you create an Active Server Pages (ASP) application that multiple internation sites access, it is beneficial to modify the Locale settings so that the VBScript Date, Time, Currency, and so forth formats return the correct format for the location of the user.

Visual Basic Scripting Edition - Locale ID (LCID) Chart
http://msdn.microsoft.com/library/de.../vsmsclcid.asp
English - United Kingdom is 2057
English - United States is 1033
__________________
J. Paul Schmidt, Freelance Web and Database Developer
www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On