![]() ![]() |
Jul 18 2008, 03:45 AM
Post
#1
|
|
|
Group: Members Posts: 2 Joined: 18-July 08 Member No.: 201423 OS: none
|
Hello All,
I am designing a software with Delphi 7 and I have forms on it. My forms are connected to my MSSQL Server 2005 tables over AdoConnections and AdoTables. On my form I have DBedits which are directly connected to a table in my database through DataSource. A ss of my From is below; ![]() As you can see I have DbDateTimepickers attachted on my form.What I am trying to do is; A ss of what I want ; ![]() I dont want to use Dbdatetimepickers.I want to seperate the date, the time and the schedule in to 3 parts.First section is to fillng the DATE second is the Schedule from the Schedule icon and the 3rd part is the time section. My questions:
I will appriciate your interest of helping me.. Thanks. |
|
|
|
Jul 21 2008, 12:52 AM
Post
#2
|
|
|
Group: Members Posts: 2 Joined: 18-July 08 Member No.: 201423 OS: none
|
Can anyone help?
|
|
|
|
Jul 21 2008, 01:26 AM
Post
#3
|
|
|
Coffee Aficionado ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 2994 Joined: 14-July 04 From: Coffeeland Member No.: 24596 OS: Vista Ultimate x64
|
Can anyone help? You will find that the number of delphi users nowadays is VERY low, so don't expect too much... I used to use it myself, but that was in the windows 95 era (10 years ago). It's been several years since I encountered anyone still using it too. How could I separete the datetime value coming from my database in to 3 parts? Delphi should have standard functions to get just the date, or just the time from a standard DateTime format. When the user fills the required values into these 3 sections, when the user clicks on Ok/SAVE. How can I get those 3 values,combine and save to my database? Same answer as the previous really. Delphi should have standard functions to generate standard DateTime format from separate date and time values. Then use that to update the database. |
|
|
|
Aug 1 2008, 11:13 PM
Post
#4
|
|
|
Member ![]() ![]() Group: Members Posts: 277 Joined: 23-April 07 Member No.: 136800 OS: XP Home
|
There are people using Delphi, but you need to work to find them, as was said. I use it, but purely from a hobbyist standpoint (I learned on Pascal, and Delphi was the easiest transition that fitted my budget and my tolerance level).
As for your problem, I'm not well-versed in the database end of what you're doing with Delphi. But if I understand your problem right (and I'm not sure), you're pulling TDateTime from your database and you would rather have it show in a TEdit style structure instead of the DBDateTimePicker? As was stated, there are several functions in SysUtils that should make that transition for you easily. |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 7th January 2009 - 05:07 PM |