Solved

Search / Input Unique Date in Delphi 1.0

Posted on 1998-01-11
1
139 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi 10 Seattle Dataset Actions 5 79
build html 5 client that connect to indy Tidtcpserver 3 357
Working this component WebCopy with proxy, help 3 76
Base1 Encode/Decode 3 68
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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

863 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now