Home > Archive > Programming with dBASE > December 2005 > Extrange form problem









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 Extrange form problem
evilaro

2005-12-29, 7:23 am

To all:

I have a extrange problem with a form.

It was working properly and one day I wanted to
modify something...
To my surprise at the bottom of the form
after the endclass

the whole whole form gets duplicated.

like


good part
..
..
endclass
// form duplicated from this point
endclass
with (this)
onOpen = class::FORM_ONOPEN
open = class::FORM_OPEN
..
..
..


It has a few buttons, a couple of grids and a few entryfields

I have tried to find out the problem... maybe a enddo missing
and also I have tried to delete everything step by step
to find the culprit... but I do not see a solution.

It only happens to this form

Any idea or sugestion?

Emilio



*Lysander*

2005-12-29, 7:23 am

In article <6uafxBHDGHA.1300@news-server>, buzon@evil.es says...

> Any idea or sugestion?


idea:
check the headline of the form, there should be something like "END=20
HEADER - do not remove this line" (translated in your language...).

suggestion:
better don't use the form-designer for forms, which are already in=20
production (used in a real program).

--=20
ciao,
Andr=E9
evilaro

2005-12-29, 8:23 pm


André:
the "END HEADER - do not remove this line"

IS there.. no problem.

I have kept trying to solve it but no way..

Always duplicates the form....

If I erase the duplicated part and save it... it works fine..
But if I open it to modify something... well is duplicated
again .. a real pain.

Thanks

Emilio



"*Lysander*" <nobody@nowhere.com> escribió en el mensaje
news:MPG. 1e1df6a34c57a2049899
c4@news.dbase.com...
In article <6uafxBHDGHA.1300@news-server>, buzon@evil.es says...

> Any idea or sugestion?


idea:
check the headline of the form, there should be something like "END
HEADER - do not remove this line" (translated in your language...).

suggestion:
better don't use the form-designer for forms, which are already in
production (used in a real program).

--
ciao,
André


Ken Mayer [dBVIPS]

2005-12-29, 8:23 pm

evilaro wrote:
> André:
> the "END HEADER - do not remove this line"
>
> IS there.. no problem.
>
> I have kept trying to solve it but no way..
>
> Always duplicates the form....
>
> If I erase the duplicated part and save it... it works fine..
> But if I open it to modify something... well is duplicated
> again .. a real pain.


It sounds like you have the word FUNCTION or PROCEDURE as the beginning
of a comment, or something like that. This confuses dBASE, and it gets a
little strange ... check also for CLASS and things like that as the
first word in a comment statement.

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
evilaro

2005-12-30, 7:23 am

Ken:

I have chequed all you suggest...
I did not find any suspicios line...

But....

After so many changes ... the problem is gone !!!!

To bad I do not know the cause.

Thanks anyway.

Emilio



"Ken Mayer [dBVIPS]" < dbase@_nospam_golden
stag.net> escribió en el mensaje
news:UqVO7UNDGHA.304@news-server...
> evilaro wrote:
>
> It sounds like you have the word FUNCTION or PROCEDURE as the beginning
> of a comment, or something like that. This confuses dBASE, and it gets a
> little strange ... check also for CLASS and things like that as the
> first word in a comment statement.
>
> 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



Ken Mayer [dBVIPS]

2005-12-30, 1:23 pm

evilaro wrote:
> Ken:
>
> I have chequed all you suggest...
> I did not find any suspicios line...
>
> But....
>
> After so many changes ... the problem is gone !!!!
>
> To bad I do not know the cause.
>
> Thanks anyway.


Weird. That kind of thing is odd, but usually caused by something lke I
mentioned, or not closing a structure (class/endclass, if/endif, do
case/endcase ...).

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