>"SELECT rft_type, rft_desc, rft_pk,rft_historical FROM dbo.ReferralType ORDER BY rft_type"
>
>The Combobox.RowSource is set in code to>this.RowSource = this.zrtc_lookupalias + ".rft_type,rft_desc,rft_pk" >>All working fine so far. However, as shown in the first image, there is no visual separation between the rft_type and rft_desc columns in the combobox so it's a bit confusing to the user. For example, the top row says "Agriculture Range use" where "Agriculture" is the rft_type and "Range use" is the rft_desc. The desired enhancement is to add a separator " // " between rft_type and rft_desc when the latter is not blank or NULL. So in this case the first row should read "Agriculture // Range use".
>"SELECT rft_type, CASE WHEN ISNULL( rft_desc, '' ) = '' THEN rft_desc ELSE ' // ' + rft_desc END AS rft_desc, rft_pk,rft_historical FROM dbo.ReferralType ORDER BY rft_type"
>
>Basically, if rft_Desc is not NULL or blank, prefix it with " // ". This query works as expected when run directly in SSMS. However, when built into the app, the combobox is showing "Memo" instead of the expected " // Range use" (see the second image Cbo_CA_2.png).