hello guys.. 8)
same like the title,i want to ask about the C/AL code to create textboxt,label to report or form..
reason: so if i update my table then the report (the report 'sourcetable' is from the table before) will updating(field,name etc) themself...
example:something like this--->> NEW report01.textbox
thx b4
Comments
RIS Plus, LLC
well, i mean: what property(ies) do you want to change?
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
The Sourceexpression is NOT part of those properties that can be changed during runtime.
If you want to change the text displayed (because the value suddenly comes from a different table), use a variable on the form itself and assign the new value to it.
Welcome to C/AL where every variable has to be declared before runtime.
But that's just because if you write a virus or another piece of code that sucks, you can't erase your tracks.
|To-Increase|
search mibuso for showoutput, and you should get more informations.
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
this solved my question (though,is not really perfectly solved )
In this case of course every column is added through code and if you automatically would want to export all fields in a table into Excel you could use RecordRef and FieldRef variables to loop through all fields.
:thumbsup: :thumbsup: :thumbsup: :thumbsup: :thumbsup:
AMAZING...that'll perfectly solved my problem...thank u very muchh