Recent content by cheekybuddha

  1. cheekybuddha

    Fast 5th Generation SSD Transfer Rate

    Frank, didn't you go through all this already a few years ago back on UA? Why fire 42 queries when you are fetching identical data in six time periods? You can do the same with a maximum of 7 queries and probably fewer. If you want help sorting out speeding this up you should provide the...
  2. cheekybuddha

    Field has no value

    I'm just curious why you need to rely on the data from the subform. Is it not already contained in the treeview? Certainly you ought to be able to get the number of clicked node's children directly, without having to perform an extra dlookup() And aren't the id's required already stored...
  3. cheekybuddha

    Code running report despite default set to not

    No he did not say to use ampersand
  4. cheekybuddha

    Query with heading and row and listing

    This is Arnel's query (using Allen Browne's ConcatRelated() ): TRANSFORM First( ConcatRelated( "TestedFor", "Table1", "DateReportDue=#" & Format([DateReportDue],"m/d/yyyy") & "# And Sample_ID = '" & [Sample_ID] & "'", "TestedFor", Chr(13) & Chr(10) ) ) AS TFor SELECT...
  5. cheekybuddha

    Query with heading and row and listing

    You will also need a group concatenation function for the output you show. @theDBguy can point you towards an example on his website.
  6. cheekybuddha

    Solved Interesting QUERY problem

    I'm not sure my logic is correct! WE need to hear from @mloucel for clarification of what is required.
  7. cheekybuddha

    Solved Interesting QUERY problem

    Can you post the full SQL of this original query?
  8. cheekybuddha

    Solved Interesting QUERY problem

    SELECT InitialDate, FN, LN, ApprovedD WHERE InitialDate >= Date() - 15 OR ( InitialDate >= Date() - 90 AND ApprovedD IS NOT NULL ) ;
  9. cheekybuddha

    Element not found

    Equally, if you have the ItemNode object, you can also do: tvw.Nodes.Remove (ItemNode.Index)
  10. cheekybuddha

    Element not found

    What are you expecting tvw.Nodes("IT" & Me.ItemID) to return?
  11. cheekybuddha

    Element not found

    Are you sure that it is actually returning the caption - how are you discovering this? Is it by hovering your mouse over the variable in break mode? If so, the intellisense may just be showing the default property of the object, all the while the actual object is being returned in the code.
  12. cheekybuddha

    Element not found

    You can try: Set ItemNode = tvw.Nodes("IT" & Me.ItemID).Object ' or Set ItemNode = tvw.Nodes.Item("IT" & Me.ItemID)
  13. cheekybuddha

    How to query db with memory array data?

    OP has gone AWOLfor the time being. I guess we'll have to wait for clarification. For an array of c.200 values, I think a temp table is still probably the best solution - you can index the values for better performance on the join (if only a subset of array values is required), and also handle...
  14. cheekybuddha

    How to query db with memory array data?

    The two can achieve much the same effect. (eg SELECT a.ID, a.Fld FROM a INNER JOIN b ON a.Fld = b.Fld ; -- will produce the same as SELECT a.ID, a.Fld FROM a WHERE a.Fld IN ( SELECT b.Fld FROM b ); -- if table b contains three records in Fld: 'a', 'b', 'c', then also...
  15. cheekybuddha

    How to query db with memory array data?

    Usually. See Section 2 in this link (last bullet point).
Back
Top Bottom