Search:

Type: Posts; User: starzen

Page 1 of 80 1 2 3 4

Search: Search took 0.14 seconds.

  1. Re: String with both ' and ". Is there an easier way ?

    sadly DF doesnt have anything for that
  2. Replies
    18
    Views
    321

    Re: DF Locking Order !

    Garret

    file mode thing is it. We created a little package we use that works like this



    Send PrepareForTransaction // set all file modes to read only and remember old...
  3. Replies
    18
    Views
    321

    Re: DF Locking Order !

    all manual transactions need to be made smart

    we use the search function in our code explorer to find all transactional commands and then implement smart locking. it does require knowledge of the...
  4. Replies
    18
    Views
    321

    Re: DF Locking Order !

    just to add. if you have regular DD operations you shouldnt get into any deadlock situations really.

    if you have manual transactions and rereads and multiple DD operations within a transaction...
  5. Replies
    18
    Views
    321

    Re: DF Locking Order !

    with record locking the locking is happening when the record is found during a transaction. So that defines the order
  6. Replies
    18
    Views
    321

    Re: DF Locking Order !

    we have had our share of issues with deadlocks in a large complex system

    so with embedded and table locking you really cant get a deadlock except with either alias tables or when using multiple...
  7. Replies
    18
    Views
    321

    Re: DF Locking Order !

    only for the embedded database / table locking. tables are locked in filelist sequence
  8. Thread: Code review.

    by starzen
    Replies
    11
    Views
    295

    Re: Code review.

    a few things

    first IMO changing lots of functioning code without need is often not a good idea. it can of course introduce new bugs (especially in DF) and would now require testing all the parts...
  9. Re: Deployment of Mobile Web App without a Trusted connection

    sounds like your connection string is using user SA but the password is incorrect
  10. Re: What will this code really do? (Error found by StarZen's Source Explorer)

    it is not always an error. you can skip one level of code that way. Good practice? Hell no. It is that kind of code that will for sure break at some point

    send request_delete would call...
  11. Replies
    5
    Views
    224

    Re: This sounds greek to me - or chinese?

    well german, english and chinese other than that should be easy
  12. Re: How to prevent the Customer Name and Supplier Name from being filled in the same 2 times in the Customer / Supplier file

    even if you have a unique index you can still intercept the save and check before

    but i do like the process of guiding the user and finding possible matches when starting data entry
  13. Re: How to prevent the Customer Name and Supplier Name from being filled in the same 2 times in the Customer / Supplier file

    like i said you have two options

    either make the index on the name unique then you cannot enter the same name a second time

    or and this is what we do most of the time add a feature to allow a...
  14. Re: Attempting to install DataFlex 19.1 Windows Client

    off the top of my head

    you need to enable the SQL instance to "allow remote connections". thats a property on the instance

    by default sql express uses dynamic ports. you need to change those to...
  15. Re: Duplicate Augmentation, blasts from the past

    you can actually watch this happening

    change the code as follows



    Object oPanel is a Panel
    Set Size to 100 200
    Showln ("Panel "+trim(Class(Self)))
    Procedure Page_Object...
  16. Re: Duplicate Augmentation, blasts from the past

    here is an explanation of what i think is happening

    the DF compiler encounters the object oPanel and uses the Panel class for the object

    the first procedure page_object causes the compiler to...
  17. Re: Attempting to install DataFlex 19.1 Windows Client

    SQL server or SQL Server Express

    if express keep in mind express by default is set to run local only

    you have to enable networking and set the proper ports

    also make sure to use ODBC admin...
  18. Replies
    4
    Views
    151

    Re: conditioned filling

    in the OnChange of the deparment combo send Refill to the second combo

    thats sending REFILL not ONFILL
  19. Replies
    8
    Views
    199

    Re: cWebCombo -default value

    here is an example



    Object oWebCombo1 is a cWebCombo
    Set piColumnSpan to 0
    Set psLabel to "combo"
    Set psValue to "WED"

    ...
  20. Re: How to prevent the Customer Name and Supplier Name from being filled in the same 2 times in the Customer / Supplier file

    a few options

    the simplest one is a unique index on the name

    if you have a unique index on the name you cannot save the same name twice

    but variations can be saved of course

    for example...
  21. Replies
    7
    Views
    212

    Re: Deployment webapp without the studio

    no problem. try it out. if you get an error try to figure out what part is not working or post it here

    IMO it is very important to know how to do this. if a site suddenly stops working and they...
  22. Replies
    7
    Views
    212

    Re: Deployment webapp without the studio

    the workspace needs the following

    APPHTML, PROGRAMS, BITMAPS, DATA, REPORTS (if using)

    it really isnt that hard to set it up manually.

    if possible do all the checks first from the local...
  23. Replies
    7
    Views
    212

    Re: Deployment webapp without the studio

    you could try to use the DFManageVDir command line

    or just add it manually. There are a few things you need to set up correctly

    the virtual folder pointing to your APPHTML folder with proper...
  24. Re: EOF file Markers in Ascii File - how to strip before reading

    use BINARY: on the direct_input or EOF:-1
  25. Replies
    11
    Views
    192

    Re: Dragging and dropping in a dbModalPanel

    same issue in other workspaces?
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4