Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variable not releasing from button
Message
From
11/12/2008 18:12:19
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Variable not releasing from button
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01366777
Message ID:
01366777
Views:
61
I have a form with a command button and a grid on it. When a cell is selected the command button can be used to open a browser and go to a site. The cell value is added to the website Url.

The button works well except that I'm having trouble releasing the variable. Subsequent returning to the form and button pushing returns to the same site. I need to refresh the button (or release the variable)without refreshing the form, which would reset the grid. Any ideas??


My code in the "click" of the button looks like this:


set procedure to wwutils additive


Release lnpubll

Local lnpubll

lnpubll = thisform.grid1.column11.text1.value

GoUrl (("http://www.mywebsite/") + urlencode(alltrim(lnpubll)))
Next
Reply
Map
View

Click here to load this message in the networking platform