Hello.
I'm creating a .NET app using CodeBase for Foxpro DBF processing. At
the moment, I'm getting an out of memory error when I'm using the Expr4
object to evaluate an expression and assign the result to another field
in the dbf.
[code]
CodeBase.Code4 c4 = Program.GetCode4();
CodeBase.Data4 table = new CodeBase.Data4();
table.open( ref c4, sInput );
for ( int i = 1; i <= table.recCount(); ++i )
{
table.go( i );
CodeBase.Field4 field = new CodeBase.Field4( table,
actionInfo.FieldName );
CodeBase.Expr4 expression = new CodeBase.Expr4( table,
actionInfo.Expression );
if ( expression.isValid() == 1 )
{
String sResult = expression.str();
field.assign( sResult );
}
}
table.close();
[/code]
Does anyone know why this is giving me this error?