No I am not using DISPLAY SELECTION to display the records. The records
are being displayed on the AreaList Pro plugin. So I use those
functions. That's not the problem. The problem is when the user clicks
the button and the data displays, but cannot delete or add data in that
form.
The table is in READ WRITE mode for editing.
Yes that is what I am saying. The data is being displayed in a detailed
form. That's why I am using MODIFY RECORD. Are you saying to use the
opposite form in the code and it will display the other, i.e. use input
display output and vice versa?
-----Original Message-----
From:
4DBasics@... [mailto:
4DBasics@...] On Behalf Of
Josh Fletcher (4D, Inc.)
Sent: Thursday, February 28, 2008 2:12 PM
To: 4D Basics List
Subject: Re: Editing data
Oliver, Bonita J. (SSC-NASA)[Computer Sciences Corp] wrote:
> There is a list of records in a table displayed on a form. The
> records are not editable.
Using DISPLAY SELECTION?
> You highlight one of the records and Click on a view button. The view
> button will display the data on the input form. This is the form the
> user will be able to edit. This is where I cannot edit.
That is correct, if you are using DISPLAY SELECTION. The table is in
read-only mode. Set the table to READ WRITE for editing (don't forget
to set it back to READ ONLY when done).
> For some reason when I use MODIFY SELECTION, it brings the data up in
> the output form even though I have INPUT FORM(curfile->;)
That's what MODIFY SELECTION does, it brings up the output form.
Changing the Input form has no effect on this part. Changing the Input
form only affects which form is opened when you double-click a record.
Are you saying you want MODIFY SELECTION to use a Detail form? You can
do this but it may work strange. Use the OUTPUT FORM command to do
this, not the INPUT FORM command.
Kind regards,
Josh Fletcher
--
Josh Fletcher
Technical Services Team Member
4D, Inc.
**********************************************************************
4D Basics hosted by 4D, Inc.
http://www.4D.com/Did you know? The 4D Partner Program now gives you access to Hotfix
releases as soon as they are available!
To learn more, go to
http://www.4D.com/support/partner.htmlTo Unsubscribe: mailto:
4DBasics-off@...
**********************************************************************
**********************************************************************
4D Basics hosted by 4D, Inc.
http://www.4D.com/Did you know? The 4D Partner Program now gives you
access to Hotfix releases as soon as they are available!
To learn more, go to
http://www.4D.com/support/partner.htmlTo Unsubscribe: mailto:
4DBasics-off@...
**********************************************************************