Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Textfield Question

    Does anyone know why the " - quote presents a problem
    when updating to a Access DB. I know the single quote '
    does.

    Shimon
    shimon@iafrica.com Guest

  2. Similar Questions and Discussions

    1. textField.autoSize/wordWrap question
      Hey, Quick question. I'm trying to right justify various sentences, 1-3 lines of text each in a separate text box, and then position the text...
    2. Textfield
      hi friends i created one form in that i want when the form is loaded, cursor is stick in to the top position of the field. please help me. ...
    3. Textfield.html = true vs TextField.setTextFormat
      H I need to use html textfield to control when the text must change the line (br tag). The problem is that I can't use setTextFormat if I use html...
    4. current row in a textfield
      Hello Is there an easy way to find out the current row of a position (index) of a multyline-textfield? Thanks -André-
    5. use a var as a textfield name
      hi i have created a textfield called "text0". i would like to put text that is stored in a var into it: allText="bla bla";...
  3. #2

    Default Re: Textfield Question

    Can you define "presents a problem" - what problem? An error message? If
    so, what is it? Can you show the code in context?

    --
    Aaron Bertrand
    SQL Server MVP
    [url]http://www.aspfaq.com/[/url]




    "shimon@iafrica.com" <anonymous@discussions.microsoft.com> wrote in message
    news:1290401c3c09b$86f3e2e0$a601280a@phx.gbl...
    > Does anyone know why the " - quote presents a problem
    > when updating to a Access DB. I know the single quote '
    > does.
    >
    > Shimon

    Aaron Bertrand - MVP Guest

  4. #3

    Default Re: Textfield Question


    "Roland Hall" <nobody@nowhere> wrote in message
    news:Of3xGrOwDHA.1660@TK2MSFTNGP09.phx.gbl...
    > "Aaron Bertrand - MVP" wrote:
    > > Can you define "presents a problem" - what problem? An error message?
    If
    > > so, what is it? Can you show the code in context?
    >
    > Aaron...
    >
    > I think he's referring to a double quote in the middle of a SQL update
    > statement and how it presents a problem.
    >
    > If customer's name had a double quote in the name. I believe this is what
    > he's eluding to.
    That's not a problem. THere's nothing wrong with:

    INSERT INTO t (c) VALUES ('asd"asdf')

    The only place that " will cause a problem will be in the HTML and this is
    why one should replace " with &quot; when pulling data from a database and
    writing it to an input value, for example.

    Ray at work


    Ray at Guest

  5. #4

    Default Re: Textfield Question

    "Aaron Bertrand - MVP" wrote:
    > Can you define "presents a problem" - what problem? An error message? If
    > so, what is it? Can you show the code in context?
    Aaron...

    I think he's referring to a double quote in the middle of a SQL update
    statement and how it presents a problem.

    If customer's name had a double quote in the name. I believe this is what
    he's eluding to.

    --
    Roland

    This information is distributed in the hope that it will be useful, but
    without any warranty; without even the implied warranty of merchantability
    or fitness for a particular purpose.



    Roland Hall Guest

  6. #5

    Default Re: Textfield Question

    Why would that cause a problem? And what problem?

    --
    Aaron Bertrand
    SQL Server MVP
    [url]http://www.aspfaq.com/[/url]



    > I think he's referring to a double quote in the middle of a SQL update
    > statement and how it presents a problem.
    >
    > If customer's name had a double quote in the name. I believe this is what
    > he's eluding to.

    Aaron Bertrand [MVP] Guest

  7. #6

    Default Re: Textfield Question

    > > Why would that cause a problem? And what problem?
    >
    > What is this, shoot the messenger?
    Who's shooting? And what makes you think my questions are directed solely
    at you?

    You might expect the original poster to chime in here and clarify, at some
    point.

    --
    Aaron Bertrand
    SQL Server MVP
    [url]http://www.aspfaq.com/[/url]


    Aaron Bertrand [MVP] Guest

  8. #7

    Default Re: Textfield Question

    "Aaron Bertrand [MVP]" wrote:
    > Why would that cause a problem? And what problem?
    What is this, shoot the messenger?


    Roland Hall Guest

  9. #8

    Default Re: Textfield Question


    "Ray at <%=sLocation%>" wrote:
    > "Roland Hall" wrote:
    > > "Aaron Bertrand - MVP" wrote:
    > > > Can you define "presents a problem" - what problem? An error message?
    > If
    > > > so, what is it? Can you show the code in context?
    > >
    > > Aaron...
    > >
    > > I think he's referring to a double quote in the middle of a SQL update
    > > statement and how it presents a problem.
    > >
    > > If customer's name had a double quote in the name. I believe this is
    what
    > > he's eluding to.
    >
    > That's not a problem. THere's nothing wrong with:
    >
    > INSERT INTO t (c) VALUES ('asd"asdf')
    >
    > The only place that " will cause a problem will be in the HTML and this is
    > why one should replace " with &quot; when pulling data from a database and
    > writing it to an input value, for example.
    I didn't ask the question. I clarified it.


    Roland Hall Guest

  10. #9

    Default Re: Textfield Question

    "Aaron Bertrand [MVP]" wrote:
    > > > Why would that cause a problem? And what problem?
    > >
    > > What is this, shoot the messenger?
    >
    > Who's shooting? And what makes you think my questions are directed solely
    > at you?
    >
    > You might expect the original poster to chime in here and clarify, at some
    > point.
    Maybe it's the severe blood loss?!

    Yes, it would be nice to hear from the originator but I think he's hidin' in
    the weeds.



    Roland Hall 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