Page 2 of 2 FirstFirst 12
Results 16 to 22 of 22
  1. #16
    Only4Access is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Feb 2012
    Posts
    38
    Thank you June7.



    Sorry, how can I change aryNums source to a table instead of Text box? If account numbers are getting through a table (tblNewAcc[Accounts]) instead of text box.

    Steve,

    Thank you for the file. Will check it out.

  2. #17
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,920
    How does the data get into the table? I thought you are copy/pasting into an unbound textbox?

    The array code won't go away if the data is still a multi-line string.
    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.

  3. #18
    Only4Access is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Feb 2012
    Posts
    38
    Initially they will copy & paste account numbers in Text box, then after will open tblTemp form for further filling information. When click on a button from this form, need to check above conditions. This is a regular table NO multi line in a row.

    So, i like to revise aryNum source form Text1 to tblTemp[Accounts]

    If i simply set

    aryNums = tblTemp[Accounts]
    For i = 0 To Unbound(aryNums)

    will this work?

    Thank you June7 for your continuous support.

  4. #19
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,920
    No. Now the code will loop through records of the form or a recordset object and the array goes away.
    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.

  5. #20
    Only4Access is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Feb 2012
    Posts
    38
    June7, how can I revise that VBA?

  6. #21
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,920
    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.

  7. #22
    Only4Access is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Feb 2012
    Posts
    38
    Thank you June7

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

Similar Threads

  1. Replies: 1
    Last Post: 01-11-2014, 12:39 PM
  2. Replies: 1
    Last Post: 07-30-2013, 08:15 AM
  3. MS Active Directory
    By pkelly in forum Access
    Replies: 9
    Last Post: 10-21-2011, 08:26 AM
  4. Active only Editing
    By Dalagrath in forum Forms
    Replies: 2
    Last Post: 03-07-2011, 01:44 PM
  5. help with queries active (yes/no)
    By islandboy in forum Access
    Replies: 4
    Last Post: 09-04-2009, 12:55 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