PC Review


Reply
Thread Tools Rate Thread

copytext/vaule from unbound box

 
 
=?Utf-8?B?aHNkYWd1aWxhcg==?=
Guest
Posts: n/a
 
      4th Aug 2005
I have two forms.
1. Query form- has two fields, address and street.
2. Primary form- has many fields, including an address and street field.

I currently use the Query form to query the Primary form. If there is a
match it opens to that record. If there is no match, it gives the user a
message, "there is not match, would you like to add a new record?" with yes
and no buttons.

What I would like it to do is -if there is no match- copy the text/value
entered in the Query form and paste it in the corresponding fields in the
Primary form after the person clicks yes on the message box.

Your assistance is greatly appreciated.

 
Reply With Quote
 
 
 
 
Kevin Spencer
Guest
Posts: n/a
 
      4th Aug 2005
Are these 2 forms on the same page? If not, you will need to pass the values
via a URL, using Javascript document.location = url, or via server-side
scripting.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Everybody picks their nose,
But some people are better at hiding it.

"hsdaguilar" <(E-Mail Removed)> wrote in message
news:9BE3E6AF-0859-43C3-AE8D-(E-Mail Removed)...
>I have two forms.
> 1. Query form- has two fields, address and street.
> 2. Primary form- has many fields, including an address and street field.
>
> I currently use the Query form to query the Primary form. If there is a
> match it opens to that record. If there is no match, it gives the user a
> message, "there is not match, would you like to add a new record?" with
> yes
> and no buttons.
>
> What I would like it to do is -if there is no match- copy the text/value
> entered in the Query form and paste it in the corresponding fields in the
> Primary form after the person clicks yes on the message box.
>
> Your assistance is greatly appreciated.
>



 
Reply With Quote
 
=?Utf-8?B?aHNkYWd1aWxhcg==?=
Guest
Posts: n/a
 
      4th Aug 2005
It is not for a page, it is for a regular form, used for data entry.

"Kevin Spencer" wrote:

> Are these 2 forms on the same page? If not, you will need to pass the values
> via a URL, using Javascript document.location = url, or via server-side
> scripting.
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> ..Net Developer
> Everybody picks their nose,
> But some people are better at hiding it.
>
> "hsdaguilar" <(E-Mail Removed)> wrote in message
> news:9BE3E6AF-0859-43C3-AE8D-(E-Mail Removed)...
> >I have two forms.
> > 1. Query form- has two fields, address and street.
> > 2. Primary form- has many fields, including an address and street field.
> >
> > I currently use the Query form to query the Primary form. If there is a
> > match it opens to that record. If there is no match, it gives the user a
> > message, "there is not match, would you like to add a new record?" with
> > yes
> > and no buttons.
> >
> > What I would like it to do is -if there is no match- copy the text/value
> > entered in the Query form and paste it in the corresponding fields in the
> > Primary form after the person clicks yes on the message box.
> >
> > Your assistance is greatly appreciated.
> >

>
>
>

 
Reply With Quote
 
Mike Mueller
Guest
Posts: n/a
 
      4th Aug 2005
Are you sure you want to be in the FrontPage NG, as opposed
to an Access NG

"hsdaguilar" <(E-Mail Removed)> wrote in
message
news:E94198BF-32F2-4350-988B-(E-Mail Removed)...
: It is not for a page, it is for a regular form, used for
data entry.
:
: "Kevin Spencer" wrote:
:
: > Are these 2 forms on the same page? If not, you will
need to pass the values
: > via a URL, using Javascript document.location = url, or
via server-side
: > scripting.
: >
: > --
: > HTH,
: >
: > Kevin Spencer
: > Microsoft MVP
: > ..Net Developer
: > Everybody picks their nose,
: > But some people are better at hiding it.
: >
: > "hsdaguilar" <(E-Mail Removed)>
wrote in message
: >
news:9BE3E6AF-0859-43C3-AE8D-(E-Mail Removed)...
: > >I have two forms.
: > > 1. Query form- has two fields, address and street.
: > > 2. Primary form- has many fields, including an address
and street field.
: > >
: > > I currently use the Query form to query the Primary
form. If there is a
: > > match it opens to that record. If there is no match,
it gives the user a
: > > message, "there is not match, would you like to add a
new record?" with
: > > yes
: > > and no buttons.
: > >
: > > What I would like it to do is -if there is no match-
copy the text/value
: > > entered in the Query form and paste it in the
corresponding fields in the
: > > Primary form after the person clicks yes on the
message box.
: > >
: > > Your assistance is greatly appreciated.
: > >
: >
: >
: >


 
Reply With Quote
 
=?Utf-8?B?aHNkYWd1aWxhcg==?=
Guest
Posts: n/a
 
      4th Aug 2005
I'm sorry. Posted on the wron NG. Thx.

"Mike Mueller" wrote:

> Are you sure you want to be in the FrontPage NG, as opposed
> to an Access NG
>
> "hsdaguilar" <(E-Mail Removed)> wrote in
> message
> news:E94198BF-32F2-4350-988B-(E-Mail Removed)...
> : It is not for a page, it is for a regular form, used for
> data entry.
> :
> : "Kevin Spencer" wrote:
> :
> : > Are these 2 forms on the same page? If not, you will
> need to pass the values
> : > via a URL, using Javascript document.location = url, or
> via server-side
> : > scripting.
> : >
> : > --
> : > HTH,
> : >
> : > Kevin Spencer
> : > Microsoft MVP
> : > ..Net Developer
> : > Everybody picks their nose,
> : > But some people are better at hiding it.
> : >
> : > "hsdaguilar" <(E-Mail Removed)>
> wrote in message
> : >
> news:9BE3E6AF-0859-43C3-AE8D-(E-Mail Removed)...
> : > >I have two forms.
> : > > 1. Query form- has two fields, address and street.
> : > > 2. Primary form- has many fields, including an address
> and street field.
> : > >
> : > > I currently use the Query form to query the Primary
> form. If there is a
> : > > match it opens to that record. If there is no match,
> it gives the user a
> : > > message, "there is not match, would you like to add a
> new record?" with
> : > > yes
> : > > and no buttons.
> : > >
> : > > What I would like it to do is -if there is no match-
> copy the text/value
> : > > entered in the Query form and paste it in the
> corresponding fields in the
> : > > Primary form after the person clicks yes on the
> message box.
> : > >
> : > > Your assistance is greatly appreciated.
> : > >
> : >
> : >
> : >
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
T Vaule function topnotchthrillr Microsoft Excel Worksheet Functions 6 21st Aug 2006 04:16 PM
T Vaule function topnotchthrillr Microsoft Excel Worksheet Functions 0 20th Aug 2006 04:52 AM
CopyText (no install) Tramp Freeware 0 9th Feb 2005 09:53 PM
Trigger event on change to unbound text in unbound form programmat =?Utf-8?B?QWJlUg==?= Microsoft Access Forms 5 6th Jan 2005 07:33 PM
CopyText Jeff Microsoft Excel Programming 1 4th Feb 2004 02:09 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:36 AM.