Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with SET RELATION
Message
 
To
03/09/1997 09:04:37
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00048085
Message ID:
00048408
Views:
27
>>>>I'm user of Visual Fox Pro 3.0 and I've problems with the command 'SET RELATION'. I'm using GRID and RELATION between two tables, then when I cancel the relation with 'SET RELATION TO' or 'SET RELATION OFF' the child table doesn't show all the registers, but the same registers that was been showed before to cancel the relation. I'd like to see all the registers of child table. What do I do?
>>>
>>>myGrid.Refresh()
>>
>>Yes, I know about that command. But I've already tried and in this case it doesn't work. I don't know if it's a problem of the verson of Visual Fox Pro that is 3.0, because that command doesn't work with the command VIEW. I also tried the command SET REFRESH, and nothing.
>
>Fernando,
>
>I'm a bit perplexed.
>
>Is your recordsource a table, alias, cursor, or a query?
>
>SUSPend the program and move around in the child with the command box. Can you see all the records now?
>Look at your data session window. are you sure that the relation is broken?
>
>HTH

To add to Matt's idea, when you cancel the relation are you SURE you're in the correct SELECT area? You must SELECT Parent then SET Relation TO.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform