sql problem
From: Jon Purvis (jon.purvis_at_tpwd.state.tx.us)
Date: 12/21/04
- Next message: Kevin Davidson: "Re: sql problem"
- Previous message: Gary Lafferty: "problem with Timeout Expired""
- Next in thread: Kevin Davidson: "Re: sql problem"
- Reply: Kevin Davidson: "Re: sql problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 21 Dec 2004 10:51:15 -0600
D7P, ADOQuery, Access XP
The following SQL worked fine when the program used BDE. Now that I have moved it to ADO, it throws
a "Malformed GUID. in query expression..." error each time. I've isolated to the "TrainingDate>{d
'2004-03-30'}" part of the query. Any idea what needs to be changed?
SELECT sum(TrainingHours) as Training
FROM AdvancedTraining, AdvancedTrainingParticipation
WHERE MemberID=1
and AdvancedTraining.Training=AdvancedTrainingParticipation.Training
and TrainingDate>{d '2004-03-30'}
Thanks,
Jon Purvis
Texas Parks and Wildlife Dept
Austin, TX
- Next message: Kevin Davidson: "Re: sql problem"
- Previous message: Gary Lafferty: "problem with Timeout Expired""
- Next in thread: Kevin Davidson: "Re: sql problem"
- Reply: Kevin Davidson: "Re: sql problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|