February 15, 200322 yr I'm trying to implement a global field [g_recent] that lists the last 10 records accessed within a file. This "stack" is updated [insert with calculated result] with navigation buttons [a pattern check "sub" script eliminates duplicates]. How to delete line 11 of g_recent when a new line is inserted into the stack. [email protected]
February 15, 200322 yr Find the location of the paragraph before the line to delete. Then use the Set Field function to replace the field contents with the string up to that paragraph minus 1 character. The hardest part is finding the location of the paragraph. The Position(text, search string, start, occurrence) function will do the job of finding the paragraph. The Left(text, number) function generates the string. The function will look like this: Left(text, Position(text, "
Create an account or sign in to comment