Solved

Table EditMask Property writes fromthe right to the left?

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

821 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