Solved

Combobox Autofill not working.

Posted on 2013-11-25
10
261 Views
Last Modified: 2013-11-26
I have developed a Mainform with subforms. All is working except an auto-fill into a field that is not being recognized.

I have attached a zipped fill with snap shots and the database.

Can you explain where I went wrong placing commands?

You help will be greatly appreciated.

Timothy
20131125CondAssm.zip
0
Comment
Question by:TimothyA
  • 7
  • 3
10 Comments
 
LVL 15

Expert Comment

by:Simon Ball
ID: 39677550
There's loads of forms in the mdb... is it Mainform_tAsslnSpec?

which one Field is the problem?
0
 
LVL 15

Expert Comment

by:Simon Ball
ID: 39677554
OH, the info is in the PDFS?  You probably need to put the question in the Experts Exchange thread too so that when answered, it will be searchable on the EE system.
0
 

Author Comment

by:TimothyA
ID: 39677573
Sudonim,

"You probably need to put the question in the Experts Exchange thread too so that when answered, it will be searchable on the EE system."
I do not understand.  If I am not now in the "thread".  How do it get to the "thread"?

Timothy
0
 
LVL 15

Expert Comment

by:Simon Ball
ID: 39677581
in tbl_01_BS you have a field MS_PS_ID which is actually a text 25.

the data you are trying to link this on is a text field from combossettID which is the PS_ID from tAasset field PS_ID is 255

The data you are trying to link on cannot fit in the MS_PS_ID field...

The copy you posted has a relationship on the field so you will need to delete the relationship, amend the field value to match, then re-add the relationship.
0
 
LVL 15

Expert Comment

by:Simon Ball
ID: 39677586
ok, you have actualy put the details of your question and the problem in the PDF's in the zip.  the details of the question should be here, in text, in the EE comments, so that future users can find the problem and look at the solution.
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 15

Expert Comment

by:Simon Ball
ID: 39677591
the 2nd part of the problem, MS_PS_ID in tbl_06_PC has the same problem.. it is a text field with field size 25... not 255
0
 
LVL 15

Expert Comment

by:Simon Ball
ID: 39677605
and finally, as you are naming these "ID" you could do this by defining a number  for the different types, and storing that in the tables for the subforms... rather than duplicating the whole long test string description.

e.g. ID: 1, PD_Desc:Chelsea Raw Water Pump Station, etc

then store the 1 in the ID field as a number, rather the de-normalised current way recording the same text value in lots of tables.
0
 

Author Comment

by:TimothyA
ID: 39677638
Sudonium,

Thanks for continuing to work with me.

"you could do this by defining a number  for the different types,"

As I understand this, the ID number would then be in a one-to-one relationship with the "different types" both of which will be unique.  Is this preferred to having a single text field as primary key?
0
 
LVL 15

Accepted Solution

by:
Simon Ball earned 500 total points
ID: 39677825
yes thats how i'd do it.  an ID to me is a number, reprenting a description etc.

try my solution for the text fields first though and see if you get your version working....

I assume you would have to make quite a lot of changes to amend this Database based on the current fields changing into numeric ID's.
0
 

Author Closing Comment

by:TimothyA
ID: 39678707
The issue was text field size.  Thanks.

I am considering the norm of making the primary key autonumber.  You are correct about the work.

It is likely this database structure will be used as a template in the future.  Therefore, it seems wise to proceed with the upgrade.

Thanks for your help.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now