# CurrentTable

Source: https://help.codestencil.com/code-nanites/currenttable

Expansion Label:  CS\_CURRENT\_TABLE

Dependency:   CS\_TABLE\_LIST

Description:  Returns a string representing the current table accessed by a prior call to \[%CS\_TABLE\_LIST%\]

---

Assuming you create a node with the label - \[%CS\_TABLE\_LIST%\].cs as shown below:

![HM&#95;clip0093](https://codestencil.com/docs/hm_clip0093.png)

And then add the \[%CURRENT\_TABLE%\] code nanite as the code:

![HM&#95;clip0094](https://codestencil.com/docs/hm_clip0094.png)

When the code is generated, each file will output the name of the table currently being processed.

![HM&#95;clip0095](https://codestencil.com/docs/hm_clip0095.png)
