Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameters Command Giving .F
Message
From
02/02/2014 11:35:13
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Parameters Command Giving .F
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01592937
Message ID:
01592937
Views:
82
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
Next
Reply
Map
View

Click here to load this message in the networking platform