Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append
Message
From
28/04/2008 06:00:08
 
 
To
28/04/2008 05:40:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Append
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01313438
Message ID:
01313441
Views:
7
Hi Mohammed,

You are using the wrong function.
VAL() will convert a value into a numeric one.
?VAL([x]) will always give you 0.00
If you want to know if the current Textbox.Value equals [x] then it is enough to write this:
IF Thisform.Text13.Value == [x]
    Replace prior with 1 in <name of your table or cursor>
ENDIF
however, why don't you use an optiongroup? It would be so much easier to handle.

i.e.
    REPLACE prior WITH Thisform.myOptiongroup.Value in <myCursorName>
Best Regards
-Tom

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.

Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform