Results 1 to 11 of 11

Thread: Transfer data from form to another form

Hybrid View

  1. #1
    Join Date
    Aug 2009
    Posts
    50
    Quote Originally Posted by boblarson View Post
    1. I just gave you the syntax for referring to the main form item from the subform control.

    2. You do not want to store that information as it is redundant and violates normalization rules, hence that is why I gave you the syntax I did which will DISPLAY the value from the main form but not store it in the subform.
    Thanks a lot Bob

    one more thing how can disable a Text box after Updating so that people cannot go there in and change data everytime they want i want to do that to avoid information Falsification

    your help

  2. #2
    Join Date
    Jan 2009
    Location
    Portland, Oregon
    Posts
    21
    Quote Originally Posted by FMKA View Post
    Thanks a lot Bob

    one more thing how can disable a Text box after Updating so that people cannot go there in and change data everytime they want i want to do that to avoid information Falsification

    your help
    In the form's On Current event you can put:
    Code:
    Me.AllowEdits = Me.NewRecord
    And, if you don't want deletions, change the form's AllowDeletions to NO in the form properties.
    Bob Larson
    Former Access MVP
    2008-2010

  3. #3
    Join Date
    Aug 2009
    Posts
    50
    Quote Originally Posted by boblarson View Post
    In the form's On Current event you can put:
    Code:
    Me.AllowEdits = Me.NewRecord
    And, if you don't want deletions, change the form's AllowDeletions to NO in the form properties.

    Hi Bob

    i have a question; in my calculation i do not want negative value for instance
    5-12= -7 what kind of code can i use for not allowing negative value
    appreciate your help

Posting Permissions

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