I'm still not sure what you'd like to achieve, but sqlconnect() and sqlexec() pretty much let you do what you need to do.
When you say upgrade, do you actually mean changing the structure of a table?
>Yes Peter. Any tips?
>
>Regards.
>
>>Are you still looking for help on this issue?
>>
>>>Hi Peter,
>>>
>>>How do you change the table structure for upgrade version? Do you run the script outside or from VFP?
>>>
>>>Regards
>>>
>>>>Could you be a bit more specific?
>>>>
>>>>What exactly do you want to accomplish?
>>>>
>>>>
>>>>>Hi all,
>>>>>
>>>>>How to I achieve this and is it possible?
>>>>>
>>>>>Regards,
>>>>>Farouk Yew Abdullah
Peter Pirker
Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?
(Woody Allen)