Results 1 to 15 of 15
  1. #1
    Richi is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    Jan 2014
    Posts
    8

    Talking Help with Forms

    First Sorry for my bad Englis
    I new here and learning Access my question is
    I have 2 Tables and 2 Form for this tables ,one is Main Table and have some info and the second have names exact 4 names every name is a record
    Hove to move this records( 4 Names) in a single record thats in this 1 table ( main Table ) and when I start The form ( second ) form is Blank for new data that will send to the main table
    It database for Travel Agency that make Travel Contracts



    Thanks for your Help

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    If you want the form to always open to a new record and not be able to view existing records, set the form DataEntry property to Yes.

    Do not understand what you mean by 'move' records.

    If you want to provide db for analysis, follow instructions at bottom of my post.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Richi is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    Jan 2014
    Posts
    8
    Thanks

    In 1 form ( table) I have some Data ( main Form ) and in the second form ( table ) I have Names ( klijents) all this togheder is a record
    When I start a new record all is blank and old Data (table 1 and 2 ) are stored in a form number 3 in a list box for making contracts

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    You have 3 forms, not 2?

    Still don't understand. What data is in table 1?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    Richi is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    Jan 2014
    Posts
    8
    data in table1 are for exp. data about travel; table 2 are passanger names which i write directly inside, table 1+table 2 = table 3 as one document in list box
    Every time when I start form 1 it goes new entry for a new travel with new clients and at te end we do a contract for them
    Tnk for your help

  6. #6
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    Not sure what you are asking for.

    If form 1 is to enter exp. records for a passenger, then I guess you need a combobox on form 1 to select passenger name and save their ID into exp. record.

    How does table 1 + table 2 = table 3? How is this relevant to a listbox?

    Going in circles here. Probably best I see what you have done. Provide database.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    Richi is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    Jan 2014
    Posts
    8
    Her are only 2 Form
    The database is in Croatian maybee you noth understand Croatian
    I have make example This two tables in one that I can select it in a another form in a single file
    In The listbox are the records from the second form ( table)
    From this record create Contracts , Vouchers etc.

    Thanks for Help
    Attached Files Attached Files

  8. #8
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    That is an accde file. I cannot even open it. My Access doesn't recognize the file. I need the accdb version.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  9. #9
    Richi is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    Jan 2014
    Posts
    8
    Here we go Try this

    And Thanks for Help
    Attached Files Attached Files

  10. #10
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    Why don't objects have meaningful names, like tblReservations and tblCustomers?

    Table 1 has a field called Name (Name is a reserved word, should not use reserved words as field names). Change to something like CustName.

    Is this supposed to be for a name selected from table 2? If so, then this should be a number field and save the ID number from table2. Instead of the Name textbox use a combobox. Review http://www.datapigtechnologies.com/f...combobox3.html
    Combobox properties:
    RowSource: SELECT ID, LastName & ", " & FirstName AS CustName FROM Table2
    BoundColumn: 1
    ControlSource: Name
    ColumnCount: 2
    ColumnWidths: 0";2.0:



    Review tutorials about relational database http://www.rogersaccesslibrary.com/
    Last edited by June7; 01-18-2014 at 08:20 PM.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  11. #11
    Richi is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    Jan 2014
    Posts
    8
    No
    Name is a Person (Costumer) thats have Book the Travel and this names in the second Table are klijent thats go with him in Hotel ( Wife ,Chlidern) all this Peapol must be on Contract and we must save this for latter that we can make invoice ,Travel Contract, Vouchers

    is this Posible

  12. #12
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    Certainly. Did you review the tutorials?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  13. #13
    Richi is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    Jan 2014
    Posts
    8
    Yes
    When I create Relation with tables Have erorr need related records from table 1 tblReservations and tblCustomers is ok
    how to put it together in single record
    The numbercontract is 1 record single from this 2 tables ,number 2 ,3 ect.

    Thanks

  14. #14
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    Sorry, cannot understand that. Too much language barrier. The translation fails.

    The advice and examples already given should be enough to get a simple data entry form set up. This is very basic Access functionality.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  15. #15
    Richi is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    Jan 2014
    Posts
    8
    Thanks

    give up
    closse therd

    Thanks

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

Similar Threads

  1. Replies: 3
    Last Post: 10-23-2013, 08:11 AM
  2. Replies: 5
    Last Post: 01-16-2013, 03:48 PM
  3. Multiple forms or embedded sub-forms
    By Juicejam in forum Forms
    Replies: 2
    Last Post: 08-23-2011, 07:31 AM
  4. Replies: 1
    Last Post: 01-04-2011, 05:04 AM
  5. Replies: 4
    Last Post: 04-01-2009, 08:49 PM

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