Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

recno() in inline

load

recno(),Customer, Value from inline [
Customer, Value
infy, 20
tcs, 30
infy, 10
tcs, 15
google, 40
google, 400
accenture,353
ibm,3625
accenture,245
];

can any 1 help me y the above script gives error?

I wan recno followed by customer, value.

1 Solution

Accepted Solutions
marcus_sommer

Try:

load

recno() as RecNo, * inline [
Customer, Value
infy, 20
tcs, 30
infy, 10
tcs, 15
google, 40
google, 400
accenture,353
ibm,3625
accenture,245
];

- Marcus

View solution in original post

5 Replies
marcus_sommer

Try:

load

recno() as RecNo, * inline [
Customer, Value
infy, 20
tcs, 30
infy, 10
tcs, 15
google, 40
google, 400
accenture,353
ibm,3625
accenture,245
];

- Marcus

alexandros17
Partner - Champion III
Partner - Champion III

this works, simply delete the from clause

load
recno(),Customer, Value
inline [
Customer, Value
infy, 20
tcs, 30
infy, 10
tcs, 15
google, 40
google, 400
accenture,353
ibm,3625
accenture,245
]
;

jagan
Luminary Alumni
Luminary Alumni

Hi,

Remove From clause and use below script

TableName:

load

recno() AS RecordNumber,Customer, Value inline [
Customer, Value
infy, 20
tcs, 30
infy, 10
tcs, 15
google, 40
google, 400
accenture,353
ibm,3625
accenture,245
];


Hope this helps you.


Regards,

Jagan.

its_anandrjs

Hi,

You can try also

load
Recno() as RecNO,RowNo() as RowNO
,
Customer, Value
inline [
Customer, Value
infy, 20
tcs, 30
infy, 10
tcs, 15
google, 40
google, 400
accenture,353
ibm,3625
accenture,245
]
;



Regards

Anand

Not applicable
Author

thank u all,

I got in this way:

load

Customer, Value ,RowNo() as number inline [
Customer, Value
infy, 20
tcs, 30
infy, 10
tcs, 15
google, 40
google, 400
accenture,353
ibm,3625
accenture,245
]
;