Display value of combo box in another form

i have created combo box when i click the value of combo box that value should display in other form… [moved from the title by moderator]

public boolean modified()

{

    boolean ret;

    MyTable  pele;

    ret = super();

   select pele where pepe.vall== ThaSamplestring.value();

    if(pepe)

    {

   

    }

    return ret;

}

pele is form name…pepe is table name…vall is enum field name

can any one send me the querry …

Please forget about code for a moment and tell us what business requirement are you trying to implement by your design.