Page 1 of 1

slow query ..Help

Posted: April 16th, 2024, 10:52 pm
by PHINOJOSA
good night family

I have a csdb file of more than 3000 records that I query with Selcase, but the query on the cell phone is very slow, is there any way to make the query faster?

Atte. Paul Hinojosa

Re: slow query ..Help

Posted: April 17th, 2024, 10:48 am
by justinlakier
Hello,

You can use StartsWith to optimize a search of your database by making sure it only searches through relevant cases. The "where" clause only filters the cases that SelCase has already found, your "StartsWith" needs to be after the dictionary name in the SelCase function, as the dictionary access parameters page on SelCase and StartsWith mentions.

Hope this helps,
Justin