Search results

  1. G

    Solved help needed with update query

    Thanks very much .... i had done the [squarebracket] thing, earlier and i also removed the .Value. there was nothing wrong with the query syntax as u rightly said. the error was from a line directly beneath/after the query. me.cusname.enabled =true it had been commented out but became...
  2. G

    Solved help needed with update query

    i tried this but nothing happened ... where would i see the printed stuff ?
  3. G

    Solved Mod Modification

    Public Function MaxOID() As String Dim CUS As String Dim newCus As Integer CUS = DMax("CustomerID", "CustomerInformationTable") newCus = Mid(CUS, 5) + 1 If newCus < 10 Then MaxOID = "CUS-00" & newCus ElseIf newCus > 10 And newCus < 100 Then MaxOID = "CUS-0" & newCus Else MaxOID = "CUS-" &...
  4. G

    Solved help needed with update query

    appreciated. thanks
  5. G

    Solved help needed with update query

    Bro .... im tryna help someone with a problem, string would have been the ideal format, i know that. the INSERT worked fine, now im simply tryna resolve this UPDATE issue, do you have any suggestions for this particular issue ???
  6. G

    Solved help needed with update query

    left off the .Value aspects and the same error persisits...
  7. G

    Solved help needed with update query

    @theDBguy dude, hey wassup man. thanks for all the previous help and suggestions .... tired wat u suggested, and is the same problem
  8. G

    Solved help needed with update query

    dude, yes, didnt you see the screenshot of the table structure ?? i used msgbox to ensure my variables were not empty. any suggestions on how to solve the problem ??
  9. G

    Solved help needed with update query

    im a nub so lemme ask the most nubbish question, ...... how do i do that ?? the only way i kno of displaying a value thus far is to use MsgBox()
  10. G

    Solved help needed with update query

    DoCmd.RunSQL "UPDATE CUSTOMERS SET Firstname = '" & Me.fname.Value & "', Lastname = '" & Me.lname.Value & "', PostalAddress = '" & Me.paddress.Value & "', City/District = '" & Me.city.Value & "', ContactNumber = " & Me.contact.Value & ", RegistrationDate = #" & Me.datej.Value & "#, Gender = '" &...
  11. G

    Solved Mod Modification

    hey. took what u said and worked with it. this is the result. the error is this: is there any way to add an integer to a string and store as a new string ?? any suggestions ?? how do you typecast a variable in vba ??
  12. G

    Solved Mod Modification

    ive tried, the value i keep getting is 0
  13. G

    Solved Mod Modification

    i understand what you are saying. is there any way to split the CustomerID ? like in java u can split a string , can tht be done ?? additionally using DMax may be a problem since it retuns the max integer.. im just trying to increase knowledge and try to solve this problem.
  14. G

    Option Button Help

    works like a charm ....
  15. G

    Solved Table key violation error

    WOW .... thanks a million man.
  16. G

    Solved Table key violation error

    just did
  17. G

    Solved Table key violation error

    YUP. did the Compact & Repair. then closed the file, then reopened. same eroor persists. attached is the file im working with. the from is called CUSTOMER FORM
  18. G

    Solved Table key violation error

    never mind. i just remembered
  19. G

    Solved Table key violation error

    no i havent. how do i do this please ?
  20. G

    Option Button Help

    this is the option button im talking about
Back
Top Bottom