Search:

Type: Posts; User: Sam Neuner

Page 1 of 55 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: Uploading image results in corrupted image.

    The latest 19.1 version?
  2. Re: Missing documentation and examples Embedded SQL

    "Order By" is a valid SQL expression. "Select * from Customer Where State = 'NY' Order By Last_Name".
  3. Re: Uploading image results in corrupted image.

    I think this was a bug that was corrected in the latest version 19.2?
  4. Replies
    27
    Views
    630

    Re: Parent/Child View Design Question

    I modified the SaveRecord function to receive a Handle array of all changed DDs.
  5. Replies
    27
    Views
    630

    Re: Parent/Child View Design Question

    Obviously you would need to check each child object in the function. I just used two DDs in this example to keep it simple.
  6. Replies
    27
    Views
    630

    Re: Parent/Child View Design Question

    I modified the save in case the F2 is pressed:



    Procedure Request_Save
    Boolean bErr
    Integer iNo
    Handle hoDD

    Move 0 to hoDD
  7. Replies
    27
    Views
    630

    Re: Parent/Child View Design Question

    Also, if you want the child objects to use the View's Request_Save when the "Save" is executed from a child column and the Server is set in the object, you need to "Set DEO_Delegate_Mode to...
  8. Replies
    27
    Views
    630

    Re: Parent/Child View Design Question

    If neither is changed the "Save" icon is shadowed!
  9. Replies
    27
    Views
    630

    Re: Parent/Child View Design Question

    This appears to work:

    Put this code in the Main_DD:


    Function Should_Save Returns Boolean
    Boolean bShould_Save

    Forward Get Should_Save...
  10. Replies
    27
    Views
    630

    Re: Parent/Child View Design Question

    Changing the "Should_Save" to "Changed_State" works!
  11. Replies
    27
    Views
    630

    Re: Parent/Child View Design Question

    When I put this into the main (parent) DD I get an Access Violation Error as soon as the view is activated.
  12. Replies
    27
    Views
    630

    Re: Parent/Child View Design Question

    The problem is not when the "Save" is executed from a child column but from a parent column. If only a child column is changed and not a parent column, the "Save" icon is shadowed when the user is...
  13. Replies
    27
    Views
    630

    Re: Parent/Child View Design Question

    I you change the child but do not change the parent and the user happens to be in a parent column when trying to save, the "Save" icon is shadowed (but F2 works).
  14. Replies
    27
    Views
    630

    Re: Parent/Child View Design Question

    I am not "sending" the save, I am clicking on the "Save" icon. If the focus is on a column bound to the parent, the save is sent to the parent DD. The issue is how to send it to the child DD if...
  15. Replies
    27
    Views
    630

    Re: Parent/Child View Design Question

    The main issue is not sending from one child to another, but from the Parent to the Child and that is where the Reentrancy is at issue!
  16. Replies
    27
    Views
    630

    Re: Parent/Child View Design Question

    Yes you understand my issue and what you said is everything I have already stated (I think). Reentrancy is a problem if you try to send to child DDs and you are in the Parent.
  17. Replies
    27
    Views
    630

    Re: Parent/Child View Design Question

    I am not sending the Request_Save, I am clicking on the "Save" icon on the toolbar or press F2. Yes, the saves propagate up, that is what prompted my original question. The Request_Save goes to...
  18. Replies
    27
    Views
    630

    Re: Parent/Child View Design Question

    Here are the DDs (to test, I created them from scratch with nothing else added):



    Class cProjectDataDictionary is a DataDictionary

    Procedure Construct_Object
    Forward Send...
  19. Replies
    27
    Views
    630

    Re: Parent/Child View Design Question

    Yes, the relationship is working.
  20. Replies
    27
    Views
    630

    Re: Parent/Child View Design Question

    This does not work, what is wrong. When I put a stop at both saves it does not go through the oDevData_DD.



    Object oSaveTest is a dbView
    Set Location to 5 5
    Set Size to 156 290
    Set...
  21. Replies
    27
    Views
    630

    Parent/Child View Design Question

    When you have a dbView with a mix of parent and child fields on it, how do you take care of the "Saves"? If the user is on a parent column the save will be sent to the parent DD and the child does...
  22. Replies
    7
    Views
    378

    Re: Error 50: Internal Expression Error

    Why does it work without the Cast when the = is a constant "50" or an integer variable "iNumber"?
  23. Replies
    5
    Views
    467

    Re: Crosstab Suggestion

    Actually, it would be nice to have the font settings so one could set bold, typeface, color, etc.
  24. Replies
    5
    Views
    467

    Re: Crosstab Suggestion

    The only problem with that is adjusting the width of these to match the width of the crosstab.
  25. Replies
    7
    Views
    378

    Re: Error 50: Internal Expression Error

    Is this because it is a variant and it does not know the data type?
Results 1 to 25 of 1371
Page 1 of 55 1 2 3 4