|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I'm new to ASP and programming in general so please be patient with me. My problem is: I've created an ASP/MS Access app with Dreamweaver. I have an admin page to edit/delete records. When I edit or delete a record, it works the first time and redirects me back to the main page. When I click on another record it adds the URL parameter to the end of the previous URL parameter and I get an error. Is there a simple piece of code to check the URL for the same parameter so that it will not just add it to the end. Following is and example (I need to remove first logId):
URL Thanks! |
|
#2
|
|||
|
|||
|
What do you meant by "click on another record it adds the URL parameter to the end of the previous URL parameter and I get an error" ?
Regards the link you posted, why are there 2 instances of 'logId' ? What's the error message you got? |
|
#3
|
|||
|
|||
|
I'm sorry! I wasn't reading the error. Here is the error that I'm getting:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14) [Microsoft][ODBC Microsoft Access Driver] Syntax error (comma) in query expression 'logId = 43, 48' Any help is appreciated! Thanks! |
|
#4
|
|||
|
|||
|
in that specified error you posted
logId = 43, 48.... where are you getting these two values from? |
|
#5
|
|||
|
|||
|
Try logId in (43, 48) if nos are in integer datatype
else logId in ('43','48') if nos are in varchar datatype |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Newbie question about URL Parameters |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|