Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scan Endscan Problem VFP6 sp3
Message
De
11/01/2000 07:44:07
 
 
À
10/01/2000 22:59:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00315948
Message ID:
00316066
Vues:
31
Do you have an index on the table being SCANned? If you have an index
on the HOLD column you will get results you might not expect...

>>I don't understand what you are trying to do. Could you explain?
>
>I'm searching the table for invoices that have one line item on the invoice. If it does then I'm checking to see if that line item is category "CON" if it is I want to place that order on hold by placing .T. in the hold field of the invoice file.
>
>>
>>>My Scan is skipping records. I have add skip -1 as the last line of the IF() statement. This has correct the problem but I don't think it is the correct solution.
>>>
>>>Scan while !eof() for lines=1
>>>lcCusnum=cuskey
>>>lnOrdernum=orderno
>>>lcCatkey=catkey
>>>If lcCatkey="CON" and orderfl.orderno=lnOrdernum
>>>Replace hold with .T. while invfl.orderno=lnOrdernum
>>>Wait window;
>>>"Replaced Hold with True as Requested for Customer # "+lcCusnum;
>>>at 15,115 timeout 0.75
>>>Skip -1
>>>Endif
>>>Endscan
>>>
>>>TIA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform