- Posts: 16
Flowheater not processing all the data within a database
- Ken Starnes
- Topic Author
- Offline
- User
Less
More
1 year 3 weeks ago - 1 year 3 weeks ago #3704
by Ken Starnes
Flowheater not processing all the data within a database - Post(3704) was created by Ken Starnes
Hi
I have a very simple extraction that reads a table omitting items where a field equals a "C" using a SQL Select on the Input Side.
It's been running fine but yesterday when I ran it it stopped processing items after a certain number of records within the table.
There are 12245 records in the table. The extract stops after record 12223 and wont process any more records even though there are valid records after that record..
The output windows says it's processed 9752 records.
Any help gratefully received.
System wouldn't allow me to upload the FHD - got an error
I have a very simple extraction that reads a table omitting items where a field equals a "C" using a SQL Select on the Input Side.
It's been running fine but yesterday when I ran it it stopped processing items after a certain number of records within the table.
There are 12245 records in the table. The extract stops after record 12223 and wont process any more records even though there are valid records after that record..
The output windows says it's processed 9752 records.
Any help gratefully received.
System wouldn't allow me to upload the FHD - got an error
Last edit: 1 year 3 weeks ago by Ken Starnes. Reason: Updated comment
Please Log in or Create an account to join the conversation.
- FlowHeater-Team
- Offline
- Admin
1 year 3 weeks ago #3705
by FlowHeater-Team
Best wishes
Robert Stark
Replied by FlowHeater-Team on topic Flowheater not processing all the data within a database - Post(3705)
Hi Ken,
Are you sure that your where clause "... where field = 'C' ..." does not filter the desired result?
The issue related to the attachments has been fixed. Thanks for your notification. Could you please post a screenshot and or your created FlowHeater definition for further analysis, Thanks.
Are you sure that your where clause "... where field = 'C' ..." does not filter the desired result?
The issue related to the attachments has been fixed. Thanks for your notification. Could you please post a screenshot and or your created FlowHeater definition for further analysis, Thanks.
Best wishes
Robert Stark
Please Log in or Create an account to join the conversation.
- Ken Starnes
- Topic Author
- Offline
- User
Less
More
- Posts: 16
1 year 3 weeks ago #3706
by Ken Starnes
Replied by Ken Starnes on topic Flowheater not processing all the data within a database - Post(3706)
Hello Robert - FHD Uploaded . Screenshots of 1) The Access Table Data, 2) the SQL Statement from the FHD and 3) The output and where it stops.
This FHD hasn't been changed since May 2017 and has been running successfully on a twice monthly basis ever since.
This FHD hasn't been changed since May 2017 and has been running successfully on a twice monthly basis ever since.
Attachments:
Please Log in or Create an account to join the conversation.
- FlowHeater-Team
- Offline
- Admin
1 year 3 weeks ago #3707
by FlowHeater-Team
Best wishes
Robert Stark
Replied by FlowHeater-Team on topic Flowheater not processing all the data within a database - Post(3707)
Hi Ken,
This sounds suspect
I´ve modified your Definition. Please try to run this one and post the last lines.
Perhaps an Index or something else is corrupt. Please try to compact and repair your Access database.
This sounds suspect
I´ve modified your Definition. Please try to run this one and post the last lines.
Perhaps an Index or something else is corrupt. Please try to compact and repair your Access database.
Best wishes
Robert Stark
Please Log in or Create an account to join the conversation.
- Ken Starnes
- Topic Author
- Offline
- User
Less
More
- Posts: 16
1 year 3 weeks ago #3708
by Ken Starnes
Replied by Ken Starnes on topic Flowheater not processing all the data within a database - Post(3708)
Good morning Robert
Test output attached and it read all records
Rgds
Ken
Test output attached and it read all records
Rgds
Ken
Attachments:
Please Log in or Create an account to join the conversation.
- FlowHeater-Team
- Offline
- Admin
1 year 3 weeks ago #3709
by FlowHeater-Team
Best wishes
Robert Stark
Replied by FlowHeater-Team on topic Flowheater not processing all the data within a database - Post(3709)
Hi Ken,
for me everything looks fine You just expect that your data are ordered?
I guess in case you change your READ SQL with an “Order By” clause like the below listed example your export should work like expected 😊
select * from [Job] where type <> 'C' order by Job_id
for me everything looks fine You just expect that your data are ordered?
I guess in case you change your READ SQL with an “Order By” clause like the below listed example your export should work like expected 😊
select * from [Job] where type <> 'C' order by Job_id
Best wishes
Robert Stark
Please Log in or Create an account to join the conversation.
- Ken Starnes
- Topic Author
- Offline
- User
Less
More
- Posts: 16
1 year 3 weeks ago #3710
by Ken Starnes
Replied by Ken Starnes on topic Flowheater not processing all the data within a database - Post(3710)
That is really strange but thank you. Each entry in Job_id is an auto-increment and I can't see any anomalies in the data.
Adding the sort order to the SQL statement seems to have fixed it as the output is now everything as I would expect (excluding the "C" items)
If I ever wanted to limit the range of Job_id what would I do?
I tried to add a filter and an if-then-else to drop anything less than 8000 but it failed to output anything.
Adding the sort order to the SQL statement seems to have fixed it as the output is now everything as I would expect (excluding the "C" items)
If I ever wanted to limit the range of Job_id what would I do?
I tried to add a filter and an if-then-else to drop anything less than 8000 but it failed to output anything.
Please Log in or Create an account to join the conversation.
- Ken Starnes
- Topic Author
- Offline
- User
Less
More
- Posts: 16
1 year 3 weeks ago - 1 year 3 weeks ago #3711
by Ken Starnes
Do I need something like the Clone Heater and how do I get that to work with the IF. I can't work out how to get a then or an else.
Replied by Ken Starnes on topic Flowheater not processing all the data within a database - Post(3711)
When I say it fails to output anything what I really mean is that it doesn't output the Job_id field I just get a Zero.If I ever wanted to limit the range of Job_id what would I do?
I tried to add a filter and an if-then-else to drop anything less than 8000 but it failed to output anything.
Do I need something like the Clone Heater and how do I get that to work with the IF. I can't work out how to get a then or an else.
Last edit: 1 year 3 weeks ago by Ken Starnes. Reason: Correction
Please Log in or Create an account to join the conversation.
- FlowHeater-Team
- Offline
- Admin
1 year 2 weeks ago #3712
by FlowHeater-Team
Best wishes
Robert Stark
Replied by FlowHeater-Team on topic Flowheater not processing all the data within a database - Post(3712)
Hi Ken,
To filter data, you could extend your SELECT on the READ side like this
select * from [Job] where type <> 'C' and Job_id >= 8000 order by Job_id
or you could use the IF-THEN-ELSE Heater together with the Filter Heater . You´ll find a simple example attached.
To filter data, you could extend your SELECT on the READ side like this
select * from [Job] where type <> 'C' and Job_id >= 8000 order by Job_id
or you could use the IF-THEN-ELSE Heater together with the Filter Heater . You´ll find a simple example attached.
Best wishes
Robert Stark
Please Log in or Create an account to join the conversation.
- Ken Starnes
- Topic Author
- Offline
- User
Less
More
- Posts: 16
1 year 2 weeks ago #3713
by Ken Starnes
Replied by Ken Starnes on topic Flowheater not processing all the data within a database - Post(3713)
Thank you Robert - I can see where I was going wrong now and thanks for the advice on the SQL statement - didn't think of that as I so rarely use it.
Please Log in or Create an account to join the conversation.
Time to create page: 0.328 seconds