Search results

  1. R

    missing syntax error

    Great thank you
  2. R

    missing syntax error

    Thank you Pbaldy. like I said just starting to learn VBA. Do you know of any good sites for beginners to learn.
  3. R

    missing syntax error

    was just working with the cboActors to see what syntax was missing
  4. R

    missing syntax error

    sorry thought it was in that part of the function. here's the full function i'm working with Dim myActors, myCategories, myGender, myYear As String Dim task1, task2, strCriteria, strCriteria2 As String If IsNull(Me.cboActors) Then myActors = "[ActorsID] like '*'" Else myActors = "[ActorsID] =...
  5. R

    missing syntax error

    I'm starting to learn VBA. Can someone please help with this. If IsNull(Me.cboActors) Then myActors = "[ActorsID] like '*'" Else myActors = "[ActorsID] = " & Me.cboActors End If It's telling me I have a missing operator '[ActorsID] = 14 andand'
  6. R

    concatenation query

    ok go it to work. thank you pbaldy for your help here's the query. SELECT qryMerge.FileName, ConcatRelated("Categories","qryMerge","ClipID = " & [ClipID] & " AND ActorsID = " & [ActorsID]) AS Categories FROM qryMerge GROUP BY qryMerge.FileName, ConcatRelated("Categories","qryMerge","ClipID = "...
  7. R

    concatenation query

    ok I attached the database. i'm sorry for being such a pain.
  8. R

    concatenation query

    SELECT qryMerge.FileName, ConcatRelated("Categories","qryMerge","ClipID = " & [ClipID] & " AND ActorsID = " & [ActorsID]) AS Categories FROM qryMerge GROUP BY qryMerge.FileName ok for some reason it's not liking the GROUP BY. It still says LEVEL clause includes a reserved word or argument name...
  9. R

    concatenation query

    again thanks pbaldy for you quick response but something is still not right. it saying the LEVEL clause includes a reserved word or argument name that is misspelled or missing or the punctuation in incorrect.
  10. R

    concatenation query

    SELECT qryMerge.FileName, qryMerge.Length, ConcatRelated("Categories","qryMerge","ClipID = " & [ClipID] & " AND ActorsID = " & [ActorsID]) AS Categories GROUP BY qryMerge.FileName, qryMerge.Length FROM qryMerge; tried this but tells me this. The SELECT statement includes a reserved word or...
  11. R

    concatenation query

    thanks pbaldy for the quick reply. Yes i'm trying to filter on two field it concatenates the categories field. before : forrest gump comedy forrest gump romance Now: forrest gump comedy,romance forrest gump comedy,romance would like: forrest gump comedy,romance
  12. R

    concatenation query

    Hello All I'm trying to make a cocatenation query using Allen Browne's function. I can't post the link as this is my first post sorry. The query is this SELECT qryMerge.FileName, qryMerge.Length, ConcatRelated("Categories","qryMerge","ClipID = " & [ClipID],"ActorsID = " & [ActorsID]) AS...
Back
Top Bottom