Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / December 2007

Tip: Looking for answers? Try searching our database.

Shell to another database--and specify form/record

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ann in CA - 06 Dec 2007 22:56 GMT
Hi,

Is there a way to pass a variable or criteria string to another database?
i.e. if a user presses the "View Linked Record" button on a form in Access
database A1, can it open up SQL server database B2 to a specific form (not
the usual opening form) and a specific record? (or Access to Access database,
the point being they are and must remain separate backends)

TIA...
Brian - 07 Dec 2007 05:28 GMT
I think you would want to link both backends to the single front-end. That
is, you can have links to both the Access backend and the SQL DB in the same
front-end.

Then you can just reference the records natively via bound forms. All you
have to do is to use the current value and include it in the WHERE argument
when opening the form bound to the other back-end.

Code on a form bound to Access Back-end could have code like this:

DoCmd.OpenForm "YourFormBoundToTableInSQLDB", , , "[SQLRecordID] = " &
AccessBackEndRecordID

> Hi,
>
[quoted text clipped - 5 lines]
>
> TIA...
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.