Home > Archive > Getting Started with dBASE > March 2006 > dBase fails to save changes to file









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 dBase fails to save changes to file
Keith

2006-02-28, 8:25 pm

Sometimes the source editor changes are saved and sometimes they are not. Anyone know of this bug and any fix? Using 2.6.

I have recently been trying to learn about arrays and found the Array1.htm and array2.htm very helpful. Anyone know where I can get the rest of ken's HOW TO documents?

Thank you



Ken Mayer [dBVIPS]

2006-02-28, 8:25 pm

Keith wrote:
> Sometimes the source editor changes are saved and sometimes they are not. Anyone know of this bug and any fix? Using 2.6.


I am not sure I know what could cause this.

> I have recently been trying to learn about arrays and found the Array1.htm and array2.htm very helpful. Anyone know where I can get the rest of ken's HOW TO documents?


Almost all of what is in the HOW TO documents I wrote are in the
Knowledgebase for dBASE Plus. Also that and a lot more are in the book I
wrote (see my signature below ...).

Ken

--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/

*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/dbase/dBASEBook.htm
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
Keith

2006-03-05, 8:27 pm

I purchased your book and received it about 2 weeks ago. It is very helpful.

I haven't found the specific FORMVAR "How To", which is referenced in the ARRAY How To, in the knowledge base. I was wondering if there was some other place to look. I have a printed copy of the ARRAY How To's from 1999. (So its taken me some time to f
inally bite the bullet and learn this stuff).

Thank you.

Ken Mayer [dBVIPS] Wrote:

> Keith wrote:
>
> I am not sure I know what could cause this.
>
>
> Almost all of what is in the HOW TO documents I wrote are in the
> Knowledgebase for dBASE Plus. Also that and a lot more are in the book I
> wrote (see my signature below ...).
>
> Ken
>
> --
> /(Opinions expressed are purely my own, not those of dataBased
> Intelligence, Inc.)/
>
> *Ken Mayer* [dBVIPS]
> /Golden Stag Productions/
> dBASE at goldenstag dot net
> http://www.goldenstag.net/dbase/dBASEBook.htm
> http://www.goldenstag.net/GSP
> http://www.goldenstag.net/dbase


Les Shewchuk

2006-03-05, 8:27 pm


"Keith" <keith@profsafety.com> wrote in message
news:FoIie4JPGHA.1740@news-server...
> Sometimes the source editor changes are saved and sometimes they are not.
> Anyone know of this bug and any fix? Using 2.6.


It's a known issue. I know I posted it in Bug Reports some time ago and dBI
knew about it.

If you open the form in the source editor from the navigator and make
changes, it is flagged to "Save before closing?"

If you open a form in the form editor and make a change on the form
(visually) the flag again comes on.

If you open a form in the form editor and then open the source editor and
make a change to a function, the flag is not set and the changes are
lost...unless you use the "Save and Close crtl-w" instead of the [X] button

If you open a form in the form editor and then open the source editor and
make a substantial change (i.e. create a new function, which changes the
tree on the left, or make changes to the visual components code, which
forces the form to re-load) then the flag is set on and you will be asked to
save

The source editor you get from the navigator and the source editor you get
from the form designer seem to be two separate beasts that do not interact
with each other. (this makes sense as one needs to interact with the
designer the other does not) Which is why, if you open several programs
from the navigator, you get one tabbed window, and if you open several
designers and ask for the source code, you get one tabbed window...but if
you open one designer source editor and one navigator source editor, you get
two separate windows.

I've just gotten into the habit of using ctrl-w to close the visual editors.

Les Shewchuk


Keith

2006-03-05, 8:27 pm

Les,

Thank you very much. I now know how to avoid loosing my corrections to the code. It was driving me crazy.

Keith

Les Shewchuk Wrote:

>
> "Keith" <keith@profsafety.com> wrote in message
> news:FoIie4JPGHA.1740@news-server...
>
> It's a known issue. I know I posted it in Bug Reports some time ago and dBI
> knew about it.
>
> If you open the form in the source editor from the navigator and make
> changes, it is flagged to "Save before closing?"
>
> If you open a form in the form editor and make a change on the form
> (visually) the flag again comes on.
>
> If you open a form in the form editor and then open the source editor and
> make a change to a function, the flag is not set and the changes are
> lost...unless you use the "Save and Close crtl-w" instead of the [X] button
>
> If you open a form in the form editor and then open the source editor and
> make a substantial change (i.e. create a new function, which changes the
> tree on the left, or make changes to the visual components code, which
> forces the form to re-load) then the flag is set on and you will be asked to
> save
>
> The source editor you get from the navigator and the source editor you get
> from the form designer seem to be two separate beasts that do not interact
> with each other. (this makes sense as one needs to interact with the
> designer the other does not) Which is why, if you open several programs
> from the navigator, you get one tabbed window, and if you open several
> designers and ask for the source code, you get one tabbed window...but if
> you open one designer source editor and one navigator source editor, you get
> two separate windows.
>
> I've just gotten into the habit of using ctrl-w to close the visual editors.
>
> Les Shewchuk
>
>


Ken Mayer [dBVIPS]

2006-03-05, 8:27 pm

Keith wrote:
> I purchased your book and received it about 2 weeks ago. It is very helpful.
>
> I haven't found the specific FORMVAR "How To", which is referenced in the ARRAY How To, in the knowledge base. I was wondering if there was some other place to look. I have a printed copy of the ARRAY How To's from 1999. (So its taken me some time to

finally bite the bullet and learn this stuff).

Well, I didn't write FormVar, and it's actually in the 5.x HOW TO stuff,
I think. Check my dBASE site (last link in the sig block below), there's
a link to Bowen's site where he has a copy of all that. However, there
is a good discussion on getting forms to talk to each other in my book.

Ken

--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/

*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/dbase/dBASEBook.htm
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
Keith

2006-03-05, 8:27 pm

Thank you, Ken. I found it.

Keith

Ken Mayer [dBVIPS] Wrote:

> Keith wrote:
to finally bite the bullet and learn this stuff).[color=darkred]
>
> Well, I didn't write FormVar, and it's actually in the 5.x HOW TO stuff,
> I think. Check my dBASE site (last link in the sig block below), there's
> a link to Bowen's site where he has a copy of all that. However, there
> is a good discussion on getting forms to talk to each other in my book.
>
> Ken
>
> --
> /(Opinions expressed are purely my own, not those of dataBased
> Intelligence, Inc.)/
>
> *Ken Mayer* [dBVIPS]
> /Golden Stag Productions/
> dBASE at goldenstag dot net
> http://www.goldenstag.net/dbase/dBASEBook.htm
> http://www.goldenstag.net/GSP
> http://www.goldenstag.net/dbase


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