Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable not releasing from button
Message
De
11/12/2008 18:12:19
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Variable not releasing from button
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
01366777
Message ID:
01366777
Vues:
63
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)))
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform