Reader's Clinic - Functions and Subroutines
Reader's Letters - Jim Owen
Playing with Scan Codes
Argument passing - Subroutines and Functions - Mike Pope
REVMEDIA Revisted
@ATTACK - @Macro.Words
QTIPS - Testing For Boolean False
WP Bond, from Professional Systems Development - A review by Michael Ruane - Phoenix Solutions.
SecureUser
VERBatim - V25
@ATTACK - @Files.System
Advanced Revelation Initialisation Sequence (Overview) by Mike Pope
REVMEDIA Revisted
Reader's Forum - Numeric Precision in R/Basic - Hal Wyman
Reader's Clinic - RList Column Names
Reader's Clinic - Blank Column Headings in RLIST
QTIPS - Column Heading Limit
Capture Playback and Convert.Keystrokes
@ATTACK - @File.Error
@ATTACK - @File.Error.Mode
QTIPS - Standardising Error Message Display
Version 3 Technical Highlights - ValidateName
@ATTACK - @File.Error
@ATTACK - @File.Error.Mode
@ATTACK - @Last.Error
A RevTechie Replies - And Miscellaneous Jottings - Mike Pope - Revelation Technologies (UK) Ltd
RTP5 and RTP51
QTIPS - Standardising Error Message Display
QTIPS - Interrupt Proof Error Messages
Version 3 Technical Highlights - ValidateName
Version 2
QTIPS - Invalid Code and Command
Reader's Clinic - Naming Routines
Reader's Clinic - Prompting for Passwords
Reader's Clinic - Removing "Searching Cross References" Message
Message
Trapping Message Calls
A RevTechie Replies - And Miscellaneous Jottings - Mike Pope - Revelation Technologies (UK) Ltd
QTIPS - Standardising Error Message Display
QTIPS - Interrupt Proof Error Messages
QTIPS - Improving the Message Window
Version 3 Technical Highlights - New Message Types
@ATTACK - @Attrbt.Ptr
@ATTACK - @Query.Table
REVMEDIA Revisited
Uncommon Knowledge - WC_Table_Exit_Mode%
QTIPS - New Catalyst Option
Version 3 Technical Highlights - Deleting Tables Programmatically
Version 3 Technical Highlights - Aliasing Tables Programmatically
Version 3 TCL Subroutines - Creating Tables
Version 3 TCL Subroutines - Deleting Tables
Version 3 TCL Subroutines - Aliasing Tables
Symbol Table Structure
Reader's Clinic - Page Marks in Windows

RevMedia FKB

DocumentV4I6A5
TitleVersion 3 Technical Highlights - ValidateName
KeywordsVALIDATENAME
@FILE.ERROR
SQL
TextThis is a function designed to check whether a given name will conflict with
SQL/system reserved words or rules It is passed the name to validate and a
Boolean flag which is used to indicate whether changes are permitted (true
for yes false for no) It returns either the word the modified word or a
pass/fail flag

If changes are permitted the system will modify SQL reserved words or
variables beginning WITH an integer by putting an "A" at the beginning (try
using KEY as a column name in DEFINETABLE to see an EXAMPLE of this) It
will ALSO truncate NAMES longer than 50 characters and convert lowercase to
uppercase

If changes are not permitted it will return a true/false flag to indicate
whether the name conforms to SQL naming CONVENTIONS If a false flag is
returned the reason is given in @FILE ERROR WITH return codes ranging from
S110 to S115 WITH meanings as follows

S110 Starts WITH a number
S111 Longer than 50 characters
S112 Contains invalid characters
S113 Reserved by the system (in testing it proved impossible to
produce this message WITH SYS table NAMES or VOC commands)
S114 Reserved by SQL
S115 Does not start WITH a letter (could only get this to fail if
the name started WITH an underscore All other characters
caused an S112


(Volume 4 Issue 6 Page 7)
[revmedia/copyrigh.htm]

Page last modified: 08/02/03