approve database entry BEFORE seeing live

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

  1. #1

    Default approve database entry BEFORE seeing live

    I have an insert record page where people can add their details however I do not want to
    see the entry live until I approve it first. Can someone point me in the direction of a
    tutorial to teach me this.

    Thanks


    I Need Help! Guest

  2. Similar Questions and Discussions

    1. redirect page using database entry
      i have a database coloum called 'credit'. it has got numbers(Currency, amount in INR). When i click Remove Money it deducts(minuses) the amount from...
    2. Fill form field in existing PDF from database live
      Hi, I'm wondering if this is possible. To have a pre-generated PDF on a server with an existing form field for a personalized message. Then,...
    3. MySql database entry
      I want our agents to enter data on their pc and have it kept in a session array (?) and only do the update to the MySql table after they have...
    4. Duplicate Field Entry on Database Question
      Hi all, Ok I guess this is quite a simple thing to do but as an SQL/ASP newbie im having trouble getting my head around it. I have a simple...
    5. Update Record only displaying first entry of database in the details page
      Update Record only displaying first entry of database in the details page. It will update the record, it seems for some reason no matter what...
  3. #2

    Default Re: approve database entry BEFORE seeing live

    Add a field called Approved with a default of false. To approve the content
    update the field to true. Then, at front end you'd have SQL for the
    recordset like

    select * from mytable where Approved=true

    --
    Jules
    [url]http://www.charon.co.uk/charoncart[/url]
    Charon Cart 3
    Shopping Cart Extension for Dreamweaver MX/MX 2004


    Julian Roberts Guest

  4. #3

    Default Re: approve database entry BEFORE seeing live

    I really appreciate your help however I am a complete beginner so I ask for more help!

    In Access design view, I set my Approved column default value to False - well I typed it
    in. Now all NEW entries have a zero in the approved column.

    How do I change to True? Do I just delete the zero?

    I also added this to my SQL and get errors so I guess what I am doing in Access is not
    correct. As I said in my first post, a URL would be very helpful so I can learn what to
    do.

    .................................

    SELECT *
    FROM mytablenamehere = true


    Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

    [Microsoft][ODBC Microsoft Access Driver] Syntax error in FROM clause.
    ..................................

    I then tried using Yes/No in the data type with the default value set to False and Format
    set to True/False and got check boxes in each field which you tick. I did this after
    reading the help files.

    See - I am a beginner! :P






    "Julian Roberts" <newsg@charon.co.uk> wrote in message
    news:d0vsbj$abd$1@forums.macromedia.com...
    Add a field called Approved with a default of false. To approve the content
    update the field to true. Then, at front end you'd have SQL for the
    recordset like

    select * from mytable where Approved=true

    --
    Jules
    [url]http://www.charon.co.uk/charoncart[/url]
    Charon Cart 3
    Shopping Cart Extension for Dreamweaver MX/MX 2004



    I Need Help! Guest

  5. #4

    Default Re: approve database entry BEFORE seeing live

    Instead of giving it the default value of False in Access, put in a hidden
    field in your Insert form and give it a value of False. Then you can create an
    Update form Iwith restricted access rights) that can change it to True. Cheers
    Chuck

    chuckomalley Guest

  6. #5

    Default Re: approve database entry BEFORE seeing live

    On 13 Mar 2005 in macromedia.dreamweaver.appdev, chuckomalley wrote:
    > Instead of giving it the default value of False in Access, put in a
    > hidden field in your Insert form and give it a value of False. Then
    > you can create an Update form Iwith restricted access rights) that
    > can change it to True.
    So that somebody can duplicate your form, change the hidden field to
    'True', post whatever, and get it up immediately?

    --
    Joe Makowiec
    [url]http://makowiec.net/[/url]
    Email: [url]http://makowiec.net/email.php[/url]
    Joe Makowiec Guest

  7. #6

    Default Re: approve database entry BEFORE seeing live

    I didn't read it thoroughly. My bust. You are correct. He can make False the
    default and then use an Update Behavior page to change it to true. Rough night
    last night so I just breezed through the post! Cheers Chuck

    chuckomalley Guest

  8. #7

    Default Re: approve database entry BEFORE seeing live

    I already have hidden fields that are set to true as I was following this tutorial:


    [url]http://www.dreamweaverfever.com/pain/ultradev/insert-confirm.asp[/url]

    Following this tutorial, you see the entries straight away.







    "Joe Makowiec" <makowiec@invalid.invalid> wrote in message
    news:Xns9618503C02FDFmakowiecatnycapdotrE@216.104. 212.96...
    On 13 Mar 2005 in macromedia.dreamweaver.appdev, chuckomalley wrote:
    > Instead of giving it the default value of False in Access, put in a
    > hidden field in your Insert form and give it a value of False. Then
    > you can create an Update form Iwith restricted access rights) that
    > can change it to True.
    So that somebody can duplicate your form, change the hidden field to
    'True', post whatever, and get it up immediately?

    --
    Joe Makowiec
    [url]http://makowiec.net/[/url]
    Email: [url]http://makowiec.net/email.php[/url]


    I Need Help! Guest

  9. #8

    Default Re: approve database entry BEFORE seeing live

    This is why I tried:

    In Access -

    Field name: approved
    Data type: Yes/No
    Format: True/False

    In my recordset -

    SELECT *
    FROM myTable
    WHERE approved = TRUE

    My hidden field -

    <input type="hidden" name="approved" value="false">


    I can still see all the new entries live doing this.





    "I Need Help!" <iamedia-nospam@hotmail.com> wrote in message
    news:d0vruq$a06$1@forums.macromedia.com...
    I have an insert record page where people can add their details however I do not want to
    see the entry live until I approve it first. Can someone point me in the direction of a
    tutorial to teach me this.

    Thanks



    I Need Help! Guest

  10. #9

    Default Re: approve database entry BEFORE seeing live

    I Need Help! wrote:
    > This is why I tried:
    >
    > In Access -
    >
    > Field name: approved
    > Data type: Yes/No
    > Format: True/False
    >
    > In my recordset -
    >
    > SELECT *
    > FROM myTable
    > WHERE approved = TRUE
    >
    > My hidden field -
    >
    > <input type="hidden" name="approved" value="false">
    >
    >
    > I can still see all the new entries live doing this.
    >
    >
    >
    >
    >
    > "I Need Help!" <iamedia-nospam@hotmail.com> wrote in message
    > news:d0vruq$a06$1@forums.macromedia.com...
    > I have an insert record page where people can add their details however I do not want to
    > see the entry live until I approve it first. Can someone point me in the direction of a
    > tutorial to teach me this.
    >
    > Thanks
    >
    >
    >
    This Yes/No type is bad news, because it's not stored as True/False. I
    think in Access you have to try 1/0 as values in your SQL statement, or
    maybe "Y"/"N". This is DB-dependent. Stupid really, that there is no
    standard for these things.

    Regards
    Bernard
    bthouin 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