At 01:52 AM 6/2/2005, Javier Valencia wrote:
R:azzak: When I use the command: PROPERTY RBASE_FORM ENABLED 'FALSE' Nothing works and I cannot even navigate through the form tabs...I had to CTRL-ALT-DEL to get out. I simply want the capability to make the form not editable but I still want to keep the functionality of being able to navigate through the form...
Javier, There is no problem on this end! What version and build of R:BASE 7.1 for Windows are you using? The latest updates of R:BASE 7.1 for Windows are available at: http://www.rbase.com/rbg7updates FYI, the PROPERTY RBASE_FORM ENABLED 'FALSE' command will make the "entire" form non-editable. You'll need to use the [Esc] or [x] to close the form when using that PROPERTY command. Very Best R:egards, Razzak. At 12:25 AM 6/2/2005, Javier Valencia wrote:
>I really like being able to have all the form code contained within the form, >it is particularly helpful when upgrading version as the new form file has >all the support code. There is one place, Table Settings, that still requires >external EEPs such as "After Saving row;" has anyone figure out a way to >do this from an internal EEP? Can a Custom Action be called from this >location? It would sure be nice to have the capability to save the EEPs in >this section with the form. I can probably use a stored procedure but it >would defeat the purpose of having all the code within the form. Javier, Did you know that R:BASE 7.5 for Windows, includes that feature? http://www.rbase.com/rbg75 Here's how: 01. Start RBG75 02. Form Designer |Main Menu |Tables | Add Remove Tables... Table Settings ... Notice the "Custom" EEP options for: . On Row Entry . On Row Exit . After Saving Row . After Leaving Row 03. For a sample form to demonstrate this feature: Start RBG75 CONNect to RRBYW10 Database Explorer | Forms | SalesTransaction | Design Form Designer |Main Menu |Tables | Add Remove Tables... Notice the "Custom" EEP defined as "On Row Entry" >Next question, is there a PROPERTY option that would change the status of >a form >from EDIT to BROWSE from within the form? What I want to do is call the form: >EDIT USING my_form WHERE my_condition >And on then from the "On Before Start EEP" or "On After Start EEP" check >the user >privilege and if necessary change the status to BROWSE so only viewing and no >editing is allowed. Here's how: PROPERTY RBASE_FORM ENABLED 'FALSE' RETURN That will take care of everything! For complete details and more options, refer to R:Docs! Enjoy and make sure to have fun! Very Best R:egards, Razzak. --- RBG7-L ================================================ TO POST A MESSAGE TO ALL MEMBERS: Send a plain text email to [email protected] (Don't use any of these words as your Subject: INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH, REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP) ================================================ TO SEE MESSAGE POSTING GUIDELINES: Send a plain text email to [email protected] In the message SUBJECT, put just one word: INTRO ================================================ TO UNSUBSCRIBE: Send a plain text email to [email protected] In the message SUBJECT, put just one word: UNSUBSCRIBE ================================================ TO SEARCH ARCHIVES: Send a plain text email to [email protected] In the message SUBJECT, put just one word: SEARCH-n (where n is the number of days). In the message body, place any text to search for. ================================================
