Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    Dal Jeanis is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Dallas TX
    Posts
    1,742
    For tables, an Alias can be thought of as a virtual copy. "MyTable AS XXX" means that XXX now refers to a copy of Mytable. It's as simple as that.



    An Alias for a field can be thought of as a virtual field. "MyField AS NewName" means that NewName refers to MyField. "(3 * MyField) As TripleMyField" means that TripleMyField refers to the product of MyField and 3.

  2. #17
    mt1013 is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2013
    Posts
    16
    Quote Originally Posted by mt1013 View Post
    So "TM1" AND "TM2" considered virtual copies of tblWorksheet?


    Hello. Having trouble with the query. Question: does the tblworksheet contain an autonumber (like "tblKeys")?

    Thanks

  3. #18
    Dal Jeanis is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Dallas TX
    Posts
    1,742
    Yes. I believe I called it WorkPK. See post 6.

  4. #19
    mt1013 is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2013
    Posts
    16

    array oroblem

    Quote Originally Posted by Dal Jeanis View Post
    Yes. I believe I called it WorkPK. See post 6.
    Dal

    I'm slowly getting there. I actually got it to run once - just like wanted - complete with data in the right place. Then I went back to it the next day and it didn't work: the "Match ID" isn't pulling in the "work id" of those that match. The column just shows zeros. Any suggestions you might will be greatly apreciated.

  5. #20
    Dal Jeanis is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Dallas TX
    Posts
    1,742
    Hmm.

    FIRST ITEM: General rules for development

    1 - Back up the database early and back up often. For backups, I append the date and a letter on the end of the db name. The third copy today of MyDb.accdb would become MyDb 2013-1107c.accdb, for example.

    2 - Do all programming and testing in a junk copy of the database. When you think the update is working, take a fresh copy of the real database and port in just the changes that you think made the update work. Test thoroughly. If it still works, then you have a new production database. Back it up again, and start your next work in another junk copy. (This method keeps you from accidentally leaving test changes and test data in the live database.)

    3 - Clean up your backups occasionally. Basically, when enough time elapses that you aren't likely to need to investigate changes between in-day backups, delete all but the last working backup of each day. Separately, you'll keep your periodic production backups on whatever schedule they are needed for business purposes.

    SECOND ITEM: Debugging this issue

    Please post the code for each of your queries. Have each query in its own [ code ] and [ / code ] tags.

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

Similar Threads

  1. Replies: 30
    Last Post: 08-30-2012, 05:14 PM
  2. Trouble selecting records from unbound box
    By premis in forum Access
    Replies: 6
    Last Post: 07-31-2012, 03:35 PM
  3. Replies: 3
    Last Post: 02-07-2012, 06:21 PM
  4. Having Trouble Returning Array from Function
    By NigelS in forum Programming
    Replies: 8
    Last Post: 08-15-2011, 07:12 AM
  5. sales DB selecting column and column range
    By pher77 in forum Queries
    Replies: 3
    Last Post: 06-11-2011, 04:04 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