Do not know what has happened to my app
Started when I set up an ArraySeek() and no matter whether I sought a value I new to be valid or not the result always returned 1
Drank lots of coffee and played around for an hour or more - I could see in the debugger that the value I was seeking was in the array bu still the result was 1
I recompiled, deleted the .env and .cpl files, closed an reopened WD and even rebooted my laptop - no change still returned 1 in all cases.
So last chance thought I and took the 'Repare the project' option
WTF - WD has no completely screwed me by corrupting my code - I now have over 500 compilation errors - by randomly inserting/overwriting numeric strings.
By example my class method for connecting to the database is now named PROCEDUREv0000000200000002_DBConnect() and the Connection 'Access' element has changed to ConnectionHFCSv0000000800000002Access = hOReadWrite
All other code in the method is untouched
Same sort of corruption has occurred randomly all over the place
So 3 questions....
1. Any idea what can cause ArraySeek() to always return 1
2. What could possibly have caused the corruption
3. Do I try to fix or is it better to start again
Started when I set up an ArraySeek() and no matter whether I sought a value I new to be valid or not the result always returned 1
Drank lots of coffee and played around for an hour or more - I could see in the debugger that the value I was seeking was in the array bu still the result was 1
I recompiled, deleted the .env and .cpl files, closed an reopened WD and even rebooted my laptop - no change still returned 1 in all cases.
So last chance thought I and took the 'Repare the project' option
WTF - WD has no completely screwed me by corrupting my code - I now have over 500 compilation errors - by randomly inserting/overwriting numeric strings.
By example my class method for connecting to the database is now named PROCEDUREv0000000200000002_DBConnect() and the Connection 'Access' element has changed to ConnectionHFCSv0000000800000002Access = hOReadWrite
All other code in the method is untouched
Same sort of corruption has occurred randomly all over the place
So 3 questions....
1. Any idea what can cause ArraySeek() to always return 1
2. What could possibly have caused the corruption
3. Do I try to fix or is it better to start again