Solved

MaskEDbox help

Posted on 1998-04-15
5
195 Views
Last Modified: 2008-02-20
dear sir,

l just know how to use the MaskEDbox to read the value,but is it possible to give and display the value on MaskEDbox control ?consider following example, 123 will be display on textbox control, what about MaskEDbox ?

text1 = 123

from: Eddie
godace@rocketmail.com
0
Comment
Question by:EddieAng
  • 2
  • 2
5 Comments
 
LVL 6

Expert Comment

by:clifABB
ID: 1461282
I'm sorry, but I'm not understanding your question.
Please be more specific.
0
 
LVL 5

Accepted Solution

by:
bin_huwairib earned 0 total points
ID: 1461283
Yes EddieAng you can display the value on MaskEDbox.

Example:
MaskEdBox1 = 123
0
 

Author Comment

by:EddieAng
ID: 1461284
Bin huwairib,

but if l setted the mask = "##-##" then it would be error, is it not support the mask on output ?consider the following code.

'first of all, l setted the mask ="###-###"
'then give the value to display

maskedbox1=123456
0
 
LVL 6

Expert Comment

by:clifABB
ID: 1461285
OK, now I understand.

Set the property PromptInclude = False

You can then assign values using the text property:

MaskEdBox1.Mask = "### ###"
MaskEdBox1.PromptInclude = False
MaskEdBox1.Text = 12345

Will Produce the following results:
123 45_
0
 

Author Comment

by:EddieAng
ID: 1461286
yes it is worked, thank everyone !
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

746 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

11 Experts available now in Live!

Get 1:1 Help Now