Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. NathanStone

    @ ----> Compile Error - Argument No

    do you need the square brackets around the field names in the array? you could try removing square brackets and changing the line ... sql = "SELECT DISTINCT " & A(q) & " FROM qrySoftwareTracking" to sql = "SELECT DISTINCT [" & A(q) & "] FROM...
  2. NathanStone

    @ ----> Compile Error - Argument No

    you will have problems with both the test ... If .Fields & &quot;('&quot; & A(q) & &quot;')&quot; <> &quot;&quot; Then and the action ... Me.cboITJobNo.AddItem .Fields & &quot;('&quot; & A(q) & &quot;')&quot; try changing both lines to ... If .Fields(A(q)) <> &quot;&quot...
  3. NathanStone

    @ ----&gt; Compile Error - Argument No

    try this instead ... If .Fields(A(q)) <> &quot;&quot; Then or this ... If .Fields(A(q)).Value <> &quot;&quot; Then

Part and Inventory Search

Back
Top