• Using a Common Report & Form Title (Access 2000)

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Using a Common Report & Form Title (Access 2000)

    • This topic has 4 replies, 2 voices, and was last updated 21 years ago.
    Author
    Topic
    #404051

    Is there any way to store the name and address of a school so that I can use it on Access forms and reports. I don’t just want to type it in on each form/report because I have several schools using my database. When I have to update it, I end up having to make sure all the forms and reports have the right school’s name on them. Each school has its own database. When I do changes, I just copy the appropriate forms/reports into each school’s database.

    Viewing 1 reply thread
    Author
    Replies
    • #819151

      I often use a table for this purpose. The table (say tblSettings) has two fields: SettingName and SettingValue (both text fields). For example (name and director only, you would add address fields etc.)

      SettingName SettingValue
      School Lincoln Memorial High School
      Director Ms Amanda Williams

      You can use DLookup to get values from this table, for example a text box to display the school with Control Source:

      =DLookup("SettingValue", "tblSettings", "SettingName='School'")
      

      For each school, you enter the appropriate values in the table, and all forms and reports will automatically display the correct name, address etc.

    • #819152

      I often use a table for this purpose. The table (say tblSettings) has two fields: SettingName and SettingValue (both text fields). For example (name and director only, you would add address fields etc.)

      SettingName SettingValue
      School Lincoln Memorial High School
      Director Ms Amanda Williams

      You can use DLookup to get values from this table, for example a text box to display the school with Control Source:

      =DLookup("SettingValue", "tblSettings", "SettingName='School'")
      

      For each school, you enter the appropriate values in the table, and all forms and reports will automatically display the correct name, address etc.

    Viewing 1 reply thread
    Reply To: Using a Common Report & Form Title (Access 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: