Ok I have searched the forum for this answer - I know its here because there was a thread that got me this far but now I can't find it.
I have a field "keylink" it's the field I created so I can do a ref integrity on the set.
I've got the keylink to work, the field rule combines 3 other fields into one with a plus sign between each field data.
"Jobnumber"+"Lineitem"+"PurchaseOrder"
ex.
07-J115+001+25681178
The purchase order and lineitem characters may vary, they could contain 3 characters or 11 from record to record.
My child record gets the keylink data correctly, now I need it to be separated into its corresponding fields in the child dbf. So Jobnumber part of field goes to the job number field, Lineitem data from the keylink goes into the lineitem field, PurchaseOrder data from the keylink goes into the PurchaseOrder field.
I have used this expression in the field rule for "JobNumber"
?word(keylink,1,+)
If I understand this expression correctly it should work as this - since keylink is the field I'm looking in, and the word I want to extract is the first word (1), and the delimiter is the + I should get just the jobnumber 07-J115 to populate the jobnumber field
Instead I can't even get that far - it's not a good expression. What "),.' am I missing?
Thanks in advance for the help. If need further info let me know.
I have a field "keylink" it's the field I created so I can do a ref integrity on the set.
I've got the keylink to work, the field rule combines 3 other fields into one with a plus sign between each field data.
"Jobnumber"+"Lineitem"+"PurchaseOrder"
ex.
07-J115+001+25681178
The purchase order and lineitem characters may vary, they could contain 3 characters or 11 from record to record.
My child record gets the keylink data correctly, now I need it to be separated into its corresponding fields in the child dbf. So Jobnumber part of field goes to the job number field, Lineitem data from the keylink goes into the lineitem field, PurchaseOrder data from the keylink goes into the PurchaseOrder field.
I have used this expression in the field rule for "JobNumber"
?word(keylink,1,+)
If I understand this expression correctly it should work as this - since keylink is the field I'm looking in, and the word I want to extract is the first word (1), and the delimiter is the + I should get just the jobnumber 07-J115 to populate the jobnumber field
Instead I can't even get that far - it's not a good expression. What "),.' am I missing?
Thanks in advance for the help. If need further info let me know.
Comment