Jump to content
  • 0

Changing data field to show look-up ID rather than original text




I've imported a large quantity of data into a Caspio table.

I'm now creating look-up tables for some of the fields. For those fields, I want to store the Primary Key from the look-up table, rather than the text itself.

Does anybody know of a simple way to either a) replace the data in the field with the primary key from the look-up table, or b) place the primary key from the look-up table in a new field, depending on the text stored in the original field?

For example, I want to replace "Apples" with "7KGG3ORQ" and "Oranges" with "4H3FPTNU" etc.

I could delete all the data, make the changes on excel, and re-upload the data. But that doesn't feel ideal...

Many thanks


Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0
On 10/18/2022 at 2:42 AM, NiceDuck said:

You will need a task setup like this:


On this case, the values on the answers_lookup.Id is the values that actually on the Connector field. If I want the connector field to have the actual labels, then I will join them by the connector first and update the connector value.

Really helpful! Just what I needed. Thanks v much!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...