I'd like to ask about the "Spreadsheet formul...

Iโ€™d like to ask about the โ€œSpreadsheet formulasโ€ that

AppSheet creates for columns in our spreadsheets that contain formulas.

Hereโ€™s my question: What happens (or what should happen) to the โ€œSpreadsheet formulaโ€ inside the AppSheet editor when we change the related formula in our Google spreadsheet?

Iโ€™ve been having some trouble with a sync issue recently (see https://plus.google.com/105035465983967629689/posts/Fkax6VuS7vp ) and so have been trying to tweak my spreadsheet and app to resolve it.

I noticed that even though I changed a formula on my spreadsheet, that change was not reflected in the โ€œSpreadsheet formulaโ€ inside the app editor.

I used the โ€œRegenerateโ€ function, but to no avail.

Iโ€™m considering altering the formula by hand but I canโ€™t understand why a formula that was generated automatically cannot be regenerated automatically as well.

Actually, even if I delete a formula, the performance of that column seems to be unchanged, so whatโ€™s going on?

0 9 332
9 REPLIES 9

Thanks @Grant_Stead!

I was just looking at the support page about โ€œSpreadsheet formulasโ€:

help.appsheet.com - Spreadsheet Formulas

It doesnโ€™t even distinguish between the formulas we put in our Google spreadsheets and the ones that AppSheet generates from those.

Hmmmm. Spreadsheet Formulas help.appsheet.com

@Grant_Stead and anyone who might be interested:

I did the ultimate โ€œregenerateโ€ and it solved a sync issue for me (and, of course, the Spreadsheet formulas were regenerated as well).

What I did was to make another copy of the sheet whose table I wanted to regenerate (that is, I โ€œduplicatedโ€ it within my Google spreadsheet book).

Then, I performed the tedious task of bringing that into my app as a new table, making sure the column settings were the same as those for the old table, copying various formulas, and copying a needed action, then, finally hooking the new table up to the UX I was having problems with.

This complete regeneration fixed the sync problem I was having.

My question is: "Why the !@#$%^&*

did I have to do all this?" (pardon my grawlix )

Shouldnโ€™t the normal regeneration process do a complete regeneration?

The sync issue I had been discussing (and which was, until a minute ago, unresolved) is described here:

plus.google.com - Iโ€™m having a sync problem very much like the problem I reported a year ago (wโ€ฆ Iโ€™m having a sync problem very much like the problem I reported a year ago (wโ€ฆ plus.google.com

UPDATE: The โ€œultimate regenerateโ€ is not what fixed the syncing problem. When I made a new table I allowed rows to be deleted, even though I donโ€™t really want to delete any of them.

Checking โ€œDELETESโ€ in what is allowed for a table seems to lead to the data being updated more frequently, even if it is essentially read only data.

@Kirk_Masden fascinatingโ€ฆ

@Kirk_Masden I typically allow deletes, but block it with an archive layerโ€ฆ I with they would add the archive layer at the table level, and let us choose a column for the flag

Sounds interesting.

Thanks for the explanation.

To be honest, though, Iโ€™m afraid I donโ€™t understand what an archive layer is.

@Kirk_Masden pretty simpleโ€ฆ Just have a column โ€œarchiveโ€ hide it, Y/N, then create an action that data change to TRUEโ€ฆ Then a simple security filter on the tableโ€ฆ Everyone thinks theyโ€™re deleting a record, but really theyโ€™re just making it deletedโ€ฆ This way if an accident happens, or an employee goes rogue, we can fix it easyโ€ฆ

Thanks!

Following. Yes, this one isnโ€™t easy. I take the formula out of the sheet completely. Regen, then add the new formula in the sheet, then regen. then it usually catches it.

Top Labels in this Space