Information générale
Catégorie:
Gestionnaire d'écran & Écrans
I have tried something else.
I have put in my MAIN.PRG after DO FORM line a command READ EVENTS and it is working now. Can you explain me a READ EVENTS?
Referees in EUROBASKET (in whole championship) were terrible!!!
Turkey have a great team and I am certain that they will be among the best teams in the WORLD CHAMPIONSHIP next year in USA!
>In form2.init you should have a parameters as first line :
>
>*Form2.init
>lparameters tnRecnumber
>go tnRecnumber
>
>*Form1 any place
>do form form2 with thisform.rec
>
>Thanks and congratulations for your being the champion:) I hated Spanish referre a lot but still we're proud we got Silver medal first time in our history and always thought you as the thoughest rival :)
>Cetin
>
>>I have tried that, but now shows an error that PARAMETER is mising.
>>
>>By the way, you have played very good in the final of EUROBASKET against us.
>>
>>
>>>>Before I say what’s the problem, here is the situation:
>>>>I have created two Forms and one (free) table.
>>>>The Form2 take the value of property from Form1 (the same table) when a command button on Form1 is click to do Form2.
>>>>The Form2 have the following Init() event: GOTO Form1.rec (rec is property made in Form1).
>>>>
>>>>The problem is following:
>>>>When I start the Form1 by running it from Project Manager the Form2 take a value from Form1 properly, but when I start the Form1 from the program (MAIN.PRG) and I click button to do Form2 the Form2 reports an error that Alias “FORM1” can’t be found.
>>>>
>>>>Why is that happening when the same process is going on?
>>>
>>>It's a glitch. When in developer environment you could refer to the 'first' instance of a form by its .scx name.
>>>Instead pass the property value to form2 (do form2 with thisform.rec)
>>>Cetin
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement