Results 1 to 28 of 28

Thread: planner/ reminder program

Hybrid View

  1. #1
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: planner/ reminder program

    Quote Originally Posted by dark_shadow
    alright i've been doing some reading on using ADODB control first and for most would this help my situation?
    It may but using bound controls isn't something that you would want to do on a regular basis - using ADODB library is much more flaxible way but much coding involved as well.

    Quote Originally Posted by dark_shadow
    ...second when i use it i get an "error with FROM clause" error why does this mean?
    You'll need to post your code.

  2. #2

    Thread Starter
    Fanatic Member dark_shadow's Avatar
    Join Date
    Feb 2005
    Location
    Igloo
    Posts
    900

    Re: planner/ reminder program

    the code is just establishing the connection
    VB Code:
    1. set Adodc = new Adodc.Connection

  3. #3

  4. #4

    Thread Starter
    Fanatic Member dark_shadow's Avatar
    Join Date
    Feb 2005
    Location
    Igloo
    Posts
    900

    Re: planner/ reminder program

    ok i'm trying to get the basics of using the Adodc and just to understand the connection i've made a small program if it connects to the then it gives me a msgbox but when i put the code

    VB Code:
    1. set Adodc = new Adodc.Connection



    i get a "syntax error with FROM clause"

  5. #5

  6. #6

    Thread Starter
    Fanatic Member dark_shadow's Avatar
    Join Date
    Feb 2005
    Location
    Igloo
    Posts
    900

    Re: planner/ reminder program

    ok thanks i appoligize for the very basic questions that are probally wasting your time

  7. #7

    Thread Starter
    Fanatic Member dark_shadow's Avatar
    Join Date
    Feb 2005
    Location
    Igloo
    Posts
    900

    Re: planner/ reminder program

    that tutorial worked great... but now i've got another problem when i try to add a record i get a "current recordset does not support updating" at this line (higlighted in red)
    VB Code:
    1. rs.Open "SELECT * FROM table1", cn, adOpenDynamic, , adCmdText
    2.   [COLOR=Red]rs.AddNew[/COLOR]    
    3.   rs.Fields(0).Value = txttitle
    4.   rs.Update

Posting Permissions

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



Click Here to Expand Forum to Full Width