Results 1 to 1 of 1
  1. #1
    Join Date
    May 2003

    Unanswered: Create recordset

    people why when i am using adodb.recordset then i must to declare a field type like a constant, Adodb doest know any types ????

    for example why i can type rs.fields.Append "F1", adLongVarChar, Len(v1)
    withoyt defining const

    Dim V1

    Const adLongVarChar = 201

    V1 = "value"
    Set rs = CreateObject("ADODB.RecordSet")
    rs.fields.Append "F1", adLongVarChar, Len(v1)
    rs.fields("F1").value = v1
    Set rs = Nothing
    Last edited by marconi8; 11-22-04 at 05:44.

Posting Permissions

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