Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, May 19, 2024 
 
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!
 Web Forums - SalesLogix Web Client (Pre-7.2)
Forum to discuss using & developing the legacy SalesLogix Web Client (For versions 7.0 and earlier). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Client (Pre-7.2) | New ThreadView:  Search:  
 Author  Thread: DATEPICKER Display
Snow Monkey
Posts: 214
 
DATEPICKER DisplayYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 25 Jul 06 7:39 AM
fiogf49gjkf0d
<td>
<#DATEPICKER name="NPolBeginDt" format=3 formatstring=%dddd", "mmmm" "d", "yyyy value=datetime size=35 style="width:145px">
</td>

Is there a way we can get it to format it as Tuesday, July 25, 2006 on display and then select the date with the Datepicker control?Also i have the table column declared with the Date datatype.A and S are the options available for this and i dont think i can use that in this case.

Also i know that that is not the way to specify custom formatting.Should i do this instead?

formatstring="%dddd', 'mmmm' 'd', 'yyyy "
[Reply][Quote]
Snow Monkey
Posts: 214
 
Re: DATEPICKER DisplayYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Jul 06 4:26 PM
fiogf49gjkf0d
Any Luck Anyone?

Tried Opening a ticket with SLX too...but no luck till now.
[Reply][Quote]
Duncan Cook
Posts: 164
 
Re: DATEPICKER DisplayYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Jul 06 10:05 AM
fiogf49gjkf0d
Nandu I haven't tested this but it should be dddd/mmmm/yyyy

Details below are from the Web Developers Reference Help

dddd
Displays the day as a full name (Sunday-Saturday) using the strings given by the LongDayNames global variable.

mmmm
Displays the month as a full name (January-December) using the strings given by the LongMonthNames global variable.

yyyy
Displays the year as a four-digit number (0000-9999).

[Reply][Quote]
Frank Chaffin
Posts: 475
 
Re: DATEPICKER DisplayYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Jul 06 10:56 AM
fiogf49gjkf0d
This formatstring does look right to me either. Should it be.

format=3 formatstring="dddd', 'mmmm d', 'yyyy"

You might try this to start with

format=3 formatstring="dddd mmmm d yyyy"
[Reply][Quote]
Frank Chaffin
Posts: 475
 
Re: DATEPICKER DisplayYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Jul 06 1:24 PM
fiogf49gjkf0d
Nandu,

I was sure I had done something like this at one time so I poked around and found out what I did. I was not using the DatePicker object but I did display the WeekDay and the date. I used two fields to format the data.

<#FIELD name=disbdate format=3 formatstring=dddd>, <#FIELD name=disbdate format=3 formatstring=mm/dd/yyyy>

Hope this helps.
[Reply][Quote]
Snow Monkey
Posts: 214
 
Re: DATEPICKER DisplayYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Jul 06 10:51 AM
fiogf49gjkf0d
Tried that Duncan ...No luck...Seems no dat formatting is working in 6.2.4
[Reply][Quote]
Duncan Cook
Posts: 164
 
Re: DATEPICKER DisplayYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Jul 06 11:13 AM
fiogf49gjkf0d
I think you're right, I just had a little play myself and it seems to ignore any formatting you apply....looks like a bug.
[Reply][Quote]
Snow Monkey
Posts: 214
 
Re: DATEPICKER DisplayYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Jul 06 11:17 AM
fiogf49gjkf0d
frank , do you know why finally you had to do it that way? is that because the datepicker didnt work ?i have to use in a data entry screen and <#DP is the best way to go....sure i can do this in javascript , but DP is availble for a reason, correct?

also can you get this datepicker to do any formatting other than the regular mm/dd/yyyy?

also have you seen the html getting generated behind the scenes for all the options of a datepicker?

thanks!!
[Reply][Quote]
Snow Monkey
Posts: 214
 
Re: DATEPICKER DisplayYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Jul 06 11:27 AM
fiogf49gjkf0d
hehe....quite funny when the same thing can be done thru javascript and html with no problems in 10 minutes!.

But in the learning phase you tend to use the controls as much as possible..
[Reply][Quote]
Frank Chaffin
Posts: 475
 
Re: DATEPICKER DisplayYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Jul 06 12:33 PM
fiogf49gjkf0d
Quote:
Originally posted by Nandu

frank , do you know why finally you had to do it that way? is that because the datepicker didnt work ?i have to use in a data entry screen and <#DP is the best way to go....sure i can do this in javascript , but DP is availble for a reason, correct?

As I recall it was because I could not have a space in the formatstring.

Quote:
also can you get this datepicker to do any formatting other than the regular mm/dd/yyyy?

No.

Quote:
also have you seen the html getting generated behind the scenes for all the options of a datepicker?

No.
[Reply][Quote]
Jeremy Brayton
Posts: 491
Top 10 forum poster: 491 posts
 
Re: DATEPICKER DisplayYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 31 Jul 06 3:08 AM
fiogf49gjkf0d
Is there no DateTimeEdit control for the web? The picker on the LAN client was a royal pain to work with. Perhaps it's because it was taken from the web and that's why it acts so goofy?

What about the HTML escaped version of space? There's (percent)20 and (ampersand)nbsp I think they are. I would think that wouldn't be an issue here but I've seen weirder.
[Reply][Quote]
Frank Chaffin
Posts: 475
 
Re: DATEPICKER DisplayYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 31 Jul 06 7:58 AM
fiogf49gjkf0d
Quote:
Originally posted by Jeremy Brayton

What about the HTML escaped version of space? There's (percent)20 and (ampersand)nbsp I think they are. I would think that wouldn't be an issue here but I've seen weirder.

As I recall this syntax does not in the formatstring either.
[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 © 2024 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): 5/19/2024 10:18:54 AM