Swetal2004
Technical User
pt_id dept_cd Flag
110 444
110 441
110 442
110 443
111 389 Yes
111 310 Yes
111 311 Yes
111 312 Yes
112 289 Yes
112 210 Yes
112 246 Yes
112 267 Yes
113 489 Yes
113 411 Yes
113 491 Yes
113 490 Yes
In my database there are two columns as shown above. If the pt_id falls in one of (389, 289,489)dept_cd then I want flag (as shown above it the third column) each occurrence of that particular pt_id using a Crystal 8.5 formula or looping structure. Can someone help me? Thanks.
110 444
110 441
110 442
110 443
111 389 Yes
111 310 Yes
111 311 Yes
111 312 Yes
112 289 Yes
112 210 Yes
112 246 Yes
112 267 Yes
113 489 Yes
113 411 Yes
113 491 Yes
113 490 Yes
In my database there are two columns as shown above. If the pt_id falls in one of (389, 289,489)dept_cd then I want flag (as shown above it the third column) each occurrence of that particular pt_id using a Crystal 8.5 formula or looping structure. Can someone help me? Thanks.