getvaridfromname