CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Link first record in grid to edit form

Print topic Send  topic

Author Message
Francis Boundy
Posted: 08/08/2001, 5:56 AM

Two newbie questions:

Is there any way that I can set a ("Grid + Edit) page so that the Edit Form
automatically showsrecord refered to by the first line of the grid?

When I click Update on the Edit Form, it resets to a blank page - can I
prevent this happening so that the updated record stays there?

TIA

Francis Boundy

CodeCharge
Posted: 08/08/2001, 10:34 PM

> Is there any way that I can set a ("Grid + Edit) page so that the Edit
Form
> automatically showsrecord refered to by the first line of the grid?

This depends on the case. I'd have to think of an example.
However, the usual way would be to allow users to click on a record in the
grid, and then automatically display record form with the selected record on
the same page.
This can be easily done if you make one of the Grid fields clickable by
making it a URL Type field, then in Field Properties select "Output" tab and
specify the field that contains record key.
Then on the Record form, specify the same field in the Form Properties /
Input section.

> When I click Update on the Edit Form, it resets to a blank page - can I
> prevent this happening so that the updated record stays there?

Yes, on the screen where you design the page, you should be able to specify
"Form Action", which is the destination page, which you want to display
after the user submits some information. You may specify the same page where
the record is located.

Adam S.
CC/YS

>
> TIA
>
> Francis Boundy
>
>

CodeCharge
Posted: 08/09/2001, 12:53 AM

Please mark Form Input variable(s) as "Transfer", which should preserve the
key variable(s).
If it doesn't work in version 1.1.16, it works in version 2.0 Beta


"CodeCharge" <support@codecharge.com> wrote in message
news:9kt7dr$7k2$1@news.codecharge.com...
> > Is there any way that I can set a ("Grid + Edit) page so that the Edit
> Form
> > automatically showsrecord refered to by the first line of the grid?
>
> This depends on the case. I'd have to think of an example.
> However, the usual way would be to allow users to click on a record in the
> grid, and then automatically display record form with the selected record
on
> the same page.
> This can be easily done if you make one of the Grid fields clickable by
> making it a URL Type field, then in Field Properties select "Output" tab
and
> specify the field that contains record key.
> Then on the Record form, specify the same field in the Form Properties /
> Input section.
>
> > When I click Update on the Edit Form, it resets to a blank page - can I
> > prevent this happening so that the updated record stays there?
>
> Yes, on the screen where you design the page, you should be able to
specify
> "Form Action", which is the destination page, which you want to display
> after the user submits some information. You may specify the same page
where
> the record is located.
>
> Adam S.
> CC/YS
>
> >
> > TIA
> >
> > Francis Boundy
> >
> >
>
>

CodeCharge
Posted: 08/09/2001, 12:59 AM

For ASP, PHP and Perl, the Beta 2.0 is available at
http://support.codecharge.com/bulletins.asp



"CodeCharge" <support@codecharge.com> wrote in message
news:9ktfic$nei$1@news.codecharge.com...
> Please mark Form Input variable(s) as "Transfer", which should preserve
the
> key variable(s).
> If it doesn't work in version 1.1.16, it works in version 2.0 Beta
>
>
> "CodeCharge" <support@codecharge.com> wrote in message
>news:9kt7dr$7k2$1@news.codecharge.com...
> > > Is there any way that I can set a ("Grid + Edit) page so that the Edit
> > Form
> > > automatically showsrecord refered to by the first line of the grid?
> >
> > This depends on the case. I'd have to think of an example.
> > However, the usual way would be to allow users to click on a record in
the
> > grid, and then automatically display record form with the selected
record
> on
> > the same page.
> > This can be easily done if you make one of the Grid fields clickable by
> > making it a URL Type field, then in Field Properties select "Output" tab
> and
> > specify the field that contains record key.
> > Then on the Record form, specify the same field in the Form Properties /
> > Input section.
> >
> > > When I click Update on the Edit Form, it resets to a blank page - can
I
> > > prevent this happening so that the updated record stays there?
> >
> > Yes, on the screen where you design the page, you should be able to
> specify
> > "Form Action", which is the destination page, which you want to display
> > after the user submits some information. You may specify the same page
> where
> > the record is located.
> >
> > Adam S.
> > CC/YS
> >
> > >
> > > TIA
> > >
> > > Francis Boundy
> > >
> > >
> >
> >
>
>

CodeCharge
Posted: 08/09/2001, 1:03 AM

Sorry, the 2 previous messages were in reply to emails received, related to
the initial newsgroup message.

"CodeCharge" <support@codecharge.com> wrote in message
news:9ktftp$nua$1@news.codecharge.com...
> For ASP, PHP and Perl, the Beta 2.0 is available at
> http://support.codecharge.com/bulletins.asp
>
>
>
> "CodeCharge" <support@codecharge.com> wrote in message
>news:9ktfic$nei$1@news.codecharge.com...
> > Please mark Form Input variable(s) as "Transfer", which should preserve
> the
> > key variable(s).
> > If it doesn't work in version 1.1.16, it works in version 2.0 Beta
> >
> >
> > "CodeCharge" <support@codecharge.com> wrote in message
> >news:9kt7dr$7k2$1@news.codecharge.com...
> > > > Is there any way that I can set a ("Grid + Edit) page so that the
Edit
> > > Form
> > > > automatically showsrecord refered to by the first line of the grid?
> > >
> > > This depends on the case. I'd have to think of an example.
> > > However, the usual way would be to allow users to click on a record in
> the
> > > grid, and then automatically display record form with the selected
> record
> > on
> > > the same page.
> > > This can be easily done if you make one of the Grid fields clickable
by
> > > making it a URL Type field, then in Field Properties select "Output"
tab
> > and
> > > specify the field that contains record key.
> > > Then on the Record form, specify the same field in the Form Properties
/
> > > Input section.
> > >
> > > > When I click Update on the Edit Form, it resets to a blank page -
can
> I
> > > > prevent this happening so that the updated record stays there?
> > >
> > > Yes, on the screen where you design the page, you should be able to
> > specify
> > > "Form Action", which is the destination page, which you want to
display
> > > after the user submits some information. You may specify the same page
> > where
> > > the record is located.
> > >
> > > Adam S.
> > > CC/YS
> > >
> > > >
> > > > TIA
> > > >
> > > > Francis Boundy
> > > >
> > > >
> > >
> > >
> >
> >
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.