|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||||
|
|||||
|
Wrong number of arguments or invalid property assignment: 'insert'
I'm new to this. I have a website that I edited dont bother with the java as i dont know it but for some or other reason something must have change as i keep getting this error when I try and load new info on the database.
The error is on (in red): Code Code:
If you need more of the script please let me know. Any help would be appreciated. |
|
#2
|
||||
|
||||
|
hi and welcome to the forum
what exactly are you trying to do?? If you are inserting a new record in database then have a look here for syntax http://www.w3schools.com/SQL/sql_insert.asp |
|
#3
|
|||
|
|||
|
[QUOTE=micky]hi and welcome to the forum
what exactly are you trying to do?? If you are inserting a new record in database then have a look here for syntax QUOTE] Hi and thanks. This is an existing website that I just edited to fit my new needs. This specific page works with the manager side of the website. It greats the places where you can add other users, other products etc. Now I didn't bother with this page except to change the file name for the header. As this is in Java and i cant do that yet. I will post the whole page for you to see |
|
#4
|
||||
|
||||
|
In what file does the function/sub insert(...) reside? Have you included that function, or the file that contains it, in your script?
__________________
selwonk |
|
#5
|
|||||
|
|||||
|
Code Code:
|
|
#6
|
|||
|
|||
|
Here is from top of page to a bit below the error
|
|
#7
|
||||
|
||||
|
That doesn't really answer my question. Open the file which contains the insert(...) sub/function and post the code so that we can see it...
|
|
#8
|
|||
|
|||
|
I have no idea what you are talking about I dont know java can only do basic html thats why i dont change the things that i dont know of and thats why i dont understand whats going wrong, it worked fine yesterday
|
|
#9
|
|||
|
|||
|
Sorry. this was the vars file
|
|
#10
|
||||
|
||||
|
Hane, please delete username/password of database from above post ........... infact u might change them now!!
What selwonk means is that u have this line Code:
if not insert(tablename, lngerr, strmsg, inssql, myqty) then u have included vars.asp on top of this page, may be that has the function, post its content. |
![]() |
| Viewing: ASP Free Forums > Programming > ASP Development > Wrong number of arguments or invalid property assignment: 'insert' |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|