CoCreate User Forum  

Go Back   CoCreate User Forum > Support > Customization

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 01-13-2003, 12:13 AM
aris63 aris63 is offline
Registered User
 
Join Date: Jan 2003
Posts: 16
How to update the Sheet text . Use lisp program

(defun my-tr-get-date ()
(multiple-value-bind
(sec min hour day month year)
(decode-universal-time (get-universal-time))
(declare (ignore sec) (ignore min) (ignore hour))
(format nil "~A~A~A"

year

(case
month
( 1 "01") ( 2 "02") ( 3 "03")
( 4 "04") ( 5 "05") ( 6 "06")
( 7 "07") ( 8 "08") ( 9 "09")
(10 "10") (11 "11") (12 "12")
(otherwise "???"))


(case
day
( 1 "01") ( 2 "02") ( 3 "03")
( 4 "04") ( 5 "05") ( 6 "06")
( 7 "07") ( 8 "08") ( 9 "09")
(10 "10") (11 "11") (12 "12")
( 13 "13") ( 14 "14") ( 15 "15")
( 16 "16") ( 17 "17") ( 18 "18")
( 19 "19") ( 20 "20") ( 21 "21")
(22 "22") (23 "23") (24 "24")
( 25 "25") ( 26 "26") ( 27 "27")
( 28 "28") ( 29 "29") ( 30 "30")
( 31 "31") (otherwise "???"))

)
)
)


(docu-register-tr-type "Sheet_local" "CREATE_TIME" "???" 'my-tr-get-date)

the abovementioned is about sheet create_time to bring

If I want one step to update my shett field
( the rectangle figure)
I had finish my dialog but How to update at one step

If anyone understand what I mean please help me
Attached Thumbnails
Click image for larger version

Name:	sheet-update.jpg
Views:	453
Size:	29.0 KB
ID:	55  
__________________
(Sorry ! My English is pool)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 01:22 AM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.