Mike said:
I tried what you recommended and got the following error:
Error Type: AttributeError
Error Value: __getslice__
The problem I think is that the variable is drawn from the database as
type
date (Microsoft Access 2k) and somehow is cast into a date type. Is there
a
way to
Just a thought:
Have you tried using "_.str(thedate)" to convert it into a string? I am
not using Access, but since Zope can handle the Access date stuff
properly, it may be using something like _.str() internally. It's what
I would try first.
-- Jim Washington
"Spicklemire, Jerry" wrote:
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, December 04, 2000 4:38 PM
Subject: [Zope] string splitting in dtml
Mike asked:
I have a date string (ie dd/mm/yy) which I'm drawing out of a database
(ODBC connection to Access) with a Z SQL method and I need to use that
data to set t
I have a date string (ie dd/mm/yy) which I'm
drawing out of a database (ODBC connection to Access) with a Z SQL method and I
need to use that data to set the initial condition of a set of 3 select items
(ie day, month and year). Is there a way to split this date (it'll come
out looking like
Mike asked:
I have a date string (ie dd/mm/yy) which I'm drawing out of a database
(ODBC connection to Access) with a Z SQL method and I need to use that
data to set the initial condition of a set of 3 select items (ie day,
month and year). Is there a way to split this date (it'll come out
14 PM
Subject: [Zope] string splitting in dtml
I have a date string (ie dd/mm/yy) which I'm drawing out of a database (ODBC
connection to Access) with a Z SQL method and I need to use that data to set
the initial condition of a set of 3 select items (ie day, month and year).
Is there a way to sp