Information générale
Titre:
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,
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement