Newbies DirtyThief Posted June 23, 2000 Newbies Posted June 23, 2000 Is there a way to delete all entries in a repeating field using scripting? I've tried, and have only been able to delete the first entry. Help! D.T.
Kurt Knippel Posted June 23, 2000 Posted June 23, 2000 quote: Originally posted by DirtyThief: Is there a way to delete all entries in a repeating field using scripting? I've tried, and have only been able to delete the first entry. Help! D.T. Not with a single step. You could delete all repetitions of the field using the Set Field command for each repetition. ------------------ =-=-=-=-=-=-=-=-=-=-=-=-= Kurt Knippel Senior Filemaker Developer http://www.inthescene.com mailto:[email protected] =-=-=-=-=-=-=-=-=-=-=-=-=
Newbies DirtyThief Posted June 23, 2000 Author Newbies Posted June 23, 2000 How would I script that? Is there a specific calculation to tell it to go to the next repetition?
Newbies Radoy Posted June 26, 2000 Newbies Posted June 26, 2000 quote: Originally posted by DirtyThief: How would I script that? Is there a specific calculation to tell it to go to the next repetition? No. Workaround is to create a second database with an empty repeating field(same number of repeatitions) and do an import(with selected "Replace records" option)into the repeating field you want to clear.In this case you nees to have the same number of found records in both databases(scriptable).
Kurt Knippel Posted June 26, 2000 Posted June 26, 2000 quote: Originally posted by DirtyThief: How would I script that? Is there a specific calculation to tell it to go to the next repetition? Set Field (FieldName, 1) = "" Set Field (FieldName, 2) = "" and so on... ------------------ =-=-=-=-=-=-=-=-=-=-=-=-= Kurt Knippel Senior Filemaker Developer http://www.inthescene.com mailto:[email protected] =-=-=-=-=-=-=-=-=-=-=-=-=
Recommended Posts
This topic is 8920 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