MaskEditBox help 
Author Message
 MaskEditBox help

I am using the data control to extract data off an Access database. I am
using the MaskEditBox to read in some of the numeric fields so that I can
format the numbers in a consistant way. Unfortunately, I cannot see how to
get the MaskEditBox to right-justify the data within the control. It always
left-justifies it.

I tried using a label box, then setting up code within the Change event like
this:

lblTest.Caption = Format(lblTest.Caption, "#,##0")

This works, but when you switch to a new record, the formated version of the
data gets written to the field in the record. I would like to keep the
underlying value as-is (it has decimal places).

Does anyone have a solution to this formating problem?



Mon, 06 Nov 2000 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. MaskEditBox help

2. MaskEditBox help

3. Really need help a bug with VS.Net and MaskEditBox

4. Help! -newbie MaskEditBox question

5. Where is MaskEditBox Control in VB.Net ?

6. Is there a MaskEditBox replacement in .NET

7. MaskEditBox fails with EMPTY table !

8. MaskEditBox generates problem

9. printform() doesn't print maskeditboxes...

10. MaskEditBox problems

11. CHANGING MASKEDITBOX BACKCOLOR WHEN ENABLED = FALSE

12. MaskEditBox generates problem

 

 
Powered by phpBB® Forum Software