Sep 11th, 2000, 09:20 AM
Can someone please help.
I have created an online registration form in ASP, which is working fine. However, I would like to generate their Unique Identifier from the fields that they enter. Typically these are First Name, Last name, Address, Town, County, Country, Post Code and Telephone Contact.
One of the suggestions would be
First 2 of First Name
Last 3 of Last Name
Last 3 of Post Code
I could use a 'IF EXISTS' clause to add an incremental suffix to the value.
However, if you had a Mark and a Mary Smith who are living in the same house, you get a slight problem.
NOTE: they cannot have joint subscriptions, and I don't want to offer them the chance to enter their own id value.
Is their any existing code that jumbles this up to provide something unique ?
Any help would be appreciated
I have created an online registration form in ASP, which is working fine. However, I would like to generate their Unique Identifier from the fields that they enter. Typically these are First Name, Last name, Address, Town, County, Country, Post Code and Telephone Contact.
One of the suggestions would be
First 2 of First Name
Last 3 of Last Name
Last 3 of Post Code
I could use a 'IF EXISTS' clause to add an incremental suffix to the value.
However, if you had a Mark and a Mary Smith who are living in the same house, you get a slight problem.
NOTE: they cannot have joint subscriptions, and I don't want to offer them the chance to enter their own id value.
Is their any existing code that jumbles this up to provide something unique ?
Any help would be appreciated