![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Sorry to be so pesky but I need an answer as quickly as possible here is the thread... |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Sorry a small level of frustration. Here is the question repeated. Variable is not getting inserted into clearance ( from strAccess to strClearance) Help please Where is my mistake Thank you Attach Code <% Dim strAccess strAccess = 'client' If Request.Form('Access') = 'realestatesales' Then strAccess = 'realtor' End If set cmdInsert = Server.CreateObject('ADODB.Command') cmdInsert.ActiveConnection = MM_RFSOnline_STRING cmdInsert.CommandText = 'INSERT INTO personaldata (username, password, clearance, firstname, lastname, spousename, spouselastname, phone, cell, address, city, state, zip, mailaddress, mailcity, mailstate, mailzip) VALUES ('' + Replace(cmdInsert__strEmailAddress, ''', '''') + '', '' + Replace(cmdInsert__strPassword, ''', '''') + '', '' + Replace(cmdInsert__strClearance, ''', '''') + '', '' + Replace(cmdInsert__strFirstName, ''', '''') + '', '' + Replace(cmdInsert__strLastName, ''', '''') + '','' + Replace(cmdInsert__strSpouseName, ''', '''') + '','' + Replace(cmdInsert__strSpouseLastName, ''', '''') + '','' + Replace(cmdInsert__strPhone, ''', '''') + '', '' + Replace(cmdInsert__strCell, ''', '''') + '', '' + Replace(cmdInsert__strAddress, ''', '''') + '', '' + Replace(cmdInsert__strCity, ''', '''') + '', '' + Replace(cmdInsert__strState, ''', '''') + '', '' + Replace(cmdInsert__strZIP, ''', '''') + '', ' ' + Replace(cmdInsert__strMailAddress, ''', '''') + '', '' + Replace(cmdInsert__strMailCity, ''', '''') + '',' ' + Replace(cmdInsert__strMailState, ''', '''') + '', '' + Replace(cmdInsert__strMailZIP, ''', '''') + '') ' cmdInsert.CommandType = 1 cmdInsert.CommandTimeout = 0 cmdInsert.Prepared = true cmdInsert.Execute() % |
#5
| |||
| |||
|
#6
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |