Hi,
A simple bug showed during run-time, but only on the third successive run of the application with no changes. It's upon start-up; therefore it's not dependent upon any user interaction. I walked thru the code and it should have given an error message every time, not just on the third try. The error was simple:
if misc.ico=.f. &&where misc.ico is a character defined field and I'm assigning a logical value
Apparently, FoxPro (at times) blows by errors rather than give error messages during run-time. If no one else is experiencing this, it may very well be a problem with converted applications (as this one is).
This same exact situation occurred (assigning the wrong data type) elswhere in the app where I wrote that line over a year ago and have used it successfully over 400 times! It wasn't until I installed a fresh version of Visual FoxPro
and the service pack #5 that it suddenly gave me a data mismatch error.
Any thoughts? This is embarassing when I test the app, think it's error free, then am called regarding a bug which never displayed. (and I did test this on a second machine). As a matter of fact, the same exact situation happend
to the client calling with the bug. The computer atmosphere doesn't seem to make a difference here.
Thanks
A simple bug showed during run-time, but only on the third successive run of the application with no changes. It's upon start-up; therefore it's not dependent upon any user interaction. I walked thru the code and it should have given an error message every time, not just on the third try. The error was simple:
if misc.ico=.f. &&where misc.ico is a character defined field and I'm assigning a logical value
Apparently, FoxPro (at times) blows by errors rather than give error messages during run-time. If no one else is experiencing this, it may very well be a problem with converted applications (as this one is).
This same exact situation occurred (assigning the wrong data type) elswhere in the app where I wrote that line over a year ago and have used it successfully over 400 times! It wasn't until I installed a fresh version of Visual FoxPro
and the service pack #5 that it suddenly gave me a data mismatch error.
Any thoughts? This is embarassing when I test the app, think it's error free, then am called regarding a bug which never displayed. (and I did test this on a second machine). As a matter of fact, the same exact situation happend
to the client calling with the bug. The computer atmosphere doesn't seem to make a difference here.
Thanks