Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Bit of a strange one. I run an import from an external source which gives me around 260-270 records.

i am always only interested in the first 40 records.

The import is scripted. Is there an easy way to add into the script a command to delete every record after the 40th record? I am not quite sure how I would go about this other than going to the 41st record, delete record, and looping.

Is there a way to omit all records after 40 then show omitted, delete all ??

Thanks

Ed

Posted

How about:

Show all records

Go to Record [ First]

Omit Multiple [40]

If [ Get ( FoundCount ) ]

Delete All Records

End If

Posted

If there are only 30 records for example, there will no found set, so no point in trying to delete.

Posted

Does the sort order matter? I mean, which 40 to keep is determined by creation order?

Posted

I just assumed because the OP said first 40 records in each table.

This topic is 5651 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.