# A USTRING drop list: how to write the FROM list

**URL:** <https://forums.softvelocity.com/t/a-ustring-drop-list-how-to-write-the-from-list/135>\
**Category:** Support\
**Tags:** ui, c12, wiki, unicode\
**Created:** [October 5, 2026, 12:49pm UTC](https://forums.softvelocity.com/t/a-ustring-drop-list-how-to-write-the-from-list/135 "2026-10-05T12:49:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rzaunere](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@rzaunere](https://forums.softvelocity.com/u/rzaunere)\
**Post date:** [October 5, 2026, 12:49pm UTC](https://forums.softvelocity.com/t/a-ustring-drop-list-how-to-write-the-from-list/135/1 "2026-10-05T12:49:53Z")

</div>

Checked on build 14407, 10-05-2026.

**Question.** A STRING drop list is `LIST,USE(Var),DROP(10),FROM('ALL|#ALL|None|#NA|...')`. Where does the U go for a USTRING one, in front of each entry?

**Answer.** One `U`, in front of the whole string. The FROM literal is one string with `|` separators, and `U'...'` makes that one string wide, entries and `#` alternate values included:

```clarion
Glo:BatchSource USTRING(20)

W WINDOW('USTRING drop list'),AT(,,300,110),SYSTEM,GRAY,FONT('Segoe UI',9)
     LIST,AT(70,8,120,11),USE(Glo:BatchSource),LEFT(2),DROP(10), |
          FROM(U'ALL|#ALL|None|#NA|Disbursements|#AP|Payroll|#PR|Receipts|#AR|Transfers|#AT|Other|#Oth|Ελληνικά|#EL|中文|#ZH'), |
          MSG('Batch Source selection option'),TIP('Select a Source option from this droplist.')
   END

```

**Three things to know.**

- A FROM continued over several lines with `&` needs `U` on every piece. A plain `'...'` piece is converted through the ANSI codepage before the pieces are joined, and its non-ANSI characters are lost there:

```clarion
        FROM(U'ALL|#ALL|None|#NA|Disbursements|#AP|Payroll|#PR|' & |
             U'Receipts|#AR|Transfers|#AT|Other|#Oth|Ελληνικά|#EL|中文|#ZH')

```

- At run time: `?Glo:BatchSource{PROP:From} = ListText` with a USTRING variable, or a `U'...'` literal on the right. A variable is never a declared FROM source, in any type (FROM takes a QUEUE, a QUEUE field or a constant string); the run-time form is the way to feed a list from a variable.
- The non-ANSI characters are typed as they are when the source file is saved as UTF-8 (the IDE offers it at save; a UTF-8 file with a BOM is picked up automatically), or spelled as code points inside the literal: `U'<3A9h>'` is Ω.

The USE variable receives what it always did: the alternate value when one is given (`EL` for the Greek entry), otherwise the entry text. The same applies to COMBO and SPIN.

**Help** (the topic titles and index words that find it in the Help file): FROM (set listbox data source), Unicode paragraph; Which screen controls carry Unicode? Index: “drop list \> Unicode”, “FROM(U’…')”.
