Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid: ControlSource - column vs CurrentControl?
Message
 
 
To
13/12/2006 10:56:02
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01177136
Message ID:
01177200
Views:
15
>I was more interested in why you prefer a cursor as opposed to a table.

In this particular case I was thinking you may have fields in different order in the table. With selecting records into the cursor you can select fields you want to show in the combobox the way you want. If you use the table directly then the first N fields will show in the combobox, where N is the columncount.

Or is that what you mean when you say Alias? I thought alias was simply a nickname for any table, cursor etc. Maybe things have changed since my FPW days?
>

Yes, alias is a nickname for a table or cursor and that's why I suggested to try with Alias as a RowSource.

>Hmmm, is it possible that a RowSource of "2 - Alias" might be more forgiving in the user's runtime environment? I'm wondering how my VFP appl will find tables, defined in the data environment, if they are located on different drives that in my development environment?

As long as your SET PATH correctly pointing to the production database folder and not the development's DBF folder, it should work.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform