Hi all,
I am new to symbian, how to update the account information using
message queary dialog.The message will be appear but not ubdated.below i given my code.pls any one help me, urgent.

RESOURCE DIALOG r_account_dlg
{
flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
buttons = R_AVKON_SOFTKEYS_BACK;
items=
{
DLG_LINE
{
type = EAknCtPopupHeadingPane;
id = EAknMessageQueryHeaderId;
control = AVKON_HEADING
{
label = "ACCOUNT";
};
},
DLG_LINE
{
type = EAknCtMessageQuery;
id = EAknMessageQueryContentId;
control = AVKON_MESSAGE_QUERY
{
message = qtn_account_info;
};
}
}; //Items end here
}
//account info
RESOURCE TBUF40 r_accountinfo_formatstring_selection
{
buf = qtn_accountinfo_formatstring_selection;
}

case EAptvAccountInfo:
{
TBuf<50> line1;
TBuf<50> format;
TUint32 iBytes;
line1.Format(format,iBytes);
iCoeEnv->ReadResource( format, R_ACCOUNTINFO_FORMATSTRING_SELECTION );
iBytes=iDocument->Model()->GetAccountStatus();
CAknMessageQueryDialog* dlg = new (ELeave) CAknMessageQueryDialog;
dlg->ExecuteLD( R_ACCOUNT_DLG );


break;
}