Hello,
I am trying to insert use an action to insert a row into a MYSQL database table. In my specific use case, I have to auto increment the existing MYSQL primary key with the action. I think the topic in the Appsheet community link below indicates that a possible workaround is to use 2 different key columns.
Do this mean using two different key columns (.e. ID fields) in the MYSQL database?
Specifically:
For example:
Car_ID (existing Primary Key)
Car_ID_Appsheet (newly created field for use in Appsheet as the Appsheet UniqueID)
Using this approach:
Will the Appsheet โData: Set the value of columns in this rowโ Action
insert a new row to the database table, if the database Primary Key (i.e. Car_ID) is set to
auto increment?
Will the UNIQUEID() expression create a random value, for the Appsheet ID (i.e. Car_ID_Appsheet), that will be populated in both the database and in Appsheet?
Thanks,
Alex
Solved! Go to Solution.
If you havenโt already seen this:
If it conflicts with my suggestions, go with the doc.
Youโd need to attach an action to the form view to perform a navigate to another view in such a way as to trigger a sync.
User | Count |
---|---|
35 | |
35 | |
28 | |
23 | |
18 |