drop down box.Help needed badly
i am doing automation using macro, forms, query.
I have an excel sheet with 60,000 rows and 20 columns.
I linked this with access. I queried for particular manager="RANJIT", particular date in table. Then i sorted the SR (its one field in table). Output looks like this
SR MANAGER EMPLOYEE DATE HOURS
12 RANJIT VIDHYA 10/12/07 10
12 RANJIT LAkSME 10/12/07 5
12 RANJIT ARUN 10/12/07 6
12 RANJIT PAD 10/12/07 7
14 RANJIT MANO 10/12/07 4
14 RANJIT SRI 10/12/07 3
14 RANJIT SUR 10/12/07 8
SO ON.........................
I created a macro which will refresh the excel sheet (linked table manager) then it will query, finally transfer it into excel sheet (output to).
Now what i want is? i want a drop down box (displaying 1. management
2. Analysis
3. FP)
in form, so that after querying, for each record it should ask the user to select from the drop down box.
example:
SR MANAGER EMPLOYEE DATE TYPE HOURS
12 RANJIT VIDHYA 10/12/07 management 10
12 RANJIT LAkSME 10/12/07 FP 18
12 RANJIT ARUN 10/12/07 Fp 18
12 RANJIT PAD 10/12/07 FP 18
14 RANJIT MANO 10/12/07 FP 7
14 RANJIT SRI 10/12/07 FP 7
14 RANJIT SUR 10/12/07 ANALYSIS 8
after i selected one type for each record it should add the hours corresponding to type. I want the output excel sheet after querying, should be like the above table. Now i have the output as that of first table.
I have written the query in SQL view in ms access.
Help needed badly. Thanks for your time. Your help is highly appreciated.
vidhya
|