Thank you, however no joy... What am I doing wrong? (you're supposed to focus your attention to the west and figure it out! 8-)) I have another form that I am doing the same thing with and it works fine, and I don't even blank the record source. Create the cursor, bob.recordsource = 'mycursor' bob.grc1.column1.controlsource = 'mycursor.field1' and off we go... The code is the same in the new...
Interesting enough the first three columns are just fine... Am going to reduce the grid to those first three columns and start building it up one column at a time... But if anyone has any ideas I would be most interested... Regards, Desmond On 5 September 2014 02:03, Dave Crozier <[email protected]> wrote: > I presume that you have set the Recordsource for the grid to a cursor > initially so you need to set it to be " " immediately before you generate > the new sql Recordsource and then set it to be that new Recordsource after > the cursor has been created. This preserves all the column widths etc. > > Dave > > -----Original Message----- > From: ProFox [mailto:[email protected]] On Behalf Of Desmond Lloyd > Sent: 04 September 2014 23:27 > To: ProFox Email List > Subject: VFP6: Grid Column Width Issue > > Odd problem with VFP6 (yes VFP6) 8-) End of day need some help... > > Have a form with grid, approximated column widths, entered headings, > named everything.. > > in the init of the form I create the cursor for the grid, then define the > record source as the new cursor then define each control source with the > new fields.... > > Form fires and the grid displays, totally ignoring all my column widths, > the first few columns look good, but the rest are all one character > wide..... > > Yikes... What am I missing? > > > TIA, > Desmond > > > --- StripMime Report -- processed MIME parts --- multipart/alternative > text/plain (text body -- kept) > text/html > --- > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/CAAJXvaPHQQ1kGnKLbZ5=8_J9=MBHSwrPuce2ivi=0qdmv4w...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

