Feb 9, 2007 #1 jmfox2 Programmer Jan 24, 2003 7 US field value="level1/level2/level3/level4" i need to be able to create separate fields for each of the levels. field1="level1" field2="level2" field3="level3" field4="level4" thanks. used to do CR alot, 5 year lapse and I find myself a little more than rusty.
field value="level1/level2/level3/level4" i need to be able to create separate fields for each of the levels. field1="level1" field2="level2" field3="level3" field4="level4" thanks. used to do CR alot, 5 year lapse and I find myself a little more than rusty.
Feb 9, 2007 #2 synapsevampire Programmer Mar 23, 2002 20,180 US Try: split({table.field},"/")[1] Increment the 1 subscript for each additional value in the other formulas. -k Upvote 0 Downvote
Try: split({table.field},"/")[1] Increment the 1 subscript for each additional value in the other formulas. -k
Feb 9, 2007 1 #3 MrBillSC Programmer Aug 6, 2001 592 US Create a formula for each field as below: // formula @Level1 If UBound(Split({table.Levels})>= 1 then Split({ESHINFOR.DESCRIPTION})[1] else "" // formula @Level2 If UBound(Split({table.Levels})>= 2 then Split({ESHINFOR.DESCRIPTION})[2] else "" MrBill Upvote 0 Downvote
Create a formula for each field as below: // formula @Level1 If UBound(Split({table.Levels})>= 1 then Split({ESHINFOR.DESCRIPTION})[1] else "" // formula @Level2 If UBound(Split({table.Levels})>= 2 then Split({ESHINFOR.DESCRIPTION})[2] else "" MrBill
Feb 9, 2007 #4 synapsevampire Programmer Mar 23, 2002 20,180 US Correcting MrBillSC's formulas: // formula @Level1 If UBound(Split({table.Levels},"/")>= 1 then Split({ESHINFOR.DESCRIPTION},"/")[1] else "" -k Upvote 0 Downvote
Correcting MrBillSC's formulas: // formula @Level1 If UBound(Split({table.Levels},"/")>= 1 then Split({ESHINFOR.DESCRIPTION},"/")[1] else "" -k
Feb 9, 2007 #5 MrBillSC Programmer Aug 6, 2001 592 US Another correction: // formula @Level1 If UBound(Split({table.Levels},"/")>= 1 then Split({table.Levels},"/")[1] else "" // formula @Level2 If UBound(Split({table.Levels},"/")>= 2 then Split({table.Levels},"/")[2] else Upvote 0 Downvote
Another correction: // formula @Level1 If UBound(Split({table.Levels},"/")>= 1 then Split({table.Levels},"/")[1] else "" // formula @Level2 If UBound(Split({table.Levels},"/")>= 2 then Split({table.Levels},"/")[2] else