This is one I use on a bit button to change web sites on a form SET VAR vurl = 'http://www.bom.gov.au/' PROPERTY webbrowser1 GOURL &vurl RETURN
Hope its what your looking for On Thu, Feb 11, 2021 at 7:00 AM Doug Hamilton <[email protected]> wrote: > How do I pass a variable URL to the Web Browser control in a form? > > In a customer maintenance form, I read a property tax key into variable > vURLTaxKey. > There is a pushbutton with an on-click EEP that creates a URL and launches > another form with a browser control. > Here's the code in the pushbutton (dashes have replaced part of the URL in > this example): > SET VAR vGISURL TEXT = + > (' > https://prd1.-------.com/Html5Viewer/?viewer=ParcelViewer&&run=TaxParcelSearch&&id=' > + .vURLTaxkey) > EDIT USING GISWebBrowse > > Form GISWebBrowse has the Web Browser control. > > In the Web Browser control URL field, I've tried both dotted and ampersand > vGISURL, but neither works. > .vGISURL is read literally and searches for .vGISURL > &vGISURL - "Make sure the web address http://&vgisurl is correct." > > A variable label on the form shows that vGISURL has the correct URL > address. > > There must be a way to launch the browser with a variable URL that I'm > missing. > (I feel a D'Oh! moment in the offing.) > > TIA, > Doug > RB X.5E 20119 > > > ------------------------------ > [image: Avast logo] <https://www.avast.com/antivirus> > > This email has been checked for viruses by Avast antivirus software. > www.avast.com <https://www.avast.com/antivirus> > > <#m_797341218355887194_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > -- > For group guidelines, visit > http://www.rbase.com/support/usersgroup_guidelines.php > --- > You received this message because you are subscribed to the Google Groups > "RBASE-L" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rbase-l/ae349803-7ab2-427e-b9f6-ba0dda910ec1%40wi.rr.com > <https://groups.google.com/d/msgid/rbase-l/ae349803-7ab2-427e-b9f6-ba0dda910ec1%40wi.rr.com?utm_medium=email&utm_source=footer> > . > -- Regards Tony -- For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php --- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/CABnhDARagmS3F%2BXN-sMU9xPPKCqAoCs%3DQTt4M7rwFV1jToJLgg%40mail.gmail.com.

