Microsoft
Software
Hardware
Network
Question : Do you know how I could make a single SQL Statement into a compound SQL Statement using the following SQL statements ?
I am developing an Access 2003 application using Access as the front end and SQL Server as the back in database.
In my VBA Code, I use the following SQL Statement to update a table titled tblPSInfo.
Do you know how I could make this single SQL Statement assigned to the variable
SQL1 into a compound SQL Statement using the following additional SQL Statement: BRANCH = Mid(CostCenter), 4, 3
sSQL1 = "UPDATE tblPSInfo SET EMAILADD = '" & Replace(getEmailAll, "'", "''") & "' WHERE EMPNUM = '" & id & "'"
Add the following SQL Statement:
BRANCH = Mid(CostCenter), 4, 3
Answer : Do you know how I could make a single SQL Statement into a compound SQL Statement using the following SQL statements ?
sSQL1 = "UPDATE tblPSInfo SET EMAILADD = '" & Replace(getEmailAll, "'", "''") & "', BRANCH = Mid([CostCenter], 4, 3) WHERE EMPNUM = '" & id & "'"
where is [CostCenter] coming from?
Random Solutions
vfp 9.0 line spacing
Vista file sharing across an Access Point / Network merging, etc.
How to get "User Name" in TaskManager process?
The SQL Server cannot obtain a LOCK resource at this time
Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI<wbr />_AS" and "Latin1_General_CI_AS" in the equal to operation
Work group servers cannot ping 2008 R2 domain controller or access DNS
Export Question
How to detect database type
Publisher to Pdf Issues
Disable Data Execution Prevention GPO