Re: SCCS Source Control of Informix Screen Forms -- Please Help
Posted in 1996
On Jun 27, 8:43pm, Frank660 wrote: > > In order to be able for the UNIX "what" command to get the information, it > has to be part of the executable screen form. That leaves out source > comments. The one way that I know will work is to add an extra NOENTRY > field and set the DEFAULT value to the "what string" (e.g. DEFAULT = "(@) > %M% %H% %G% %U% %I% %T%" -- or something like that). The problem is that > if the user wants the screen fields to have visible delimiters, they see > the dummy field. Also, some screens don't have much extra room without > the addition of an extra screen field. > >-- End of excerpt from Frank660 Frank, I know of three ways to do this which won't affect your delimiters and you can decide which one to use depending if you want the comment to display. 1. At the top of the form before you declare your database simply have a comment like this. Doing it this way means it will never display, in fact the string will only be visible on a "get" version of the source. I dont think comments make it into the final .frm file? { %M% %H% %G% %U% %I% %T% } 2. The other way is to include it in the INSTRUCTIONS section of the form, which means the user will see the version details when they remove a row. AFTER REMOVE OF table_name COMMENTS "%M% %H% %G% %U% %I% %T%" END 3. The third way is to use the same method as above and include a table in the TABLES section, but dont use the table on the form. eg setup a dummy table with one column. Then in every form you can code AFTER REMOVE OF dummy COMMENTS "%M% %H% %G% %U% %I% %T%" END and because the table isn't used in the form the comment will never display. Cheers sandys