Replace in Vars's
hershrev
hershbp at realtorsgroup.us
Fri Mar 12 12:33:36 EST 2004
was send mistakenly....
On Friday, March 12, 2004, at 12:32 PM, hershrev wrote:
>
> On Thursday, February 26, 2004, at 05:52 PM, Brian Yennie wrote:
>
>> Perhaps one of the vars is empty, or misnamed, or such? Could you
>> post the actual closeField handler?
>>
>>> Type replace: error in pattern expression
>>> Object Contact Form
>>> Line replace lOldText with lFieldText in lEquery
>>> Hint closeField
>
> on openField
> put the text of the selectedField into lOldText
> end openField
>
> on closeField
> if gAction = "Edit"
> then
> put the name of the selectedField into lModifyFieldName
> put the text of the selectedField into lFieldText
> delete word 1 of lModifyFieldName
> delete char 1 of word 1 of lModifyFieldName
> delete char -1 of word 1 of lModifyFieldName
> if lEquery contains lModifyFieldName and lOldText <> lFieldText
> then
> replace lOldText with lFieldText in lEquery
> else
> put lModifyFieldName &&"="&"'"& the Text of the selectedField
> &"',"& space after lEquery
> end if
> end if
> end closeField
>
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list