7 Replies - 1802 Views - Last Post: 05 January 2012 - 03:18 AM

Topic Sponsor:

#1 giorgospsk  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 31-December 11

Cant get "SELECT DISTINCT"to work, in access WEB database

Posted 31 December 2011 - 05:50 AM

Hello
. I am working on an Access 2010 WEB-enabled database.
I have a table that stores dates, names (of the students) and courses (that the particular student missed, because of apcence) i created a query, so i can recall specific dates' apcence. i choose the available dates from a combobox, but the only thing i dont want is the duplicate values in that combobox. for example if,
on 12/23 there where 3 students not present, the combobox will show three times 12/23.

To avoid duplicates i have to use the SELECT DISTINCT and this is what i do. It actually works locally, but when i publish the database on my sharepoint site, it returns the following:
Access was unable to convert the query for use on the Web because it uses an unsupported query type, unsupported expressions, unsupported criteria, or other features that are not supported on the Web.

There is obviously something wrong about the SELECT DISTINCT, while working on sharepoint (web)

can you advice me??
thank you

Is This A Good Question/Topic? 0
  • +

Replies To: Cant get "SELECT DISTINCT"to work, in access WEB database

#2 Ionut  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 327
  • View blog
  • Posts: 914
  • Joined: 17-July 10

Re: Cant get "SELECT DISTINCT"to work, in access WEB database

Posted 31 December 2011 - 05:57 AM

Can you post the query?
Was This Post Helpful? 0
  • +
  • -

#3 giorgospsk  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 31-December 11

Re: Cant get "SELECT DISTINCT"to work, in access WEB database

Posted 31 December 2011 - 10:19 AM

Yes ofcourse.

i am posting you a very simple db, as an exmaple.
you will see instruction IN the form.
it is very easy..

just check out "search combobox" form..

the name of the db is database21 and the compression is done with WinZip.



thank you in advance
Was This Post Helpful? 0
  • +
  • -

#4 giorgospsk  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 31-December 11

Re: Cant get "SELECT DISTINCT"to work, in access WEB database

Posted 31 December 2011 - 11:45 AM

i think i didnt attach it before..sorry

Attached File(s)


Was This Post Helpful? 0
  • +
  • -

#5 Ionut  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 327
  • View blog
  • Posts: 914
  • Joined: 17-July 10

Re: Cant get "SELECT DISTINCT"to work, in access WEB database

Posted 02 January 2012 - 08:06 AM

I looked into your database and it seems that indeed Access has some problems with "Distinct" keyword. After a small research, I cannot give you any other piece of advice than trying to populate that combobox through a web macro and VBA. A google search will bring you some useful tips and code examples on this topic.
Was This Post Helpful? 0
  • +
  • -

#6 giorgospsk  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 31-December 11

Re: Cant get "SELECT DISTINCT"to work, in access WEB database

Posted 02 January 2012 - 08:13 AM

thank you ofcourse for your time.

The problem is i know nothing about VB or macros (except the ones access 2010 contains)
so i dont really know where to look for the solution you descrribed me before

i also want to tell you that i have another simple webDB, that was made, as an example to solve a similar problem.

Should i post it so you check it?
Was This Post Helpful? 0
  • +
  • -

#7 Ionut  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 327
  • View blog
  • Posts: 914
  • Joined: 17-July 10

Re: Cant get "SELECT DISTINCT"to work, in access WEB database

Posted 04 January 2012 - 04:36 PM

Quote

The problem is i know nothing about VB or macros (except the ones access 2010 contains)
so i dont really know where to look for the solution you descrribed me before

Unfortunetely, I don't have any other solution.

Quote

i also want to tell you that i have another simple webDB, that was made, as an example to solve a similar problem.

Should i post it so you check it?

Yes
Was This Post Helpful? 0
  • +
  • -

#8 giorgospsk  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 31-December 11

Re: Cant get "SELECT DISTINCT"to work, in access WEB database

Posted 05 January 2012 - 03:18 AM

Soory for posting it with latancy..

Attached File(s)


Was This Post Helpful? 0
  • +
  • -

Page 1 of 1