Results 1 to 2 of 2

Thread: Access 2K ........

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2003
    Location
    Germany, New Zealand, now in Australia
    Posts
    143

    Angry Access 2K ........

    Hi there,

    I have a little problem: And hope somebody can give me an answer.

    I have two tables, one form and on the form I have two textboxes. One of the textboxes should be connected to ONE table and field, and the other textbox to the OTHER table and field.

    I tryed to conect through the expression builder but had not much luck! See code below.

    Code:
    This code comes up in the ControlSource property section and textbox also:
    =[tbl_CompanyContact]![CompanyPhoneNumber]
    =[tbl_PrivateContact]![PrivatePhoneNumber]
    Where do I set in properties the connection to different tables i.e. tbl_CompanyContact / tbl_PrivateContact and where the connection to the field CompanyPhoneNumber / PrivatePhoneNumber.

    Thanks aktell

  2. #2
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Re: Access 2K ........

    Click in the grey area inside the window but not on the for or on the form (can't remember which).
    Properties>Data Tab - specify the tables (preferably with a join) to get the data from



    OR


    Use Code to fill the textboxes - but that would be up to you and depends on what you are doing.

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

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