Pause between queries

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Pause between queries

    I'm using CFMX with a Visual FoxPro database. I have a page that contains both
    a Delete query and a Select query that access the same table. The Delete query
    deletes certain records that belong to a sample id. The Select query then
    queries the table to see if there are any records remaining for that sample id.
    Sometimes, but not always, Cold Fusion will process the Delete query for a
    sample id. and then the Select query will return a non-empty recordset for that
    sample id. even though the Delete query completely removed all records for the
    sample id. It's as if the server performs the Select query before the Delete
    query has completely finished.

    Is there a way to force Cold Fusion to pause after one query before processing
    the next one?

    VMISteve Guest

  2. Similar Questions and Discussions

    1. buffer and pause
      hi there I was wondering if there is a way to keep the buffer when pausing the stream. I experience that when i pause a stream (pause(true))...
    2. Queries Of Queries Single Quote Problem
      When using queries of queries I'm having the following issue. Select Company_ID From qry_MyQuery Where Company_NM = 'MyString''s' <----...
    3. Pause a gif
      I am making a screen in Director 7 for children at school to investigate buttons. I want to have a screen with still gifs and when buttons are...
    4. pause all
      The following pause action: function funcAll(mc, func) { mc.func = func; mc.func(); for (childMC in mc) { if (typeof (mc) == "movieclip") {...
    5. Pause?
      Hi....I would like to do the following: - on mouseUp me --pause for 2 seconds --then go to frame 164 end I know you can pause on the Tempo...
  3. #2

    Default Re: Pause between queries

    Maybe it is a query cache issue. Or, perhaps try using CFTRANSACTION with a COMMIT between the delete and select, if FoxPro database supports it.

    Phil
    paross1 Guest

  4. #3

    Default Re: Pause between queries

    Thanks for the suggestion. I'll try the CFTRANSACTION.
    VMISteve Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139