Solved

Table EditMask Property writes fromthe right to the left?

Posted on 1998-03-24
4
437 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 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

6 Experts available now in Live!

Get 1:1 Help Now