There’s a reason why FileMaker developers tend to be so well compensated for more complicated projects, and if you’re not sure how to handle something you should definitely consult a professional.
Source: What to Do When Your FileMaker Application Is Running Slow