Home » Developer & Programmer » Forms » statistic of fmb files usage (Forms6i)
statistic of fmb files usage [message #346971] Wed, 10 September 2008 04:43 Go to next message
adnanBIH
Messages: 41
Registered: November 2007
Location: BiH, Sarajevo
Member
I have application with a lot of .fmb files, and many of that forms are old, so I would like to remove them from folder.
Is there any way to find out whether some xyz.fmb file is ever used by my application ?
Re: statistic of fmb files usage [message #346988 is a reply to message #346971] Wed, 10 September 2008 05:53 Go to previous messageGo to next message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
As far as I can tell, no - unless the author has decided to log use of every form, which could be done in one of Forms' triggers (WHEN-NEW-FORM-INSTANCE, for example):
INSERT INTO log_table
  (form_name, datum)
   values
  (:system.current_form, sysdate);
Re: statistic of fmb files usage [message #346991 is a reply to message #346988] Wed, 10 September 2008 06:19 Go to previous messageGo to next message
adnanBIH
Messages: 41
Registered: November 2007
Location: BiH, Sarajevo
Member
thx neighbor Cool
Re: statistic of fmb files usage [message #347135 is a reply to message #346971] Wed, 10 September 2008 18:39 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
You could convert them all to 'text' and search for 'call_form', 'open_form', and 'new_form'. However, if the 'form name' is dynamic (versus static) then that won't work easily.

You could rename ALL the forms to have 'xxx_' prefixed to them. Then put their names back as the application fails.

David
Previous Topic: NO Response from Application Web Server
Next Topic: password design field
Goto Forum:
  


Current Time: Tue Dec 03 04:35:15 CST 2024