Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I want to QV to generate an ID field automatically. I am using the below function.
E' & AutoNumber(entity_name) as entity_id
This would generate E1, E2, E3,........, E999 etc.
Is there any way I can get these generated as E001,...........,E999 etc. ?
Hi,
Yes. Use 'E' & Num(AutoNumber(entity_name), '000') as entity_id
Regards,
David
Yes, You can
LOAD 'G' & AutoNumber(RowNo(),1000) as RowNo
AutoGenerate 999;
Or
Load 'G' & AutoNumber(RowNo(), entity_name) as entity_id
Hi,
Yes. Use 'E' & Num(AutoNumber(entity_name), '000') as entity_id
Regards,
David
Hi,
try like this
T1:
LOAD
'E' & Num(AutoNumber(RecNo()), '000') as REC
AutoGenerate 999;