General information
Title:
Same Grid with AddObject
I have a class based on a container with a Grid with 3 columns. In column 2 I use a LOOKUP as a ControlSource and I put a ComboBox with the Sparse property in the Column2 in .T..
I use this grid to Append, Eliminate, Edit records in a view.
After Append I have an Undo with a TABLEREVERT.
Everything works fine, if I put this class in a form before I run it.
The problem appears because I add this class to a pageframe and depending on the main record selected I may need two, three or four pages with this class. When I put this class with the AddObject it doesn't work the same.
After an APPEND BLANK, when I click on Column2 to activate the ComboBox it seems to do a TABLEUPDATE or something like that because I can't do a TABLEREVERT anymore.
I hope anyone can help me. Thank you,
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only