Discussion:
HELP with PRG basics SAFETY
(too old to reply)
John Cosmas
2005-06-15 14:52:59 UTC
Permalink
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 15:17:14 UTC
Permalink
Yes, SET SAFETY OFF is what you need.
--
Fred
Microsoft Visual FoxPro MVP
Post by John Cosmas
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 15:32:37 UTC
Permalink
Is there also a way to show the statusbar progress? My table is big and the
server is slow.
Post by Fred Taylor
Yes, SET SAFETY OFF is what you need.
--
Fred
Microsoft Visual FoxPro MVP
Post by John Cosmas
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-16 01:00:57 UTC
Permalink
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
Post by John Cosmas
Is there also a way to show the statusbar progress? My table is big and
the server is slow.
Post by Fred Taylor
Yes, SET SAFETY OFF is what you need.
--
Fred
Microsoft Visual FoxPro MVP
Post by John Cosmas
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.
Olaf Doschke
2005-06-24 07:19:37 UTC
Permalink
Post by John Cosmas
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.

Loading...