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 dencom 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: *

  • Users: ice051505
  • Content: Threads
  • Order by date
  1. ice051505

    How to delete all records in crosstab query before next loop

    Hi dear all, I have a piece of code about export different queries into multiple worksheet in one excel file. The query "DivideGroup" is a crosstab query, and the data value in "DivideGroup" should change in each loop depending on the grouping factors. Now I can get my first loop right, but the...
  2. ice051505

    how to move to the next recordset and clean up the previous query by VBA

    Hi dear all, I have piece of code which is about to export different query into multiple worksheets in one excel file. Queries are made from distinct value of one recordset, I cam get the first loop successfully, but when it move to the second recordset, the result I got is the sum of two...
  3. ice051505

    IIf Function with multiple Conditions

    Hi all, I have a query with 5 field, [Country],[Province],[GroupingInfo],[City],[Area] I want to write or build a new query to have something on the [City] critiria like: IIf [City]="NoInfo" And [GroupingInfo]<=1 Then [City]=[Province], else [City] = [City] This is on the Query Sql, not on...
  4. ice051505

    Using array in VBA for store the queries

    Hi All, I am working on write Sql in VBA and I want to save this query into a array table. Since I will change my Sql later,so the array size can not be defined now. I haven't done any code with array before, can anyone give me some example or hints on how to do that? Thanks! So an example of...
  5. ice051505

    I have a multi select list box call

    I have a multi select list box called "Spc_Slc" and want to pass the selected value as criteria to the field called "Species" in my query. I don't know how to connect the code to my query without click command button, because I only want to use the query as data source to my other form. I have...

Part and Inventory Search

Back
Top