Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
rohit214
Creator III
Creator III

Generate no based on Lot no.


Hi All,

I want to generate the no against the lot no. since i have a common commision no. but in a commision no there are n no of lots so i want to generate no agaist lot no.

ex.

Commision noLot no.reuired output
201282591201101

201282591201

11

2
201282591201123
201282591201134
201282591201145
201282591201156
201282591201167
201282591201178

so every commision wise there are n no of lot no so i awnt those no based on lot no.

please find the attached sample data.

looking for help

Regards

Rohit

1 Solution

Accepted Solutions
CELAMBARASAN
Partner - Champion
Partner - Champion

22 Replies
rohit214
Creator III
Creator III
Author

any one please help...

saumyashah90
Specialist
Specialist

Use RowNo() while loading

tresesco
MVP
MVP

Try something  like this:

Load [Commission No],

          [Lot No],

          If( [Commission No]=Peek('[Commision No]', Peek('Count')+1, 1) as Count

From <> Order By [Commision No], [Lot No] ;

PFA

Not applicable

Hi

use autonumber function to get it

load *,AutoNumber(LOT_No) as no1 Resident tablename ;

sujeetsingh
Master III
Master III

hi,

You can use Recno() as Newlot

Aotohash() function

and even you van have it it UI too

rohit214
Creator III
Creator III
Author

Dear Arya,

We already did that but it is not working please use the attched file. to gegerate the no.

Regards

Rohit

rohit214
Creator III
Creator III
Author

Dear Sujeet,

Recno will give at your record in which row no .

and we also tried what you have suggest but it is not giving the correct value.

Regards

Rohit.

rohit214
Creator III
Creator III
Author

Dear Tresesco,

one more help i want is

if the lot no is same then the count no is also same for example.

i attched sample file please help me.

rohit214
Creator III
Creator III
Author


Dear Tresesco ,

your previous solution is correct as per what logic i share with you.

but for second issue If you have any idea please share with me.

Regards

rohit