MarshallB
Well Known Member
Hello,
I want to compare the values of a math numeric data structure member in a business function,(this is within BSFN B4201070 FYI).
What I want is:
if((lpDS->mnUnitsTransactionQty) != (lpDS->mnUnitsQuantityShipped));
{
//Do Someting
else
//Do Something else
}
When I attempt to build the above I get an "error C2088: '!=':illegal for struct" (thats true for any operator '<','>' etc...not just !=).
Again, I want to compare the values, not the pointer reference. I just don't have a good enough understanding to format this properly.
For example in my case UnitsTransactionQuantity = 10 UnitsQuantityShipped = 5.
Thanks for any suggestions.
Marshall Baird
E1 9.1 tools 9.1.0.3
Windows 7 64 bit
SQL 2008 R2
I want to compare the values of a math numeric data structure member in a business function,(this is within BSFN B4201070 FYI).
What I want is:
if((lpDS->mnUnitsTransactionQty) != (lpDS->mnUnitsQuantityShipped));
{
//Do Someting
else
//Do Something else
}
When I attempt to build the above I get an "error C2088: '!=':illegal for struct" (thats true for any operator '<','>' etc...not just !=).
Again, I want to compare the values, not the pointer reference. I just don't have a good enough understanding to format this properly.
For example in my case UnitsTransactionQuantity = 10 UnitsQuantityShipped = 5.
Thanks for any suggestions.
Marshall Baird
E1 9.1 tools 9.1.0.3
Windows 7 64 bit
SQL 2008 R2