Re: [Zope] Zope with Microsoft Access

2000-11-24 Thread Mike Kelland
- From: "Chris Gray" [EMAIL PROTECTED] To: "Mike Kelland" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, November 23, 2000 3:56 PM Subject: Re: [Zope] Zope with Microsoft Access Here's a fix. Change the line: dtml-call UpdateHours(REQUEST) to: dtml-call "U

Re: [Zope] Zope with Microsoft Access

2000-11-24 Thread Rik Hoekstra
Hi, this is my first posting to the list, and about my 4th day working with Zope. I have a bit of a problem. All my code so far is working well. Just the following section is defying my attempts to make it run. What it does is to update a field in the database (to allow employees to

Re: [Zope] Zope with Microsoft Access

2000-11-24 Thread Mike Kelland
authentication. Is there an easy way to do this? Thanks! Mike [EMAIL PROTECTED] - Original Message - From: "Rik Hoekstra" [EMAIL PROTECTED] To: "Mike Kelland" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, November 24, 2000 12:21 PM Subject: Re: [Zope] Zope with Micr

Re: [Zope] Zope with Microsoft Access

2000-11-23 Thread Chris Gray
ED] To: "Mike Kelland" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, November 22, 2000 8:48 PM Subject: Re: [Zope] Zope with Microsoft Access You may not be entering UpdateHours. Try dtml-var "0/0" just before the call to UpdateHours. Or some other obvious way t

[Zope] Zope with Microsoft Access

2000-11-22 Thread Mike Kelland
Hi, this is my first posting to the list, and about my 4th day working with Zope. I have a bit of a problem. All my code so far is working well. Just the following section is defying my attempts to make it run. What it does is to update a field in the database (to allow employees to quickly

Re: [Zope] Zope with Microsoft Access

2000-11-22 Thread Chris Gray
Isn't the problem your else tags? Remove them and I think you'll get the effect you wanted. As it stands the condition: dtml-if "_['sequence-key'][6:9] == mykey[9:12]" is never true. Chris On Wed, 22 Nov 2000, Mike Kelland wrote: Hi, this is my first posting to the list, and about my 4th

Re: [Zope] Zope with Microsoft Access

2000-11-22 Thread [EMAIL PROTECTED]
You may not be entering UpdateHours. Try dtml-var "0/0" just before the call to UpdateHours. Or some other obvious way to know if your entering it. Here's how I coded the same kind of thing. Although I'm reading the Zope book right now to see how I should have done it. The book is good and I

Re: [Zope] Zope with Microsoft Access

2000-11-22 Thread [EMAIL PROTECTED]
From: "Mike Kelland" [EMAIL PROTECTED] What does dtml-var "0/0" actually do? Looks like all it would do is divide by zero which *has* to be some kind of error. Yelp, that's exactly what it does. My goal was to prove one way or another that a bit of code was executed. Divide by zero is one