Hi Cor,
The problem with that is, I am not allowed to alter the tables - they belong
to a third party. I am simply hooking into them.
I've come to the conclusion that I will only be able to do this by using the
foxpro environment itself, but I probably won't have to - it appears my
client will be happy with 'view access' only, so I can hook in, gather the
data I need, and display it.
Tx for your help.
Bernie
"Cor Ligthert" <notmyfirstname@planet.nl> wrote in message
news:epmaPrnGFHA.400@TK2MSFTNGP14.phx.gbl...[color=blue]
> Bernie,
>
> Your goal is not clear in my opinion.
>
> Do you want to set the keys in the database
> Or
> Do you want to set the primary keys in the dataset.
>
> Where I assume setting the primary keys in the database using the SQL
> Alter command and the
>
>
http://msdn.microsoft.com/library/de...able___sql.asp
>
> the SQLcommaned.executenonquery to process that.
>
> :-)
>
> Cor
>[/color]