Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RECALL problem
Message
From
15/12/1996 20:38:09
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
RECALL problem
Miscellaneous
Thread ID:
00015174
Message ID:
00015174
Views:
80
Here's my recycle function:
LOCAL lcDelete,lcOldOrder
lcDelete=SET('DELETE')
lcOldOrder=SET('Order')
SET ORDER TO
SET DELETE OFF
LOCATE FOR DELETED()
IF NOT FOUND()
   APPEND BLANK
   ELSE
   RECALL
   BLANK
ENDIF
SET DELETE &lcDelete
SET ORDER TO &lcOldOrder
This is usually working fine but not on a specific case and here it is.

If I have a child grid which is based on a the form parent alias. My ChildOrder, LinkMaster & RelationExp child grid properties represent the relation. When I add a record, I execute this recycle function to know wether or not to recycle a record. After this call I then replace my parentid of the child table with the parent.parentid. When using the APPEND BLANK, the grid refresh and show the new added record. If the system find a record the recycle then I only see that record until I click on the scrollbar.

Why is my RECALL giving me this behavior? I can't seem to find a workaround for this but to avoid the RECALL.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform