Skip to Content
0
Former Member
Jan 10, 2008 at 04:33 AM

please adivse

19 Views

hi

suppose i have a database table with field

Field1

Field2

Field3

Field4

Field5... till 20 field

In my program

if radio button 1 EQ X

--I am filling in field 1 , 2 , 10, 11, 12 , 19 20 which i put in a perform (F_both radio button)

--processing condition specific to radio button 1

--field 3 = xxx (other condition)

--field 4 = xxx (other condition)

--field 15 = xxx (other condition)

append internal table

endif.

if radio button 2 EQ x

--I am calling the perform F_both radio button (so as not to write the same code twice)

--processing condition specific to radio button 2

--field 3 = xxx (other condition)

--field 4 = xxx (other condition)

--field 15 = xxx (other condition)

append internal table

endif

NOte: user either choose to radio button 1 or 2

when i am filling in the field do i need to fill in the field in tha same order as my database table or can i do as code above like filling field 1, 2, 10 (found in F_both radio button)

then filling in field 3 4 15

does it cause performance issu or is ti ok what ever the order i fill in the table?