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

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

Recommended Posts

Posted

hi

ive got 2 quite large tables; one with some 65 000 records, the other with nearly 5 000.

now i need to check the 65 000 one to see if any of those records already exists in the 5 000 pile. im using a $id = $id2 type of script with 2 diffrent loops, one looping first through the small script, and then exiting back to the other loop, which lopps throught the big one. both commiting after the last record.

this takes forever, anybody know how to speed this up?

Posted

Try a matching records import.

Posted

thanks but i need to script it, i need to save the unmatched ones and check them again to another list befor i just delete them. is there anyway to scrip whatever you just said?

Posted

Show All Records is a script step, and so is Go to Related Record. Actually, I don't know of another way to go to related record/s, so you must script this.

Posted (edited)

k, i c...

thing is that im on a swedish copy of fm8 so i have to translate everything into swedish, and the translations for fm is not good in the first place so its basicly guessing. ive got the "show all records" as a normal search mode, thats why...

anyhow, thanks a bunch!

Edited by Guest
Posted

ok.. doingh the show all, and goto related but all i get is that i end up in the smaller table, with it showing all records. do i need a "goto table" option?

Posted

im a programmer by basis, please talk code... :)

kinda like:

goto layout(smaller)

show all()

goto related records(shoe search results only)

goto layout(bigger)

?

Posted

Go to Layout [ some layout of the smaller table ]

Show All Records

Go to Related Record [ From table: “bigger”; Using layout: some layout of the bigger table ] [ Show only related records; Match found set ]

Posted

...

Go To Layout[smaller]

Show All Records[]

Go to Related Record [ From table: BiggerTable; Using layout: Layout tacked to Bigger table ] [ Show only related records; Match found set ]

Loop

Set Field[bigTable::Exists ; 1]

Go To Record[Next ; Exit After Last]

End Loop

The above or close to it, will do comments suggestion and show you those records that exist within the big table that are in the small table, or if you want to do it the other way around, run from big table. The field Exists, is just a marker field so if you need you can find those records again and then check it with your other list.

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