of course you can replace the date with variable vDate1 that is a better code. but you can't do it for field value 'AZU', if you want a particular field value from the selected field you can't apply variable for it. that will completely mashup your code. because variable always took a single value which you have to pass.