A variable is not a field.
So you have a variable with the same name as a field, then the field value get's displayed, if you display MyBranch.
You don't browse a variable, you browse data.
Your field is named numericfield, isn't it?
Here's a short demo of what might happen:
Code:
Create Cursor curData (numericfield N(10,2) DEFAULT 0.0, MyBranch C(10) DEFAULT "MABDAH LAB")
Append Blank
MyBranch = numericfield
? MyBranch, m.MyBranch
MyBranch will display the field value, m.MyBranch will display the variable value.
If you BROWSE, as I asked you, without FIELDS clause, you'll see the numericfield contains the 0.0, it doesn't contain the string, that's in the MyBranch field.
You have a field and a variable with the same name. What happens, if you address the name? You get the field value, not the variable value.
Bye, Olaf.