neosoft Posted July 13, 2004 Posted July 13, 2004 Hi all, im new in this forum and my english is not so fine, but I'll try to explain what happens as well i can do. I'm working in a fp7 file in which a script uses a replace function to change some word in a text field. Well the fact is that if the text field dimension is under 3800 chars (nearly) all goes fine. If the text field dimension is over 3800 chars(nearly) the resulting text is wrong (some replace are doubled, and the end of text is cutted). I think that is a bug related only to fp7 because in fp5 the same script works fine. Thanks in advance for your answers and sorry again for my bad english. Andrea
Vaughan Posted July 14, 2004 Posted July 14, 2004 Have you installed the v2 patch yet? It might be fixed already.
neosoft Posted July 14, 2004 Author Posted July 14, 2004 Have you installed the v2 patch yet? It might be fixed already. Ya, I've yet installed the V2 patch. I must apologize for mistake in thread title. The bug I found is about the [color:"red"] Substitute Function (not the replace function as I wrote). I'll start a new thread in forum with the right title. However everyone can check himself: [color:"red"]1) Create a new fmp7 file [color:"red"]2) Define 2 simple text field (text1 and text2). [color:"red"]3) Create 1 simple Script in which Set field [color:"blue"] text2 as Substitute(text1; "sometext"; "someothertext") [color:"red"]4) go in browse mode and fill text1 field with text to reach more than 4.000 chars (obviously u must insert the word "sometext" of the Substitute function above.) [color:"red"]5) Run the Script and unfortunately you'll find in text2 field the word "someothertext" doubled (practically "someothertextsomeothertext") Please may everybody check it and give me a feedback? Thanks guys
Recommended Posts
This topic is 7698 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now