Solved

Table EditMask Property writes fromthe right to the left?

Posted on 1998-03-24
4
439 Views
Last Modified: 2012-05-05
I run Delphi 3 Pro (Built 5.53). I built a database (using Data Base Desktop, Paradox 7). I want to force that in the dbEdit fields everything be viewed in upper case. When I configured the table, I typed in the EditMask property of the alphanumeric field this ">".
By testing the program, my surprise was that if I wanted to type something in that particular EditBox, ie a name (James) I am getting this "semaJ". I can not do anything. I do not want to enter code to convert all chars into upper case.
Is this a bug?
0
Comment
Question by:apetrusa
  • 3
4 Comments
 
LVL 1

Accepted Solution

by:
Greedy earned 70 total points
ID: 1360807
you will have to change the edit mask to look something like this
>LLLLLLLLLLLLLLLLLLLL
Put is as many L as the field is big this will make all chariters in the field upercase

0
 
LVL 1

Expert Comment

by:Greedy
ID: 1360808
dude I ment to say use a l ... if you use a L it becomes required...the l doesn't force something to be in it...

0
 

Author Comment

by:apetrusa
ID: 1360809
Hi, got the answer.
If I put the >LLLLLLLLLLLLLLLLLLLLL, it works, and in my case, that particular field is anyway necessary, so I'm going to use it.
On the other hand, the >111111111111111111 does not work at all.
0
 
LVL 1

Expert Comment

by:Greedy
ID: 1360810
the l is not a 1 it is a lower case L...if you use a L the edit mask requires that you have a charicter present in the field (this might not be good if its a name field because the name billybob is longer than the name jimmy) but if you use a l (lowercase L) it only allows the charicters A..Z and a..z but because you have the > they are forced to uppercase...anyway Thanks for the points.

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
LAN or WAN ? 11 82
can't find the executable in Simulator 1 80
Adoquery sql  left join does not work 25 80
DBGrid or StringGrid ? 6 70
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

910 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

17 Experts available now in Live!

Get 1:1 Help Now