Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot access the selected table
Message
De
29/10/2004 02:39:02
 
 
À
28/10/2004 03:21:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00954796
Message ID:
00955688
Vues:
17
In addition to what Cetin said, and as you know, error 1152 is (almost)
always caused by a combo/listbox complaining about its missing RowSource
alias.
IOW, it does not happen with RowSourceTypes not relying on any alias, like
RSType 5 && Array, 0 etc.
So the latter, "encapsulated" approach usually is the better one, IMO.

I believe there is also a nice FAQ article about that here. See also
http://groups.google.com/advanced_group_search


-Stefan
* comboX.Init pseudo code
This.AddProperty("aRowsource[1]")
Select DisplayedField, KeyField ;
    From theTable ;
    Into Array This.aRowsource
This.RowSourceType = 5
That way the combo autonomously cares for itself, no otherObject.Methods() involved.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform