Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sql statement

Status
Not open for further replies.

ebarratt

Programmer
Apr 10, 2002
53
US
Does that look right especially the dteVARIABLENAME variables in the stored procedure call? I'm taking values from a textbox in format xx/xx/xxxx.

strSQL = "spUpdatePromotionAssignment " &_
intIssueNumber & ", " &_
intAssignNumber & ", " &_
intAssignTeam & ", " &_
intAssignCell & ", " &_
intAssignType & ", " &_
"'" & strAssignAbbrev & "', " &_
intAssignStatus & ", " &_
intAssignOwnerCode & ", " &_
"'" & dteAssignDueDate & "', " &_
"'" & dteAssignStatusChangeDate & "', " &_
"'" & strAssignDescription & "', " &_
intApprovedBy & "," &_
"'" & dteApprovedDate & "', " &_
intAssignOriginatorCode & ", " &_
"'" & strContactInfo & "', " &_
intModifiedBy & ", " &_
"'" & dteModifiedDate & "', " &_
"'" & strPromotionType & "', " &_
"'" & strImplementorNumber & "', " &_
"'" & strTargets & "', " &_
intEnvironmentId & ", " &_
intObjectNameId & ", " &_
intObjectTypeId & ", " &_
intAwwStandard & ", " &_
"'" & strAssociatedObjects & "' " Errol Barratt
856-697-1593
New Jersey
 
Does it give any errors? Ladyhawk. [idea]
** ASP/VB/Java Programmer **
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top