variable to Field.value

Results 1 to 3 of 3

Thread: variable to Field.value

  1. #1
    Patrik Guest

    Default variable to Field.value

    Been wrestling with an issue to in a easyway set a variable<BR>to a DB field.value:<BR>StringVariable = AccesDBstring.Fields("FieldName").Value<BR><BR>Str ingVariable gets some kind of value, I found that out but<BR>I can&#039;t output it.<BR>Why does this not work ??<BR>PLZ Help

  2. #2
    Nils Bilhorn Guest

    Default RE: variable to Field.value

    The value may be null or an empty string. Test with<BR><BR>if Isnull(StringVariable) then<BR> response.write "Is null"<BR>end if<BR><BR>or<BR><BR>if Len(StringVariable) = 0 then<BR> response.write "Is empty"<BR>end if

  3. #3
    Patrik Guest

    Default RE: worx

    You hit the nail right on the spot !!<BR>That&#039;s just what it was<BR>Thanx a million :)

Posting Permissions

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