Why text-fields expand when we use 'union' in a query?

Why text-fields expand when we use 'union' in a query?
can we keep them non-expandable even when we use 'union'??

Comments

  1. On my test its looking fine. Are you sure both table has same field length?  

    Also you can set them non-expandable at run time .   Either use
    ADOQuery1.Fields[0].DisplayWidth:=50;
    or
    DBGrid1.Columns[0].Width :=50;

    But play with numbers till you get desired width. Good Luck.

    ReplyDelete
  2. What about the code I gave. Did that worked?

    ReplyDelete

Post a Comment