Home : VARNUM
Q11305 - INFO: VARNUM

VARNUM returns the VarNum from a VarId.

SYNTAX:

VARNUM(VarId) 

VarId: The variable ID to return the VarNum for.  Can be a number (i.e. 12) or a cell reference (i.e. C2).  

NOTES:

Typically, the VarNum function is used with the results from a SQLFIRST or SQLRESULT Function as the OPS Data tables use the Varid. 

 

EXAMPLES:

VARNUM(15)  returns 4011.

VARNUM(B2) returns the VarNum for the variable Id in cell B2. 

SEE ALSO: VNFF, VARID 

Related Articles
No Related Articles Available.

Article Attachments
No Attachments Available.

Related External Links
No Related Links Available.
Help us improve this article...
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
 
Approved Comments...
No user comments available for this article.
Created on 6/4/2008 8:56 AM.
Last Modified on 1/7/2020 5:05 PM.
Last Modified by Scott Dorner.
Article has been viewed 3058 times.
Rated 5 out of 10 based on 2 votes.
Print Article
Email Article