+ Reply to Thread
Results 1 to 3 of 3

Form Textbox - Reference Different Table/Query

  1. #1
    Registered User
    Join Date
    03-13-2009
    Location
    Malta
    MS-Off Ver
    Excel 2003
    Posts
    59

    Form Textbox - Reference Different Table/Query

    I was wondering if it is possible to have a text box control source on a form reference a field from a different table/query than what the form is originally set up to reference in the properties pane without using subforms?

    For Example: all the control sources text boxes on my form referece fields from the table "Vehicle_ID" and I want a new text box on my form to have its control source reference a field on the table "CSM_Data". Is this possible without having to embed a subform?

    Thank you for any help.
    Last edited by NSTurk725; 09-08-2009 at 01:03 PM.

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Form Textbox - Reference Different Table/Query

    Hi NSTurk725,

    Without answering your question, I have to ask:

    - What do you intend to do with the data you place in the text box? Do you want the form to write the text box data to the "CSM_Data" table, or is there a place for it in the "Vehicle_ID" table (or is it just for display)?

    - Is there a relation/join between the tables?

    - If yes, would you expect the form to write data to both tables? (Subforms generally make this easier.)

    - If no, then how does the form overcome the ambiguity and know what to write to the table?

    Cheers,
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Registered User
    Join Date
    03-13-2009
    Location
    Malta
    MS-Off Ver
    Excel 2003
    Posts
    59

    Re: Form Textbox - Reference Different Table/Query

    I hope this helps to answer your questions:

    (1) I would like the textbox to write the value to the CSM_Data table.

    (2) The relationship between the 2 tables is that they share the same field "Vehicle_Name"

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1