Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Nov 2002
    Monroeville, Pennsylvania, USA
    Thanked 0 Times in 0 Posts

    Move Query (2002)

    I have 3 fields "misc, misc1, misc2". I would like to move the contents of these three fields into a field "Notes" which is a memo field. can a query do this? and how does one design it? Thanks

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Thanked 28 Times in 28 Posts

    Re: Move Query (2002)

    What exactly do you want? Do you want to concatenate the contents of the three fields?
    If so, create a query based on the table.
    Add the memo field to the query grid.
    Select Query | Update Query.
    In the Update To line for the memo field, enter this expression:

    [Misc1] & ", " & [Misc2] & ", " & [Misc3]

    if you want to separate the contents of the fields with commas, or

    [Misc1] & Chr(13) & Chr(10) & [Misc2] & Chr(13) & Chr(10) & [Misc3]

    if you want to begin the contents of each field on a new line, etc. If some of the fields can be null (empty), you'd need to build in checks if you want to avoid superfluous separators.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts