Solved

Clipper like entry fields

Posted on 1997-05-07
5
266 Views
Last Modified: 2010-04-06
I need to use clipper like Date Entry fields
and Logical Entry fields
ie. Date:  "  /  /  "
 Logical: "Y/N" or "T/F"
TDbEdit is simply not good enough anyone know what to do?
0
Comment
Question by:Robert Gilland
  • 2
  • 2
5 Comments
 
LVL 2

Expert Comment

by:javiertb
ID: 1336004
If you're working with data aware components, just try using a mask (via TField properties) in the TField you want to appear on the TDBEdit box for the date. As for logical fields, you could use a TDBChexBox.
Another way of masking dates would be to use a TMaskEdit component, but this is not data aware.
0
 

Author Comment

by:Robert Gilland
ID: 1336005
This answer does not give me what I need
and that is a CLIPPER like DBEDit fields
Check Boxes, require use of mouse, which
only slow down a Data Entry operators
input. Sorry for the Bad Grade But It
wasn't what I was looking for.
0
 
LVL 2

Expert Comment

by:javiertb
ID: 1336006
It seems that I don't exactly know what's your problem because if you only want a keyboard enabled dbedit field to accept only 'Y' and 'N', you only have to code OnkeyPress or OnKeyDown events to make them accept only those characters. And what about the date field?
0
 

Accepted Solution

by:
msnell earned 50 total points
ID: 1336007
Use masks, as javiertb suggested. They are referred to as pictures in the Database Desktop help.

For dates: "##/##/##"
For logical: "{Y,N}"

See the Database Desktop help for more information
0
 

Author Comment

by:Robert Gilland
ID: 1336008
Thankyou, you made me look again at javier's answer
After a long workout of trial and error, I figured
that you have to get into the fields editor by right clicking
on TTAble component.

Only one problem, now how to allow T/F or Y/N it seems
it won't let me do this, but this is not a major concern.

0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
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