User Profile

Collapse

Profile Sidebar

Collapse
BeckerHarald
BeckerHarald
Last Activity: May 16 '15, 10:35 AM
Joined: May 11 '15
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Hi jforbes,
    after you mentioned to pass the name of the form into the report I immediately forgot to sample the 8 variables in the form, pass them as ONE openargs and split them in the report.
    Both, my (old) solution and your (new) solution above need VBA but yours only as load-event. Means, yours is more elegant, means subsequently I will use it as shown by you.

    And by this way I learned the possibility to use a function...
    See more | Go to post

    Leave a comment:


  • To zmbd and jforbes!

    zmbd, now after you showed me, what you mean when you ask me to give more information I am a little angry - with me!
    I am/was too deep involved into my problem that a structured thinking was impossible.

    jforbes, although I got no answer if there is a valid syntax (or example) for a reference from the control source?? of a report field to a field in a form, my problem is solved!

    I tried...
    See more | Go to post

    Leave a comment:


  • Thank you, jforbes

    openargs was my first idea. As far as I understood, with openargs I can pass only ONE argument from the form to the report. Actually there are 8 variables to pass.

    But you gave me the following idea: If it is not possible to give more than ONE argument, than I will gather the 8 variables into ONE argument, in which these 8 variables are separated by e.g. @. Then I will divide this ONE argument inside the...
    See more | Go to post

    Leave a comment:


  • zmbd, thank you. I should add: it is ACCESS 2013

    I tried to be short as it was recommended. There is no VBA-Code. Just a reference in a field in the report to a field in a forms which must be opened (otherwise the reference will not work).

    The reference for the field
    Code:
    =[Formulare]![481frm_KursTeilnehmerErfassen]![KLNachname]
    is given as datasource (German: Steuerelementin halt).

    The name of the form "481frm_K.. .."...
    See more | Go to post
    Last edited by zmbd; May 11 '15, 06:00 PM. Reason: [z{Placed BH's comment in post}{Placed Code Tags around formula as required}]

    Leave a comment:


  • using of "parent" in a report in order to omit superflous reports

    I have 2 forms. In each of them I call a different report.
    Code:
    DoCmd.OpenReport "481rpt_KursteilnehmerQuittungDrucken", _
       acPreview
    DoCmd.OpenReport "483rpt_TermineQuittungDrucken", _
        acPreview
    Inside the reports the datasource is referenced with
    Code:
       =[Formulare]![481frm_KursTeilnehmerErfassen]![KLNachname]
    or
       =[Formulare]![483frm_TerminsErfassen]![KLNachname]
    ...
    See more | Go to post
    Last edited by zmbd; May 11 '15, 04:15 PM. Reason: [z{placed code tags, please refer to FAQ}{corrected a typo or two :) }]
No activity results to display
Show More
Working...