Why ?
Instead of a cursor, could you use a SET FILTER TO on the base table?
later today, we'll try to send you a link to beta 4 which supports changing .recordSource at runtime
keep in mind that at runtime the paged grid container takes the name of the original grid so your code should use the grid name just as if the container did not exist.
I am trying to use paged grid but i have a problem. If in my form a make a query in form.load() and i set grid.recordsource with the query's result in the grid property form it works. If i start my form and i make the query in the form.init() (i have some parameters that i receive in the form.init()) and at the end of my select i set all grid's property at runtime (grid.recordsource and column.controlsource) for each grid's column i can seee data but they are not paged.......i see all selected records.....
Why ?
-- thn (FoxInCloud)
When i use my app in production mode i have an error when the class tries to change the name property of an object ....probably when you try to change the container's name......
If the container's name is changed i have to use it with the name of the grid...is it correct ?
Ciao Michele,
Instead of a cursor, could you use a SET FILTER TO on the base table?
later today, we'll try to send you a link to beta 4 which supports changing .recordSource at runtime
keep in mind that at runtime the paged grid container takes the name of the original grid so your code should use the grid name just as if the container did not exist.
I am trying to use paged grid but i have a problem. If in my form a make a query in form.load() and i set grid.recordsource with the query's result in the grid property form it works. If i start my form and i make the query in the form.init() (i have some parameters that i receive in the form.init()) and at the end of my select i set all grid's property at runtime (grid.recordsource and column.controlsource) for each grid's column i can seee data but they are not paged.......i see all selected records.....
Why ?
which error?
right
your code in other object referring to the grid should not change
please review http://foxincloud.com/tutotest/wFormStandardPage.tuto?awForm=pagedGrid.scx
No i can't use a SET FILTER to......My query is too complex. I can wait your update.....
When i use my app in production mode i have an error when the class tries to change the name property of an object ....probably when you try to change the container's name......
If the container's name is changed i have to use it with the name of the grid...is it correct ?
Ciao Michele,
Instead of a cursor, could you use a SET FILTER TO on the base table?
later today, we'll try to send you a link to beta 4 which supports changing .recordSource at runtime
keep in mind that at runtime the paged grid container takes the name of the original grid so your code should use the grid name just as if the container did not exist.
I am trying to use paged grid but i have a problem. If in my form a make a query in form.load() and i set grid.recordsource with the query's result in the grid property form it works. If i start my form and i make the query in the form.init() (i have some parameters that i receive in the form.init()) and at the end of my select i set all grid's property at runtime (grid.recordsource and column.controlsource) for each grid's column i can seee data but they are not paged.......i see all selected records.....
Why ?
-- thn (FoxInCloud)
which error?
right
your code in other object referring to the grid should not change
please review http://foxincloud.com/tutotest/wFormStandardPage.tuto?awForm=pagedGrid.scx
No i can't use a SET FILTER to......My query is too complex. I can wait your update.....
When i use my app in production mode i have an error when the class tries to change the name property of an object ....probably when you try to change the container's name......
If the container's name is changed i have to use it with the name of the grid...is it correct ?
Ciao Michele,
Instead of a cursor, could you use a SET FILTER TO on the base table?
later today, we'll try to send you a link to beta 4 which supports changing .recordSource at runtime
keep in mind that at runtime the paged grid container takes the name of the original grid so your code should use the grid name just as if the container did not exist.
I am trying to use paged grid but i have a problem. If in my form a make a query in form.load() and i set grid.recordsource with the query's result in the grid property form it works. If i start my form and i make the query in the form.init() (i have some parameters that i receive in the form.init()) and at the end of my select i set all grid's property at runtime (grid.recordsource and column.controlsource) for each grid's column i can seee data but they are not paged.......i see all selected records.....
Why ?
Name Property (Visual FoxPro)
Specifies the name used to reference an object in code. Available at design time; read/write at run time
The error i receive is that the Name property is readonly...
which error?
right
your code in other object referring to the grid should not change
please review http://foxincloud.com/tutotest/wFormStandardPage.tuto?awForm=pagedGrid.scx
No i can't use a SET FILTER to......My query is too complex. I can wait your update.....
When i use my app in production mode i have an error when the class tries to change the name property of an object ....probably when you try to change the container's name......
If the container's name is changed i have to use it with the name of the grid...is it correct ?
Ciao Michele,
Instead of a cursor, could you use a SET FILTER TO on the base table?
later today, we'll try to send you a link to beta 4 which supports changing .recordSource at runtime
keep in mind that at runtime the paged grid container takes the name of the original grid so your code should use the grid name just as if the container did not exist.
I am trying to use paged grid but i have a problem. If in my form a make a query in form.load() and i set grid.recordsource with the query's result in the grid property form it works. If i start my form and i make the query in the form.init() (i have some parameters that i receive in the form.init()) and at the end of my select i set all grid's property at runtime (grid.recordsource and column.controlsource) for each grid's column i can seee data but they are not paged.......i see all selected records.....
Why ?
-- thn (FoxInCloud)