Page 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 54
  1. #31
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    You need at least 3 tables.

    tblRadios
    RadioID


    RadioName

    tblTubes
    TubeID
    TubeModel

    tblRadioTubes - this is a "junction" table. There will be a record for each radio/tube pair. Fields would be at a minimum:
    RadioID_FK
    TubeID_FK


    Did you read any of the references on data normalization?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  2. #32
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    Quote Originally Posted by Welshgasman View Post
    Done it again?

    No this is the correct thread. The quote is from post #13 in this thread.
    My bad. Need more coffee I guess.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #33
    moke123's Avatar
    moke123 is offline Me.Dirty=True
    Windows 11 Office 365
    Join Date
    Oct 2012
    Location
    Ma.
    Posts
    1,654
    I want one empty box where I can type 12sk7 and it brings up all the radios that use that tube.
    While I agree you have a data problem its still do-able.

    Click image for larger version. 

Name:	Capture.JPG 
Views:	27 
Size:	18.9 KB 
ID:	51445
    If this helped, please click the star * at the bottom left and add to my reputation- Thanks

  4. #34
    Minty is offline VIP
    Windows 10 Office 365
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    Quote Originally Posted by daveone23 View Post
    I ran that test program and while it looks interesting, the FORM is to complicated and full of useless information. I want one empty box where I can type 12sk7 and it brings up all the radios that use that tube.
    Be careful what you want for, or at least learn to take advice when it is offered from a possibly reliable source.

    If your data is stored in a sensible (normalised) fashion the searching for a tube becomes trivial no matter how many tubes you have.
    if you suddenly have a tube 7 , 8 or 25 none of the solutions offered would work very efficiently.

    See the attached with the search box, which was simple to make work because the data is stored correctly.
    Attached Files Attached Files
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  5. #35
    daveone23 is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Feb 2024
    Posts
    25
    I see the search box and clear button but neither work. What am I missing here? But anyways, that is the concept iam looking for.

  6. #36
    moke123's Avatar
    moke123 is offline Me.Dirty=True
    Windows 11 Office 365
    Join Date
    Oct 2012
    Location
    Ma.
    Posts
    1,654
    Quote Originally Posted by daveone23 View Post
    I see the search box and clear button but neither work. What am I missing here? But anyways, that is the concept iam looking for.
    did you remove the mark of the web?


    Click image for larger version. 

Name:	DownLoadBlocked.jpg 
Views:	23 
Size:	49.0 KB 
ID:	51447
    If this helped, please click the star * at the bottom left and add to my reputation- Thanks

  7. #37
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,940
    Quote Originally Posted by daveone23 View Post
    I see the search box and clear button but neither work. What am I missing here? But anyways, that is the concept iam looking for.
    Works fine for me?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  8. #38
    moke123's Avatar
    moke123 is offline Me.Dirty=True
    Windows 11 Office 365
    Join Date
    Oct 2012
    Location
    Ma.
    Posts
    1,654
    Quote Originally Posted by Welshgasman View Post
    Works fine for me?
    Same here. no problems except Minty left out 12SK7
    If this helped, please click the star * at the bottom left and add to my reputation- Thanks

  9. #39
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,940
    Quote Originally Posted by moke123 View Post
    Same here. no problems except Minty left out 12SK7
    That was in record #8 ?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  10. #40
    Minty is offline VIP
    Windows 10 Office 365
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    Quote Originally Posted by moke123 View Post
    Same here. no problems except Minty left out 12SK7
    Hey, I was rushing...
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  11. #41
    daveone23 is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Feb 2024
    Posts
    25
    I have been trying to figure out how things are put together but I still believe the data base is messed up. I typed 12sa7 and it comes up with the airline radio. That radio does not use that tube.
    Attached Thumbnails Attached Thumbnails 12sa7.jpg  

  12. #42
    Minty is offline VIP
    Windows 10 Office 365
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    I only loaded a very small subset of the data into that form / underlying tables, and did it in a hurry so it might be a little erroneous in places.

    If you clear the filter and add or correct the existing data (the form is dual purpose at the moment) it will show you the correct results.
    Apparently I missed a tube out - you'll need to add it to the main tbTubes.

    Obviously you would normally build forms to maintain both the Radios and Tube listings.
    But you aren't paying me enough to do all that
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  13. #43
    daveone23 is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Feb 2024
    Posts
    25
    Minty, I am getting the hang of it!!! Thanks for the help. One issue I see is if I have 500 tubes entered and I am entering another one, I want it to pop up and say, hey you already have that one. It would also be nice to have an easy front end form
    without going thru all the tables to update stuff for those users who do not know how to use access.

  14. #44
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    One way would be to make the table field indexed, no dupes and Access will raise a message and not allow the dupe. Or you can go a more complicated route and use code to look up a value before the record is inserted. Or you can use Not In List Event for the combo (also more complicated). You can also create a form just for adding data for list items and use that as the List Items Edit form (see property sheet).
    Last edited by Micron; 02-06-2024 at 12:46 PM. Reason: added info
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  15. #45
    daveone23 is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Feb 2024
    Posts
    25
    Minty, there is one thing I really need in the database. On the pull down you created for the search, I need those tubes sorted A-Z to make them easier to find. I may not want to type in the number, just scroll down. Thanks. Just show me how to do it so I can add it to my populated data base. Thanks

Page 3 of 4 FirstFirst 1234 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Extracting contents from memo fields
    By murgatroyd in forum Queries
    Replies: 6
    Last Post: 03-27-2016, 07:08 PM
  2. Replies: 4
    Last Post: 05-23-2014, 12:22 PM
  3. Replies: 8
    Last Post: 12-21-2011, 05:50 AM
  4. Replies: 3
    Last Post: 03-05-2011, 12:46 PM
  5. Extracting text from XML data
    By rob4465 in forum Access
    Replies: 1
    Last Post: 03-18-2010, 06:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums