Void __fastcall TForm1: : FormCreate (TObject * Sender)
{
QueryBJBM - & gt; The Open ();
QueryXSXX - & gt; RequestLive=false;
QueryXSXX - & gt; The Open ();
TableXYBM - & gt; The Open ();
ComboBoxXYBM - & gt; The Items - & gt; The Clear ();
TableXYBM - & gt; Active=true;
TableXYBM - & gt; The First ();
If (TableXYBM - & gt; Eof& & TableXYBM - & gt; Bof)
return;
while(! TableXYBM - & gt; Eof)
{
ComboBoxXYBM - & gt; The Items - & gt; Add (TableXYBM - & gt; FieldByName (" XYMC ") - & gt; AsString) are identical.
TableXYBM - & gt; The Next ();
}
ComboBoxXYBM - & gt; ItemIndex=0;
ComboBoxXYBMClick (Sender); }
CodePudding user response:
ComboBoxXYBM - & gt; Click (); Have a tryCodePudding user response:
Well, I try to ask a question:I use the desktop built four form, and then use the c + + Builder SQL Explorer to build data table alias, is a building of a table, or to have these form a synthesis and alias
CodePudding user response: