The file dbAlias has a field labeled DESCRIP. The contents of that field in
record 2 is Snowman.
Here is a snippet of code:
<MvASSIGN name="dbFld" Value="d.descrip">
<MvOPEN
NAME=dbAlias
DATABASE=dbLoc $ dbN $ ".dbf"
TYPE="xbase3">
<MvGO NAME=dbAlias ROW="2">
<MvASSIGN name="tmp" value="{dbFld}">
Field Descrip=<MvEVAL EXPR="{tmp}"></p>
What is printed is: Field Descrip=d.descrip
The Code below produces the correct result:
<MvOPEN
NAME=dbAlias
DATABASE=dbLoc $ dbN $ ".dbf"
TYPE="xbase3">
<MvGO NAME=dbAlias ROW="2">
<MvASSIGN name="tmp" value="{d.descrip}">
Field Descrip=<MvEVAL EXPR="{tmp}"></p>
Anybody know WHY the first does not work?
Dan Sweger
[email protected]
Comment