Thanks Tony - that works!
I needed to add the quote char because I'm embedding a variable in the
expression:
SET VAR vGISURL TEXT = +
((CHAR (39)) +
'https://prd1.----.com/Html5Viewer/?viewer=ParcelViewer&&run=TaxParcelSearch&&id='
+ .vURLTaxkey + (CHAR(39)))
I run the GOURL Property command in the form's On-After-Start EEP.
Best - Doug
On 2/10/2021 5:46 PM, Tony Luck wrote:
This is one I use on a bit button to change web sites on a form
SET VAR vurl = 'http://www.bom.gov.au/ <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]
<mailto:[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=
<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
<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
------------------------------------------------------------------------
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
<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]
<mailto:[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
<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]
<mailto:[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
<https://groups.google.com/d/msgid/rbase-l/CABnhDARagmS3F%2BXN-sMU9xPPKCqAoCs%3DQTt4M7rwFV1jToJLgg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
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/56345d44-d304-ad3e-be26-c4f9d3a63d95%40wi.rr.com.