Re: Newbee to Clarion enterprise 6.3 (coming from the clipper world)
by bnesheim <bnesheim@[EMAIL PROTECTED]
>
Feb 19, 2008 at 01:27 AM
sjahan22@[EMAIL PROTECTED]
wrote in
news:73a99fca-717e-4c6d-8026-8d3b95507375@[EMAIL PROTECTED]
> Thank you Harry,
> I created a browse template in the window and then populated it.
> Below the browse window, I draged and dropped the fields from the
> populate window. I am ok so far. When I run it, I can browse through
> the file and which ever record is highlighted, I see it on the fields
> below the browse window. I do not like the inplace edit for Browse
> window it might confuse users. What I wanted to do is, let them
> browse and select the record to edit and the contents is displayed on
> the fields below the browse window and allow edit on those fields not
> on the browse window.
> So what I want to do is to put the controls mentioned on my first
> email.
The 'Clarion way' :-) is to make a new procedure of the type 'Form' for
the register you want to change. In the window you add all the fields the
user should update and in 'Field Priming on Insert' you set all standard
values to be used when adding a new record.
The procedure-name is inserted under 'Actions' in 'Update Procedure'.
The result is that data from selected record is trasfered to the update
procedure when 'Edit' is selected. and fields will be primed with
selected
values when 'New' is used.
All validating are done when the 'Save'-function is used. This can be
tests
done in hand-code or defined in the app.
Kjetil Nesheim