• option groups as text in reports (2000)

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » option groups as text in reports (2000)

    • This topic has 6 replies, 4 voices, and was last updated 23 years ago.
    Author
    Topic
    #370329

    I have a number of fields which use numbers for options – so I can use options groups for data entry. how can I make my report and/or queries show text entries instead = eg 1,2,3 translates as Expert, Intermediate, Novice for different course levels.

    I can format boolean fields with no problem – but ;”smoker”;”nonsmoker” doesn’t seem to work for option groups!

    Viewing 1 reply thread
    Author
    Replies
    • #585593

      Create lookup tables with the text entries, e.g.

      ID Description
      1 Expert
      2 Intermediate
      3 Novice

      In the design view of the main data table, select the relevant field and click the Lookup tab. Set:
      display control = combo box
      row source type = table/query
      row source = name of lookup table
      number of columns = 2
      column widths = 0″;1″

      From now on, if you drag this field from the field list into a query grid or onto a report, it will be a combo box displaying the description.

      • #585595

        Due to the ability of the users I need it to be via buttons – that is why I have gone for option groups which mean I can use really big buttons – picking from a list or selecting a combo drop down is not going to be practical in this application. therefore I need a way of formating queries and reports so that they show the text equivalents.

        • #585596

          In your query, use the following expression where field1 = the field containing your numbers :

          Level: Choose([Field1],"Expert","Itermediate","Novice")
        • #585601

          Even if you have a combo box in queries and reports to display the descriptions, you can still use an option group for easier data entry in forms.

    • #585613

      Thanks to both of you – I am using Choose in the short term – but am going to convert all my relevant fields to look up combo boxes as time permits!!!

      • #585734

        Combo boxes are the way to go for fast data entry, especially if there is a single letter that can determine the selection. In this way you don’t even have to use the mouse, all you need do is type the first letter then the enter key.
        My 2 cents worth.
        Pat

    Viewing 1 reply thread
    Reply To: option groups as text in reports (2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: