Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Xbase Codebase > expr4parse
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 270 of 304
Post > Topic >>

expr4parse

by WarnerLabs@[EMAIL PROTECTED] Dec 14, 2006 at 04:37 PM

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?
 




 1 Posts in Topic:
expr4parse
WarnerLabs@[EMAIL PROTECT  2006-12-14 16:37:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Sun Jul 6 18:03:50 CDT 2008.