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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.