Solved

Table EditMask Property writes fromthe right to the left?

Posted on 1998-03-24
4
442 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

773 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