Joined: 20 Dec 2006
Location: United States
Online Status: Offline
Posts: 37
Topic: Command Object Mystery Posted: 18 Jun 2008 at 6:28am
I am trying to build a command object and finding that it returns NO records. In the process of troubleshooting I used the following procedure:
1) Reference the table CMSCallHistory in Database Expert. It's the only table.
2) Put a date range in Record Selection to filter on SEGSTOP and run the report to verify it selects records. It does.
3) Grab what CR generated in the 'Show SQL Query'
4) Set Datasource Location to replace the reference to the table CMSCallHistory with a command object containing exactly what I grabbed in step 3 [when I used the table by itself] as follows:
Joined: 20 Dec 2006
Location: United States
Online Status: Offline
Posts: 37
Posted: 18 Jun 2008 at 8:15am
Additional Information...
If I move the Record Selection filter into the Command Object, it works!
as in: WHERE SegStop >= {ts '2008-05-18 12:00:00'} and SegStop < {ts '2008-05-18 13:00:00'}.
Replacing these timestamps with ?START and ?END parameters DOESN'T work however! (produces no records)
There's still a mystery here.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum