Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RecordSource for Grid
Message
From
15/12/1998 15:53:42
 
 
To
15/12/1998 15:18:14
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00167835
Message ID:
00167855
Views:
18
Putting the "=" sign, as in your first example, tells VFP to treat the setting as an expression. So if "tablename" is a character variable, VFP will initialize the RecordSource to whatever value "tablename" holds. In your second example, VFP will look for a valid alias or whatever with a name of "tablename".
Since you indicate the first example works fine the first time, but not after you close and reopen the form, look to see whether the alias specified by "tablename" is still open. Also, check the value for "tablename", it may have changed.
Previous
Reply
Map
View

Click here to load this message in the networking platform