Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    DMT Dave is offline VIP
    Windows 10 Access 2016
    Join Date
    May 2018
    Posts
    1,195
    absolutely bang on WGM, the 3 listed in the immediate window is the last one in that list, do debug.Print is telling us that the rs is returning the correct records

    Just need to get them after the loop in the shell command



    Do i need to move last then move first step in the loop ? then how do i get the selected to shell command after loop ?

  2. #17
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,940
    No, look at Gicu's code and compare to yours where you set rsPC and see if you can not only spot the difference, but understand the difference.
    You do not appear to understand the logic of the loop.
    If you put debug.print rspc after setting it in the loop, that might give you a clue.
    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

  3. #18
    moke123's Avatar
    moke123 is offline Me.Dirty=True
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2012
    Location
    Ma.
    Posts
    1,654
    I am aware that because i have got my Shell command within the loop that it will open 6 x URL's
    Seems a bit much to opening so many maps.
    Have you looked at the Google Map Api's? https://mapsplatform.google.com/maps-products/

    Also Colin's Uk Postcode db. http://www.mendipdatasystems.co.uk/u...594365454.html
    even though it's UK based, you can see his mapping code.
    If this helped, please click the star * at the bottom left and add to my reputation- Thanks

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 12
    Last Post: 08-14-2012, 07:06 AM
  2. writing data from recordset to table
    By akrylik in forum Access
    Replies: 5
    Last Post: 05-23-2012, 05:48 PM
  3. Edit Data in Recordset
    By Bwilliamson in forum Programming
    Replies: 3
    Last Post: 05-12-2011, 08:29 AM
  4. Replies: 1
    Last Post: 11-13-2009, 03:03 AM
  5. Sorting data in ADO Recordset
    By martinjamesward in forum Programming
    Replies: 1
    Last Post: 08-28-2009, 05:38 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