>If I have a form set and want to add a new method to a form in the form set, the method is added to the formset and not to the form.
>
>Any suggestions ?
>
>Also is there a way of knowing which tables are in the dataenvironment of a particular form at runtime? I am using the default data session. I am trying to create a class for a generic closebutton which will use tablerevert function on all tables in a form when a form is released
>
>Thanks in advance
>
>Alhad
Concernig tablerevert function I usually use private dada session and I have the following code in release method of form baseclass:-
for i = 1 to aused(nooftables)
select nooftables(i,1)
if str(cursorgetprop('Buffering'),1) $ '2345'
=tablerevert(.t.)
endif
endfor