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. cjo9900

    Multiple expressions in a SWITCH STATEMENT

    You could set up Macros to pass to the switch which combine the two values into one. e.g. /* combine two bytes into one uint16 for compare */ #define EVENT(a,b) ((uint16)(a<<8 & b)) then call the switch with the macro switch(EVENT(*str1,*str2)) { case EVENT('B','H,): .... This we use for...
  2. cjo9900

    List of Pages in Document

    Hi eman6 I have done something similar to generate table of contents with different types of pages on each. As a way of determining the different stages I added a custom property to the sheets and then checked that when adding items to the table of contents. If the pages are different and are...
  3. cjo9900

    listbox first line selected

    Thanks this answered a problem I have been having I was trying to use this to set the selection in another listbox on the selection of a value in the first listbox LOrders.Requery If LOrders.ListCount > 0 Then LOrders.Selected(0) = True Else ORDERID = Null End If and it was failing to...

Part and Inventory Search

Back
Top