Both functions --- SYS(3) and SYS(2015) --- are based on the system time on the computer they are called. Allthough SYS(2015) is better than SYS(3) when delivering unique values, it's still a risk in a multiuser environment.
Also, keep in mind that two workstations calling one of these functions at the same time will get the same value. They're not suited to generating unique IDs.
<...>
A commonly used practice to generate primary integer keys is the NEWID() function. A sample of that you can find in the Tastrade Application, that's delivered with VFP. Another possibility is to use real GUID's (that are those "funny" strings you can see in the registry :-) ) If you are interested in how to get such a GUID in VFP take a look at