Hi Bruce/Folks,
Nettalk 8.61, Clarion 10 (second to latest).
Okay, so I'm not sure how long this has been happening, because the issue is in my live system (which have verified after finding it on my dev code).
Basically, it's this:
The file upload path variable (whatever is used) will not output to OutputDebugString().
I think.
Explanation:
I've got a file form from which the user can select and upload a file. On ValidateAll, the code checks and moves and assigns the upload file.
It's working great!
Except that my Debug() statements referencing the variable (in this case it's a local variable, say loc:UploadPath) don't show on DebugView (SysInternals).
Here's some example code that no longer works, where loc:UploadPath is the variable being used by the nettalk file upload field, and this code is run in the ValidateAll routine, in the end embed:
Debug('** loc:UploadPath: '&clip(loc:UploadPath))
Now, more explanation.
I've got a function called Debug(). This has two purposes. It outputs to OutputDebugString (ie, sends to DebugView) AND it writes to a text log file.
Here's the kicker - the information in the log file is working fine, it logs the variable value without a problem (and showing all symbols in notepadd++ doesn't reveal any unreadables that might kick up a stink).
Last, my Debug() code works fine for any variable that isn't being used by a file upload field.
IE
Let's say I have another local variable, loc:Test (string).
loc:Test = 'c:\myprogram\rugby.pdf'
Debug('** loc:Test: '&clip(loc:Test))
This works fine, no worries.
Last #2 - the file upload variables can still be used in code, and they work fine. IE, code that gets the values, moves the actual file, puts it into other variables.
I really haven't got a clue yet as to why File Upload would have anything to do with it. It might not, on the chance I've missed something else.
But as of now, my only clues are that the issue only exhibits, that I know, when file upload fields are being sent to Debug().
Anyone got any idea on this one?