Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, June 7, 2025 
 
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!
 Architect Forums - Controls
Forum to discuss usage & tips for SalesLogix controls and other 3rd party ActiveX controls. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Controls | New ThreadView:  Search:  
 Author  Thread: Question: Date Time Edit Control - How do I get it to NOT set/display the time?
Bailey1
Posts: 57
 
Question: Date Time Edit Control - How do I get it to NOT set/display the time?Your last visit to this thread was on 1/1/1970 12:00:00 AM
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)
[Reply][Quote]
Jeff Weight
Posts: 219
 
Re: Question: Date Time Edit Control - How do I get it to NOT set/display the time?Your last visit to this thread was on 1/1/1970 12:00:00 AM
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
[Reply][Quote]
 Page 1 of 1 
  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!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 6/7/2025 8:10:00 AM