Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
GaryMcDonald
Contributor II
Contributor II

NoOfRows in Load Script as Variable to Store Table Into

Hi,

Please could somebody explain where I'm going wrong here ?

I  want to store a table as a txt file but only if there are records in the table. 

When I use the function NoOfRows() as a variable using Let it always returns a NULL value thus the table is not saving as  a txt file.

Script Below:

Many thanks

Gary

GaryMcDonald_0-1636396028618.png

 

 

 

 

 

Labels (4)
1 Solution

Accepted Solutions
maxgro
MVP
MVP

Add ' '

LET vNumOfRows = NoOfRows('TableName');

 




View solution in original post

2 Replies
maxgro
MVP
MVP

Add ' '

LET vNumOfRows = NoOfRows('TableName');

 




GaryMcDonald
Contributor II
Contributor II
Author

Awesome - Thanks Maxgro!