To compile a Uniface component you will need a development license. This
may be a problem for your end users.
However if you really do want to do this, it is reasonably easy. If you
store your Uniface source code using our UD6 product, the "repository
database" is one text file for each component service. Entities can be
added using standard text file processing tools like "sed" and the form
recompiled by "idf /frm service-name". Alternatively you can load the text
file using file/load and use $scan to find the paint tableau etc, store the
file with file/save and use the perform function to fire off a compile (see
notes on puuu.org. web site about compiling).
You can download an evaluation version of UD6 from:
http://march-hare.com
Without using UD6 you would need to write some 3GL to decypher the Uniface
form paint tableau to "paint" the new entity.
Regards,
Arthur Barrett
> ----------
> From: Babs Odukoya
> Reply To: UNIF...@uug.org
> Sent: Tuesday, June 10, 2003 10:38 PM
> To: UNIF...@uug.org
> Subject: [UNIFACE-L:3638] Re: Painting an entity in a form component
>
> Hello,
>
> Okay. Virtually imposible to paint an entity in a .frm.
> But is there a way to open an existing form, add an entity, close it
> and
> compile.
>
> I am working on a web application. It detects databases and maps to
> them.
> Once maped, the users can select one or more entities and create a view
> then apply the view to a module. ie e-mail, teechart, lists, edit forms
> etc.
>
> At this point the entity does not exist in any component within the
> application.
>
> The sticky point is, to retrieve using a standard uniface service, I'll
> have to paint the actual entity in the retrieve service.
> I would like to automated. this process.
>
> So when the user tries to retrieve data from a 'newly' mapped database
> table, the 'Automated routine' will invoke a service/routine/3gl to add
> the
> entitie/s to the component, close and compile it.
>
> Or am I asking too much from uniface...
>
> Rgds
> Babs
> ----- Original Message -----
> From: "Gopal Kulkarni" <gop...@rocketmail.com>
> To: <UNIF...@uug.org>
> Sent: Sunday, July 06, 2003 2:32 PM
> Subject: [UNIFACE-L:3608] Re: Painting an entity in a form component
>
>
> > Hello
> > Uniface Source code is stored in the Repository DBMS.
> > Once a Form Component is compiled the compilation process reads all the
> Source code
> > from the repository DBMS and builds a Compiled .frm file. Once a
> form
> Component
> > compiled, there is no relation between .frm and Uniface repository
> database.
> > So there is no way to add/paint entities & fields into an existing
> component at RUN
> > time, recompile and execute the component
> > So it is the same as most of other programming languages and
> Development
> tools, those
> > I know.
> >
> > Regards
> > Gopal
> >
> >
> > --- Babs Odukoya <ba...@jasper-m5.com> wrote:
> > > Hello Uniface ppl,
> > >
> > > Is there any way I can add/paint entities & fields into an
> existing
> > > component at RUN time, recompile and execute the component.
> > >
> > > I will take no for an answer.
> > >
> > > Regards
> > > Babs
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > SBC Yahoo! DSL - Now only $29.95 per month!
> > http://sbc.yahoo.com
> >
>
>