parkmingyu
Technical User
- Oct 15, 2024
- 1
nDim1 = (ASCAN(DIMNO, ALLTRIM(m.com1), 1, -1, 1))
nDim2 = (ASCAN(DIMNO, ALLTRIM(m.com2), 1, -1, 1))
nDim3 = (ASCAN(DIMNO, ALLTRIM(m.com3), 1, -1, 1))
ThisForm.Combo2.ListIndex = nDim1
ThisForm.Combo3.ListIndex = nDim2
ThisForm.Combo4.ListIndex = nDim3
ThisForm.Combo2.ListIndex = nDim1 It works exactly
ThisForm.Combo3.ListIndex, ThisForm.Combo4.ListIndex The wrong value is entered. Is there a solution?
nDim2 = (ASCAN(DIMNO, ALLTRIM(m.com2), 1, -1, 1))
nDim3 = (ASCAN(DIMNO, ALLTRIM(m.com3), 1, -1, 1))
ThisForm.Combo2.ListIndex = nDim1
ThisForm.Combo3.ListIndex = nDim2
ThisForm.Combo4.ListIndex = nDim3
ThisForm.Combo2.ListIndex = nDim1 It works exactly
ThisForm.Combo3.ListIndex, ThisForm.Combo4.ListIndex The wrong value is entered. Is there a solution?
Last edited: