Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table appears twice but only one populated
Message
De
26/09/2007 08:24:48
 
 
À
26/09/2007 07:07:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01256696
Message ID:
01256884
Vues:
15
>>Hi Guys
>>
>>I have this form for maintaining bus operator details.
>>Now one operator (company) may be owned by another operator (company).
>>So the Operator table appears twice in the DE - one with alias "OPERATOR1" as opposed to the default.
>>
>>The subject Operator table has a foreign key to its owner (ie another operator rec - which, btw, I don't have as a cyclic reln. in the DD). Just for the purposes of this form I have that pointing at the operator ID of OPERATOR1 in the DE. SO on the form I have a listbox to the OPERATOR1 "version" of the table, so that the subject operator's rec can have its owner selected froom the listbox.
>>
>>Now then, only trouble is the listbox is empty at runtime. Now I developed this a few years ago and I can't see that I let this flaw go in testing.
>>
>>Any ideas? BTW it definitely is the same table USEDd AGAIN.
>>
>>'ppreciate it
>>
>>Terry
>
>UPDATE on this:
>
>In debug watch window I have dbf() function and this confirms that when I select either OPERATOR (initselalias)or OPERATOR1 (the reUSEd operator table, used to supply the listbox) they are indeed the same table (same path) BUT a browse of OPERATOR1 is empty, as if it's a different empty table.
>
>Really flummoxed over this one!
PMFJI, Filter?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform