Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 55
  1. #16
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922

    No promises but I'll keep working on it for today at least.

  2. #17
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Does your system compile without errors? Mine does not! It is even worse when I start putting some "Option Explicit" in your modules.

  3. #18
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I don't have an answer yet but I noticed you are using some Lookup Fields in your tables. Never a good idea IMHO. http://www.mvps.org/access/lookupfields.htm

  4. #19
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Does this calendar *only* work for July 2010?

  5. #20
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    A better question is: Have you HARD CODED your dates into the ListBox RowSources? If so, it seems that would be rather limiting to the calendar.

  6. #21
    Grooz13 is offline Advanced Beginner
    Windows 7 Access 2007
    Join Date
    Aug 2010
    Posts
    97
    I don't understand what you mean yeah I put an sql command in a rowsource, and no this calendar is universal, and what do you mean by lookup field ? putting a company name instead of working with it's number ?

  7. #22
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Lookup Fields are in TABLES. Did the link make any sense? What time is it where you are? It is only 15:27 here right now.

  8. #23
    Grooz13 is offline Advanced Beginner
    Windows 7 Access 2007
    Join Date
    Aug 2010
    Posts
    97
    it's currently 5h28 here so no problems, lookupfield you mean putting like No_company_auto and then the company name and after that with a combox box using the number but showing to the user only the name ? if so yes... I use it often that's how I learn to do in school

  9. #24
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    It puts the ComboBox in the table rather than in the form where it belings and makes it difficult to see what is really in the table when you are debugging. Doing a lookup with a ComboBox on a form is just fine and the preferred way to do it. So it is 05:30 in the morning where you are?

  10. #25
    Grooz13 is offline Advanced Beginner
    Windows 7 Access 2007
    Join Date
    Aug 2010
    Posts
    97
    no pm ! yeah i used lookup a lot... sorry for this i didn't knew honestly I thought it was the right way to do it

  11. #26
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    It mostly just confuses the PROGRAMMER! (Like Me )

  12. #27
    Grooz13 is offline Advanced Beginner
    Windows 7 Access 2007
    Join Date
    Aug 2010
    Posts
    97
    hahaha excuse me for this then i'm trying to search on my side too and mostly it's in majcommande that i find a problems... but i can't find what it is

  13. #28
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I'm thinking maybe the DCount() is opening something each time but I commented it out and replace with =0 and no help. Did you notice the error happend *before* the OPEN event. I can't seem to get ahead of it yet.

  14. #29
    Grooz13 is offline Advanced Beginner
    Windows 7 Access 2007
    Join Date
    Aug 2010
    Posts
    97
    well I can't get past it except if I delete the weekend day.. but it doesn't solve anything... and I know that it scans and add everything fine like the date of the day and the job in the list zone except for the last 7 week day and I don't know how many weekend...

  15. #30
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I don't know why it is trying to open another Database or at least throwing that error.

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

Similar Threads

  1. Replies: 3
    Last Post: 08-03-2010, 02:24 PM
  2. open a secure database
    By ngeng4 in forum Security
    Replies: 5
    Last Post: 08-01-2010, 10:57 PM
  3. cannot open any database
    By Factor in forum Access
    Replies: 3
    Last Post: 03-24-2010, 12:51 PM
  4. Have database open automatically
    By Norman Masson in forum Access
    Replies: 6
    Last Post: 01-08-2008, 07:41 AM
  5. Open form in another database
    By Karyn-2000 in forum Forms
    Replies: 0
    Last Post: 04-19-2006, 10:17 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