Pete
|
| Posted: 10/03/2005, 12:17 PM |
|
Hi,
I have tried everything to get a textbox in a grid to launch a www.somesite.com. I setup everything as it should be and whne clicking the link it just refreshes the page and does not call the web site up.
Here are the settings:
I am drawing the conclusion that this is a bug. I added the control in from scratch and get the same results a screen refresh only. Here are the actual settings in my text object where BarWebSite is a field in the underlying MS Access table containing the link info such as www.koolkats.com
Name - WebBarSite
Visible - Yes
Control Source - WebBarSite
Data type - Text
Format - nothing here
Default value - nothing here
Content - Text
Href type - Database
Href Source - webBarSite (This is the field in the table containing the link
Convert ULR to - None
Remove paratmeter - nothing here
Preserve parameters - GET
DBformat - nothing here
Note: This is in a grid display and each record has a different web site in it and as you probably know I want to hotkey to the site when this control is clicked.
CCS tech support advise they cannot duplicate this issue. I create a blank dummy project with one table and used the grid builder on a test form... and get the same results, clicking on the www.somesite.com just refreshes my screen. I should mention after applying the setting above the textbox in the grid changed and has the unerline under it, and is a different color that is was before.
Anyone got any idea what I am doing wrong here?
|
|
|
 |
DonB
|
| Posted: 10/03/2005, 5:59 PM |
|
For starters, you keep saying 'textbox'. Do you actually have a Link
control in the grid instead - not a text field?
If so, then it's probably because you have omitted the "http://" from your
URL. Either include that in the database, or in the Before Show event of
the Link, prepend the string so that you have a completely-formed URL in the
href of the link.
If you haven't already, look at the page source of the page containing your
grid and see what's really in the href of your Link. I suspect it's not
what you think - maybe a reference to the current page or completely empty.
--
DonB
http://www.gotodon.com/ccbth
"Pete" <Pete@forum.codecharge> wrote in message
news:2434183cc4900f@news.codecharge.com...
> Hi,
> I have tried everything to get a textbox in a grid to launch a
> www.somesite.com. I setup everything as it should be and whne clicking
the
> link it just refreshes the page and does not call the web site up.
>
> Here are the settings:
> I am drawing the conclusion that this is a bug. I added the control in
from
> scratch and get the same results a screen refresh only. Here are the
actual
> settings in my text object where BarWebSite is a field in the underlying
MS
> Access table containing the link info such as www.koolkats.com
> Name - WebBarSite
> Visible - Yes
> Control Source - WebBarSite
> Data type - Text
> Format - nothing here
> Default value - nothing here
> Content - Text
> Href type - Database
> Href Source - webBarSite (This is the field in the table containing the
link
> Convert ULR to - None
> Remove paratmeter - nothing here
> Preserve parameters - GET
> DBformat - nothing here
>
> Note: This is in a grid display and each record has a different web site
in it
> and as you probably know I want to hotkey to the site when this control is
> clicked.
>
> CCS tech support advise they cannot duplicate this issue. I create a
blank
> dummy project with one table and used the grid builder on a test form...
and
> get the same results, clicking on the www.somesite.com just refreshes my
> screen. I should mention after applying the setting above the textbox in
the
> grid changed and has the unerline under it, and is a different color that
is
> was before.
>
> Anyone got any idea what I am doing wrong here?
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
|