I moved forms that were made with paradox 7 to
a computer with xp and paradox 9. The init event is not in the object
explorer in p9 and the forms won't open.
Can anyone please help with this.
You need to set the developers preference to advanced to see the init method. Access this from the tools menu, settings, Developer Preferences. Are you getting any errormessages? Have you saved the files in pdox 9, as suggested by Mike? Have you checked any aliases that might be on the pdox 7 system?
Thanks for the help. I did as you said above and got thinks working, sort of. There are several strange things that happen when I run it.
First, when I open the form I get a tcursor not open error, but the funny thing is if I open the form in design mode and just ad a semicolon anywhere the form will run. Saving the change doesn't make it start next time though, you have to add another semicolon.
Second, the forms lock every so often and restarting Paradox is required to get it going again.
Third, sometimes records won't update when changed by other users on the network. nothing has changed on the other users, so I doubt there is any problem with them. This only happens once in a while and at random times.
P9 on XP is not working anywhere near as well as P7 on NT4 did. I would go back to the old config, but I can't find NT drivers for my display adapter, so any help is welcome.
Is the ; in the form when you reopen it? If not then the form is not saving or it is saving to a directory different than the current working directory.
My first guess is that the P7 code is not notifying the user of an error posting to a locked table. This can happen when one user has locked a detail record on a form with a master\detail datamodel. Paradox will lock the master table to keep the master record from being modified while the child table is being edited.
If nothing has changed on the other users pc's I gather you are running mixed code. Was there a reason to migrate to P9 on xp? P7 runs ok in an xp environment.
I am stump. I developed an application that I have been using for 10 years using Paradox 7, then I was out of business for years and a half. It was running on Win 95 before. Now I have migrated it to Win XP.
The problem I have is that one particular form would not open, not for design either. Every time I try to open it, it hung up. I did not tell me if any table is bad or missing. All other forms have been opened just fine.
This particular form is the most complicate form in my system. I the heart of my POS system. It has many tables in it. I could not go back to redevelop it again since I did not have any documentation of the program.
Please, someone help me. Tell me how can I open it or see what in it so I can at lease try to trace what missing or so.
I am stump. I developed and application that I have been using for 10 years using Paradox 7, then I was out of the business for a year and a half. It was running on Win 95 before. Now I have migrated it to Win XP.
The problem I have is that one of the form would not open, not even for design either. Every time I tried to open it, it hung up. It did not give me any pop up message to tell me what missing or what table is bad. I could open all other forms just fine.
This particular form is the heart of my POS system. It is q bit complicated. It has many tables and link to many procedures. I don't remember what in it now since I don't have any doc for it
Someone please help me. Tell me how can I open it or look inside to see what components it has, may be I can trace it to see what missing.
You need to borrow or build a Win 95 system. (Hint: don't connect it to the internet.) Open your heart form on the Win 95 system, disable the code in all the Open() events, and save it. Then try to open it on the Win NT system. Keep disabling things until the form opens on both systems.
Once it opens on Win NT, then you can investigate it in its new environment. Try enabling each Open() event until the form hangs, etc.
If it doesn't even open on Win 95, then consider how good life has been so far and how lucky you were to have enjoyed so much of it, and resolve that in your next life you will document your work as you do it.
If Al's suggestion is not immediately available and if you are really desparate and what to view the code you can open the form using notepad or other text editor. You cannot and must not make modifications to this file using the editor. I would recommend using a disposable copy of the form for this. If you search for the open() and init() methods you can look at the text code and possibly figure out what is missing from the application envirment and possible correct the problem. By the way have you attempted to run the code in win98 compatability mode?