|
| Iniciado por virtualsoftware, 16,abr. 2019 07:40 - 1 respuesta |
| |
| | | |
|
| |
| Publicado el 16,abril 2019 - 07:40 |
Hi All A question, I have a data file called General Ledger Which has a radio button, with a selection of Asset, Liability, Capital, Revenue, Expense I also have a data base, called Inventory which has default selections for Expense, Liability etc. I need to filter the search on the General Ledger for the selected default General Ledger type Sorry for my lack of datail Thanks in advance
Peter |
| |
| |
| | | |
|
| | |
| |
| Publicado el 12,mayo 2019 - 21:34 |
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. |
| |
| |
| | | |
|
| | | | |
| | |
|