Check record before Inserting

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Check record before Inserting

    Hi,

    I have troble in inserting new records into database, I have a unique date
    field it should not repeate again, i.e. one record per single day, the insert
    record form from DW MX2004 ASP Application is working fine but it is not
    checking the date. If the date already exists in the database it shoul redirect
    to error page. If the date is not in the database, can be inserted as new
    record.

    Please help me in this issue. Your great help is highly appreciated

    Regards
    Arvind Gundet

    arusmart Guest

  2. Similar Questions and Discussions

    1. INSERTing record into Access via CFC?
      I feel confident people are routinely doing this, but I have not been able to find a simple, concise tutorial on it... I have a Cold Fusion...
    2. Please Help! Error when inserting record...
      I am using ColdFusion MX 6.1 and am having issues with inserting a record into an access database. Any help on what is wrong? Error Executing...
    3. Help with inserting record
      So I've been looking all over these forums, and all over the internet on some kind of tutorial that will explain what I need to do to just insert a...
    4. Inserting a Record
      I am trying to create a web form to insert data into an SQL table that is on another server. So far I have my connection string working great and...
    5. Error when inserting record
      When trying to use the server behavior "Insert Record" I get the following error message: While executing onLOad in Insert Record.htm, the...
  3. #2

    Default Re: Check record before Inserting

    There is a behaviour built in called "Check User" which is designed to do
    something similar and can be used in this case. All you need to do it map
    the field holding the date value on the form with the date field in the
    database.

    --
    Regards

    Paul Whitham
    Macromedia Certified Professional for Dreamweaver MX2004
    Valleybiz Internet Design
    [url]www.valleybiz.net[/url]

    Team Macromedia Volunteer for Ultradev/Dreamweaver MX
    [url]www.macromedia.com/support/forums/team_macromedia[/url]

    "arusmart" <webforumsuser@macromedia.com> wrote in message
    news:d71d1g$m8c$1@forums.macromedia.com...
    > Hi,
    >
    > I have troble in inserting new records into database, I have a unique
    date
    > field it should not repeate again, i.e. one record per single day, the
    insert
    > record form from DW MX2004 ASP Application is working fine but it is not
    > checking the date. If the date already exists in the database it shoul
    redirect
    > to error page. If the date is not in the database, can be inserted as new
    > record.
    >
    > Please help me in this issue. Your great help is highly appreciated
    >
    > Regards
    > Arvind Gundet
    >

    Paul Whitham TMM Guest

  4. #3

    Default Re: Check record before Inserting

    Paul,

    Thanks for valuable responce, New User server (Check User) behavior is not
    exists in my Application Panel/Server Behaviors? I am afraid about this , why I
    doesn't have this option in my Server Behaviors.

    Please suggest me.

    arusmart Guest

  5. #4

    Default Re: Check record before Inserting

    In Application Panel/Server Behaviours click the + option. Then go down to
    User Authentication and you will see the "Check New User" option

    --
    Regards

    Paul Whitham
    Macromedia Certified Professional for Dreamweaver MX2004
    Valleybiz Internet Design
    [url]www.valleybiz.net[/url]

    Team Macromedia Volunteer for Ultradev/Dreamweaver MX
    [url]www.macromedia.com/support/forums/team_macromedia[/url]

    "arusmart" <webforumsuser@macromedia.com> wrote in message
    news:d73s8a$dm2$1@forums.macromedia.com...
    > Paul,
    >
    > Thanks for valuable responce, New User server (Check User) behavior is
    not
    > exists in my Application Panel/Server Behaviors? I am afraid about this ,
    why I
    > doesn't have this option in my Server Behaviors.
    >
    > Please suggest me.
    >

    Paul Whitham TMM 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