1961b saving values from dlookup to new table
Sign Up |  Live StatsLive Stats    Articles 37,305| Comments 176,995| Members 19,397, Newest birinder| Online 438
Home Contact
 (Forgotten?): 
    Sikhism
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Sikh Philosophy Network » Sikh Philosophy Network » Current News » Information Technology » saving values from dlookup to new table

saving values from dlookup to new table

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 100 USD (20%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
Getting Values out of the table Daniel Lees Information Technology 2 28-Jul-2006 08:38 AM
Saving a calculated value in a text box to a field in a table Intrepid_Yellow Information Technology 2 28-Jul-2006 08:38 AM
Saving calculated due dates to the table TLC Information Technology 2 28-Jul-2006 08:37 AM
Field looking up values in a table Pizza Information Technology 0 28-Jul-2006 08:30 AM
Why are my pivot table values zero? mbogle Information Technology 1 28-Jul-2006 08:30 AM


Tags
saving, values, dlookup, table
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:03 AM
Ricky11's Avatar Ricky11
Guest
 
Posts: n/a
   
   
saving values from dlookup to new table

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
Using DLookup I am able to retrieve value from an CONTACTS table into my
form. I want to save that value in the ATTENDEES table which is controlling
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/9570-saving-values-from-dlookup-new-table.html
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=9570
the form. Instead it seems to lookup the value everytime. My other reports
and forms work from the ATTENDEES table. Is there a way to save the value to
the new table?

--
Rick

*







Do share your immediate thoughts or reactions on this issue? We value your views! Login Now! or Sign Up Today! to share your views with us.. Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:03 AM
Steve Schapel's Avatar Steve Schapel
Guest
 
Posts: n/a
   
   
Re: saving values from dlookup to new table

Rick,

I am not sure how you are using DLookup in this context, but it may not
be the most applicable approach. The standard way of doing this is to
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=9570
use a Combobox for the entry of data via your form. The combobox is
bound to the Contact or ContactID (or whatever) field from your
Attendees table, and the Contacts table is the Row Source of the
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=9570
combobox. Process is then automatic.

If you need more help with this, please post back with further details,
with examples, of waht you want to achieve.

--
Steve Schapel, Microsoft Access MVP


Ricky11 wrote:
> Using DLookup I am able to retrieve value from an CONTACTS table into my
> form. I want to save that value in the ATTENDEES table which is controlling
> the form. Instead it seems to lookup the value everytime. My other reports
> and forms work from the ATTENDEES table. Is there a way to save the value to
> the new table?
>

Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:03 AM
Ricky11's Avatar Ricky11
Guest
 
Posts: n/a
   
   
Re: saving values from dlookup to new table

Wow! Thanks for the quick help! I like the combo box idea and that is
probably where I will concentrate.

I started with a Contacts Management Template, customized and then added
most of an Event Management Template. Both have reports and forms working
off their respective tables (that I don't yet have the knowledge to
re-create). When I enter the FirstName and LastName on the Attendees form,
I want to retrieve the address and phone, fax, home phone etc from the
corresponding record in the CONTACTS table AND then save that in the
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=9570
ATTENDEES table.

You must have tremendous patience to deal with rookies like me. Thanks.
--
Rick


"Steve Schapel" wrote:

> Rick,
>
> I am not sure how you are using DLookup in this context, but it may not
> be the most applicable approach. The standard way of doing this is to
> use a Combobox for the entry of data via your form. The combobox is
> bound to the Contact or ContactID (or whatever) field from your
> Attendees table, and the Contacts table is the Row Source of the
> combobox. Process is then automatic.
>
> If you need more help with this, please post back with further details,
> with examples, of waht you want to achieve.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=9570
>
> --
> Steve Schapel, Microsoft Access MVP
>
>
> Ricky11 wrote:
> > Using DLookup I am able to retrieve value from an CONTACTS table into my
> > form. I want to save that value in the ATTENDEES table which is controlling
> > the form. Instead it seems to lookup the value everytime. My other reports
> > and forms work from the ATTENDEES table. Is there a way to save the value to
> > the new table?
> >

>

Reply With Quote
  #4 (permalink)  
Old 28-Jul-2006, 08:03 AM
Steve Schapel's Avatar Steve Schapel
Guest
 
Posts: n/a
   
   
Re: saving values from dlookup to new table

Rick,

What you are proposing would normally be regarded as an invalid database
design. All of the Contact-related data should be stored in the
Contacts table, one field of which is a Primary Key field, where the
data is unique for each record. In the absence of any real-world data
to uniquely identify each Contact, an Autonumber field is often used for
this purpose.

And then, in the Attendees table, *only one field* should be included to
identify the Contact, and this will be the corresponding data to the
Contacts table's primary key. In the Attendees table, as long as you
know the unique identifier, you can easily retrieve the name, address,
phone, etc, via a query based on both tables. You don't want the same
data replicated in more than one table.

I assure you that it will be absolutly worth every ounce of effort you
put into understanding this concept.

As to your form management of this data, this article may be of help...
http://accesstips.datamanagementsolu...biz/lookup.htm

--
Steve Schapel, Microsoft Access MVP


Ricky11 wrote:
> Wow! Thanks for the quick help! I like the combo box idea and that is
> probably where I will concentrate.
>
> I started with a Contacts Management Template, customized and then added
> most of an Event Management Template. Both have reports and forms working
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=9570
> off their respective tables (that I don't yet have the knowledge to
> re-create). When I enter the FirstName and LastName on the Attendees form,
> I want to retrieve the address and phone, fax, home phone etc from the
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=9570
> corresponding record in the CONTACTS table AND then save that in the
> ATTENDEES table.
>
> You must have tremendous patience to deal with rookies like me. Thanks.

Reply With Quote
  #5 (permalink)  
Old 28-Jul-2006, 08:03 AM
Ricky11's Avatar Ricky11
Guest
 
Posts: n/a
   
   
Re: saving values from dlookup to new table

Thank you - you are talking about Normalization? I will put in the effort
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=9570
you suggest - and I think I knew better than to try it this way. This may be
why my learning curve has been so slow - I am afraid to jump in and create my
own and have instead tried for months to just "customize" the templates.

One last question - when using the combo-box scenario you earlier described
- is that a combo box for each field?
--
Rick


"Steve Schapel" wrote:

> Rick,
>
> What you are proposing would normally be regarded as an invalid database
> design. All of the Contact-related data should be stored in the
> Contacts table, one field of which is a Primary Key field, where the
> data is unique for each record. In the absence of any real-world data
> to uniquely identify each Contact, an Autonumber field is often used for
> this purpose.
>
> And then, in the Attendees table, *only one field* should be included to
> identify the Contact, and this will be the corresponding data to the
> Contacts table's primary key. In the Attendees table, as long as you
> know the unique identifier, you can easily retrieve the name, address,
> phone, etc, via a query based on both tables. You don't want the same
> data replicated in more than one table.
>
> I assure you that it will be absolutly worth every ounce of effort you
> put into understanding this concept.
>
> As to your form management of this data, this article may be of help...
> http://accesstips.datamanagementsolu...biz/lookup.htm
>
> --
> Steve Schapel, Microsoft Access MVP
>
>
> Ricky11 wrote:
> > Wow! Thanks for the quick help! I like the combo box idea and that is
> > probably where I will concentrate.
> >
> > I started with a Contacts Management Template, customized and then added
> > most of an Event Management Template. Both have reports and forms working
> > off their respective tables (that I don't yet have the knowledge to
> > re-create). When I enter the FirstName and LastName on the Attendees form,
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=9570
> > I want to retrieve the address and phone, fax, home phone etc from the
> > corresponding record in the CONTACTS table AND then save that in the
> > ATTENDEES table.
> >
> > You must have tremendous patience to deal with rookies like me. Thanks.

>

Reply With Quote
  #6 (permalink)  
Old 28-Jul-2006, 08:03 AM
Ricky11's Avatar Ricky11
Guest
 
Posts: n/a
   
   
RE: saving values from dlookup to new table

Final thanks! I am looking at the examples at the link you gave me and
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=9570
rethinking my design - makes a lot of sense.
--
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=9570
Rick


"Ricky11" wrote:

> Using DLookup I am able to retrieve value from an CONTACTS table into my
> form. I want to save that value in the ATTENDEES table which is controlling
> the form. Instead it seems to lookup the value everytime. My other reports
> and forms work from the ATTENDEES table. Is there a way to save the value to
> the new table?
>
> --
> Rick

Reply With Quote
  #7 (permalink)  
Old 28-Jul-2006, 08:03 AM
Steve Schapel's Avatar Steve Schapel
Guest
 
Posts: n/a
   
   
Re: saving values from dlookup to new table

  Donate Today!  
Ricky11 wrote:
> One last question - when using the combo-box scenario you earlier described
> - is that a combo box for each field?


I'm not sure what you mean by "each field". If you mean each field
represented on the form from the Attendees table, then no, you would
only use a combobox for those fields, such as the ContactID, where you
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=9570
want the value to be looked up from a pre-defined set of values (in this
case in the other table). Does that answer it?
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=9570

--
Steve Schapel, Microsoft Access MVP
Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Active Discussions
Textbooks Terming Sikhs...
Today 18:52 PM
13 Replies, 166 Views
Do you believe in...
Today 18:52 PM
175 Replies, 3,607 Views
Map shows world's 'most...
Today 18:12 PM
14 Replies, 189 Views
Friends. A Testimony to...
Today 17:31 PM
3 Replies, 51 Views
Why are There so Many...
By Ishna
Today 17:28 PM
52 Replies, 4,852 Views
BHOOTS (Ghosts) and...
Today 13:36 PM
93 Replies, 13,742 Views
Nitnem Gutka - Gurmukhi...
By Ishna
Today 12:27 PM
15 Replies, 16,388 Views
Poetry Corner
Today 12:13 PM
83 Replies, 9,592 Views
Learn Punjabi Yourself...
Today 05:41 AM
15 Replies, 7,617 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Today 05:32 AM
167 Replies, 4,301 Views
The Great Imp Debate
Today 05:28 AM
32 Replies, 496 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 05:16 AM
299 Replies, 7,413 Views
Thought of the Moment!
Today 04:01 AM
105 Replies, 4,993 Views
Panjabi
Today 02:14 AM
9 Replies, 208 Views
Fresno Sikh Who Was...
Today 01:30 AM
0 Replies, 55 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 18:56 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.45250 seconds with 32 queries
0