User Profile

Collapse

Profile Sidebar

Collapse
dale5804
dale5804
Last Activity: May 29 '08, 07:09 PM
Joined: Nov 12 '07
Location: wakefield
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • dale5804
    replied to login / username
    thankyou so much Stewart. it works :-)...
    See more | Go to post
    Last edited by dale5804; Mar 4 '08, 08:39 PM. Reason: typo

    Leave a comment:


  • dale5804
    replied to login / username
    cheers, getting there, the code doesnt throw an error up, but when the data is transferred, it prints the user as '1' then the time/date stamp?? I've also tried and removed the brackets as you suggested, and i stll get 1 as the username???...
    See more | Go to post

    Leave a comment:


  • dale5804
    replied to login / username
    hi Stewart, thanks for all you help. i will keep trying, but you've been a star. wouldn't have got this far without your advice. cheers
    See more | Go to post

    Leave a comment:


  • dale5804
    replied to login / username
    thought so, so i did what u said, and still having the same problem. any other ideas. cheers...
    See more | Go to post

    Leave a comment:


  • dale5804
    replied to login / username
    do i need to call the module anything for it to work?
    See more | Go to post

    Leave a comment:


  • dale5804
    replied to login / username
    hi...sorry, as you may have guessed, still new at this vb stuff. not quite sure what your telling me to do....
    See more | Go to post

    Leave a comment:


  • dale5804
    replied to login / username
    didnt work, have changed to ReturnUsername (capital R & U, small n) and same problem???...
    See more | Go to post

    Leave a comment:


  • dale5804
    replied to login / username
    hi Stewart, ive, tried and removed the & UserName(), and when i do, it works again????


    if it helps...
    This is the whole login form VB code

    Code:
    Option Compare Database
    Private intLogonAttempts As Integer
    Public UserName As String
          Public Function ReturnUsername()
              ReturnUsername = UserName
          End Function
    
    Private Sub Form_Open(Cancel
    ...
    See more | Go to post

    Leave a comment:


  • dale5804
    replied to login / username
    stuck again. when i click to add data (and stamp) having issue with this line:

    Me.Comment = Me.Comment & " " & vbNewLine & UserName() & Now & ": " & Me.NotesMemoFie ld & vbNewLine

    getting a compile error, which highlights the the Me.Comment, after the = sign.
    It worked before, but once i add the UserName() it does as above.
    any ideas. cheers
    See more | Go to post

    Leave a comment:


  • dale5804
    replied to login / username
    hi.. thanks for that i understand better now.
    now to move onto the code that does the time/users stamping
    cheers
    See more | Go to post

    Leave a comment:


  • dale5804
    replied to login / username
    Hi Stewart, thanks for the reply, ive done...
    Code:
    Private Sub cmdLogin_Click()
    Public UserName As String
    'global to store current user name
          Public Function ReturnUsername()
              ReturnUsername = UserName
          End Function
    
    'Check to see if data is entered into the UserName combo box
    
        If IsNull(Me.cboEmployee) Or Me.cboEmployee = "" Then
    ...
    See more | Go to post

    Leave a comment:


  • dale5804
    replied to login / username
    hi, tried it, but the code below on the 'on open' is giving me a compile error, a invalid attribute in sub or function, ad is highlighting this bit...

    Public UserName As String

    any ideas
    cheers
    See more | Go to post

    Leave a comment:


  • dale5804
    replied to login / username
    cheers for this, will give it a go today. many thanks
    See more | Go to post

    Leave a comment:


  • dale5804
    started a topic login / username

    login / username

    hi.... i am used a tutorial found at...http://www.databasedev .co.uk/login.html... to create a login form. works fine, what i am wanting to do is on one of my forms, where data is entered i use the following code..
    Code:
    Private Sub InputData_Click()
       If InputData.Caption = "Input New Notes" Then
       NotesMemoField.Visible = True
       NotesMemoField.SetFocus
       InputData.Caption = "Add Data"
    ...
    See more | Go to post

  • dale5804
    replied to asterix password
    sorry... do you mean the properties for the 'input box' that pops up, as i can not goto properties for this.
    See more | Go to post

    Leave a comment:


  • dale5804
    started a topic asterix password

    asterix password

    hi im using the code below to password protect a button on a form.... is there any code i can use within the below to *asterix* out the password when typed in cheers.

    Code:
     Private Sub Edit_Staff_Click()
    Dim strInput As String, strMsg As String
    
       strMsg = "Enter your password to proceed."
       strInput = InputBox(Prompt:=strMsg, _
           Title:="SCRM Security Check")
    ...
    See more | Go to post

  • dale5804
    replied to FrontEnd BackEnd linking
    done it.... tested it at home like u said and it works. fantastic. thank you so much for your help, your a star!...
    See more | Go to post

    Leave a comment:


  • dale5804
    replied to FrontEnd BackEnd linking
    sorry, just to clarify, manual link?
    See more | Go to post

    Leave a comment:


  • dale5804
    replied to FrontEnd BackEnd linking
    basically what i have done, is start with my current database, called SCRM. saed a second copy of it, and called it SCRM BE.
    Within SCRM BE, i deleted all the forms etc, leaving only the tables.
    Renamed SCRM to SCRM FE, and deleted all its tables, leaving only forms, queries etc.

    I know if i use the 'get external data' with access i can link the two and it works. But i can not do this at work, where SCRM will be deployed,...
    See more | Go to post

    Leave a comment:


  • dale5804
    replied to FrontEnd BackEnd linking
    hi, changed code to
    strBeFile = "c:\SCRM_BE.mdb "
    and changed file name, but still doesnt link. any more suggestions please.
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...