CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Add Lookup loses current record changes

Print topic Send  topic

Author Message
Frank Rocco
Posted: 06/04/2001, 6:31 AM

Hello,

I need to enable a user to add a contact on the fly if they are not
available when they are inserting a record in another database.

The problem is when they return from adding the contact and prior to saving
the new record, the changes they typed are gone.

I'm using a dropdown list to select contacts, but branch to another page to
add a new one.

Has anyone done this?

Thanks
Frank

Hellen
Posted: 06/05/2001, 2:20 AM

Frank,
to preserve values of filled fields you should transfer all field values as
parameters to the page where you add new contact and back to record form. To
implement it, add fields which values you want to preserve to list of output
parametres of URL field (which linked to add new contact from) and also set
them as input parameters for this form. For add new contact from set these
parameters as Input and marke them as Transfered.

Regards,
CC Support

"Frank Rocco" <farocco@hotmail.com> wrote in message
news:9fg2j4$23o$1@mail.tankhill.com...
> Hello,
>
> I need to enable a user to add a contact on the fly if they are not
> available when they are inserting a record in another database.
>
> The problem is when they return from adding the contact and prior to
saving
> the new record, the changes they typed are gone.
>
> I'm using a dropdown list to select contacts, but branch to another page
to
> add a new one.
>
> Has anyone done this?
>
> Thanks
> Frank
>
>

Frank Rocco
Posted: 06/05/2001, 5:23 AM

Thanks Hellen...

Frank

"Hellen" <support@codecharge.com> wrote in message
news:9fi88u$spt$2@mail.tankhill.com...
> Frank,
> to preserve values of filled fields you should transfer all field values
as
> parameters to the page where you add new contact and back to record form.
To
> implement it, add fields which values you want to preserve to list of
output
> parametres of URL field (which linked to add new contact from) and also
set
> them as input parameters for this form. For add new contact from set
these
> parameters as Input and marke them as Transfered.
>
> Regards,
> CC Support
>
> "Frank Rocco" <farocco@hotmail.com> wrote in message
>news:9fg2j4$23o$1@mail.tankhill.com...
> > Hello,
> >
> > I need to enable a user to add a contact on the fly if they are not
> > available when they are inserting a record in another database.
> >
> > The problem is when they return from adding the contact and prior to
> saving
> > the new record, the changes they typed are gone.
> >
> > I'm using a dropdown list to select contacts, but branch to another page
> to
> > add a new one.
> >
> > Has anyone done this?
> >
> > Thanks
> > Frank
> >
> >
>
>

Frank Rocco
Posted: 06/05/2001, 12:04 PM

Hellen,

I did as you stated, but the second form does not show the fields available
for input. What did I do wrong?

Thanks
Frank

"Hellen" <support@codecharge.com> wrote in message
news:9fi88u$spt$2@mail.tankhill.com...
> Frank,
> to preserve values of filled fields you should transfer all field values
as
> parameters to the page where you add new contact and back to record form.
To
> implement it, add fields which values you want to preserve to list of
output
> parametres of URL field (which linked to add new contact from) and also
set
> them as input parameters for this form. For add new contact from set
these
> parameters as Input and marke them as Transfered.
>
> Regards,
> CC Support
>
> "Frank Rocco" <farocco@hotmail.com> wrote in message
>news:9fg2j4$23o$1@mail.tankhill.com...
> > Hello,
> >
> > I need to enable a user to add a contact on the fly if they are not
> > available when they are inserting a record in another database.
> >
> > The problem is when they return from adding the contact and prior to
> saving
> > the new record, the changes they typed are gone.
> >
> > I'm using a dropdown list to select contacts, but branch to another page
> to
> > add a new one.
> >
> > Has anyone done this?
> >
> > Thanks
> > Frank
> >
> >
>
>

Hellen
Posted: 06/06/2001, 2:20 AM

