Skip to main content

Table names beginning with a number

  • May 28, 2020
  • 1 reply
  • 11 views

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

JonathanBowen
Forum|alt.badge.img+18
  • Inspiring
  • 1110 replies
  • May 28, 2020

Hi @Mark_Barnes - yes, getting the same:

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.