>'Report controls' toolbar in 'Modify report' command
Following code will give you an idea. Actually, there is a bug in View menu which will require more elaborated solution (it's doable but unfortunately i don't have time right now):
modify report d:\vfp5test\report1 nowait
if not wexist("Report Controls")
keyboard '{ALT+V}'
keyboard '{L}'
endif
Edward Pikman
Independent Consultant