Results 1 to 2 of 2

Thread: Problem details

  1. #1

    Thread Starter
    Lively Member dadazhu's Avatar
    Join Date
    Oct 2001
    Location
    Opera House
    Posts
    126

    Problem details

    The first problem I have to fix is that I do not know how to match "username and password" typed in the form with the relate data in the Access table. I used the codes as following,

    Open "db1.mdb" For Input As #1 Len = Len(mudtmemberRecord)
    Get #1, intNumber, mudtmemberRecord

    Also, I am not sure whether I need to define an array like,

    Private Type Memberstructure
    strUname As String
    strPassword As String
    End Type
    Dim mudtmemberRecord As Memberstructure

    Then I can use array to match each other.
    I know something must be wrong, can you tell me
    I wish 49.9999999% of my dreams have come true

  2. #2
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    Originally posted by dadazhu
    The first problem I have to fix is that I do not know how to match "username and password" typed in the form with the relate data in the Access table. I used the codes as following,

    Open "db1.mdb" For Input As #1 Len = Len(mudtmemberRecord)
    Get #1, intNumber, mudtmemberRecord

    Also, I am not sure whether I need to define an array like,

    Private Type Memberstructure
    strUname As String
    strPassword As String
    End Type
    Dim mudtmemberRecord As Memberstructure

    Then I can use array to match each other.
    I know something must be wrong, can you tell me
    I think u should start by going through this excelent tutorial.

    http://www.vbworld.com/databases/dbtutorial/

    and u don't have to post the questions in more than one Forum at the time
    Last edited by peet; Oct 8th, 2001 at 01:58 AM.
    -= a peet post =-

Posting Permissions

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



Click Here to Expand Forum to Full Width