Results 1 to 6 of 6
  1. #1
    giorgospsk is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2011
    Posts
    9

    Exclamation WEB Query Not recognizing >>> [forms]![formname]![combobox]

    I have a web-db that works fine before i upload it to Sharepoint Server site.

    the structure is pretty simple:

    1 Table, 2 Forms, 2 queries.

    The first form submits the data
    The second retrieves the data,filtered by a query, which has a criteria controlled by a combobox....

    so i choose the date from the combobox, and i press a button that runs the query and after that pops up a report...

    the table has stored information about what chapters of courses have been tought every day, in a school.. (example : 2/12/2012 mathsage2 englishage4 chemistry:test1


    i use the following criteria to the query :



    =[Forms]![form that has the combobox]![combobox name]

    and its ok.

    BUT when i upload the db to the server , the following error occurs :

    Invalid reference 'forms.orderbydate.combo' in expression.


    If i updated the db without the query's criteria (the problem), i have normal access to the by the browser...


    i wish someone could help me , ive tried EVERYTHING

  2. #2
    hertfordkc is offline 18 year novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    481

    Check this reference.

    http://msdn.microsoft.com/en-us/libr...ice.11%29.aspx

    It shows the syntax as not having brackets around Forms. I've had enough mystical results from object references that I'd take off the brackets before trying anything else.

  3. #3
    giorgospsk is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2011
    Posts
    9
    thanx a lot for the reply.
    I admit i am a little bit confused with that. I have tried to change the syntax method, but it adds [ ] automatically. I am sure that the database after being published, cannot find or "see" where the [forms]![orderbydate]![combo106] is...
    i think it is not bount at all...
    is there a chance you know something about it??
    thank you again.

  4. #4
    hertfordkc is offline 18 year novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    481

    I don't have any experience in moving DB's to servers, but I'll

    ask if there was anything in the database that was linked to your machine (as opposed to being imported into the database).

  5. #5
    giorgospsk is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2011
    Posts
    9
    well how do you mean "linked to" my machine?? like what could be linked to my machine??

    sorry for my misunderstanding but english is not my mother language

  6. #6
    hertfordkc is offline 18 year novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    481

    Access can link to another database on your machine or on a network.

    That is distinctly different from a database being contained in one package. Since such linkage requires a 'path', moving the database might conceivably require updating the linkage.
    Please note that I haven't done anything like this since 1999, so this is speculation.

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

Similar Threads

  1. Database Recognizing VBA Change to Form
    By orcinus in forum Programming
    Replies: 2
    Last Post: 10-28-2011, 01:18 PM
  2. Macro not recognizing text box value
    By avarusbrightfyre in forum Access
    Replies: 1
    Last Post: 09-17-2011, 01:45 PM
  3. DLookup not recognizing valid record/type mismatch
    By walter189 in forum Programming
    Replies: 3
    Last Post: 07-21-2011, 07:03 AM
  4. Issue recognizing Excel 'ranges'
    By Captain Database ...!! in forum Import/Export Data
    Replies: 4
    Last Post: 07-18-2011, 02:22 PM
  5. forms![FormName].repaint ?
    By markjkubicki in forum Programming
    Replies: 2
    Last Post: 09-24-2010, 01:27 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