RE: [Zope] string splitting in dtml

2000-12-06 Thread Spicklemire, Jerry
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

Re: [Zope] string splitting in dtml

2000-12-06 Thread Jim Washington
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:

Re: [Zope] string splitting in dtml

2000-12-05 Thread Mike Kelland
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

[Zope] string splitting in dtml

2000-12-04 Thread Mike Kelland
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

[Zope] string splitting in dtml

2000-12-04 Thread Spicklemire, Jerry
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

Re: [Zope] string splitting in dtml

2000-12-04 Thread Andy McKay
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