jeu. 14 avril 2016, 16h09
AL
France
atoutfox.public.association
affectation variable a un champ avec un bouton
Bonjour,
Presque tout est dit dans le titre mais avant de traiter ceci avec un spinner (très mal documenté le spinner) je voulais tester avec un bouton
l'affectation de la valeur d'une variable dans un champ. Mais en retour j'ai l'erreur:
"Objet ARTICLES introuvable"
Table: Articles.dbf
dans Formulaire Construction la table est ouverte dans l'Init du Form.
Bouton Command1 code evènement Click:
bRef=101331
IF thisform.image1.visible=.F. then
thisform.image1.visible=.T.
SELECT articles
LOCATE ALL FOR articles.ref=bRef
QteArt=articles.Vte+1
articles.Qte=QteArt && ICI ERREUR
ELSE
thisform.image1.visible=.F.
SELECT articles
LOCATE ALL FOR articles.ref=bRef
QteArt=articles.Vte-1
articles.Qte=QteArt && ICI ERREUR
ENDIF
Un lien vers un tuto concernant le spinner ? une recherche dans ce forum ne me retourne pas ce que je cherche. Merci.
Alain
Permalink : http://www.atoutfox.org/nntp.asp?ID=0000017580