Re: Reusing Objects in Forms 4.5 - Question

From: Csin <csin_at_mail.telepac.pt>
Date: 1996/09/02
Message-ID: <50egnd$5bk_at_duke.telepac.pt>#1/1


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
Received on Mon Sep 02 1996 - 00:00:00 CEST

Original text of this message