Hi ,
I have a new form,say with fields NumberSeqfield,Cust Accnt, Cust Name, Divison, date, numberof.
My need is to create the numberof records, say if the numberof field have value 8.
if i click a button, it should split the record into 8 records.
Now what i have done is i hardcoded the numberseqfield when inserting the 8 records, as
if numberseq field is :LAB -000001, i split it as LAB -000001-1,LAB -000001-2,LAB -000001-3...LAB -000001-8.
all this i have done in an for loop.
Now, if i need to split it as 4 and 4, what should i do.
eg:
Number seq - LAB-000001 , Cust Accnt - 10000, Name - XX, Division -01 , data - today. number of - 8.
i will to split it into 4.LAB-000001-1,LAB-000001-2,LAB-000001-3,LAB-000001-4.
If i again click the first record and split it again, then obviously it won't create since i hardcoded the numbseq field when splitting.
What are the other options to achieve this.
Any suggestions would be helpful.
Thanks,
Rusty.