Home > Archive > FoxPro database connector > June 2005 > HELP with PRG basics SAFETY









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author HELP with PRG basics SAFETY
John Cosmas

2005-06-15, 11:25 am

I am trying my best to remember what all I had to do 6 years ago and I'm
currently supporting an old app written in VFP 6.0. I have a COPY STRU
statement that creates a prompt asking me if I would like to replace the
existing copy that will be overwritten by the COPY STRU command. Is there a
SET SAFETY OFF statement of some sorts that eliminates the prompt? I just
need it to go ahead and replace/overwrite.


Fred Taylor

2005-06-15, 11:25 am

Yes, SET SAFETY OFF is what you need.

--
Fred
Microsoft Visual FoxPro MVP


"John Cosmas" <johncosmas@charter.net> wrote in message
news:hhXre.265$uS2.10@fe03.lga...
>I am trying my best to remember what all I had to do 6 years ago and I'm
>currently supporting an old app written in VFP 6.0. I have a COPY STRU
>statement that creates a prompt asking me if I would like to replace the
>existing copy that will be overwritten by the COPY STRU command. Is there
>a SET SAFETY OFF statement of some sorts that eliminates the prompt? I
>just need it to go ahead and replace/overwrite.
>



John Cosmas

2005-06-15, 11:25 am

Is there also a way to show the statusbar progress? My table is big and the
server is slow.

"Fred Taylor" <ftaylor@mvps.org!REMOVE> wrote in message
news:O30zt1bcFHA.2960@TK2MSFTNGP09.phx.gbl...
> Yes, SET SAFETY OFF is what you need.
>
> --
> Fred
> Microsoft Visual FoxPro MVP
>
>
> "John Cosmas" <johncosmas@charter.net> wrote in message
> news:hhXre.265$uS2.10@fe03.lga...
>
>



Fred Taylor

2005-06-15, 8:26 pm

I've never seen a structure large enough to warrant a progress bar. Try SET
NOTIFY ON and/or SET TALK ON.

--
Fred
Microsoft Visual FoxPro MVP


"John Cosmas" <johncosmas@charter.net> wrote in message
news:sSXre.7177$Ub4.6190@fe06.lga...
> Is there also a way to show the statusbar progress? My table is big and
> the server is slow.
>
> "Fred Taylor" <ftaylor@mvps.org!REMOVE> wrote in message
> news:O30zt1bcFHA.2960@TK2MSFTNGP09.phx.gbl...
>
>



Olaf Doschke

2005-06-24, 3:24 am

> Is there also a way to show the statusbar progress? My table is big and the
> server is slow.

The COPY STRUCTURE command alone just
copies the structure, that doesn't cost much time
in any case.

There may be more code that afterwards creates
a new table with the same structure and copies
the original data o that new table.

You may replace all this code with COPY TO.

Bye, Olaf.


Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com