Why text-fields expand when we use 'union' in a query? Get link Facebook X Pinterest Email Other Apps - March 30, 2014 Why text-fields expand when we use 'union' in a query?can we keep them non-expandable even when we use 'union'?? Get link Facebook X Pinterest Email Other Apps Comments Arun SinghMarch 30, 2014 at 4:30 PMOn 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 useADOQuery1.Fields[0].DisplayWidth:=50;orDBGrid1.Columns[0].Width :=50;But play with numbers till you get desired width. Good Luck.ReplyDeleteRepliesReplyⴰⴱⴷⴻⵔⴻⵣⴰⵇ ⵏⴰⵙⴻⵔⴷⵉⵏMarch 30, 2014 at 11:50 PMboth tables have the same field length!ReplyDeleteRepliesReplyArun SinghMarch 31, 2014 at 10:59 AMWhat about the code I gave. Did that worked?ReplyDeleteRepliesReplyⴰⴱⴷⴻⵔⴻⵣⴰⵇ ⵏⴰⵙⴻⵔⴷⵉⵏMarch 31, 2014 at 1:53 PMDBGrid1.Columns[0].Width :=50;works fine. Thank you!ReplyDeleteRepliesReplyAdd commentLoad more... Post a Comment
On my test its looking fine. Are you sure both table has same field length?
ReplyDeleteAlso 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.
both tables have the same field length!
ReplyDeleteWhat about the code I gave. Did that worked?
ReplyDeleteDBGrid1.Columns[0].Width :=50;
ReplyDeleteworks fine. Thank you!