- Posts: 16
Flowheater not processing all the data within a database
- Ken Starnes
- Topic Author
- Offline
- User
Less
More
11 months 5 days ago - 11 months 5 days ago #3704
by Ken Starnes
Flowheater not processing all the data within a database 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: 11 months 5 days ago by Ken Starnes. Reason: Updated comment
Please Log in or Create an account to join the conversation.
- FlowHeater-Team
- Offline
- Admin
11 months 5 days ago #3705
by FlowHeater-Team
Best wishes
Robert Stark
Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.
Replied by FlowHeater-Team on topic Flowheater not processing all the data within a database
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
Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.
Please Log in or Create an account to join the conversation.
- Ken Starnes
- Topic Author
- Offline
- User
Less
More
- Posts: 16
11 months 5 days ago #3706
by Ken Starnes
Replied by Ken Starnes on topic Flowheater not processing all the data within a database
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
11 months 3 days ago #3707
by FlowHeater-Team
Best wishes
Robert Stark
Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.
Replied by FlowHeater-Team on topic Flowheater not processing all the data within a database
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
Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.
Please Log in or Create an account to join the conversation.
- Ken Starnes
- Topic Author
- Offline
- User
Less
More
- Posts: 16
11 months 3 days ago #3708
by Ken Starnes
Replied by Ken Starnes on topic Flowheater not processing all the data within a database
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
11 months 3 days ago #3709
by FlowHeater-Team
Best wishes
Robert Stark
Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.
Replied by FlowHeater-Team on topic Flowheater not processing all the data within a database
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
Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.
Please Log in or Create an account to join the conversation.
- Ken Starnes
- Topic Author
- Offline
- User
Less
More
- Posts: 16
11 months 3 days ago #3710
by Ken Starnes
Replied by Ken Starnes on topic Flowheater not processing all the data within a database
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
11 months 3 days ago - 11 months 3 days 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
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: 11 months 3 days ago by Ken Starnes. Reason: Correction
Please Log in or Create an account to join the conversation.
- FlowHeater-Team
- Offline
- Admin
11 months 3 days ago #3712
by FlowHeater-Team
Best wishes
Robert Stark
Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.
Replied by FlowHeater-Team on topic Flowheater not processing all the data within a database
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
Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.
Please Log in or Create an account to join the conversation.
- Ken Starnes
- Topic Author
- Offline
- User
Less
More
- Posts: 16
11 months 3 days ago #3713
by Ken Starnes
Replied by Ken Starnes on topic Flowheater not processing all the data within a database
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.325 seconds