Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why doesn't this work?
Message
De
13/04/2006 20:43:23
 
 
À
13/04/2006 20:33:39
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Divers
Thread ID:
01113634
Message ID:
01113635
Vues:
13
>In the second time thru the scan loop the Pizza object is blank even though there are records in the child table. I've discovered that if I do a .Pizza.Gotop or something it works, but why is this?

>Mike


>Set Asserts On

>loCDE = Createobject( 'cdeExample1' )

>loCDE.openall

>Select Delivery

>Scan
> loCDE.Delivery.PrimaryKeyChanged()

> loDelivery = loCDE.Delivery.GetRecordData()
> loPizza = loCDE.Pizza.GetRecordData()
> Assert .F.
>Endscan

Are you doing a SET FILTER TO "something"? It sounds like it if you have to GO TOP.
The American Republic will endure, until politicians realize they can bribe the people with their own money.
- Alexis de Tocqueville

No man’s life, liberty, or property is safe while the legislature is in session.
– Mark Twain (1866)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform