Help

Table names beginning with a number

Topic Labels: Scripting extentions
1053 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Mark_Barnes
5 - Automation Enthusiast
5 - Automation Enthusiast

I have a table called “2020Locations”, and its name seems to be causing a problem in the scripting block. I’m using:
locationsTable = base.getTable(“2020Table”);

But auto-complete doesn’t recognise locationsTable as a table. If I rename the table, or use the underlying tableID, then all is well.

Is this a bug or a known issue? I couldn’t find it documented anywhere. Is there a better workaround than using the tableID instead?

1 Reply 1

Hi @Mark_Barnes - yes, getting the same:

Screenshot 2020-05-28 at 16.24.26

There’s no autocomplete and if you type in the method it is underlined as an error. However, if you run the script it does still work. So this seems like a code editor bug rather than an underlying bug, FWIW.