Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ALIAS problem
Message
From
10/09/2001 09:29:43
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
10/09/2001 09:21:56
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00554606
Message ID:
00554611
Views:
15
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform