I have an old button script that reads from the AR_CustomerMemo table for a customer and get all the memos and puts them into a UDF. This was a way that the client could see all of the customer memos at one time in a notes type field. In the old code, I used ODBC with a SELECT statement to read from the file. I specified an ""ORDER BY MemoDate DESC"" as they want the newer stuff to show up at the top.
They just upgraded to 4.50, and I was trying to convert this over to a UDS so that the UDF field would be automatically populated. The problem I'm running into is, how do I do a descending date read from the file with a UDS? Any ideas?
(P.S. Reading from the file, storing the keys, sorting the keys by descending date, and re-reading the records in sort order is the place I do not want to go to.)