Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine if forms in project are ever called
Message
From
05/09/2007 18:46:54
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
05/09/2007 17:03:05
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Project manager
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01252418
Message ID:
01252625
Views:
12
>>Anybody have a routine to determine if the forms in a project are actually called?
>>
>>Thanks
>
>In my system, forms are mostly called indirectly, not through a menu option. I.e., the user sees the form in a list (loaded from a table, options seen by user vary depending on user level and department).
>
>The problem (in my case) is to determine whether someone actually ever uses the form, or not - that is, some forms may have been created, but never used, even though they are accesible. To have this statistics, I created a usage log, i.e., every time a user opens a form, a record is written to table FormUsage (contents: login, form name, datetime).

I was thinking of the same approach, but then remembered that some things are used annually (e.g. inventories) and some only when the new boss demands them :). It is a maintenance nightmare, though, because they start using something that nobody touched in months, and in case of any bugs it's then hard to remember how exactly it was supposed to work.

And if we removed any forms which weren't touched for a while... well, maybe some of them were supposed to handle situations which just didn't happen, or are a feature that the users didn't begin to use yet, but they might. So while it's good for statistical purposes, it's not a sure fire way to see what is used and what not, it may create a lot of false negatives.

OTOH, scanning all the files in the project for form calls may discover a whole range of forms which are called from other forms, while their caller forms are not in use at all. I.e. there could be a lot of false positives that way.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform