TypeError: Cannot read property "values" from undefined. (line 8, file "Code") - undefined

So I am having trouble making this work. There was never a change to the form or the google sheet that the results went to, but it stopped working for some reason around last year this time. Can someone help me figure out what is going on? Side note: I am not a programmer. I inherited this form and everything that comes with it. I did not create the code or anything, so please any direction will be helpful.

Related

Why do my Google Sheet custom functions require this weird workaround?

I’m creating custom functions in Google Sheets using their google apps script language. I’ve done my development on a laptop and it seems to work correctly.
However, when I open the sheet on my mobile device (iOS), the cell output for my custom functions get stuck at “Loading…” forever and never load. But I discovered this weird workaround, but I don’t know why it works or if there’s a better way: if I make a small, trivial change to one of the input cells, then close the sheet and reopen, the sheet will be correctly updated.
Note that if I just make a change to a cell, or add/delete a column etc, without closing and reopening, to force an update, it will still get stuck at “Loading…”.
Also note that if I close and reopen the sheet without making any change, it will still get stuck.
Any ideas of what’s going on here, and if there’s a better way to get my custom functions to correctly update without timing out?
I searched online for solutions, couldn’t find anything.
Update: Example sheet located at this link:
https://docs.google.com/spreadsheets/d/12nm9EwuzqaN0jYUv75CquMhrcUGlVsmEPFoWd92yuWo/edit
Look at the “SeasonTest” tab, cell AS5. On a mobile device it always shows “Loading…” (unless the above workaround is used), but works fine on a desktop

Runtime Error 6054 referencing all docmd.browseto Navigation subform pathways all of a sudden

HELP Please...
All of sudden all of the VBA docmd.browseto code within the entire navigation form has been producing a runtime error 6054 referencing issues with the pathway. These lines of code have worked for months and then all of a sudden stopped working. They work in a backup version from a few days ago when I open it now. I cant figure it out. As far as I can tell the pathways are accurate. I havent changed them, nor have I renamed the main navigation form.
navigation form = frmNavigation example of navigationsubform = frmNewServiceSession
‘DoCmd.BrowseTo acBrowseToForm, "frmnewclientsinfo", "frmNavigation.navigationsubform", , , acFormEdit’
.... regardless of what navigation subform I reference I get the same error code. Again, this worked fine earlier.
Edit*** To test things a bit I had imported frmNavigation and frmNewServiceSession into my most recent backup and they communicate just fine using the exact vba as above.... Something strange is going on
I figured out what was happening although I dont exactly know why. Open to insight, but resolved the immediate issue.
Resolution:
I use to have a Timer form open hidden on autoexec but moved it an action within the Login form on OK button click. For some reason that difference messed with all of the BrowseTo functions.
Thanks

Google Apps Script doesn't show the methods when coding

Firstly, let me say that I am Spanish so my English is not so good, so please be patient if you find it difficult to understand what I am to say.
Having said that, the problem I have when using Google Apps Script is that the kind of window that is being opened when coding isn't work.
For instance: If I type.... var doc = documentapp. nothing happens, that is, the kind of windows that shows the different methods doesn't even try to open, nothing happens
To help you understand the problem I have, I attached a picture with "what should happen" when coding...
I am in despair.. I don't know what is happening.
If you see the picture, when docfile. is typed a windows is open with different methods, like GetEditors and so on..
Well, that the problem I have, that doesn't happen to me when typing code.
Google Apps Script doesn't show the methods when coding
This is an auxiliary feature indicating you that something is not correct in your code
In your particular case: You misspelled DocumentApp (case sensitivity is important in Apps Script, so documentapp is wrong)
After you fix the typing mistake, the methods will be shown correctly after the . - unless you have some other mistake somewhere else in your code

How code completion in GAS works?

Is there a detailed description on the "rules" of code completion (CC) in GAS..? Sometimes the CC works perfectly even when I move the cursor back in a code line and sometimes it won't work at all even when there are only three lines of code and everything is defined unambiguously.
ss.getActiveSheet(); // If I go back to "ss" and type a period, it will open
// up CC. (Most times.)
ss.getActiveSheet(); // But also sometimes, even after the "getActiveSheet(),"
// when I put a period, nothing happens.
I know that when you copy and paste code, that it messes it up. But in some cases, it just stops working on a script I've been working on for a long time.
So can someone explain the "rules" of CC? That way the behavior can be understood and, in turn, stops people like me from doing something that stops CC for long scripts. It is getting really irritating having to look up methods, especially when chaining.
Thank you.

the Loading... Message in Grid when there is no data. ExtJs Grid

In my application, when there are no records on DB, the json i am receiving is as below.
JSON Message: {"totalCount":0,"responseObject":[]}
But in the grid the Loading... mask is not going off. It says Loading even if there is no data as in the image below.
Please suggest me how to get rid of this when there is no data, i want to show the empty grid without this loading mask.
I think I may know what your problem is, because I had the same issue.
For me, the reason why the loading mask wouldn't resolve was not because there were no records, but because I was trying to select the first record in the grid when there WAS none.
This throws a javascript error that looks like this: "Uncaught TypeError: Cannot read property 'id' of undefined "
Because of this error, it stops other Ext javascript processes, and the mask never gets a chance to resolve.
So, to solve this problem, I would make sure that your Store's 'load' event handlers do not try to do things with records that do not exist in the grid. It worked for me.