Solved

Search / Input Unique Date in Delphi 1.0

Posted on 1998-01-11
1
142 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 10 total points
ID: 1356120
Table1.Insert;
Table1DateField.asdateTime:=StrToDateTime(maskedit1.text);
Table1.post;

0

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Suggested Solutions

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

751 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