Define a text field, URL. Set your web viewer's URL expression to just be YourTable::URL.
Write this script:
Set Field [YourTable::URL ; get ( ScriptParameter )]
Now put a button on your Bills tab and select Perform Script. In the option parameter box, enter the website's URL in quotes.
Do the same for each additional button, but change the parameter to pass the appropriate URL.
(Note you can place all of this data in a related table and use a portal to have a completely flexible, easy to edit list of URL's for your web viewer instead of creating a series of buttons like this. Then you can just use: Set Field [YourTable::URL ; PortalTable::URLField] and not use any script parameters.)
Thank you for the reply. I have changed the layout in between getting your answer and now. I got rid of the tab folders. I created a new layout called web site, and I put the web viewer in that layout. My thinking is that I can click a button and script it to 1)go to layout (web site) and then to a specific url from the button that was clicked. I have it going to layout but don't know how to get it to load the url from the button, I just get a blank web viewer. More suggestion please.
I will look into portals also.
Define an extra text field and set up the Web Viewer to refer to it for the URL.
Then your button's script can use set field to enter the URL of the selected field into this Field the web viewer uses.