>Hi Ed,
>
>>What kind of a constant? If you need a completely guarenteed unique identifier, generate a GUID using the Windows API and then store it somewhere, but that's a large (16 byte) value. If it's generated per machine, then save it in the registry, otherwise, you'll need a table or initialization file to draw the value from at runtime.
>
>It is simply a two character code identifying the organization. I though I could do it using the Config file but I couldn't figure out how. Is that what you mean by initialization file?
You need something that you can read at program startup and save - it doesn't matter so much what the file is, as much as (1) it exists somewhere that it can be found and (2) it can be read by VFP. A simple text file with a known name at a known location would work fine; read it (you can use the low-level file I/O functions if nothing else looks interesting) and stick it in your application object or some other known place that everything will reference.