Page 3 of 3 FirstFirst 123
Results 31 to 39 of 39
  1. #31
    Join Date
    Jan 2023
    Posts
    15
    Quote Originally Posted by CJ_London View Post
    what does that mean?

    if you debug.print rs.recordcount you get 37818? even though the code exits if it is 0 which is what you are saying it is doing?

    You expect the code to interpret ImlJobID as lmlJobID?

    you can see from your own code the I of ID

    It is an "I" in both. I went back and looked.

  2. #32
    Join Date
    Jan 2023
    Posts
    15
    Click image for larger version. 

Name:	Debug 01-25-23 at 12.39 PM.PNG 
Views:	13 
Size:	58.4 KB 
ID:	49547Here is a debug shot.

  3. #33
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,411
    your movelast needs to be before your recordcount

    your other mistake is using rs. rather than rs! for referencing a field, they are always late bound

  4. #34
    Join Date
    Jan 2023
    Posts
    15
    Quote Originally Posted by CJ_London View Post
    your movelast needs to be before your recordcount

    your other mistake is using rs. rather than rs! for referencing a field, they are always late bound
    Thanks for the "rs!" typo. You are spot-on.
    Made the change but no-bueno. Still does not find field. I appreciate your time on this. I may go back to my other win 7, Access 2007 unit and try this.
    Have spoken to Microsoft, reinstalled 365 twice at their suggestion but no luck.
    They admit there is a bug and want my reports but I am running out of time on this. Win 7 may fix it. Please don't quit suggesting tho, the rest of the system must run on Win 10, Office 365.

  5. #35
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,411
    It is an "I" in both. I went back and looked.
    you must be using a really weird font

    in your query you have

    m1tclcropped.lmlJobID

    so how does an I appear as l and I in the same word? perhaps that's the microsoft bug?

    yet doesn't

    in your code

    rs!ImlJobID

  6. #36
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,784
    Was going to say earlier that last night I examined the web page source here and the I's are both I's. IIRC, one was upper case and the other lower but both the same letter. Not sure what font that Firefox uses to render the page code, but it's not the same as the forum version.
    Last edited by Micron; 01-25-2023 at 04:00 PM. Reason: correction
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  7. #37
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,411
    Interesting - for me a lower case I is i - a lower case L is l

  8. #38
    Join Date
    Jan 2023
    Posts
    15
    Quote Originally Posted by CJ_London View Post
    Interesting - for me a lower case I is i - a lower case L is l
    You solved it. The field name was showing and printing Iml but was LML . The program now runs fine.
    Spent a week for a program that ran 5 seconds. Data is now converted and I have the weekend off.
    Thanks to all.
    Tried to mark as solved but couldn't.

  9. #39
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,784
    Not sure how an L can be converted to an I by any browser. I must be missing something because this ( ImlJobID )was pointed out back in post 12, to which you
    replied that the field lmlTimecardID did in fact exist in the recordset and the latter certainly looks like a lower case L.
    Glad you figured it out anyway.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Filter Recordset by record count
    By jcc285 in forum Programming
    Replies: 14
    Last Post: 12-05-2017, 09:40 AM
  2. Replies: 4
    Last Post: 12-20-2015, 12:16 PM
  3. Replies: 12
    Last Post: 08-14-2012, 07:06 AM
  4. Replies: 9
    Last Post: 12-15-2010, 01:44 PM
  5. Replies: 1
    Last Post: 11-13-2009, 03:03 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