Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
REPLACE problem - weird (I think)
Message
 
To
02/07/1998 00:43:13
Bruce Gilmour
Cal-Mour Consultants
Calgary, Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00113674
Message ID:
00113676
Views:
20
Try this:

WITH thisform.bgpageframe1.page2.grdordlines
SELECT Item_Master
SET ORDER TO TAG itemnumber
SEEK this.value
IF FOUND()
REPLACE ordentlines.description WITH Item_Master.description,;
ordentlines.nonstock WITH .T.,;
ordentlines.saleunit WITH Item_Master.saleunit,;
ordentlines.salemult WITH Item_Master.salemult
ELSE
REPLACE ordentlines.nonstock WITH .T.,;
ordentlines.saleunit WITH "EA",;
ordentlines.salemult WITH 1.000
ENDIF

otherhand try this:

-If buffering option is set to on check for the tableupdate function is used correctly

-Try the step by step debugger to see if the program pass throug the lines after the ELSE section.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform