Solved

Table EditMask Property writes fromthe right to the left?

Posted on 1998-03-24
4
449 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses
Course of the Month10 days, 14 hours left to enroll

628 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