Help

Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

Table names beginning with a number

Topic Labels: Scripting extentions
410 1
cancel
Showing results for 
Search instead for 
Did you mean: 

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.