Re: Recordset Data Type



"bz" <nospam@xxxxxxxxx> wrote in message
news:ug4M1gLGHHA.1468@xxxxxxxxxxxxxxxxxxxx
Yours is the same as Bob's. I think I get the idea.

val = rs!Rate & "" will return a string.

but what does this particular one do?
val = rs!Name & vbNullString

Essentially the same thing. vbNullString exists to call API functions and
pass a null pointer but VB treats it elsewhere pretty much the same as ""

--
Reply to the group so all can participate
VB.Net: "Fool me once..."

.



Relevant Pages

  • Re: best way to "null" a string variable ??
    ... > is not the case -- that vbNullString is not a pointer to a null string ... > (or to a null string pointer), but rather is itself a null that has been ... Dim MyString As String ...
    (microsoft.public.vb.winapi)
  • Re: best way to "null" a string variable ??
    ... > a) It is documented that a vbNullString is a string with the value ... i.e. a pointer to a Null string pointer. ... > external function where the external functions expects or allows a ...
    (microsoft.public.vb.winapi)
  • Re: best way to "null" a string variable ??
    ... > a) It is documented that a vbNullString is a string with the value ... i.e. a pointer to a Null string pointer. ... > external function where the external functions expects or allows a ...
    (microsoft.public.vb.winapi)
  • Re: vbNullString and ""...
    ... >I have read that using vbNullString as an assignment to a string variable is ... >Dim strVar As String ... A string is really a pointer to a row of characters. ...
    (microsoft.public.vb.general.discussion)
  • Re: Redundency of IsNull(Trim(myvar)) ?
    ... >in VB6 are possibly objects and variants. ... There is the vbNullString which is a pointer containing 0 ... A "" String is a pointer to a Chr$ ... Private Sub Command1_Click ...
    (microsoft.public.vb.general.discussion)

Loading