Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Skip for already replaced records
Message
From
22/02/2005 09:43:40
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Skip for already replaced records
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00989215
Message ID:
00989215
Views:
82
i have a table i want to replacement in a veriable as three type "P" ,"A" and "L"
i replaced "A" and "L" first and then replace "P" with these codes:
Select 6
         Set Order To CODE
         SCAN for admtd=1
             
             grno = code
             mscode = scode
             mlcode = lcode
             msec = sec
             
                 Select 11
                Append Blank
                 Replace code With grno
                 Replace date With pdate
                 Replace type With 1
                 Replace category With "P"
                 Replace scode With mscode
                 Replace lcode With mlcode
                 Replace sec With msec
      
                endscan
 endif
endif
my problem is this if i have replace P with these codes, also replaced the A and L records
i want to mentain the A and L for "code" veriabel.(skip for A and l)
thanks
Next
Reply
Map
View

Click here to load this message in the networking platform