Hai friend…
-
I need the help could you please tell me the use of Isformdatasource method of table with any example?
-
And tell me how i get the modified values in the grid in form level?
eg:
i have the table with a datasource and grid when i modify the value in the grid i need to print the modified value in info method but i should not use modified field method in table level?
Please suggest me…[:S]
thanks for ur reply martin.
I have used this code in update
public void update()
{
;
if(this.isFormDataSource())
{
info(“this coming from form datasource”);
}
else
{
info(“this NOT coming from form datasource”);
}
super();
}
when i updating from table browser lever it printing
This coming from form datasource
and when i update the table from form grid level again it printing the same
This coming from form datasource
is this right that i understand the concept of isformdatasource?
What you didn’t realize is that table browser is a form too!
yes martin i got it
tell me when it set false.
from where i need to call that method to set as false
Absolutely anywhere, just don’t use a buffer that was fetched by form datasource. If you get it from a select statement, for example, it’s obviously not a form datasource.
Thank you very much martin i tried that update method in job its works martin thank u thank you very much.
Keep in touch martin
hai martin yesterday i forgot to ask about that second question what i mentioned in my post
- And tell me how i get the modified values in the grid in form level?
eg: i have the table with a datasource and grid when i modify the value in the grid i need to print the modified value in info method but i should not use modified field method in table level?
Use modified method at form data source level