>I've a problem on loading a form where the form name is contained in a string variable.
Why isn't use the form name property? If this is for a multilingual issue or where the form name property need to be generated at load time, you may assign the form property at load time from your variable.