HI ALL , WILL TRY TO EXPLAIN AS SIMPLE AS POSSIBLE
SO I HAVE A USERFOM WITH 80 CONTROLS(TEXTBOXES ,COMBOBOXES ) I HAVE NAMED THEM AS "FIELD" FOLLOWED BY A NUMBER
EG. FIELD1 ,FIELD2,FIELD3 UPTO FIELD80
DATA FROM THESE FIELDS ARE ADDED TO THE DATABASE SHEET IN EXCEL BY ADD BUTTON ( I HAVE USED LOOP VBA TO ACHIEVE THIS) THIS WORKS FINE UNLESS I HAVE THE NEED TO UPDATE PREVIOUSLY ENTERED DATA
I AM LOOKING FOR A SOLUTION THAT SHOULD LOOK FOR VALUE OF FIELD1 IN DATABASE SHEET AND IF A MATCH IS FOUND IN SOME ROW , THE DATA FROM ALL CONTROLS SHOULD GO INTO ADJACENT COLUMNS OF SAME ROW (i.e. IF FOR EG. FIELD1 VALUE IS FOUND IN ROW NO4 ,THEN FIELD2 VALUE SHOULD GO IN (4,2) FIELD 3 IN (4,3) AND SO ON UPTO (4,80)
WAITING PATIENTLY FOR YOUR KIND RESPONSES
SO I HAVE A USERFOM WITH 80 CONTROLS(TEXTBOXES ,COMBOBOXES ) I HAVE NAMED THEM AS "FIELD" FOLLOWED BY A NUMBER
EG. FIELD1 ,FIELD2,FIELD3 UPTO FIELD80
DATA FROM THESE FIELDS ARE ADDED TO THE DATABASE SHEET IN EXCEL BY ADD BUTTON ( I HAVE USED LOOP VBA TO ACHIEVE THIS) THIS WORKS FINE UNLESS I HAVE THE NEED TO UPDATE PREVIOUSLY ENTERED DATA
I AM LOOKING FOR A SOLUTION THAT SHOULD LOOK FOR VALUE OF FIELD1 IN DATABASE SHEET AND IF A MATCH IS FOUND IN SOME ROW , THE DATA FROM ALL CONTROLS SHOULD GO INTO ADJACENT COLUMNS OF SAME ROW (i.e. IF FOR EG. FIELD1 VALUE IS FOUND IN ROW NO4 ,THEN FIELD2 VALUE SHOULD GO IN (4,2) FIELD 3 IN (4,3) AND SO ON UPTO (4,80)
WAITING PATIENTLY FOR YOUR KIND RESPONSES