Frank,
as for AddContact form the suggestions still the same: set input parameters
(don't select table fields, just specify correct parameter's names and
ignore warning CC message about " Attribute: Field - Attribute is
required.") and mark them as transfered inspite of there's no such fields in
table using on AddContact form.
As for first record form I looked closely how to add entered by user field
values into URL. You should add some JScript code for it. I send you little
example (.ccs file and db dump) to see how to implement such functionality.
It has two record forms, user fills the info one the first, then can click
on url to got to the second and fill card info, them return to the first and
get filled info preserved.
Example has some JScript and 'Before Show' event on Company form.
Inform me if you need .mdb db for it, 'cause I don't know what language and
db do you use and I used PHP+mySQL to create this example.


"Frank Rocco" <farocco@hotmail.com> wrote in message
news:9fjago$j3$1@mail.tankhill.com...
> Hellen,
>
> I did as you stated, but the second form does not show the fields
available
> for input. What did I do wrong?
>
> Thanks
> Frank
>
> "Hellen" <support@codecharge.com> wrote in message
>news:9fi88u$spt$2@mail.tankhill.com...
> > Frank,
> > to preserve values of filled fields you should transfer all field values
> as
> > parameters to the page where you add new contact and back to record
form.
> To
> > implement it, add fields which values you want to preserve to list of
> output
> > parametres of URL field (which linked to add new contact from) and also
> set
> > them as input parameters for this form. For add new contact from set
> these
> > parameters as Input and marke them as Transfered.
> >
> > Regards,
> > CC Support
> >
> > "Frank Rocco" <farocco@hotmail.com> wrote in message
> >news:9fg2j4$23o$1@mail.tankhill.com...
> > > Hello,
> > >
> > > I need to enable a user to add a contact on the fly if they are not
> > > available when they are inserting a record in another database.
> > >
> > > The problem is when they return from adding the contact and prior to
> > saving
> > > the new record, the changes they typed are gone.
> > >
> > > I'm using a dropdown list to select contacts, but branch to another
page
> > to
> > > add a new one.
> > >
> > > Has anyone done this?
> > >
> > > Thanks
> > > Frank
> > >
> > >
> >
> >
>
>

Frank Rocco
Posted: 06/06/2001, 4:28 AM

Thanks Hellen,
I use ASP and VB.

Best Regards,
Frank
"Hellen" <support@codecharge.com> wrote in message
news:9fksjk$a8p$2@mail.tankhill.com...
> Frank,
> as for AddContact form the suggestions still the same: set input
parameters
> (don't select table fields, just specify correct parameter's names and
> ignore warning CC message about " Attribute: Field - Attribute is
> required.") and mark them as transfered inspite of there's no such fields
in
> table using on AddContact form.
> As for first record form I looked closely how to add entered by user field
> values into URL. You should add some JScript code for it. I send you
little
> example (.ccs file and db dump) to see how to implement such
functionality.
> It has two record forms, user fills the info one the first, then can click
> on url to got to the second and fill card info, them return to the first
and
> get filled info preserved.
> Example has some JScript and 'Before Show' event on Company form.
> Inform me if you need .mdb db for it, 'cause I don't know what language
and
> db do you use and I used PHP+mySQL to create this example.
>
>
> "Frank Rocco" <farocco@hotmail.com> wrote in message
>news:9fjago$j3$1@mail.tankhill.com...
> > Hellen,
> >
> > I did as you stated, but the second form does not show the fields
> available
> > for input. What did I do wrong?
> >
> > Thanks
> > Frank
> >
> > "Hellen" <support@codecharge.com> wrote in message
> >news:9fi88u$spt$2@mail.tankhill.com...
> > > Frank,
> > > to preserve values of filled fields you should transfer all field
values
> > as
> > > parameters to the page where you add new contact and back to record
> form.
> > To
> > > implement it, add fields which values you want to preserve to list of
> > output
> > > parametres of URL field (which linked to add new contact from) and
also
> > set
> > > them as input parameters for this form. For add new contact from set
> > these
> > > parameters as Input and marke them as Transfered.
> > >
> > > Regards,
> > > CC Support
> > >
> > > "Frank Rocco" <farocco@hotmail.com> wrote in message
> > >news:9fg2j4$23o$1@mail.tankhill.com...
> > > > Hello,
> > > >
> > > > I need to enable a user to add a contact on the fly if they are not
> > > > available when they are inserting a record in another database.
> > > >
> > > > The problem is when they return from adding the contact and prior to
> > > saving
> > > > the new record, the changes they typed are gone.
> > > >
> > > > I'm using a dropdown list to select contacts, but branch to another
> page
> > > to
> > > > add a new one.
> > > >
> > > > Has anyone done this?
> > > >
> > > > Thanks
> > > > Frank
> > > >
> > > >
> > >
> > >
> >
> >
>
>


   


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

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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