Does anyone know how to set the DBConsole to use a mono-spaced font?
Request clarification before answering.
There is no way to change the font used by the SQL Anywhere Console (dbconsole).
Can you tell us which panel you wanted to view with a monospaced font? (Connections, Properties, and/or Messages)? Is the default font not readable?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I may have named dbconsole incorrectly there is only one panel -- it's from the restore of the lightening sysicon for the database engine. I am writing log (debug) messages out using tabs (spacing), etc to align data and the variable font face makes the spacing inconsistent with a monospaced font in an editor when accessing the data from the console log file later. PS I have also had success writing them to the console log file using the parameter indicated.
The following is the code I used (in a self contained script file)
MESSAGE '>>>> ConsoleLogFileON.sql' TYPE INFO TO CONSOLE; -- -- Establish ConsoleLogFile, if necessary -- //CREATE VARIABLE l_consolelogtext char(128) = 'ConsoleLogFile'; //CREATE VARIABLE l_consolelogfile char(128) = ''; CREATE VARIABLE l_consolelogtext char(128); CREATE VARIABLE l_consolelogfile char(128);
SET l_consolelogtext = 'ConsoleLogFile'; SET l_consolelogfile = '';
SELECT PROPERTY ('ConsoleLogFile') INTO l_consolelogfile;
MESSAGE String ('>>9> ConsoleLogFile ', l_consolelogfile) TYPE INFO TO CONSOLE DEBUG ONLY;
IF l_consolelogfile = '' THEN SET l_consolelogfile = 'Y:message.clf'; CALL sa_server_option (l_consolelogtext, l_consolelogfile); END IF;
DROP VARIABLE l_consolelogtext; DROP VARIABLE l_consolelogfile;
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 5 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.