Hi,
I am trying to insert a random code into [Car_Parts].[Product Code]
But I want to make sure I don't do a duplicate value.
Its not working...
Please tell me what am I doing wrong.. Here's the code.
Dim Product_Code
Dim Prod_Code_Check
Product_Code = "STS" & Round(Rnd * 999999, 0)
Do Until [Product_Code_Check] <> Product_Code
Product_Code_Check = [Car_Parts].[Product Code]
Loop
PLEASE HELP!!!! Thanks