Results 1 to 2 of 2

Thread: SQL Query help needed

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 1999
    Location
    Bombay,India
    Posts
    10

    Post

    Hi guys,

    i have an access table with the following fields Name,p1,p2,p3

    p1,p2,p3 are the preferences.

    a user can have an entry in the table with his name & preferences in any order.

    What i need is to fill u pa combo box with the Unique preferences from p1,p2,p3.

    repetetions cannot occur in a single row but they may occur in a column.

    Any help will be welcome.

    Regards
    Jaspal

  2. #2
    Junior Member
    Join Date
    Jun 1999
    Location
    St. Louis MO USA
    Posts
    18

    Post

    I would error check the p1,p2,p3 fields before writing the data.
    If p1 = p2 then nodatawritten
    elseif p1 = p3 then nodatawritten
    elseif p2 = p3 then nodatawritten
    else
    write data
    end if
    I don't know of a way to error check w/sql.
    Hope this helped

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width