Posted: Thu May 04, 2006 4:14 am
I now have Dataface running nicely. But I need to modify the interface before allowing users access to the application. I can't figure out how to do a few things:
1. I don't want users updating records at all (for the present) using the 'Details' view. I've used a 'beforeUpdate' trigger to prevent this and to return an alert. But I'd rather turn off the 'save' form altogether. How can I do this? (I've disabled the 'actions' menu).
2. I can't figure out how to use conf.ini to control the APPLICATION array constant (as suggested in the documentation). Can you give me an example? For instance; how can I set 'hide_search' or 'hide_view_tabs' fields to 'true'.
3. Is there a way to configure the display of fields to selectively disable their display in the 'details' and the 'list' views? Or does Dataface always display all the fields?
4. How can I disable a 'tab' or create a new one that contains programmed data -- for example, I'd like to add a tab that shows statistics about the data in the table created 'on the fly' from SQL queries etc.
I'm enthusiastic about Dataface but a user rather than a programmer. My apologies in advance for pesky questions and my thanks for your help.
Peter
1. I don't want users updating records at all (for the present) using the 'Details' view. I've used a 'beforeUpdate' trigger to prevent this and to return an alert. But I'd rather turn off the 'save' form altogether. How can I do this? (I've disabled the 'actions' menu).
2. I can't figure out how to use conf.ini to control the APPLICATION array constant (as suggested in the documentation). Can you give me an example? For instance; how can I set 'hide_search' or 'hide_view_tabs' fields to 'true'.
3. Is there a way to configure the display of fields to selectively disable their display in the 'details' and the 'list' views? Or does Dataface always display all the fields?
4. How can I disable a 'tab' or create a new one that contains programmed data -- for example, I'd like to add a tab that shows statistics about the data in the table created 'on the fly' from SQL queries etc.
I'm enthusiastic about Dataface but a user rather than a programmer. My apologies in advance for pesky questions and my thanks for your help.
Peter