janos.lazar
Programmer
Hi all,
I use Visual Foxpro 9.0, SP2 for a while.
I have to use it for maintaining a program that is developed in VFP 9.0., and a VFP database container.
The Database Container contains remote views to tables of an Access database (.mdb).
I added some new columns to a table in the Access database. Then I also added these columns to the remote view in the '.dbc' file. When i did so, i could choose the newly added colunmns into the "selected columns list" without any problem. I also checked that the columns have the same update settings as others have.
I want to use these new columns in an existing grid on a form. I added new columns to the grid, by setting the grid's ColumnCount property in the designer.
My problem is, when I open the form in the designer, and i'm trying to set the new columns' controlsource, I can't choose the newly added columns of the remote view from the dropdown list of the 'Properties' tab,neither can i see them in the Expression Builder window as choosable fields.
I feel like if the designer disregarded that the '.dbc' file had been changed.
The name of the '.dbc' file has remained the same, the name of the remote view also, it just has been added some new columns.
Please answer the following question:
How can I tell the designer to refresh the grid's recordsource to the changed remote view in the changed '.dbc', so that the newly added columns can be choosen as a controlsource for the grid's columns?
I noticed that when i run the compiled exe and i open the form i get the following error message:
'Error loading file - record number 73. (grid name here) <or one of its members>. ControlSource : Variable '(the name of a newly added column of the remote view stands here)' is not found'
Thank you for your help
janos.lazar
I use Visual Foxpro 9.0, SP2 for a while.
I have to use it for maintaining a program that is developed in VFP 9.0., and a VFP database container.
The Database Container contains remote views to tables of an Access database (.mdb).
I added some new columns to a table in the Access database. Then I also added these columns to the remote view in the '.dbc' file. When i did so, i could choose the newly added colunmns into the "selected columns list" without any problem. I also checked that the columns have the same update settings as others have.
I want to use these new columns in an existing grid on a form. I added new columns to the grid, by setting the grid's ColumnCount property in the designer.
My problem is, when I open the form in the designer, and i'm trying to set the new columns' controlsource, I can't choose the newly added columns of the remote view from the dropdown list of the 'Properties' tab,neither can i see them in the Expression Builder window as choosable fields.
I feel like if the designer disregarded that the '.dbc' file had been changed.
The name of the '.dbc' file has remained the same, the name of the remote view also, it just has been added some new columns.
Please answer the following question:
How can I tell the designer to refresh the grid's recordsource to the changed remote view in the changed '.dbc', so that the newly added columns can be choosen as a controlsource for the grid's columns?
I noticed that when i run the compiled exe and i open the form i get the following error message:
'Error loading file - record number 73. (grid name here) <or one of its members>. ControlSource : Variable '(the name of a newly added column of the remote view stands here)' is not found'
Thank you for your help
janos.lazar