PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV (earlier versions)
→
afficher le resultat d'un selecteur dans une table mémoire
afficher le resultat d'un selecteur dans une table mémoire
Started by MOTTOUL Jean-Philippe, Jul., 03 2003 5:11 PM - No answer
Connect yourself…
MOTTOUL Jean-Philippe
#1
Posted on July, 03 2003 - 5:11 PM
J'ai un bouton qui envoie dans une table mémoire le resultat d'un selecteur.
Mon probleme se situe lord du premier enregistrement. En effet, pour la
gestion d'un caddie de commande, le client selectionne un produit. Pour ce
produit, il a un choix A ou B via le selecteur. Lorsqu'il fait un Add dans
son caddie, il place ce choix dans un tableau avec son produit. Or il
n'affiche pas ce choix ! Par contre, si si client choisi un 2eme produit (ou
plus), le choix s'affiche alors pour le 1er et le 2eme produit ! Je ne
comprend pas ce phénomène qu'il ne s'affiche qu'a la 2eme ligne (or un
client devrait pouvoir ne commander qu'un seul produit !)... Voici mon code
:
(......)
valtype = select1[select1]
si valtype = 2 alors type = "Multi"
si valtype = 1 alors type = "Blanc"
(....)
tableajoute("TABLE11",Qt+tab+Sandwch.NomSdw+TAB+Type+TAB+toutcompl+tab+prixt
otal+TAB+Sandwch.SACLEUNIK+TAB+remarque+tab+combo4[combo4])
valprix=0
POUR Indice=1 à table11..Occurrence
valprix=valprix+Prix[Indice]
FIN
libelle227=valprix
(.....)
Report
0
0
→ Go back to WEBDEV (earlier versions)
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
WEBDEV (earlier versions)
WINDEV Mobile (earlier versions)
Reports & Queries
Off-topic
Tools
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text