Walter Meester
HoogkarspelNetherlands
General information
Category:
Forms & Form designer
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...
Previous
Next
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