Solved

how to use MaskEdBox to format 2 char currency symbol ?

Posted on 2000-05-08
7
416 Views
Last Modified: 2012-05-04
I'm a programmer from Malaysia, and our currency symbo is "RM" with are 2 characters, how can I set this format in the MaskEdBox to auto format the numeric data ?
0
Comment
Question by:eugeneng
7 Comments
 
LVL 1

Expert Comment

by:manchula
ID: 2790960
Where do you want to display RM? Can you please tell this clearly?
0
 

Expert Comment

by:b_samrat
ID: 2791082
hi
please explain ur problem clearly

samrat
0
 

Expert Comment

by:syedAliF
ID: 2791099
Set the mask property of maskedit control to get the required format.

RM#,##.##
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

Author Comment

by:eugeneng
ID: 2792228
I'm sorry about the my ambiguous question. Ok now, I placed a maskedit on my form and set the  "Mask" property to "RM #,###,###.##", and then I key in 1234 into the maskedit. When this maskedit lost the focus, the content of the maskedit become "RM 1,234,.". And if I erase the "Mark" property and set the "Format" to "RM #,###,###.00", if I key in "1234" again, when the maskedit lost the focus, the content get formated to "R5,#,###,###.00". How do I get "RM 1,234.00" when the maskedit lost the focus.
0
 
LVL 1

Accepted Solution

by:
manchula earned 50 total points
ID: 2792251
Try giving the same format R5,#,###,###.00 to both the Mask & Format Properties
0
 

Author Comment

by:eugeneng
ID: 2812692
manchula's method works, how do I give this the point ?
0
 

Author Comment

by:eugeneng
ID: 2812694
thanx man..
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now