|
|
Re: Change display text on parameter [message #1843047 is a reply to message #1843025] |
Tue, 13 July 2021 06:59 |
Robert Jones Messages: 10 Registered: June 2021 |
Junior Member |
|
|
your combo box looks fine. You want the value to be 0 or 1 because that is what the database uses and will filter on. When the combo box is being displayed for parameter entry, you should see Yes/No.
On the dataset, you will do something like
select blah from blat where isdocumentsent = ?
then select your parameter in the dataset parameters tab.
When you display this data, e.g. using a table, you can you use the map property tab on the data field. Select the data field on the table for isdocumentsent that usually says 1 or 0, then in the property editor section, select the map tab, then you can set Yes for condition row["isdocumentsent"] = 1, and No for 0.
You should not have to resort to any such code, you should remove it.
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03233 seconds