Dharma Mulya
|
| Posted: 01/20/2003, 1:09 PM |
|
Dear friends,
I have a grid which link to a record form. The record form will only display
data in label so that the could not edit the record. As the leave the form I
would like to update the data using a hidden field which is updated during
the moment the user leave this form.
How can I do this.
Thank you in advance :: Dharma
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/03
|
|
|
 |
RonB
|
| Posted: 01/21/2003, 2:37 AM |
|
depending on the nature of the data that is to be stored in the hidden field
you could do 1 of 2 things:
1 the data is always the same -> set default value for the hidden field.
2. the data is generated thrue some query in the database -> use a
beforeshow or before insert event if the query depends on data set in one of
the labels.
Ron
"Dharma Mulya" <dharma@supreme.com.my> schreef in bericht
news:b0hohu$u28$1@news.codecharge.com...
> Dear friends,
>
> I have a grid which link to a record form. The record form will only
display
> data in label so that the could not edit the record. As the leave the form
I
> would like to update the data using a hidden field which is updated during
> the moment the user leave this form.
>
> How can I do this.
>
> Thank you in advance :: Dharma
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/03
>
>
|
|
|
 |
Dharma Mulya
|
| Posted: 01/22/2003, 8:12 AM |
|
I need something that the user don't have to do any clicking except leave
the form and by leaving the form the event has been completed and data is
updated?
Tq in advance RonB
"RonB" <r.borkent@123chello123.nl> wrote in message
news:b0j7tm$mr5$1@news.codecharge.com...
> depending on the nature of the data that is to be stored in the hidden
field
> you could do 1 of 2 things:
>
> 1 the data is always the same -> set default value for the hidden field.
> 2. the data is generated thrue some query in the database -> use a
> beforeshow or before insert event if the query depends on data set in one
of
> the labels.
>
> Ron
>
>
> "Dharma Mulya" <dharma@supreme.com.my> schreef in bericht
>news:b0hohu$u28$1@news.codecharge.com...
> > Dear friends,
> >
> > I have a grid which link to a record form. The record form will only
> display
> > data in label so that the could not edit the record. As the leave the
form
> I
> > would like to update the data using a hidden field which is updated
during
> > the moment the user leave this form.
> >
> > How can I do this.
> >
> > Thank you in advance :: Dharma
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/03
> >
> >
>
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 1/11/03
|
|
|
 |
RonB
|
| Posted: 01/23/2003, 9:11 AM |
|
Well.... let's see,
"I need something that the user don't have to do any clicking except leave"
that would mean using javascript, the onUnload event that is triggered on
leaving a page. This event has to be accesed in the body tag
<body onUnload="document.all.formname_or_id.submit()">
The value of the hidden field can be done as I suggested in my earlier post.
You must keep in mind though that this will probably restrict the locations
a user can go to because you set the return page in the form propperties.
you didn't state how the user will leave the page, a link in some menu?
RonB
"Dharma Mulya" <dharma@supreme.com.my> schreef in bericht
news:b0mft5$upk$1@news.codecharge.com...
> I need something that the user don't have to do any clicking except leave
> the form and by leaving the form the event has been completed and data is
> updated?
>
> Tq in advance RonB
>
>
> "RonB" <r.borkent@123chello123.nl> wrote in message
>news:b0j7tm$mr5$1@news.codecharge.com...
> > depending on the nature of the data that is to be stored in the hidden
> field
> > you could do 1 of 2 things:
> >
> > 1 the data is always the same -> set default value for the hidden field.
> > 2. the data is generated thrue some query in the database -> use a
> > beforeshow or before insert event if the query depends on data set in
one
> of
> > the labels.
> >
> > Ron
> >
> >
> > "Dharma Mulya" <dharma@supreme.com.my> schreef in bericht
> >news:b0hohu$u28$1@news.codecharge.com...
> > > Dear friends,
> > >
> > > I have a grid which link to a record form. The record form will only
> > display
> > > data in label so that the could not edit the record. As the leave the
> form
> > I
> > > would like to update the data using a hidden field which is updated
> during
> > > the moment the user leave this form.
> > >
> > > How can I do this.
> > >
> > > Thank you in advance :: Dharma
> > >
> > >
> > > ---
> > > Outgoing mail is certified Virus Free.
> > > Checked by AVG anti-virus system (http://www.grisoft.com).
> > > Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/03
> > >
> > >
> >
> >
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.443 / Virus Database: 248 - Release Date: 1/11/03
>
>
|
|
|
 |
Dharma Mulya
|
| Posted: 01/24/2003, 2:09 AM |
|
The user will click a link to the main menu using the common menu link.
>>>mmm ...you really are good in this CCS related matters aren't you.
"RonB" <r.borkent@123chello123.nl> wrote in message
news:b0p7nh$5jo$1@news.codecharge.com...
> Well.... let's see,
>
> "I need something that the user don't have to do any clicking except
leave"
>
> that would mean using javascript, the onUnload event that is triggered on
> leaving a page. This event has to be accesed in the body tag
> <body onUnload="document.all.formname_or_id.submit()">
> The value of the hidden field can be done as I suggested in my earlier
post.
> You must keep in mind though that this will probably restrict the
locations
> a user can go to because you set the return page in the form propperties.
> you didn't state how the user will leave the page, a link in some menu?
>
> RonB
>
> "Dharma Mulya" <dharma@supreme.com.my> schreef in bericht
>news:b0mft5$upk$1@news.codecharge.com...
> > I need something that the user don't have to do any clicking except
leave
> > the form and by leaving the form the event has been completed and data
is
> > updated?
> >
> > Tq in advance RonB
> >
> >
> > "RonB" <r.borkent@123chello123.nl> wrote in message
> >news:b0j7tm$mr5$1@news.codecharge.com...
> > > depending on the nature of the data that is to be stored in the hidden
> > field
> > > you could do 1 of 2 things:
> > >
> > > 1 the data is always the same -> set default value for the hidden
field.
> > > 2. the data is generated thrue some query in the database -> use a
> > > beforeshow or before insert event if the query depends on data set in
> one
> > of
> > > the labels.
> > >
> > > Ron
> > >
> > >
> > > "Dharma Mulya" <dharma@supreme.com.my> schreef in bericht
> > >news:b0hohu$u28$1@news.codecharge.com...
> > > > Dear friends,
> > > >
> > > > I have a grid which link to a record form. The record form will only
> > > display
> > > > data in label so that the could not edit the record. As the leave
the
> > form
> > > I
> > > > would like to update the data using a hidden field which is updated
> > during
> > > > the moment the user leave this form.
> > > >
> > > > How can I do this.
> > > >
> > > > Thank you in advance :: Dharma
> > > >
> > > >
> > > > ---
> > > > Outgoing mail is certified Virus Free.
> > > > Checked by AVG anti-virus system (http://www.grisoft.com).
> > > > Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/03
> > > >
> > > >
> > >
> > >
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.443 / Virus Database: 248 - Release Date: 1/11/03
> >
> >
>
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/03
|
|
|
 |
|