# (tblsearch table-name symbol \[flag\])
[GstarCAD 2012](../../../Index.md) → [Developer Reference](../../%28Developer%20Reference%29.md) → [AutoLISP Reference](../%28AutoLISP%20Reference%29.md) → [LISP Functions](%28LISP%20Functions%29.md)
<!-- help-structure:notice -->
> **Source status:** This source topic has 1 recorded inherited issue(s). [Source issue details](../../../Source%20Issues.md).
<!-- /help-structure:notice -->
<a id="291"></a>
## (tblsearch table-name symbol \[flag\])
---
Search the table for a symbol.
---
This function obtains information about a known *symbol* from a drawing *table-name*. After entering in the *table-name* argument and the known *symbol* name, a list is returned containing [dotted pairs](../../../Source%20Issues.md#issue-97aaf475d0ee410f) for the symbol.
The *flag* (when set non-nil, such as T) lets the [tblnext](%28tblnext%20table-name%20-flag-%29.md) function retrieve the next item in the table:
(**tblsearch** "layer" "0" T)
(tblnext "LAYER")
The list returned is exactly like that returned from **tblnext.**
**Example**
| Code | Result |
| --- | --- |
| (**tblsearch** "layer" "0") | ((0 . "LAYER") (2 . "0") (70 . 0\) (62 . 7\) (6 . "CONTINUOUS")) |
**Tell me about...**
[(entget entity-name \[application-list\])](%28entget%20entity-name%20-application-list-%29.md)
[(tblobjname table-name symbol)](IDR_LISP_B290.md)
[(vports)](%28vports%29.md)
[LISP Compatibility](../LISP%20Compatibility.md)
[Programming Overview of LISP (LISt Processing) Language](../Programming%20Overview%20of%20LISP%20%28LISt%20Processing%29%20Language.md)
<a id="holding"></a>
## Other versions with matching text
[GstarCAD 2011](../../../../2011/Developer%20Reference/AutoLISP%20Reference/LISP%20Functions/%28tblsearch%20table-name%20symbol%20-flag-%29.md)