I've got a weird one today.....
I've been working with several JSL scripts... each of them has several Open Database() Calls.. and if the Open Database fails for any reason.. I have always seen entries in the log file regarding the issue... I then borrowed code from log_execute_sql.jsl I found somewhere... and basically read the last 10 lines of the log fiel and display dialogs for users if an error occurred....
Each of these scripts has a UI associated with them....
today I started working with a new script, and it seems to not be writing the Open Database() Errors to the log, but rather throwing JMP ALERT Dialog Boxes up .. which is sort of nice, but not quite friendly enough... and I would like to use my function to check for errors....
Is there some method of controlling if these go to the log or not??? The Only difference I can see in this new script I inherited is that it doesn't make any DB calls until AFTER the UI comes up ... If I make an Open Database() Call BEFORE the New Window is rendered and defined/populates.. the error is in the log... Interesting!! how can I make it write them ALL to the log..??