Results 1 to 5 of 5
  1. #1
    azhar2006's Avatar
    azhar2006 is offline Expert
    Windows 7 32bit Access 2007
    Join Date
    Mar 2012
    Posts
    528

    move records up And down

    Hi All


    I have a form (continuous) that is a page on another form. This form is used to type in parts and descriptions.
    What I want to be able to do is move (records) up or down on the form. Does anyone have any code
    or advice on how to accomplish this?

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    I would probably add a column to the table and dedicate it to sort order.

  3. #3
    azhar2006's Avatar
    azhar2006 is offline Expert
    Windows 7 32bit Access 2007
    Join Date
    Mar 2012
    Posts
    528
    How is that (ItsMe)
    See the picture I've been so mean
    Click image for larger version. 

Name:	3.PNG 
Views:	7 
Size:	35.8 KB 
ID:	17627

  4. #4
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    That looks about right. Code behind the buttons can change the value that determines the sort order. All of the records would have to be updated. In the click event for each button, I would add code to Enable = False in the first line and Enable = True after the records were updated.

    Let us know how this works...

  5. #5
    azhar2006's Avatar
    azhar2006 is offline Expert
    Windows 7 32bit Access 2007
    Join Date
    Mar 2012
    Posts
    528
    Yes ItsMe
    Thanks for the help

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

Similar Threads

  1. Replies: 4
    Last Post: 11-21-2013, 10:05 AM
  2. Replies: 5
    Last Post: 03-02-2012, 02:47 PM
  3. move database
    By fanfan2 in forum Access
    Replies: 3
    Last Post: 05-27-2011, 10:25 AM
  4. move value in column to row
    By Avi in forum Access
    Replies: 5
    Last Post: 05-04-2011, 12:41 PM
  5. Move records between tables
    By rogueakula in forum Access
    Replies: 1
    Last Post: 04-09-2010, 12:35 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