Hi Mike,
Thanks for the reply. I used the path reference property in my application class to open the table for NewKey() and that solved the problem. I'm glad that I have very thick hair as I have been pulling on it all morning and then this happened on the datasession...
Thanks for the help
>>I was using the dataenvironment to set the location to the tables so NewKey would just use the Keys.dbf that was loaded in the forms datasession.
>
>For more info, here is a
FAQ off of Craig Bernston's page