Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why doesn't this work?
Message
From
13/04/2006 20:43:23
 
 
To
13/04/2006 20:33:39
General information
Forum:
Visual FoxPro
Category:
CodeMine
Miscellaneous
Thread ID:
01113634
Message ID:
01113635
Views:
15
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform