McGoo Posted April 24, 2003 Posted April 24, 2003 Is it possible to delete found records within a script. I am importing a file into Filemaker that has a header and footer file, I am writing a script to automate this process so that the relevant department can import the record and delete the header and footer. I can find header and footer files as I have created a field that contains a code taken from the main record, header and footer files have a specific codes within the main record. I have set my script to find all Header and Footer files as there will be up to 20 files imported at once and I want to have a script that searches the whole file and deletes any Header or Footers. I hope this makes sense (it makes sense in my head but so do the voices ) Any light you can shed on this problem is greatly appreciated.
djgogi Posted April 24, 2003 Posted April 24, 2003 yes of course, the Delete All Records script step will delete all records in Current Found Set So... after performing find and testing that the found set is existing simply call Delete All records step Dj
DanSimon Posted April 24, 2003 Posted April 24, 2003 I think Mr DjGoran's answer might be what you need. But you are talking about deleting *files*? Header and footer files? Are you storing files in your records, or records in your fields. What will they think of next
McGoo Posted April 25, 2003 Author Posted April 25, 2003 Sorry I wasnt ver specific. Header and Footer Records. I have used DjGorans solutions and it has worked brilliantly. Many thanks
Recommended Posts
This topic is 7887 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