Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Search / Input Unique Date in Delphi 1.0

Posted on 1998-01-11
1
Medium Priority
?
145 Views
Last Modified: 2010-04-04
I want the user to enter a date mm/dd/yyyy.  If it is in a table, let them know and return to previous form.  If date is not on file, append a record to a table, put the search date in the date field and bring open a form in the edit mode.  I am new to Delphi so please be very specific with your answers.  I used a maskedit box for input.  Used findkey to search the table and MessageDlg to tell user date is on file but have problems when date is not on file and I try to put the input date in the table (Table1DateField := EditMask1.)  HELP!!

John C.
0
Comment
Question by:ncglea
[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
1 Comment
 
LVL 2

Accepted Solution

by:
mvz121697 earned 20 total points
ID: 1356120
Table1.Insert;
Table1DateField.asdateTime:=StrToDateTime(maskedit1.text);
Table1.post;

0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

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…
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…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

704 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