Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameters Command Giving .F
Message
De
02/02/2014 11:35:13
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Parameters Command Giving .F
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01592937
Message ID:
01592937
Vues:
85
I am using the following code. I am not getting the value for cPSFILEPATH,cNEWPATH in my compress procedure. Instead I am getting .F.

What is the correct code. Kinldy Advice.
Select NEW_BILLS
LOCAL cPSFILEPATH as Character
LOCAL cNEWPATH as Character

Scan  && Scans for New_bills up to EOF()
*Define Variables
cPSFILEPATH=Alltrim(oldpath)
cNEWPATH=Alltrim(NEWPATH)
DO Compress
ENDSCAN

PROCEDURE Compress
PARAMETERS cPSFILEPATH,cNEWPATH
Create Cursor BILLCOMPRESS (POS C(254))  && Create Temporary Cursor Billcompress to Check Page Numbers,Compressed File and Invoice Date.
Select BILLCOMPRESS
WAIT WINDOW cPSFILEPATH
WAIT WINDOW cNEWPATH
Append From (m.cPSFILEPATH) Sdf  && Nothing is appeneded as I get .F. as value for cPSFILEPATH
ENDPROC
Harsh
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform