May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.
If I use this code, the SQL Server database becomes read-only to the Access front end. If I set up the links using ODBC the front end becomes read / write, which is what I want.
For Each td In CurrentDb.TableDefs If td.name = stLocalTableName Then CurrentDb.TableDefs.Delete stLocalTableName End If Next stConnect = "ODBC;DRIVER=SQL Server;SERVER=" & stServer & ";DATABASE=" & stDatabase & ";Trusted_Connection=Yes" Set td = CurrentDb.CreateTableDef(stLocalTableName, dbAttachSavePWD, stRemoteTableName, stConnect) CurrentDb.TableDefs.Append td AttachDSNLessTable = True
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|SQL Server set parent recort in select with row number||8||28|
|Access 2010 Changing String to Date with Leading Zero||11||32|
|Conditionally trimming using VBA||8||36|
|ms/access follow hiperlink and generate image||5||16|
Join the community of 500,000 technology professionals and ask your questions.