A
alex
I have a table that look like this:
ID Opcode Date
123 Align 01/jan/06
Oil
Break
569 Align 05/jan/06
Break
Transmission
Inspection
425 Oil 04/Jan/06
etc...
I want to modifiy it with automatic macros to this:
ID Opcode Date
123 Align 01/jan/06
123 Oil 01/jan/06
123 Break 01/jan/06
569 Align 05/jan/06
569 Break 05/jan/06
569 Transmission 05/jan/06
569 Inspection 05/jan/06
425 Oil 04/Jan/06
This would be easy in excel. For examble, If ID is Colomn A, Opcode
Colomn B, i would create a C colomn and have this simple formula.
A B C
ID Opcode New ID Date
123 Align =if(A2="",C1,A2) ----) A2 = 123
Oil =if(A3="",C2,A3) -----) C2 =
123
Break =if(A4="",C3,A4) ----) C3 =
123
etc..
So it's easy in excel but excel cannot manage my database. I need to
do this in access. How could I do this?
ID Opcode Date
123 Align 01/jan/06
Oil
Break
569 Align 05/jan/06
Break
Transmission
Inspection
425 Oil 04/Jan/06
etc...
I want to modifiy it with automatic macros to this:
ID Opcode Date
123 Align 01/jan/06
123 Oil 01/jan/06
123 Break 01/jan/06
569 Align 05/jan/06
569 Break 05/jan/06
569 Transmission 05/jan/06
569 Inspection 05/jan/06
425 Oil 04/Jan/06
This would be easy in excel. For examble, If ID is Colomn A, Opcode
Colomn B, i would create a C colomn and have this simple formula.
A B C
ID Opcode New ID Date
123 Align =if(A2="",C1,A2) ----) A2 = 123
Oil =if(A3="",C2,A3) -----) C2 =
123
Break =if(A4="",C3,A4) ----) C3 =
123
etc..
So it's easy in excel but excel cannot manage my database. I need to
do this in access. How could I do this?