PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Re: Problem with Tutorial
Re: Problem with Tutorial
Iniciado por cchamberlin, 18,ago. 2003 22:01 - No hay respuesta
Publicado el 18,agosto 2003 - 22:01
Hi Peter,
Thanks for looking...more below.
I have finally set aside time to get started with 7.5. Working thru the
tutorial, am on page 41, working with Menu's. This is not rocket science,
but I must be dumber than I look, because when I "run" the "Menu" window
clicking on the sub-menus to open the other windows throws up on me. Have
tried it a number of different times, starting over, etc.
I tried the same project and no problems ...

I went back and did it again, with the same results (didn't work).
Unable to open <4> window:
Object 4 not found.
Seems that the menucode to open a window in the example changed to 'Open("4")' in stead of 'Open(ARealWindowName)'

The code is correct, but seems to be getting thrashed when "running" the window. However, when I write "Close("...the autofill doesn't find the first window "Edit." It does find the second one "Counter" when I write "Close(" and I can select it, etc.
Additionally, later in the weekend, I linked tables together, 0,n-->1,1. Then after doing the RAD Window thing, I consistently get a compile error (this was with 3 different sets of tables) when trying to save the form (I chose the form with linked table).
The code from the detail table reads:
LinkTable.AnalysisResultsID=AnalysisMaster.AnalysisMasterID
Code should read:
AnalysisResults.AnalysisResultsID=AnalysisMaster.AnalysisMasterID
Somehow, under the Table Description for the detail table, the table name is shown as "LinkTable" rather than AnalysisResults.
Now, if I search and replace the table name with the correct one, and change the table name under Table Description, then I get another compile error. The form name is wrong...instead of frmAnalysis it is named Form_Analysis, yet in the Form Description it is frmAnalysis. So I search and replace again, and voila...it works.
The rest of the things I have used this weekend seemed to work as expected.
I am beginning to wonder if I need to uninstall WinDev and reinstall it...I have it on my D partition instead of C...maybe it doesn't like being on D.
Thanks,
Craig