>Hello comunity
>
>I want to make a little PRG file in VFP, to import an excel file and insert records on sql server 2008.
>I want on my VFP PRG files to ask me:
>1- name of excel file
>3. create a cursor to load records
>4- verify if my reference exist on my table ST (stock) , if exist run next reference till the end of excel file.
>
>I attach my code but the same one crash my EXE program.
>
>Someone could give me some help to do this running OK, and also optimize some code to make more easier this routine.
>
>Many thanks
>Luis Santos
Rather than attaching the code, can you post some code where you have problems now?
If it's not broken, fix it until it is.
My Blog