I debug the form and I saw that the program add a column (COLUMN0) to the grid and set its controlsource to the first field of the cursor....
I'll try to programmatically remove the column but... it's not the solution i want to use anyway.
Any Ideas ?
Alessio
>I already came into this problem but I can't remember how I got rid of it .
>I have a form with a grid object inside it. The grid Object has 4 columns already formatted with their width and header caption, the first columns contains a commandbutton I use to delete the record.
>I did not set any recordsource property yet.
>When I call this form from a formset (thisformset.addobject('Myform','TheClassForm') ) I assign the recordsource to the grid and the controlsource to each of the column. The problem is that the grid has more columns, it seems like it autofit itself to show all of the field of the cursor I associate to it.
>What can I do ?
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only