Re: Reusing Objects in Forms 4.5 - Question

From: Loyal Barber <lbarber_at_ix.netcom.com>
Date: 1996/09/02
Message-ID: <322B0FF1.716E_at_ix.netcom.com>#1/1


Csin wrote:
>
> Loyal Barber <lbarber_at_ix.netcom.com> wrote:
>
> >Csin wrote:
> >>
> >> Hi!
> >>
> >> Does anyone knows an answer to the following question?
> >>
> >> I've created, in the database, a form that works as a template to the
> >> creation of other forms. It stores the most used property classes,
> >> object groups, blocks, etc in our application.
> >>
> >> The problem is that when a developer has this form opened, nobody else
> >> can open it. An error occurs when trying to open it and Forms gives
> >> this message:
> >>
> >> "Forms 10067: Unable to lock the module - the module is currently
> >> opened by other users"
> >>
> >> As most of the time this form is only opened to get its objects (not
> >> to update them), it seems to me that Forms shouldn't lock it.
> >>
> >> Can we prevent this in any way?
> >>
> >> Thanks,
> >> ------------------------------------------------------------
> >> Csin - Construcao de Software e Automacao na Industria, Lda.
> >> Rua da Areosa, 229 - Cave A
> >> 4200 Porto
> >> Portugal
> >> Phone: +351 (53) 5508195/5509423
> >> Fax : +351 (53) 523739
> >> EMail: csin_at_mail.telepac.pt
> >Open the reference form from the database, then save it to a temp file
> >on the file system. That should free the row lock that other users are
> >encountering.
>
> Thanks for your help but your solution doesn't solve all our problems.
>
> The problem is that, using this solution, it isn't possible to
> reference objects in the template form, as the reference would be to
> the local form and not to the form stored in the DB (as intended).
>
> Thanks, once again,
>
> ------------------------------------------------------------
> Csin - Construcao de Software e Automacao na Industria, Lda.
> Rua da Areosa, 229 - Cave A
> 4200 Porto
> Portugal
> Phone: +351 (53) 5508195/5509423
> Fax : +351 (53) 523739
> EMail: csin_at_mail.telepac.pt
This is a "feature" of 4.5 that was not a problem in 4.0. You should probably create a template
form (one that has all of the basics and references from the database stored form) that everyone
uses to create new forms. That would get rid of the step of opening the reference form from
the database to drag and drop references. The users could make a file (not database) copy of
the template form anytime they start a new form.

You might ask, "What about all of the references in the final version of forms that are not
needed." Either ignore them or delete them. By having a template you tend to better enforce
standards and leverage the developer's time since they don't have to start out by building the
references when they start a new form.

Loyal Received on Mon Sep 02 1996 - 00:00:00 CEST

Original text of this message