Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Clipper like entry fields

Posted on 1997-05-07
5
Medium Priority
?
272 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
[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
  • 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 100 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

719 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