Check your data file and you may realize that the Radio Button selection returned and stored the integer value of the selected radio option; it did not store the assigned option caption. From the order by which you structured the list of radio button options in your question, an "Asset" would return a 1, "Liability" a 2, "Capital" a 3, "Revenue" a 4, and Expense a 5. If in your Gen'l Ledger you stored the actual nouns, (i.e., Asset, Liability, Capital, Revenue, Expense), then to filter the items you will have to convert the radio option selected # (e.g. Use CASE statements to return a corresponding filter string) to create the Search word representing the option selected. Alt: Using a combobox you could use sSearch = combobox..displayedvalue after the selection has been made. Using Radio Options, Listbox, or Combobox selections is a great way to keep dyslexia from impacting user-typed-in values so long as you later correlate the integer values to user readable tables, reports, or exports. Believe WinDev attempts to do this in RAD tables and forms based on field info/characterization in the Analysis. Check also WinDev examples. |