Quote:All new stringarray functions addition in ver. 1.04 and ver. 1.1 makes the job of string manupulation a whole lot easier. What one could achieve earlier by string manupulation with arrays and loops, now can be done with a simple statement.
To emphasize the above point, let us go to the begining of the link, where you inquired if it was possible to narrow down a long list in the useselect list. We, indeed, went really long way using filtering function, loop, subroutine and achieve our goal halfway. ( I said halfway because we did not tackle ..abc search)
The same thing (and more as it also include ..abc search) can be accomplished in just one statement.
Let's say, you want to have CustomerName from Customer.db - Customer_Info Form where it is in Name element
On Element Exit Event
If @in (CustomerName, "..") > 0 then
CustomerName = @Popupmenu (@xlookupall("Data\customer.db", CustomerName, "Customer_Info!Name", "Name"), "Customer Names")
That is it. With Sesame more deeper one goes, more pearls he finds!!!
Nothing wrong with the previous approach but that was before version 1.1.
For this you can use also userselect or Combobox. The important thing is that you are getting the string of values, and here, we did not have to manupulate string. Thanks Mark, for giving @xlookupall function which is very useful for working with One to Many (or Many to Many since we can use search) relationship.