replace function

I saw somewhere a function that makes the same as Replace Contens Field in FM, but I don’t find it anymore…

Please help me!

It’s under the utils node. You could also use the String function replace() (under JsLib/String).

Sorry, I’m looking for the function that replace in the founset the entire content of a dataprovider, instead of making a loop.

lcr159:
Sorry, I’m looking for the function that replace in the founset the entire content of a dataprovider, instead of making a loop.

Take a look at DataBaseManager and DataBaseManager/JSFoundSetUpdater.

There also was a good article on Servoy magazine about changing a field content for an entire foundset.

That’s it! thanks