Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why does this not work?
Message
De
20/12/2004 11:42:10
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
00970191
Message ID:
00970690
Vues:
18
>I didn't see where You definne some variables, may be thay are PUBLIC but?
The Variables are defined as public in the page init method. INVCOUNT is the only table.
TEMPUPC and TEMPLOC are blank until the proper type is scanned in. ie. scan a location barcode and then scan the barcodes of everything there. keeping the TEMPLOC value until the next location barcode is scanned.

>
>
>CNTTEMP=This.Value
>* This says where the product is
>If Left(CNTTEMP,1)="*"
>    TEMPLOC=Substr(CNTTEMP,2)
>Else
>    * this it to change quantity by more than one at a time
>    If Left(CNTTEMP,1)="#"
>        TEMPCOUNT=Val(Substr(CNTTEMP,2))
>**********************************************************************************************
>        Seek TEMPUPC Order Tag CUPC In INVCOUNT  && WHAT IS THE VALUE OF TEMPUPC? FROM WHERE?
>**********************************************************************************************
>        If Found()
>            Replace INVCOUNT.NCOUNT With INVCOUNT.NCOUNT+TEMPCOUNT In INVCOUNT
>        Endif
>    Else
>        * this is the product UPC code
>        TEMPUPC=CNTTEMP
>**********************************************************************************************
>        Locate For TEMPLOC=INVCOUNT.CLOCATION While TEMPUPC = INVCOUNT.CUPC && WHAT IS VALUE OF TEMPLOC, I see it is sttored ONLY IF Left(CNTTEMP,1)="*"
>**********************************************************************************************
>        If Found()
>            Replace INVCOUNT.NCOUNT With INVCOUNT.NCOUNT+1 In INVCOUNT
>        Else
>            Append Blank In INVCOUNT
>            Replace INVCOUNT.CLOCATION With TEMPLOC
>            Replace INVCOUNT.CUPC With TEMPUPC
>            Replace INVCOUNT.NCOUNT With 1
>        Endif
>    Endif
>Endif
>CNTTEMP=""
>Thisform.Refresh
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform