If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
don't get me wrong, I love the macros and I have a long list what I would like to see realized. Instead of some fancy graphs. :-)
Albert, I totally agree with you. It is a tool and I would go a little bit further and say it's more a tool box and compared what else is available, a pretty good one (and nothing is perfect).
Rant mode on
It is certainly not a box of Lego blocks you somehow stick together and get a masterpiece of art, nor is it an 'eierlegende Wollmilchsau'.
Rant mode off
Try to do it on a grid 'by hand' and you understand why there is a macro for this task.
I'm using SC for two years now (popped a bottle of champagne yesterday) and never had a document variable other than F1 for a simple form, so I think it's pretty save to use.
I'm not sure but I believe having read somewhere in the documentation/samples/knowledge base referring to this variable. And if it changes some day ... yeah.
This isn't a workaround because there is nothing to work around. (nice pun isn't it?) In the end we are calling ourselves programmer, aren't we?
It is very scary to see that no one actually knows how to change a colour of a field in a form using the scriptcase application. Not even Scriptcase can tell you either! I bought the scriptcase product thinking it could help us in saving development time but now it takes more time in trying to figure out where to put what code in scriptcase for it to work. Scarier is to see the answers given by experts about the usage of scriptcase. Yes I spend one week in reading most of the posts in this forum.
Come on Scriptace - Prove me wrong on my assumption and post your code how to add colour into a field on a certain condition of a FORM not a GRID or Report. I might then use your product in future.
There is no macro for setting the attributes of form field like the sc_field_style() macro we have for grid fields.
I must not understand how the macros are used. I am trying to dynamically change the field text color. I use sc_field_color. I put it under scriptinit event. all I get is....
Fatal error: Call to undefined function sc_field_color() in C:\Program Files (x86)\NetMake\v71\wwwroot\scriptcase8\app\project6 \form_dbo_gcFRADDFranchiseeEmail\form_dbo_gcFRADDF ranchiseeEmail_apl.php on line 858
where do you put the code to change field color via a macro?