Solved

Search / Input Unique Date in Delphi 1.0

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

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