Thanks a lot, it works now.
In reply to Re^2: problem with variables by texuser74 in thread problem with variables by texuser74