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 [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to