Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Functional Conversion from v2.6 to VFP

Status
Not open for further replies.

vfpguy

Programmer
May 15, 2001
4
US
Currently, one of our company projects is to move to Visual FoxPro from v2.6 (OLD!). I am already fully convinced and committed to conversion, and have been placed in charge of the transition. Although I think we should fully convert, my manager wants to salvage the old programs and requested a functional conversion ONLY (for now, anyway).
Specifically, I have a program that I have almost successfully converted over from FoxPro 2.6. The program has all of the 'good stuff': a browse window (1 to many rel.), and 'REFRESH' and 'READACTIVATE' functions. The effect of these is to create an event listener (action listener), which has always worked fine in v2.6. However, since converting the program, the browse window does not show data when going from record to record in the header. It does show the first record very briefly at the beginning when initially launching the program. But the data only flashes and then disappears. I have checked through all of my main program, and have set up WAIT WINDOWS throughout the READ_Activate and similar functions (to debug). The browse window's strange behavior begins after the READACTIVATE() in the screen. So, it doesn't seem as though I can debug it very easily.
A quirky twist associated with this is that when I am in the debugger, to see what the problem is, the program browse window keeps the record visible! In other words, WHILE DEBUGGING, the problem DOESN'T HAPPEN!
FYI, the RELATION is set and is 1-* using SET SKIP TO.
Do you have any possible solutions or suggestions?

Thank you,
vfpguy
 
The problem could be in the 'set realtion' used and subsequent commands used.

1. Select the Parent file.
2. Set the relation to the child which is in the Browse window.
3, DO NOT SELECT THE CHILD TABLE FOR ANY MANIPULATION AFTER THE setps 1 & 2.
4. Run the programme. It must show the records correctly.
Hope I am of some help to you. :) ramani :-9
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top