Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Date-specific logfile (https://www.kinook.com/Forum/showthread.php?t=369)

dsmith 03-23-2004 11:16 AM

Date-specific logfile
 
How can I get a datetime-specific logile something like:

log04012004-0402.log

Under project properties I tried:

%PROJDIR%\%PROJROOT%%[vbld_FormatDate()]%.log

but the VBScript did not resolve. Any ideas?

Doug

kinook 03-23-2004 12:33 PM

That works here. Hold down Shift when mousing over the field to cause the script to be evaluated for the tooltip.

dsmith 03-23-2004 12:39 PM

It works
 
I tried:

%PROJDIR%\%PROJROOT%%[vbld_FormatDate]%-%[vbld_FormatTime]%.log

and held down SHIFT key and it worked. thanks.

kinook 03-23-2004 12:43 PM

I didn't notice the extra percent signs you had. Those should be removed:

%PROJDIR%\%PROJROOT%[vbld_FormatDate()].log

%PROJDIR%\%PROJROOT%[vbld_FormatDate]-[vbld_FormatTime].log


All times are GMT -5. The time now is 11:20 PM.


Copyright © 1999-2023 Kinook Software, Inc.