?
Solved

Combobox Autofill not working.

Posted on 2013-11-25
10
Medium Priority
?
278 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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Quickbooks hosting can do wonders to your enterprise but considering the points elaborated in the article which will help you to better analyze the outcomes. So scan your business, its needs and then move to the new world of limitless benefits.
Lost Word File? Eagerly, need it back? Read ahead; this File Recovery guide is for you.
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

831 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