|
||||||
| Visual Basic Programming Discussion forum for Visual Basic, an event driven programming language and associated development environment from Microsoft for its COM programming model. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
i have an error occured in my project when i try to run it..
when i placed the code Code:
"Set RS = Nothing sql6 = "Update alatan set STATUS_ALATAN = 'Belum di pinjam' where NO_INVENTORI= '" & Text1.Text & "' " con.Execute (sql6) Set RS = Nothing " "microsoft [odbc microsoft access driver ] too few parameters.expected 1. how can i fix the error? Last edited by Jordan; 03-26-2007 at 07:33 AM. Reason: Added Code Tags |
| Sponsored Links |
|
|
|
|||||
|
You need an Update before you can set:
Code:
UPDATE table SET RS=........
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages! |
|
|||
|
Quote:
but i'm not really clear with the code.can you give an example of code about the update command. thanks.. i need reply from you as soon as possible. |
|
|||||
|
Try this:
"UPDATE tableNameHere Set RS = Nothing sql6 = "Update alatan set STATUS_ALATAN = 'Belum di pinjam' where NO_INVENTORI= '" & Text1.Text & "' " con.Execute (sql6) Set RS = Nothing "
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages! |
| Sponsored Links |
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Strange error in update app | McMillan0520 | C# Programming | 1 | 08-08-2007 12:52 PM |
| ODBC API - Special Table and Column Names | Tronman | Database & Database Programming | 0 | 07-30-2007 01:52 PM |
| Create temporary table in VB6 | lfc1211 | Visual Basic Programming | 3 | 05-11-2007 05:29 PM |
| Adding a calculated column to a table | reachpradeep | Database & Database Programming | 0 | 03-05-2007 08:13 AM |
| Working with TADO Table | MrDiaz | Pascal/Delphi | 0 | 07-03-2006 07:28 PM |
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |
Goal: 100,000 Posts
Complete: 97%