Re: Dates
This WebDNA talk-list message is from 1995
It keeps the original formatting.
numero = 10004
interpreted = N
texte = >Does WebCatalog have any way of automatically entering dates into>Text1...text10 fields short of an external (applescript) script? I don't>want to burden my users with that.The only dates automatically entered are the SKU values when you append a new record to the database. If the date is 9/24/96 and the time is 11:36:14 AM, then the sku of the newly-added record will be:960924113614 (actually it adds a few more digits to the end to distinguish between simultaneous appends within the same second.)Embedded AppleScript is also an excellent way of setting other values automatically. I'm not sure if the 'burden' is that you don't want your users to run AppleScript, that you don't want them to have to type a date. Since the AppleScripts run on the server, not on the client side, there is no burden to the user in that case.Grant Hulbert, V.P. Engineering | Tools for WebWarriorsPacific Coast Software | WebCatalog, WebCommerce Solution11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMillSan Diego, CA 92128 |619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>Does WebCatalog have any way of automatically entering dates into>Text1...text10 fields short of an external (applescript) script? I don't>want to burden my users with that.The only dates automatically entered are the SKU values when you append a new record to the database. If the date is 9/24/96 and the time is 11:36:14 AM, then the sku of the newly-added record will be:960924113614 (actually it adds a few more digits to the end to distinguish between simultaneous appends within the same second.)Embedded AppleScript is also an excellent way of setting other values automatically. I'm not sure if the 'burden' is that you don't want your users to run AppleScript, that you don't want them to have to type a date. Since the AppleScripts run on the server, not on the client side, there is no burden to the user in that case.Grant Hulbert, V.P. Engineering | Tools for WebWarriorsPacific Coast Software | WebCatalog, WebCommerce Solution11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMillSan Diego, CA 92128 |619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Grant Hulbert
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Clean Code: Rules for inserting keyboard returns? (1997)
Simple Database close connection (2001)
Using Cookie for client specific info? (1997)
hidden databases (2000)
New commands in Final candidate (1997)
replace problem (1999)
Order Date (2003)
Next (1997)
WebCatalog Use Question (1997)
Fwd: [ANNOUNCE] BIAP W*API Patch plug-in (1998)
multiple prices (1998)
Bug Report, maybe (1997)
[Cart] ... (1997)
New Site Announcement (1998)
Mac v. NT (1998)
WCS Newbie question (1997)
Getting Emailer to send mail (1997)
[OT] SSL (2003)
A Couple Photos from the SmithMicro Booth at MacWorld (2000)
Non-Cart Files in Shopping Cart Folder (1997)