
Cannot assign a variable declared as a string to a variable declared as data type
Rset A = X
or
Lset A = X
Graham
===============
Quote:
> I have declared a variable as string (like dim X as string) and another
> variable as data type (like dim A as string * 5 and dim B as string * 10).
> When I assign A=X, it gives me error about mismatch data type. Any idea how
> I can get around it? I want to set up a data type to match the results
> coming back from the string. Right now I am doing B=mid(X,6,10) to get
> around it.