Hi!I'm using Crystal 9.0,Data Access .DAT File with Dataflex connectivity.My Data is like this
ID Date Status
1 01/01/04 D
1 01/03/04 E
1 01/04/04 F
2 01/01/04 P
2 01/02/04 Q
3 01/01/04 S
I wanted to dispaly Previus staus like this
ID DATE STATUS
1 01/01/04
1 01/03/04 D(Previous)
1 01/04/04 E(Previous)
2 01/01/04 (No Previous Record So It should be blank)
2 01/01/04 P
3 01/01/04 S
(I used Previous(Status) but it gave me previous record of other unit id)
If Selection Criteria is by Date it should display only 01/01/04 data but with Previous Status.I cannot write Store Procedure or SQL Statement for this.
What I did:Create Main Report-Sub Report-Shared Variable from Main to Sub to get Previous Staus.But by some reason didnot work.I'm still thinking that there may be other way to do it.Any Idea???
Thanks
ID Date Status
1 01/01/04 D
1 01/03/04 E
1 01/04/04 F
2 01/01/04 P
2 01/02/04 Q
3 01/01/04 S
I wanted to dispaly Previus staus like this
ID DATE STATUS
1 01/01/04
1 01/03/04 D(Previous)
1 01/04/04 E(Previous)
2 01/01/04 (No Previous Record So It should be blank)
2 01/01/04 P
3 01/01/04 S
(I used Previous(Status) but it gave me previous record of other unit id)
If Selection Criteria is by Date it should display only 01/01/04 data but with Previous Status.I cannot write Store Procedure or SQL Statement for this.
What I did:Create Main Report-Sub Report-Shared Variable from Main to Sub to get Previous Staus.But by some reason didnot work.I'm still thinking that there may be other way to do it.Any Idea???
Thanks