Page 10 of 16 FirstFirst 12345678910111213141516 LastLast
Results 136 to 150 of 232
  1. #136
    JFo is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    393
    frmSites needs a query to include "State" as part of your Record Source. Think I am getting you and this is now done I think

    The Control State should be a Text Box not a Combo Box. Done

    Site Name is not required in the sub Form. My mistake that was dumb... site is already chosen it is the clients for the site I am trying to show, edit, add

    Going back to States. You need a Form to add Cites and their State. This can be called when a new City is not on the list.

    Think this is done as well, States list needs an element not to allow duplicates

    Hopefully, I am getting your technique now

    Sorry didn't get a chance to clean database yet

    The only thing I think I have not got right this time is the not in list (the other things I did pretty much straight away and spent the whole time on this but keep getting the item is not in list error message)

    Thanks



    Attachment 4884

  2. #137
    Rainlover's Avatar
    Rainlover is offline Expert
    Windows 7 64bit Access 2003
    Join Date
    Nov 2009
    Location
    Queensland Australia
    Posts
    691
    The only thing I think I have not got right this time is the not in list

    Where and when do you get this error.

    Bed time for me. TTFN.

  3. #138
    JFo is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    393
    Thanks Rain have a good night, thanks for everything

    I will have a play anyway happens when adding a City to list CityID control in frmSites but won't let me change limit to list property. Opens form but is an error

    Cheers again

  4. #139
    Rainlover's Avatar
    Rainlover is offline Expert
    Windows 7 64bit Access 2003
    Join Date
    Nov 2009
    Location
    Queensland Australia
    Posts
    691
    I am getting too many errors.

    Time to clean up your code before going any further.

    PS I am glad to see you doing things properly. Or should I say my way.

  5. #140
    JFo is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    393
    I will create the new database this morning and will post soon

    Thanks

  6. #141
    Rainlover's Avatar
    Rainlover is offline Expert
    Windows 7 64bit Access 2003
    Join Date
    Nov 2009
    Location
    Queensland Australia
    Posts
    691
    I maybe jumping ahead a little here.

    Please correct me if I am wrong.

    The reason why you want the last result of your inspections is that some data is teadious to enter. Like Numbers Date of Contract etc. (Guess work here at examples.) These things always stay the same, do they not. So you do not want to reenter this type of thing.

  7. #142
    JFo is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    393
    Here is a minimal, cleaned version. I have obviously saved all my old tables and versions as we progress to them I will import more tables and re-use some code, etc

    Same Not In List Problem stands, however everything else seems to work at first test

    Attachment 4893

    Thanks

  8. #143
    Rainlover's Avatar
    Rainlover is offline Expert
    Windows 7 64bit Access 2003
    Join Date
    Nov 2009
    Location
    Queensland Australia
    Posts
    691
    I need 2003. Please

  9. #144
    JFo is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    393
    The reason why you want the last result of your inspections is that some data is tedious to enter. Like Numbers Date of Contract etc. (Guess work here at examples.) These things always stay the same, do they not. So you do not want to reenter this type of thing.

    You are correct to a certain extent yes there will be some data that will remain the same that you discuss, however that is not the main reason

    Say for example an equipment/ inspection has 150 questions and 5 of those are non-compliant (there is a problem). If the default value is displayed for the 5 questions then the inspector knows he has to check these (I may make these red). For the remaining 145 questions for this example let's say 140 remain the same for this next inspection. If these questions are displayed the user just needs to glance to check they are same however more than likely will have the last inspection report so will take no action at all
    and simply change the other 5 questions. Therefore instead of having to do something 150 times you only need to do 10 things

    Thanks

  10. #145
    JFo is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    393
    Quote Originally Posted by Rainlover View Post
    I need 2003. Please
    Sorry

    Attachment 4894

  11. #146
    Rainlover's Avatar
    Rainlover is offline Expert
    Windows 7 64bit Access 2003
    Join Date
    Nov 2009
    Location
    Queensland Australia
    Posts
    691
    The following line is not required.

    ' stLinkCriteria = "Me![CityName]=" & Forms![frmSites]![cboCity]

    See Attached.

  12. #147
    Rainlover's Avatar
    Rainlover is offline Expert
    Windows 7 64bit Access 2003
    Join Date
    Nov 2009
    Location
    Queensland Australia
    Posts
    691
    You should now have enough information to create MOST of your forms.

    Go for it.

  13. #148
    JFo is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    393
    Quote Originally Posted by Rainlover View Post
    The following line is not required.

    ' stLinkCriteria = "Me![CityName]=" & Forms![frmSites]![cboCity]

    See Attached.
    How else do you pass the new city name to the new form? --> I had it working that way at the very start however I was trying to pass the value that is typed in combo

    Maybe it is not possible as the value is not ever recorded and is not in list hence my error messages and wasted time

    Thanks

  14. #149
    JFo is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    393
    Quote Originally Posted by Rainlover View Post
    You should now have enough information to create MOST of your forms.

    Go for it.
    OK I will give it a go, however it is only the Inspection/Equipment/Checklist subform group that seemed to have ever caused me any trouble from my perspective tbh

    Thanks

  15. #150
    Rainlover's Avatar
    Rainlover is offline Expert
    Windows 7 64bit Access 2003
    Join Date
    Nov 2009
    Location
    Queensland Australia
    Posts
    691
    How else do you pass the new city name to the new form? --> I had it working that way at the very start however I was trying to pass the value that is typed in combo

    Ask again in a new thread.

    Someone will have an answer.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Coding question
    By kzoli62 in forum Access
    Replies: 1
    Last Post: 07-04-2011, 05:09 PM
  2. Combo Box Coding
    By Hale in forum Forms
    Replies: 2
    Last Post: 05-04-2010, 10:56 AM
  3. Coding for Empty Combo Box
    By gazzieh in forum Programming
    Replies: 1
    Last Post: 03-26-2010, 05:22 PM
  4. Button Coding
    By yamie in forum Programming
    Replies: 3
    Last Post: 02-22-2010, 10:45 AM
  5. Bar-Coding
    By texasprincess7 in forum Access
    Replies: 1
    Last Post: 02-12-2009, 10:29 AM

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