+ Reply to Thread
Results 1 to 72 of 72

Username/Password with vba error: "Method or data member not found"

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    01-08-2016
    Location
    Cagayan De Oro City, Philippines
    MS-Off Ver
    2013
    Posts
    152

    Re: Username/Password with vba error: "Method or data member not found"

    Anyone going bald :D

    Lets take a step back for a moment and concentrate on the Excel Form.........

    FrmLogin (let say)

    From all the info you have given we only need 3-4 things on this form
    1) txtUsername = TextBox
    2) txtPassword = Textbox
    3) cmdLogin = CommandButton
    4) cmdCancel = CommandButton


    NEXT......

    Now your trying to do lookups and use ranges which you need data on a worksheet to do (looking at your first code snip)..........so your trying to dump the data from your username database(access) into a sheet first and then do a lookup from the sheet is that right?
    (not ideal in a real world scenario i must say haha)

    Really this part needs to be clarified, what is your goal.......Load the database into a table.....before or after the OK button is clicked......or are you trying to send the username/password to the database and get an OK/NOTOK response...........

    these answers lead to COMPLETELY different Things that need to be done for all this to work......so let us know

  2. #2
    Registered User
    Join Date
    01-09-2016
    Location
    england
    MS-Off Ver
    2016
    Posts
    50

    Re: Username/Password with vba error: "Method or data member not found"

    I am trying to input a username and password in input boxes and if it matches a value in my database, then continue on to the next userform when i click the command button. If not then close all userforms

  3. #3
    Forum Contributor
    Join Date
    01-08-2016
    Location
    Cagayan De Oro City, Philippines
    MS-Off Ver
    2013
    Posts
    152

    Re: Username/Password with vba error: "Method or data member not found"

    JapanDave really wants to know what your query string is..... please have a look, its very important

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Receiving "Compile error: Method or data member not found" for ListBox
    By connieb in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-18-2015, 09:31 PM
  2. Receiving "Compile error: Method or data member not found" for ListBox
    By connieb in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-18-2015, 09:28 PM
  3. Receiving "Compile error: Method or data member not found" for ListBox
    By connieb in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-18-2015, 09:28 PM
  4. Getting an error "Method or data member not found" Help Please and thank you
    By bnielson in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-05-2014, 12:24 PM
  5. [SOLVED] Error Msg: "Compile error: Method or data member not found" in VBA code
    By nenadmail in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-11-2012, 02:12 AM
  6. Me.Controls.Add returns "Compile error, method or data member not found"
    By mattisch in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-28-2007, 07:53 AM
  7. "Compile error: Method or data member not found", code needs fix
    By cheeky in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-29-2007, 09:07 PM

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1