Forum Discussion

PaulGuillory1's avatar
PaulGuillory1
Qrew Member
5 years ago

Working with two tables

I have two tables which The following lists show the table names in Bold and then some of of the fields in the tables listed below the table names. I am trying to ensure that a ticket entered in the Tickets  table to record work being done is a valid ticket that has been shipped to a location in the Field Ticket Stock Table before the ticket can be saved in the Tickets table. I have been trying variations of the table to table relationships so I can try to do a search of the Field Ticket Stock Table to see if the Ticket # from the  Tickets table exists otherwise the user will be given a message that the Ticket # cannot be used. I have been unable to make this happen and am looking for suggestions on how to make it work. 

Field Ticket Stock Table                Tickets

T#                                                          Ticket #
FT#                                                        Field Ticket #
Type of Work                                      Location   
Date Shipped to Location               TOW
Location                                              Location
Who Shipped.​​                                   Date of Service
                                                             (this table has 233 fields)​​​

------------------------------
Paul Guillory
------------------------------
  • Can you tell us the Key field of each table?

    ------------------------------
    Mark Shnier (YQC)
    Quick Base Solution Provider
    Your Quick Base Coach
    http://QuickBaseCoach.com
    mark.shnier@gmail.com
    ------------------------------
    • PaulGuillory1's avatar
      PaulGuillory1
      Qrew Member

       

      The key field for the Tickets table is Record ID # and for the Field Ticket Stock table is Record ID #.

      Sincerely,

      Paul S. Guillory II

      Standard Energy Services is a Platinum Safety Award winning company.

       

      IT Manager

      Standard Energy Services

      PO Box 2724
      Lubbock, TX 79408
      Voice: 806-741-1080
      Fax: 806-741-1301

      CONFIDENTIALITY NOTICE: The information contained in this ELECTRONIC MAIL transmission is privileged and confidential, intended only for the use of the individual or entity it is addressed to. It may also be subject to the attorney-client privilege or be privileged work product or proprietary information. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication (other than to the addressee(s)), is strictly prohibited.

       




      AVG logo

      This email has been checked for viruses by AVG antivirus software.
      www.avg.com




      • MarkShnier__You's avatar
        MarkShnier__You
        Icon for Qrew Legend rankQrew Legend
        If you change the Key field of the Field Tickets table to the T#, then  you can make a relationship where 1 Field Ticket has Many Tickets based on the reference field of the Ticket # in the Tickets table.  The user can then be made to choose  the field ticket # and that can be a required field.  So they must find the correct Field ticket before saving.


        ------------------------------
        Mark Shnier (YQC)
        Quick Base Solution Provider
        Your Quick Base Coach
        http://QuickBaseCoach.com
        mark.shnier@gmail.com
        ------------------------------