dbTalk Databases Forums  

Losing browse wind on ZAP.

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss Losing browse wind on ZAP. in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AK
 
Posts: n/a

Default Losing browse wind on ZAP. - 05-07-2004 , 12:46 AM






Hi;

Using Foxpro Dos 2.6:

If I do a browse nowait wind X

And later I zap the file, the browse wind disapears.

Is there a solution to this issue?

Thx,

AK


Reply With Quote
  #2  
Old   
Stefan Wuebbe
 
Posts: n/a

Default Re: Losing browse wind on ZAP. - 05-07-2004 , 01:53 AM






The Browse window is closed because Zap deletes the table.dbf
and creates a new one (which is why you need to Use it Exclusive).
So you can only run your Browse command again right afterwards.
(Sounds as if a temporary cursor might be useful in your scenario?)


hth
-Stefan

"AK" <newal (AT) rugwho (DOT) com> schrieb im Newsbeitrag
news:4i8m9057r570cr8etg7s01f8ekt7vqfm59 (AT) 4ax (DOT) com...
Quote:
Hi;

Using Foxpro Dos 2.6:

If I do a browse nowait wind X

And later I zap the file, the browse wind disapears.

Is there a solution to this issue?

Thx,

AK



Reply With Quote
  #3  
Old   
AK
 
Posts: n/a

Default Re: Losing browse wind on ZAP. - 05-07-2004 , 08:09 AM



I don't really disagree, but I have also tried DELETE ALL , PACK.
Unless pack does the same.
In any case - running the browse again gets the screen to kinda
flicker. No solution to the problem?

Thanks,
AK

On Fri, 7 May 2004 08:53:22 +0200, "Stefan Wuebbe"
<stefan.wuebbe (AT) gmx (DOT) de> wrote:

Quote:
The Browse window is closed because Zap deletes the table.dbf
and creates a new one (which is why you need to Use it Exclusive).
So you can only run your Browse command again right afterwards.
(Sounds as if a temporary cursor might be useful in your scenario?)


hth
-Stefan

"AK" <newal (AT) rugwho (DOT) com> schrieb im Newsbeitrag
news:4i8m9057r570cr8etg7s01f8ekt7vqfm59 (AT) 4ax (DOT) com...
Hi;

Using Foxpro Dos 2.6:

If I do a browse nowait wind X

And later I zap the file, the browse wind disapears.

Is there a solution to this issue?

Thx,

AK



Reply With Quote
  #4  
Old   
Rick Bean
 
Posts: n/a

Default Re: Losing browse wind on ZAP. - 05-07-2004 , 09:07 AM



AK,
Yes, DELETE ALL, PACK also effectively creates a new table - more importantly the internal handle to the open file that the Browse uses is no longer valid and FPW doesn't offer any way to "reset" it. In Visual FoxPro, it's easy to clear the Grid's recordsource property, "fix" the table and then set it to the new table, and just refresh the grid. Windows and VFP do offer advantages over an evironment that hasn't been updated in over nine years.

Rick

"AK" <newal (AT) rugwho (DOT) com> wrote

Quote:
I don't really disagree, but I have also tried DELETE ALL , PACK.
Unless pack does the same.
In any case - running the browse again gets the screen to kinda
flicker. No solution to the problem?

Thanks,
AK

On Fri, 7 May 2004 08:53:22 +0200, "Stefan Wuebbe"
stefan.wuebbe (AT) gmx (DOT) de> wrote:

The Browse window is closed because Zap deletes the table.dbf
and creates a new one (which is why you need to Use it Exclusive).
So you can only run your Browse command again right afterwards.
(Sounds as if a temporary cursor might be useful in your scenario?)


hth
-Stefan

"AK" <newal (AT) rugwho (DOT) com> schrieb im Newsbeitrag
news:4i8m9057r570cr8etg7s01f8ekt7vqfm59 (AT) 4ax (DOT) com...
Hi;

Using Foxpro Dos 2.6:

If I do a browse nowait wind X

And later I zap the file, the browse wind disapears.

Is there a solution to this issue?

Thx,

AK



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.