
MAC ADRESS will be entered by the user ... Upon Clicking Search , I want the Query to be used on both Fields Marked in Red...
I am using the code below..
// add range Mac Address1
AXW_SerialNumberTable_q.dataSourceName(AXW_SerialNumberTable_ds.name())
.addRange( fieldNum(AXW_SerialNumberTable ,MainMacAddress))
.value( MacAddress.text() );
// add range Mac Address2 -51
AXW_SerialNumberTable_q.dataSourceName(AXW_SerialNumberTable_ds.name())
.addRange( fieldNum(AXW_SerialNumberTable ,SubMacAddress))
.value( MacAddress.text() );
P.S This is not Working Properly , I reckon both these blocks of code need to be written as One ..
perhaps I need to change , fieldNum..... Is there like field Range or something ...
Please help me fix the code...
*This post is locked for comments
I have the same question (0)