janak vyas
Technical User
WE HAVE A PROGRAM OF PAYROLL WRITTEN IN VISUAL FOX PRO WHERE IN WE HAVE A FEATURE TO CALCULATE ARREARS OF EMPLOYEES.
WE INPUT THE STARTING MONTH AND THE END MONTH FROM WHICH WE WANT TO CALCULATE THE ARREARS, WE THEN INPUT EMPLOYEE CODE -> IT SEARCHES THE EMPLOYEE DATABASE FOR EVERY MONTH AND GET HIS/HER SALARY AND CALCULATES THE DIFFERENCE AND PUTS THE AMOUNT IN ANOTHER DBF FILE.
THERE ARE FOUR DATABASE, XYZ WHICH HAS ITEM CODES SO DOES A,B,C HAVE ITEM CODES
WE HAVE TO COMPARE VALUE OF DB XYZ WITH A, B AND C
WHEN IT COMPARE IT ONLY COMPARES ONE ITEM. DOES NOT ITERATE THROUGH EVERY ITEM IN THAT DB.
IS THERE ANY WAY THAT WE CAN ITERATE WITH EVERY ITEM ?
( APOLOGIES AS I AM NOT ABLE TO EXPLAIN EXACTLY AS ENGLISH IS NOT MY FIRST LANGUAGE )
I WOULD SURELY HELP IN EXPLAINING IF YOU WERE NOT ABLE TO UNDERSTAND.
WE INPUT THE STARTING MONTH AND THE END MONTH FROM WHICH WE WANT TO CALCULATE THE ARREARS, WE THEN INPUT EMPLOYEE CODE -> IT SEARCHES THE EMPLOYEE DATABASE FOR EVERY MONTH AND GET HIS/HER SALARY AND CALCULATES THE DIFFERENCE AND PUTS THE AMOUNT IN ANOTHER DBF FILE.
THERE ARE FOUR DATABASE, XYZ WHICH HAS ITEM CODES SO DOES A,B,C HAVE ITEM CODES
WE HAVE TO COMPARE VALUE OF DB XYZ WITH A, B AND C
WHEN IT COMPARE IT ONLY COMPARES ONE ITEM. DOES NOT ITERATE THROUGH EVERY ITEM IN THAT DB.
IS THERE ANY WAY THAT WE CAN ITERATE WITH EVERY ITEM ?
( APOLOGIES AS I AM NOT ABLE TO EXPLAIN EXACTLY AS ENGLISH IS NOT MY FIRST LANGUAGE )
I WOULD SURELY HELP IN EXPLAINING IF YOU WERE NOT ABLE TO UNDERSTAND.