Jump to content

This topic is 8021 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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]

Posted

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, "

This topic is 8021 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.