Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with TableRevert

Status
Not open for further replies.

OraWiz

Programmer
Aug 17, 2003
37
IN
My master-detail form having a grid control for detail table.
When deleting a detail row (just added) the entire grid data is vanishing

The Deleting function using TableRevert in case of just added rows and doing a skip –1
The underline table is in buffered(5) table.
But as soon a the TableRevert(.F., <alias>) the entire grid data is vanishing
As if the entire row is getting removed
but the TableRevert is returning only value 1 that means only one row right. ?

Then how come the grid is getting blank

Any Clue will be most welcome
Thanks and Rgds
Sebastian
 
Sebastian,

When you say the grid is vanishing, do you mean that the data in the detail table has actually been deleted? If so, is it the entire table that is being deleted, or only the row that you have just added? Or is the data still there but you can't see it in the grid?

Mike


Mike Lewis
Edinburgh, Scotland

My Visual Foxpro web site: My Crystal Reports web site:
 
Hello Sebastian.

It sounds like you are doing something that is closing the grid's RecordSource. Are you PACKing it? PACKing the table closes it behind the scenes.

Can you post your code? Maybe we can help you find the problem.



Marcia G. Akins
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top