Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2010
    Location
    Fire Island Pines, NY
    Posts
    513

    On format, fileds that can be used

    Is this correct (?):



    In the detail section's on format event, I have code that formats the text to the manner that I want it to appear on the report.
    (the formatting has more to do with sentance structure and grammer, rather than font. ex: instead of the [LeadTime] printing as "1" or "2", it prints as "...there is 1 week" or "... there are 2 weeks"

    What I'm noticing is that even though [LeadTime] is in the report's record source, unless there is also a textbox in the detail section whose control source is [LeadTime], I cannnot reference [Leadtime] in my code (it results in an error).

    This is not such a big deal, except that because of the many number of fileds in my report, a vast amount of non-visible textboxes (with a height of 0") needs to be created; and these can be very difficult to keep track of; nevermind cumbersome to set up.

    Am I seeing things correctly?
    Is there a work-around?

    many thanks in advance,
    mark

  2. #2
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    yes I believe you are correct in your assessment.

    in general I leave those fields visible as a trouble shoot aid - until absolutely everything works - and then I make not visible. I don't go for the 0 size - I let them be bigger to make easier to find in design view.

    in terms of a work around - I don't think in reports. I think you would have to work with calculated fields in the record set query itself; which may not be totally satisfactory but might aid in avoiding a large quantity of non-visible fields itself.

    hope this helps.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 10-10-2010, 05:30 AM
  2. format
    By nkuebelbeck in forum Queries
    Replies: 1
    Last Post: 03-23-2010, 10:22 AM
  3. date format
    By dollygg in forum Access
    Replies: 2
    Last Post: 01-19-2010, 10:14 AM
  4. Please Help, How Do I Format this Data?
    By txdave36 in forum Access
    Replies: 6
    Last Post: 09-09-2009, 04:31 PM
  5. Background Format
    By maysamab in forum Reports
    Replies: 7
    Last Post: 04-06-2009, 10:38 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums