It appears your $access->{Reports}->Item(1) is not defined. First make sure (using, say, Object Browser) that you do have an item numbered 1. Then try referencing it as $access->Reports(1)->{RecordSource}.
You may also want to scour Dave Roth's site for more info.
In reply to Re: Changing a MS-Access report's RecordSource property
by VSarkiss
in thread Changing a MS-Access report's RecordSource property
by Grygonos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |