keepingbusy
Programmer
Hi all
Can any please suggest what's wrong here?
I have the following code:
As you can see the prices are seperated by a comma and not a full stop (This is due to the fact its a French project and the Euros have to be seperated by a comma ,)
For this reason I convert the two variables replacing the comma with a full stop:
I then tried:
and
and
None of the above work can anyone suggest why?
The Table field SELL is also a character field and the amounts stored are originally , but converted as above before the DELE FOR process.
(VFP Version 9 this project)
Hope that makes sense
Many thanks
Lee
Visual FoxPro Versions: 6 & 9
Operating System: Windows XP
Can any please suggest what's wrong here?
I have the following code:
Code:
STORE SPACE(7) TO mprice1, mprice2
STORE "0,74" TO mprice1
STORE "1,00" TO mprice2
For this reason I convert the two variables replacing the comma with a full stop:
Code:
STORE strtran(mprice1,[,],[.]) TO mprice1
STORE strtran(mprice2,[,],[.]) TO mprice2
Code:
DELETE FOR VAL(SELL)=>VAL(mprice1) AND VAL(SELL)<=VAL(mprice1)
Code:
DELETE FOR SELL=>VAL(mprice1) AND SELL<=VAL(mprice1)
Code:
DELETE FOR VAL(SELL)=>mprice1 AND VAL(SELL)<=mprice1
The Table field SELL is also a character field and the amounts stored are originally , but converted as above before the DELE FOR process.
(VFP Version 9 this project)
Hope that makes sense
Many thanks
Lee
Visual FoxPro Versions: 6 & 9
Operating System: Windows XP