?
Solved

Makin errors print in capitals!

Posted on 2003-12-04
1
Medium Priority
?
168 Views
Last Modified: 2010-05-01
hi experts...

im currently writing a log confirmin wen each sub routine is completed / wen an error occurs...

my problem is that i want the normal completion log parts to be lower case and the error logs to b in caps ...
this is wot im after...

sub_sortFile: completed
sub_addlink: completed
SUB_PRODUCE TEXT: ERROR:- TEXT NONE EXISTANT.... etc
-----------------^----------------   -----------^-------------
iv got this bold but                     but i need this bold ... it is eg err.description

cheers matt
0
Comment
Question by:MattAllen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 13

Accepted Solution

by:
crazyman earned 150 total points
ID: 9873671
when you say you are writing it i presume you are writing it to a text file, you cant specify fontsize, bold etc in a text file this is decided by the text viewer...
However you can specify the case, to convert to upper case just use
ucase$(err.description)
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question