Forum Discussion
You say that you can set the Key field of the Parent table to be the Tax ID. So I suggest you go ahead and do that.
Create that relationship where one parent has many children and select the tax ID field on the child record for the reference field which will end up being on the right side of the relationship.
Once you do this when creating a child record launched off a parent, the ad child record should automatically fill in the field for tax ID, and conversely if your workflow is that the user enters the child record first, then there should be a nice drop-down list of tax IDs for the user to choose from, and of course you can control which fields are presented to the user in the drop-down list to help them to choose the correct Parent. There are various ways to control those fields but the basic one is to go to the advanced properties of the parent table and select up to three fields as the most relevant record picker fields.
------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------
That is what I first did but I don't want a drop down for the Tax ID in the child table. I need the user to key that in and if there is a match to the parent table, then pull the other fields in. There will not always be a match.
------------------------------
Carol Mcconnell
------------------------------
- MarkShnier__You2 years ago
Qrew Legend
No problem.
Create the relationship and let the system create a new field for you called initially [Related Tax ID] when it builds the relationship. Then edit that field's properties, and make it a formula field with a formula of [Tax ID].
The Tax ID field is the existing field in your child table.
The effect of this is that the user can continue to do free form entry into the child record [Tax ID] field, and if it happens to match (via the formula) with a Parent record then the look up fields will come down nicely.
------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------- CarolMcconnell2 years agoQrew Captain
This is kind of working. When I look at the parent table I see the children but the lookup fields from the parent table are now showing data on the Child table. What have i done wrong?
------------------------------
Carol Mcconnell
------------------------------- MikeTamoush2 years agoQrew Commander
If you already had the relationship set up with the Record ID as the key field, and then switched to a text field as the key field, AND you are using a cross app relationship, you can run into some small issues. I did this years back, and I can't remember all of the small things, but I think I either had to re-create the lookup fields, or maybe it was that I needed to re-select the parents. If I have time I will try to recreate this and remember.
However, the fact that you can see the children indicates the relationship is in tact. Maybe try recreating one of the lookup fields to see if that does anything.
------------------------------
Mike Tamoush
------------------------------