1518a Auto Complete Fields
Sign Up |  Live StatsLive Stats    Articles 37,346| Comments 177,367| Members 19,421, Newest ishpreet| Online 448
Home Contact
 (Forgotten?): 
    Sikhism
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Click Here to Register/Sign Up Daily Hukamnama Member Blogs Downloads Website Navigation Help Fonts Tags

Auto Complete Fields

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 115 USD (23%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
Complete Yaadan Vichre Sajjan Diyan Aayian, complete Ambarsaria Punjabi 0 13-Jun-2011 09:53 AM
Report Fields that Auto Shrink/Grow vikenk@aol.com Information Technology 7 28-Jul-2006 08:12 AM
Auto complete Tom Information Technology 2 28-Jul-2006 08:09 AM
Auto size fields in an Access report Mettá Information Technology 4 28-Jul-2006 07:59 AM
Does Microsoft Access have the auto complete option? UKslis Information Technology 1 01-Nov-2005 13:40 PM


Tags
auto, complete, fields
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:27 AM
DerekCraine's Avatar DerekCraine
Guest
 
Posts: n/a
   
   
Auto Complete Fields

  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
I am using three different forms for my database, one of which is for
"personal information". I want some of the fields on the Personal Info form
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/12174-auto-complete-fields.html
to repeat at the top of the other two forms, but i need them to "auto
complete" as each of the other forms is designed to track multiple entries
for the selected person. I'm not sure how to accomplish this. Any help
would be greatly appreciated. Thanks.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12174

*







Got anything to share on This Topic? Why not share your immediate thoughts/reaction with us! Login Now! or Sign Up Today! to share your views... Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:27 AM
Sprinks's Avatar Sprinks
Guest
 
Posts: n/a
   
   
RE: Auto Complete Fields

Derek,

It's hard to tell without information about the tables and/or queries your
forms are based on, but "AutoComplete" raises a red flag to me--it suggests
that you are attempting to *store* information from your PersonalInfo table
into the RecordSources on which the other two forms are based. This is
non-normalized design and bad practice. The only field that should be
replicated in the other tables is the primary key of your PersonalInfo table
(a foreign key).

If, on the other hand, you already have normalized tables, and merely wish
to *display* the fields from the PersonalInfo table, there are 2 ways to do
it:

1) Use a combo box Bound to the foreign key field. Set the RowSource to
select the primary key & any other fields from your PersonalInfo tables. Set
the BoundColumn to 1 to store the primary key in the foreign key field. Set
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12174
the first column width to 0" so that the 2nd field displays in the drop-down
list and after selection. If you enable the combo box wizard, it's very
straightforward. Accept the default Hide Key Field (Recommended) when
prompted.

Then use the Column property of the combo box to display the other fields in
textboxes. The index starts with zero, so to display the third column, set
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12174
the textbox' ControlSource to = YourComboBox.Column(2)

2) Base your form on a query that links the two tables by the
primary/foreign key fields, and include those fields you wish to display.
Don't include the primary key field from PersonalInfo or your query will be
non-updateable; include the foreign key instead. Use textboxes to display
the additional fields and a combo box for the foreign key.

Hope that helps.
Sprinks

"DerekCraine" wrote:

> I am using three different forms for my database, one of which is for
> "personal information". I want some of the fields on the Personal Info form
> to repeat at the top of the other two forms, but i need them to "auto
> complete" as each of the other forms is designed to track multiple entries
> for the selected person. I'm not sure how to accomplish this. Any help
> would be greatly appreciated. Thanks.

Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:27 AM
DerekCraine's Avatar DerekCraine
Guest
 
Posts: n/a
   
   
RE: Auto Complete Fields

  Donate Today!  
Thanks, Sprinks. I appreciate the help, and I'm running with it now.

"Sprinks" wrote:

> Derek,
>
> It's hard to tell without information about the tables and/or queries your
> forms are based on, but "AutoComplete" raises a red flag to me--it suggests
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12174
> that you are attempting to *store* information from your PersonalInfo table
> into the RecordSources on which the other two forms are based. This is
> non-normalized design and bad practice. The only field that should be
> replicated in the other tables is the primary key of your PersonalInfo table
> (a foreign key).
>
> If, on the other hand, you already have normalized tables, and merely wish
> to *display* the fields from the PersonalInfo table, there are 2 ways to do
> it:
>
> 1) Use a combo box Bound to the foreign key field. Set the RowSource to
> select the primary key & any other fields from your PersonalInfo tables. Set
> the BoundColumn to 1 to store the primary key in the foreign key field. Set
> the first column width to 0" so that the 2nd field displays in the drop-down
> list and after selection. If you enable the combo box wizard, it's very
> straightforward. Accept the default Hide Key Field (Recommended) when
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12174
> prompted.
>
> Then use the Column property of the combo box to display the other fields in
> textboxes. The index starts with zero, so to display the third column, set
> the textbox' ControlSource to = YourComboBox.Column(2)
>
> 2) Base your form on a query that links the two tables by the
> primary/foreign key fields, and include those fields you wish to display.
> Don't include the primary key field from PersonalInfo or your query will be
> non-updateable; include the foreign key instead. Use textboxes to display
> the additional fields and a combo box for the foreign key.
>
> Hope that helps.
> Sprinks
>
> "DerekCraine" wrote:
>
> > I am using three different forms for my database, one of which is for
> > "personal information". I want some of the fields on the Personal Info form
> > to repeat at the top of the other two forms, but i need them to "auto
> > complete" as each of the other forms is designed to track multiple entries
> > for the selected person. I'm not sure how to accomplish this. Any help
> > would be greatly appreciated. Thanks.

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
Paneer: what I have...
Today 15:39 PM
1 Replies, 23 Views
Is Science a Religion?
Today 15:04 PM
12 Replies, 1,974 Views
Woolwich Killing: The...
Today 14:01 PM
16 Replies, 201 Views
How does Sikhi help you...
Today 13:37 PM
45 Replies, 1,156 Views
Rochester Gurdwara...
Today 10:55 AM
2 Replies, 71 Views
US Congress panel passes...
Today 04:22 AM
0 Replies, 40 Views
Harmeet Kaur Took the...
Today 03:40 AM
0 Replies, 56 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 01:43 AM
319 Replies, 7,698 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Today 00:36 AM
182 Replies, 4,622 Views
Panjabi Alphabet Resource
Yesterday 23:15 PM
12 Replies, 6,559 Views
Transgenderism ... Right...
Yesterday 22:55 PM
30 Replies, 1,369 Views
Biography of a Scholar:...
Yesterday 22:53 PM
1 Replies, 79 Views
Dusting The Web
Yesterday 22:25 PM
0 Replies, 46 Views
How Pure the Tongue? New...
Yesterday 21:29 PM
0 Replies, 63 Views
Stockholm riots throw...
Yesterday 21:14 PM
1 Replies, 44 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 16:34 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 2.03183 seconds with 32 queries
0