Hi All,
On my contacts page within my db i have a field called postcode, the object of this exercise is i am trying to get access to create an account number for me.
I want the first 2 letters of the account number to be the first two letters of the customer postcode, i then want access to randomly generate 6 numbers and then i want the last 6 numbers to be the date of the customers first order.
I will hopefully be able to grab the first two letters and date but i want the 6 numbers to be randomly generated in the middle. I think i know how to get the randomly generated numbers and grab the date but i dont know how to specify to only grab the first two letters of a field?
Any ideas?
On my contacts page within my db i have a field called postcode, the object of this exercise is i am trying to get access to create an account number for me.
I want the first 2 letters of the account number to be the first two letters of the customer postcode, i then want access to randomly generate 6 numbers and then i want the last 6 numbers to be the date of the customers first order.
I will hopefully be able to grab the first two letters and date but i want the 6 numbers to be randomly generated in the middle. I think i know how to get the randomly generated numbers and grab the date but i dont know how to specify to only grab the first two letters of a field?
Any ideas?