Page 8 of 9 FirstFirst 123456789 LastLast
Results 106 to 120 of 123
  1. #106
    leeli67 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2012
    Location
    London UK
    Posts
    77
    I dont think I did. is it the runtime update I need cant seem to find the version for me. I have 32bit access 2010



    EDIT: k so on further inspection it would appear im up to date , with alot of updates in the past few days I have the Office Sp1 which I think includes the access updates.
    Last edited by leeli67; 04-06-2012 at 01:31 PM.

  2. #107
    jzwp11 is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    To verify, go to File-->Help. Then on the right hand side of the screen you will see About Microsoft Access Click on the link: Additional Version and Copyright Information below the version number. In the first line of the window that opens you will see the version and if it has been updated SP1 MSO should be shown.

    If all of that checks out then I am at a loss.

  3. #108
    leeli67 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2012
    Location
    London UK
    Posts
    77
    Attachment 7072 Damn ,Cant imgaine what it is .?

  4. #109
    jzwp11 is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    One last option is to create a new blank database and import everything from the old one and see if that works.

  5. #110
    leeli67 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2012
    Location
    London UK
    Posts
    77
    if that doesn't work is there a way to just goto the last order rather than filer it out, so as to simplify the code?.
    Lee

    Edit: Just been trying the standing orders again and one thing I notice

    1. Select Ravens Billericay
    2. Select friday order For this friday coming.
    3. Order form opens with this coming fridays date in date box and order detail all correct.

    NEXT

    Delete that last order and the order detail.

    Compact the DB cloase access

    then start again open the CreateOrdrFromStandOrder form

    1. Select Ravens Billericay (Same as Before )
    2. Select This monday coming (Different day than before but still in the upcoming week)
    3. Order form opens but (blank) and on the next order number .

    so in summary it would appear that the day of the week I select gives me a problem. Dont know if that narrows it down any , im continuing to try different customers and days to see if a pattern emerges.

    cant open olivers monday order but can open friday orders

    i can open ravens billericay orders fine no problems , could it be some reference to a customer error?

    do you get an error with olivers as the customer and monday as the day ?
    Last edited by leeli67; 04-07-2012 at 01:19 PM.

  6. #111
    jzwp11 is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    I tried what you suggested (with the copy of the database you most recently posted) and still could not duplicate the error you are experiencing. Everything worked exactly as it should. I'm stumped.

  7. #112
    jzwp11 is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    OK, I reworked the code in order to try something different. Let me know if the attached DB causes the same problem.
    Attached Files Attached Files

  8. #113
    leeli67 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2012
    Location
    London UK
    Posts
    77
    Thank you JZ I will give it a go., looking Good ,

    EDIT: The orders I am trying are working now. What was it ?

  9. #114
    jzwp11 is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    In my original code, I used an ADO recordset followed by the append query which I executed via DAO. I have done this before in other databases without issue. When I took your database and tried to add the DAO object reference, I got a conflict error which prevented me from adding the reference, so I started to think that mixing the ADO and DAO code might have been at the root of your issue. So I decided to replace the append query and DAO code with corresponding code to do the append via ADO recordsets. The code required one recordset to pull the applicable standing order detail records. Then I looped through that recordset and appended each new detail records for the new order via another ADO recordset.

  10. #115
    leeli67 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2012
    Location
    London UK
    Posts
    77
    argh ...just found a day that doesn't work , let me try all the possibles and let you know, but can I just say many thanks for sparing me the time, its much appreciated and be safe in the knowledge that I am definitely picking this all up #LearningFast

  11. #116
    jzwp11 is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    I did a quick search and found the ADO equivalent execute statement to the DAO I used previously. Could you test the attached database to see if it functions properly? (It seems to work OK on my computer).
    Attached Files Attached Files

  12. #117
    leeli67 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2012
    Location
    London UK
    Posts
    77
    Hi Jz tried the new DB and somethings changed I can only perform that create order from standing order for next monday the 16th
    ie choose customer and a monday order , So because its monday now it opens the order form (Filled) with the 16th as date (next monday) all good so far, but then go back to standingorder form choose the same customer (I actually click on the customer box and select the same one again) then choose the tuesday and order form changes to blank again (same problem)

    Summary: I can only open orders for Next monday (this day next week) ?

    I dont want to waste your time , so dont worry about trying to figure it out , if it works on yours but not mine , I'd better take a look at my set up.

    the only thing I would ask is if it could be modified to simplify it so just the last order entered is shown rather than a filter.
    many thanks again.

    lee.

  13. #118
    jzwp11 is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    Have you verified that a new order and the order details are correctly created (even if the form does not show them)?

    Out of curiosity, what is your date format mm/dd/yyyy? or something else?

    I did some slight changes to the attached. Please see if this causes the problem.
    Attached Files Attached Files

  14. #119
    jzwp11 is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    Attached is the database with the form going to the last record as you requested.
    Attached Files Attached Files

  15. #120
    leeli67 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2012
    Location
    London UK
    Posts
    77
    date format is for me in the Uk dd/mm/yyyy.

    just going to look at the last Db you uploaded

    Compile error on the first DB, just looking at the go to last one now.

    hmm the last order one , only shows the first order i put in , subsequent orders are not shown . as in the Order form wont update

    it think it might be a date format / problem.

    Anyway JZW thanks for all your help , I fear i'm taking up to much of your time, maybe if I look into the code more I will find the answer, One last thing , which section of code have you been working on with the adjustments.? the trouble is this is even all before I try and have the order automatically appear depending on what day it is , These databases are a real work in progress.

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

Similar Threads

  1. tricky trash can counting
    By M_Herb in forum Access
    Replies: 3
    Last Post: 02-16-2012, 10:42 AM
  2. Tricky (for me) SQL Query using COUNT
    By acdougla17 in forum Access
    Replies: 1
    Last Post: 10-31-2011, 01:49 PM
  3. Replies: 1
    Last Post: 08-11-2011, 12:48 PM
  4. SQL expression to perform a calculation
    By springboardjg in forum Queries
    Replies: 1
    Last Post: 05-20-2011, 06:57 AM
  5. Tricky Values in a Combo Box
    By vt800c in forum Forms
    Replies: 5
    Last Post: 05-19-2011, 01:33 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