S
Steve_A
I have tried to search on this but not sure what to look for.
I have the following, I have to add the AssyPN field so it is blank
Tbl: 213
Fields: ID autonum
AssyPN text
INDN text
DetPN text
QTY text but I can change if need to do a calc
I need to populate the AssyPN filed, To do this I need to read the INDN
number then look up to find the next lower number above it then populate that
DetPN in the AssyPN field. It would look something like this
ID AssPN INDN DetPN QTY
6110 00 145T8901-802-001 1
6152 145T8901-802-001 01 100T1490-009 1
6153 100T1490-009 02 100T1490-010 1
6154 100T1490-009 02 100T1490-011 1
6156 145T8901-802-001 01 145T8750-882 1
6157 145T8750-882 02 100T1490-011 1
6158 145T8750-882 02 100T1490-013 1
6193 145T8901-802-001 01 145T8750-882 1
6194 145T8750-882 02 145T8750-053 1
6197 145T8750-882 02 145T8750-082 1
6201 145T8901-802-001 01 145T8755-032-001 1
6205 145T8901-802-001 01 145T8756-8004-001 1
6206 145T8756-8004-00 02 BACF3T01A22N7 2
6208 145T8756-8004-00 02 145T8750-027 1
6209 145T8756-8004-00 02 145T8750-028 1
6210 145T8756-8004-00 02 145T8756-004 1
6211 145T8756-8004-00 02 145T8879-001 1
I hope this makes some sense, btw this is coming off a mainframe.
Thanks for looking
I have the following, I have to add the AssyPN field so it is blank
Tbl: 213
Fields: ID autonum
AssyPN text
INDN text
DetPN text
QTY text but I can change if need to do a calc
I need to populate the AssyPN filed, To do this I need to read the INDN
number then look up to find the next lower number above it then populate that
DetPN in the AssyPN field. It would look something like this
ID AssPN INDN DetPN QTY
6110 00 145T8901-802-001 1
6152 145T8901-802-001 01 100T1490-009 1
6153 100T1490-009 02 100T1490-010 1
6154 100T1490-009 02 100T1490-011 1
6156 145T8901-802-001 01 145T8750-882 1
6157 145T8750-882 02 100T1490-011 1
6158 145T8750-882 02 100T1490-013 1
6193 145T8901-802-001 01 145T8750-882 1
6194 145T8750-882 02 145T8750-053 1
6197 145T8750-882 02 145T8750-082 1
6201 145T8901-802-001 01 145T8755-032-001 1
6205 145T8901-802-001 01 145T8756-8004-001 1
6206 145T8756-8004-00 02 BACF3T01A22N7 2
6208 145T8756-8004-00 02 145T8750-027 1
6209 145T8756-8004-00 02 145T8750-028 1
6210 145T8756-8004-00 02 145T8756-004 1
6211 145T8756-8004-00 02 145T8879-001 1
I hope this makes some sense, btw this is coming off a mainframe.
Thanks for looking