Re: Aggregates on DateTime fields
From: Brian Bushay TeamB (BBushay_at_Nmpls.com)
Date: 08/09/04
- Next message: Ryan L. Schoolman: "Access Compact"
- Previous message: Michael Jacobs: "Re: ADODataset: Query parameter used twice in the SQL satatement"
- In reply to: Dave Blake: "Re: Aggregates on DateTime fields"
- Next in thread: Dave Blake: "Re: Aggregates on DateTime fields"
- Reply: Dave Blake: "Re: Aggregates on DateTime fields"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 08 Aug 2004 19:00:40 -0500
>I can be more precise about my problem. In a simple parameterized query
>
>SELECT Min(Time_Column) FROM My_Details_Table
>WHERE master_ID = :param1
>
>In code set the parameter and open, the TField returned is not null, but has
>an unusable value. Now link a data aware control to this query, run the same
>code and you get a usable value. Run in debug and sometimes it works with
>and without a linked control.
>
>I just don't get it. Something to do with persistent verses dynamic fields
>maybe?
You don't say what database you are using?
I don't have any problem with a query like this that uses MS SQL server
-- Brian Bushay (TeamB) Bbushay@NMPLS.com
- Next message: Ryan L. Schoolman: "Access Compact"
- Previous message: Michael Jacobs: "Re: ADODataset: Query parameter used twice in the SQL satatement"
- In reply to: Dave Blake: "Re: Aggregates on DateTime fields"
- Next in thread: Dave Blake: "Re: Aggregates on DateTime fields"
- Reply: Dave Blake: "Re: Aggregates on DateTime fields"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|