6/7/2025 7:22:13 AM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss usage & tips for SalesLogix controls and other 3rd party ActiveX controls. View the code of conduct for posting guidelines.
|
|
|
|
Question: Date Time Edit Control - How do I get it to NOT set/display the time?
Posted: 08 Oct 07 11:24 AM
|
I added a new date time Edit control to the account detail form, and I noticed that it fills in the current time when I enter a date. The other date time controls on the form do not, and the time is set to zeroes on the database. I compared the properties, and I don't see anything different, and I don't see anything in the script that references these fields. How do I get the new date field to behave like the others? (I am using SalesLogix 6.1.3) |
|
|
|
Re: Question: Date Time Edit Control - How do I get it to NOT set/display the time?
Posted: 09 Oct 07 9:22 AM
|
There are two properties for this control that affect this issue, I think, and they are easy to miss because the different values are similar. One is the FormatString property. You will usually see this as ddddd t or ddddd. The "t" at the end says to include the date. The other property to look at is the Kind property. The values for that one are dtk2Date, dtk2Time, and dtk2DateTime. The control is set to the third one by default, and you'll want to set it to dtk2Date if you haven't already done so.
Other than those things, I'm not sure what else would cause this issue. There have been times when I've seen controls get a little corrupt or screwy, so I just delete them and start over (which has actually solved some problems).
Good luck, Jeff |
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|