make sure # 4 is correctly set when you make the new link to the existing form.Īgain, writing this for any SC user in the future who has run aground and needs a lifeline. The problem is when you might link to the same form from multiple grids. Number 4 above is usually not an issue if you create a batch of grid and form app at same time. If you don’t have that set correctly, then the form won t have certain buttons, and the grid might be missing the New button. In the grid app, make sure you have all the buttons you want checked, including the new button:ĭisplay button (new row) on the grid toolbar YesĮnable insert button on target application Yes Another trickier place to check is the LINK that is being used to open a form up from a grid.If you have update off, then it won t show up regardless of the permissions. Sc_btn_display(‘update’, ‘off’) // save a change Sc_btn_display(‘delete’, ‘off’) // delete a record (NOT ALLOWED) Sc_btn_display(‘new’, ‘off’) // add a new record In your onload event, make sure you didn’t turn a button ‘off’ for your user (group level).If it is in the left, then it is effectively impossible to see it, regardless of permissions. Back in the SC IDE, in a specific app, make sure that you actually have the form buttons option in the toolbar over the right hand side.This is how a certain set of permission is passed to each app when you use group level security. You might have unchecked the access, update or other option for a specific app. Then check the group / applications option in the system menu when you log in as admin. Check the Security setting on the left menu of the app, and then make sure it was synched.With multiple ways, it is pretty easy, even for a SC veteran like me, to get twisted around a bit. There are multiple ways the form buttons (like insert, update, delete) can be controlled. Hopefully this might help someone in the future (possibly myself LOL). I just wanted to leave a little note, since I encountered this again myself…and I eventually figured out the issue. Personally I would like to be able to add/remove each button on every single App manually and have full control on the code BEFORE/AFTER it is clicked/hovered etc. Opened Toolbar for the grid and added “Form Buttons” manually.Generated, run - NO NEW BUTTON (so no way to add record).On the form App I double checked to select SHOW NEW BUTTON on the grid When run it showed all records properly (but because there was no edit form linked it did not show NW button. I generated single grid App as a parent to the form.I kept the form (it is quite complex with child records etc) so I cannot spent entire day to recreate a form.I removed old grid with the missing NEW button.The GIU suggestion does not seem to be a solution as this is simply some kind of really hard to figure out bug and this issue is known for more than 2 years. I will be happy if somebody has some workaround. So far the only solution that I know of was re-creating the same App from scratch. Yes we can create custom buttons etc but then we missing certain features and everything has to be hand coded which is non-sense. Not saying that we have almost no control on single buttons created by SC. I think that the whole concept of creating INSERT/UPDATE/DELETE buttons is screwed up in SC and needs to be completely redesigned. This solved the issue for some time but recently it came back. After discovering this I changed the behavior and any MOVE or COPY operation I immediately generated Apps. I discovered that this was happening to me only when I copied one GRID App into another then did not regenerate the code (for the newly copied App). I have reported this problem about 2 years ago first time and after last update I was hoping this is somehow resolved. This is an on going problem with buttons missing.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |