Hi,
With an agent for selected documents, I replace some string like this :
repl := @ReplaceSubstring(Destinataire;"AA":"BB";"aa":"bb");
@SetField("MyField";repl);
SELECT @All
That works but the old values still appear in the view.
I have checked the document properties, values were replaced BUT it's the old values wich are displayed in view.
I have refreshed the view > F9 > no result
I have rebuilt the view index > ctrl+shift+F9 > no result
I have compacted the database > no result
...
: -((
Well, in Designer, I have changed column name in fact, it was a field name (it's also the formula column) by $1, I have saved the view and the good values are displayed!!
So, I have changed the column name $1 by the old and all is fine.
it's a bug??
Thierry

refresh View after replacing values... (Thierry Ceretto... 7.Jan.05)
. . 