clivehenderson
IS-IT--Management
I have an update statement that updates a field in each record in a recordset to a random value using a function.
The problem is that it creates a random number for the first receord and carries on using it for all the others.
Iss there a way of forcing the statement to call the function freshly each time or am I missing something fundamental?
Any help appreaciated
The statement is like this:
Thanks
Clive
The problem is that it creates a random number for the first receord and carries on using it for all the others.
Iss there a way of forcing the statement to call the function freshly each time or am I missing something fundamental?
Any help appreaciated
The statement is like this:
Thanks
Clive
Code:
UPDATE tblMembers2 SET tblMembers2.mSecKey= tNG_generateRandomString(16) WHERE tblMembers2.mID>0;