Search:

Type: Posts; User: Bengt

Page 1 of 29 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: Error 4140, related records exist. How to find them

    How can Validate_Cascade_Delete be used to find the record that is blocking the deletion? I tried to put the Validate_Cascade_Delete function in customer klass DD, but it wasn't executed. Then i...
  2. Error 4140, related records exist. How to find them

    Is there simple way to find out which records are blocking the deletion? I made a program that checks all files I could thing of, but obviously there are more.

    Sometimes blank records are created...
  3. Replies
    13
    Views
    561

    Re: Jumping over rows in an oCJGrid

    Re-directing a mouse click seems to be a complicated thing in CJGrids. Is there any description or examples of how to do this in DataFlex? In the old grids, it was so easy to do that in Item_Change.
  4. Replies
    13
    Views
    561

    Re: Jumping over rows in an oCJGrid

    Is it possible to use the below procedure in some way to change focus?

    Procedure OnComFocusChanging Variant llNewRow Variant llNewColumn Variant llNewItem Boolean ByRef llCancel


    llNewRow...
  5. Replies
    13
    Views
    561

    Re: Jumping over rows in an oCJGrid

    There are OnExit and OnExiting, but neither of them has from and to objects. I cannot se any way to cancel a mouse click in the CJGrid.
  6. Replies
    13
    Views
    561

    Re: Jumping over rows in an oCJGrid

    Jumping over rows which shall be disabled can be handled in CanNavigateIntoColumn when Tab and Enter are pressed. When up and down navigation keys are used, rows can be skiped in the MoveKeyUp and...
  7. Replies
    13
    Views
    561

    Re: Jumping over rows in an oCJGrid

    Isn't Refresh an event only i dbCJgrids? Refresh isn't called if I put the procedure in an non-dbGrid.
  8. Replies
    13
    Views
    561

    Re: Jumping over rows in an oCJGrid

    *
  9. Replies
    13
    Views
    561

    Re: Jumping over rows in an oCJGrid

    I tried with the code below:


    Function CanNavigateIntoColumn Boolean bForward Returns Boolean
    Boolean bCanFocus
    String sKund
    Get CanNavigateIntoColumn bForward to bCanFocus
    If...
  10. Replies
    13
    Views
    561

    Jumping over rows in an oCJGrid

    In an oCJGrid, where only one column is edible, I need to jump over certain rows depending on the value in column 1

    I tried with code in Procedure OnRowChanged, but it didn’t work


    ...
  11. Re: Formating an Excelcell with LibXL without writing in it

    It is the szLibXL implementation I use so I hoped Mike or somebody who works with his classes would know.
  12. Formating an Excelcell with LibXL without writing in it

    Has anyone found out how to formate an Excel cell without writing a value in it?

    I want to create a column where suppliers shall enter their prices. The column shall be empty from the beginning,...
  13. Re: Strange problem with manifest file and szLibXL

    Mike solved the problem. Dot net Framework 3.5 needed to be installed on the computers. After that it works both with Regasm and Manifest file.

    Bengt
  14. Re: Strange problem with manifest file and szLibXL

    Today I copied the whole wokspace with LibXLSample, that runs so nicely on my local testing machine, to a clean computer at a customer.

    The result: Unable to instantiate com object.........
    ...
  15. Re: Strange problem with manifest file and szLibXL

    I erased libxl.dll, libxl.net.dll and szLibXL.dll from the DataFlex 18.2\bin map, re-compiled and then it worked with the manifest files I already had.

    The libXL.dll file from StarZen Package...
  16. Strange problem with manifest file and szLibXL

    I am struggling to get LibXL working with manifest files, but get very strange behavior. As I don’t succeed to unregister LibXL on my development machine, I have to test manifest installation on...
  17. Replies
    12
    Views
    1,218

    Re: szLibXL installation strategy

    I try to run a DF 18.2 application with LibXL and manifest file on a computer that was more or less empty from the beginning, but without success.

    These files was added to the programs library:
    ...
  18. Re: Problems with installing LibXL ob certain networks

    I played with that some month ago and it worked on my machine, but when I tried to use it by a customer it didn't work. Then someone said that the computer has to be re-started after the manifest...
  19. Re: Problems with installing LibXL ob certain networks

    With the version I uses both xls and xlsx-files can be created.
    Get CreateBook of oLibXL False to hoBook creates a xls-file and Get CreateBook of oLibXL True to hoBook gives a xlsx-file.

    My...
  20. Replies
    3
    Views
    310

    Re: Cancelling navigation from grids

    It seems that Request_Clear_All both in the grid and in the view, Request_Cancel in the view for checking Esc and Close button and OnExiting in the grid for taking care of the cases when the user...
  21. Problems with installing LibXL ob certain networks

    I am using LibXL with DF 18.2 and classes from StarZen. Usually it works well, but by certain customers with computer networks there are problems.

    When installing LibXL by customers, I put the...
  22. Replies
    3
    Views
    310

    Cancelling navigation from grids

    Cancelling navigation from grids seems to be tricky things. Exiting in the old grid and OnExitng in the new seems to work about the same way, and can be used if the user clicks somewhere else in the...
  23. Replies
    36
    Views
    1,228

    Re: Exiting not working with DBCJGrid?

    Ok, then I didn't read this thread carefully enough. My problem is cancelling exiting of the grid when the saldo isn't zero. On a similar view I used Procedure Exiting with the old grid, and it...
  24. Replies
    36
    Views
    1,228

    Re: Exiting not working with DBCJGrid?

    What is the conclusion of this complicated discussion? Has DAW commented it in any way?

    For instance, when working with bookeeping views, it is necessary to check that debet and kredit are equal...
  25. Re: How to program the same action as pressing Cllear_All

    That seems to do the work. Thank you!
Results 1 to 25 of 719
Page 1 of 29 1 2 3 4