RSet is used to right align string data within fixed-length or variable-length strings. This error has the following cause and solution:
If appropriate, try converting the variable to a string. Otherwise, don't use RSet.
Note Although the LSet statement can be used to assign the elements of one user-defined type variable to the elements of a different, but compatible, user-defined type, such assignments are discouraged because they can't be guaranteed to be portable.
For additional information, select the item in question and press F1.