Walter Meester
HoogkarspelPays-Bas
Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Gavin,
I assume you use the grid for displaying the child records and want to check if one or more records has changed within the grid.
If you use Tablebuffering for the child table, you can determine changes by making use of the GETNEXTMODIFIED function. For more details look at help.
Walter,
> I have a very simple problem ( Well, I believe it should be simple !!! ) relating to a form that I'm currently working on. I have a maintenance form which has a number of fields from a parent table and a grid containing fields from a child table ( E.g a one to many relationship). I also have a toolbar which controls record navigation, saving, deleting, Etc. I'm using GETFLDSTATE() to check if the fields have changed. This works fine for the fields on the form, but GETFLDSTATE() seems to indicate that records in the grid have changed even when I just tab through the grid without making changes. Am I heading down the wrong path by using GETFLDSTATE() in a grid. What I really want to be able to do is check if changes have been made in the grid, before moving to another parent record or exiting. I don't know if I should should be using TRANSACTIONs for this. Could someone please head me in the right direction.
>
>Many thanks,
> Gavin...
Précédent
Suivant
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