Caveat with code from developerWorks tutorial on composite applications
If you're planning to follow the "Building composite applications for IBM Lotus Notes V8" tutorial on Composite Applications from developerWorks (and you really should) and you have Domino Designer set to automatically insert Option Declare for you (and you really should) you need to declare a variable in Lesson 3. You need to declare the cName as a String for the code to compile. Or remove Option Declare of cause... :-)