Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Visual Foxpro 9.2 Browse command

Posted on 2011-09-14
2
Medium Priority
?
1,626 Views
Last Modified: 2012-12-01
Converting a proven VFP 6 program to VFP 9.2: A Browse command is executed with two unrelated windows defined and activated. The Browse uses "Window xx", not "In Window xx". The first time the Browse is executed,  the two unrelated windows are cleared. On all subsequent execution of the same Browse under exactly the same conditions, the unrelated windows are not cleared. Of course, they should not have been cleared the first time. There are to "CLEAR" commands in any of the associated code. Numerous tries of minor changes do not solve the problem. If the Browse is skipped, the windows are not cleared. A simpler version of the Browse has been tried to no avail.
0
Comment
Question by:dealmaster
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
jrbbldr earned 1000 total points
ID: 36537043
A Browse command is executed with two unrelated windows defined and activated. The Browse uses "Window xx", not "In Window xx".

The Browse uses "Window xx", not "In Window xx"


My first question would be why are you using  "Defined Windows for your Browse".  
That is OLD non-VFP code methodology.  
You should be using Grids within a VFP9 Form.

A Grid has a RecordSourceType & RecordSource which are defined.

What is displayed in the Grids is a result of what records are 'visible' within the RecordSource.
If the Grid were to appear as 'cleared' then something has occurred which has made the records in the RecordSource not visible such as a SET FILTER TO <something> or SET INDEX TO <some tag>, etc.

The VFP CLEAR command only clears the desktop or active window 'screen', not the records being displayed in a BROWSE Window or Grid.

Good Luck
0
 

Author Comment

by:dealmaster
ID: 36555058
The program was written before VFP existed and works well under VFP 6.0. In any case, I have solved the probelm
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Visual FoxPro (short VFP) is a programming language with it’s own IDE and database, ranking somewhat between Access and VB.NET + SQL Server (Express). Product Description: http://msdn.microsoft.com/en-us/vfoxpro/default.aspx (http://msd…
Are you looking for the options available for exporting EDB files to PST? You may be confused as they are different in different Exchange versions. Here, I will discuss some options available.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question