Results 1 to 6 of 6

Thread: MySQL Save error

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2010
    Location
    NZ
    Posts
    1,660

    Question MySQL Save error

    Hello,

    I'm new to MySQL.

    I have connected to the MySQL server via ODBC and can read data. Now I am trying to write data to the table but I am getting the attached error.

    I have searched through the forum and help but haven't been able to find much information, a post or example of how this should be done.

    Code:
        Object oButton2 is a Button
            Set Location to 120 73
            Set Label to 'oButton2'
        
            // fires when the button is clicked
            Procedure OnClick
                Open test
                Clear test
                Lock 
                Move 99999 to test.mid
                SaveRecord test
                Unlock
                Clear test
                Move 99999 to test.mid
                Find eq test by Index.1
    Showln test.mid            
            End_Procedure
        
        End_Object
    I would be grateful for any advice that anyone has.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	SQL Error.png 
Views:	45 
Size:	10.8 KB 
ID:	11080  
    Best Wishes

    Kelly


Posting Permissions

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