User Profile

Collapse

Profile Sidebar

Collapse
bobby
bobby
Last Activity: Sep 14 '06, 10:34 AM
Joined: Aug 1 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • bobby
    replied to Adding item in Database
    I just found that Name and Number or one of those were pre-defined names in Access causing my problem.
    Thanks for the help.
    See more | Go to post

    Leave a comment:


  • bobby
    replied to Adding item in Database
    I have tried using the code above, still the same syntax error appears.
    What else can I check?
    See more | Go to post

    Leave a comment:


  • bobby
    started a topic Adding item in Database

    Adding item in Database

    Hi there. I have a simple Access database with names and numbers.
    I'm trying to add another entry through vb6 but i get a SYNTAX ERROR in INSERT INTO statement.

    Please help. What am i doing wrong?




    Private Sub cmdAdd_Click()
    Dim sql, nam, num As String

    nam = InputBox("Enter Name:", "Name")
    num = InputBox("Enter Number:", "Number")
    ...
    See more | Go to post
No activity results to display
Show More
Working...