Search:

Type: Posts; User: Alberto Gutiérrez Arroyo

Page 1 of 11 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: cWebMultiSelectList: Manual load data and default selection indicator column

    Thanks Bram, for now I just need to do this in a view so I can use this workaround. I hope we can get this feature in a future DataFlex release!
  2. Re: Long WebApp report - timeout issue

    Mike, this is impressive, very neat. Can you handle arrays as parameters using this approach? Let's suppose you have a customer report where you want to print customers from City A, City F and City...
  3. cWebMultiSelectList: Manual load data and default selection indicator column

    I have a cWebMultiSelectList with a cWebColumnSelectionIndicator. That list is manually loaded (OnManualLoadData event). Right now, every record is not selected in that column. I would like those...
  4. Re: Long WebApp report - timeout issue

    Mike, this is really interesting. May I ask how are you storing parameters in that table? Every report might have a different number of parameters (different types). I haven't had good results adding...
  5. Re: Long WebApp report - timeout issue

    Vincent, we have some large reports that usually take around 15-20 seconds, which is not that bad. But under some circumstances or with bigger datasets can take longer, and we can get those timeout...
  6. Re: Screen location of a WebModalDialog

    Bengt, if you get the "Web property system is not ready" you have probably used a WebSet/WebGet before the web app is initialized. You should use those instructions inside procedures/functions that...
  7. Re: Updating values when creating new records

    Arnold, I used this approach. When Which_Data_Set returns 0 I will display an error (Program), as this is a programming error. This should prevent future issues.
  8. Re: Same as ShowLn (String(variablle) in a WebApp

    If you need to print a line (debugging purposes), you can use the ClientLog function. It will be displayed in the browser console (F12). I would advise to disable this kind of messages on production...
  9. Re: Updating values when creating new records

    That's a good point of view. However that code would not raise any errors as far as I know (it would read a wrong buffer value, no error should arise and wrong data will be saved). This is what I...
  10. Re: Updating values when creating new records

    I'll take a look at this, thank you Peter!
  11. Re: Updating values when creating new records

    No, the parent table is always loaded and present in the structure. No orphan rows are created. That code works but I consider it a bit "unsafe" (if other developer modifies the structure in a new...
  12. Updating values when creating new records

    I would like to save some values on a table when creating a new record (DataDictionary). These values would be obtained from a parent table. However I want to implement it in the DD class, not in the...
  13. Re: Correct Validate_Save implementation

    Thank you for your suggestions Vincent, this was just an example but I will move those blank validations to Field_Validate_msg type functions if I find them in my the code. I'll take a look at the...
  14. Re: Correct Validate_Save implementation

    Sture, I had added a Find in the Creating event to do some tests and I forgot to remove it. The session manager is fine :)
  15. Re: Correct Validate_Save implementation

    Well it seems I did something wrong. I was doing some tests and I left a Find eq in the "Creating" event, this was messing with the buffer. The session manager was not the problem. So far, clearing...
  16. Correct Validate_Save implementation

    I have recently added some changes to my SessionManager so that every single file buffer is cleared (I haven't seen session contamination issues yet but this should help in case wrong code is written...
  17. Replies
    31
    Views
    1,400

    Re: BusinessProcess & WebApp's

    Then something might be wrong in that validation. If you comment those begin/end_transaction lines, can you see the error that is thrown? Perhaps a random DataDictionary in that structure has a line...
  18. Replies
    31
    Views
    1,400

    Re: BusinessProcess & WebApp's

    Have you taken a look at StatusdbLog and StatusASCIILog? You can write whatever you need to a text file (trace) or a embedded database table (StatLog) using those components. This will allow you to...
  19. Opening a cWebView in a new tab and in current tab

    Hello, I would like to improve some components my application uses.

    I have a button that opens a cWebView when clicked. This is the code it uses to open the view:


    Procedure OnClick String sId...
  20. Re: Adding a cWebContextMenu to cWebHtmlBox

    Bram,

    This worked exactly as I needed. I think it would be great to add some more examples to docs. This is an example of what I did.



    Object oWebContextMenuMenuOptions is a cWebContextMenu...
  21. Replies
    7
    Views
    534

    Re: Chilkat without voice

    Edgar, that Chilkat function (GetBodyJson) was introduced in version 9.5.0.89. Do you have that version or a newer one (DLL)? If you had an older DLL previously you need to generate again your...
  22. Re: Adding a cWebContextMenu to cWebHtmlBox

    Hi Bram,
    Let's say we want to create a common "copy/cut/paste" context menu and we would like to reuse that menu in many components, including (but not limited to) dynamic objects. Is it possible to...
  23. Adding a cWebContextMenu to cWebHtmlBox

    I would like to add a cWebContextMenu to a cWebHtmlBox class so that a menu is displayed when right-clicking that html box. That menu will have those classic "Edit", "Delete", "Options..." buttons....
  24. Strange layout when using pbFillHeight

    I have found something interesting:

    When a cWebTabContainer is defined in a cWebModalDialog and the property pbFillHeight is enabled, something weird will happen. I guess the proper height is not...
  25. cWebMultiSelectList: Limit max number of selected items

    Hello, I need to modify a multi selection list so that only a number of elements can be selected. Right now I can only warn the user of the max amount of elements and discard extra elements once the...
Results 1 to 25 of 252
Page 1 of 11 1 2 3 4