I am not really sure what in what context you are referring to, but each Query in Access is stored as SQL statements. To see this, highlight any Query and change to SQL View and it will show you the SQL code for that Query.
Is that what you are looking for?
If not, please provide more detail on exactly what you are after.
I think that would require a Macro or VBA, not necessarily SQL.
You can use the TransferSpreadsheet Macro Action to send an Access Table or Query to an Excel file.
I talked to the individual who maintains our db here and the write statement in something I do not have access to then they implement it into the database and pass me the statement i need to dump all required data in an excel sheet at which I use vba to get it into the form I would like. I really don't know Access, I have made databases, but nothing like this.
I open Excel, Import External Data, New Database Query. I then close until I get to the Edit In Microsoft Query, click on the SQL box, input my statement (which I don't have the correct one) and then I return data to excel...
Joe4<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o> I was reading through the forum and stumbled across this entry. Would you care to expound on this? I wasn't aware such a thing was possible...how exactly would you perform this action?<o></o> <o></o> I think that would require a Macro or VBA, not necessarily SQL.
You can use the TransferSpreadsheet Macro Action to send an Access Table or Query to an Excel file.
We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel
Which adblocker are you using?
Disable AdBlock
Follow these easy steps to disable AdBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the icon in the browser’s toolbar. 2)Click on the "Pause on this site" option.
Go back
Disable AdBlock Plus
Follow these easy steps to disable AdBlock Plus
1)Click on the icon in the browser’s toolbar. 2)Click on the toggle to disable it for "mrexcel.com".
Go back
Disable uBlock Origin
Follow these easy steps to disable uBlock Origin
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.
Go back
Disable uBlock
Follow these easy steps to disable uBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.