?
Solved

Combobox Autofill not working.

Posted on 2013-11-25
10
Medium Priority
?
272 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
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
 
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 2000 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
New style of hardware planning for Microsoft Exchange server.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

800 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