main logo
Subject: Re: Parent - child BizObj
Author: James Sayer
Posted: 2000/11/22 16:31:43
 
View Entire Thread
New Search



<One error that is being thrown, is from the cset.set() function. At line 91 (SET &lcSetCommand &lcClauses; "SET EXAC TO [OFF]"), an error is thrown, but it does not stop the flow. My question is, is the error number thrown (10) the VFP error 10 (syntax error)?

Greetings Mike,

Looks like VFP error 10. The correct syntax for SET EXACT is ON or OFF. This is situation where the cSet or iSet utility should NOT be used. cSet.Set assumes that the SET command to be acted upon will require a " TO " in the clause.

I don't think there is any good way to fix this inside of cSet since some SET commands use both ONOFF and alt phrases. See century and currency.

The comments to cSet should probably include an ASSUMPTION statement that makes this clear. Is this coming from existing framework?
James Sayer
 
©2000 James Sayer
<-- Prior Message New Search Next Message -->