Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[WD21] Corrupted queries

$
0
0
Hello

I can barely spell SQL so I use the wizard to write my queries and I am hitting problems

Firstly, there are limits and that's ok, but when the limit is reached, all work up to that point is lost.

The limit seems to be in the number of joins and anywhere after about 6 is dangerous.
What happens is quite brutal, when you hit the limit by attempting to add a field from a new file, a message displays "Links between query files not defined with sufficient accuracy by Query Editor"
This is the end of the road because after that ALL the files previously selected are removed and only that last file exists in the query.

Secondly, I am getting corrupted queries that give me the message "Unable to complete initialization" when I try to open them. This might be on a file from a previous day or one edited today so it looks like they are being corrupted during the save.
I did manage to create a corrupted query by attempting to remove a file. After removing the field, I had a message asking if I wanted to remove the file, I answered yes, but the file remained in the graphic display and after saving and closing the query, it was corrupted.

Another odd thing is that I don't think the internal Windev backup process is doing its job properly with queries. There should be a queryname.bkr as the last edit and a queryname.tkr as the prior edit to that one and while I do have the .bkr files I have only one .tkr file even though I have edited queries multiple times. - not that it matters that much as I do my own.

I am having the section of the wall where I bang my head replaced as it is looking a bit worn out.

Regards
Al

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>