Make data auto for field ID when work munti user on LAN network?  
Author Message
AnnyJacky





PostPosted: Visual FoxPro General, Make data auto for field ID when work munti user on LAN network? Top

When working on LAN network has multi user update h-ow make data auto for field ID

Now, I use express reccount()+1 insert to field ID, but when multi user simultaneous update on LAN network at times double data!



Visual FoxPro2  
 
 
Alex Feldstein





PostPosted: Visual FoxPro General, Make data auto for field ID when work munti user on LAN network? Top

On newer VFP versions you can use AutoInc fields. Or you can use a counter system as in the example here: http://www.feldstein.net/newid.asp