Results 1 to 2 of 2

Thread: change field in report

  1. #1

    Thread Starter
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945

    change field in report

    I have a field in a report that I want to append or not append a string to it depending on an option in the form that calls the report.

    Right now, it calculates the month using "format" depending on what month and year are chosen from the previous form in combo boxes.

    There are also 2 options on that form and if the user chooses the first, the code above works fine. But if the user chooses the second, I need to append " And Previous" to the field.

    Is there a way to do this? Otherwise, I guess I'll just have to create two reports... one with it and one without it and launch the report based on which option the user picks.

    Anybody?
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

  2. #2
    Fanatic Member Avatarp's Avatar
    Join Date
    Sep 2002
    Location
    Calgary
    Posts
    826

    ...

    Build a function that will handle this field.

Posting Permissions

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



Click Here to Expand Forum to Full Width