Wow! A very helpful response, Ed. I immediately added your API function to my good tips file. On my machine, however, the line
? LEFT(cBuffer, nSize - 1)
produces a truncated name and needs to be
? LEFT(cBuffer, nSize)
Although MS says ID() is no longer supported, in fact it returns the same information as SYS(0), although for how much longer....?
Between you and Nick, all my problems are solved. Until next time, anyway :)...
regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.comNo trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.