ms-access-2013

Create a concatenated list of child table values from an Access database without using VBA

吃可爱长大的小学妹 提交于 2019-11-30 10:00:31
问题 I have an Access 2010 database with a relationship between parent and child tables. I would like to be able to query the database from an external application and show values from the child table as a concatenated list of values in a single column, similar to what MySQL can produce with its GROUP_CONCAT() function. This has been asked here many times before, e.g., here: Combine values from related rows into a single concatenated string value but those solutions rely on a custom VBA function

Access 2013 - Cannot open a database created with a previous version of your application

て烟熏妆下的殇ゞ 提交于 2019-11-30 08:05:09
I have an Access database created more than 10 yrs back. I have very important data in it & I think it can be opened in Access 2007 or earlier version. Currently I have Access 2013 in my desktop and opening the file with this version results in the error "Cannot open a database created with a previous version of your application" What is the solution for this issue? Is there any place where I can download the earlier version of MS Access? Appetere I've just used Excel 2016 to open Access 2003 tables. Open a new worksheet Go to Data tab Click on "From Access" menu item Select the database's

Create a concatenated list of child table values from an Access database without using VBA

大兔子大兔子 提交于 2019-11-29 18:04:19
I have an Access 2010 database with a relationship between parent and child tables. I would like to be able to query the database from an external application and show values from the child table as a concatenated list of values in a single column, similar to what MySQL can produce with its GROUP_CONCAT() function. This has been asked here many times before, e.g., here: Combine values from related rows into a single concatenated string value but those solutions rely on a custom VBA function that is not available to external queries. Is there a way to make such a concatenated list available to

Sending emails to multiple recipients using VBA

南楼画角 提交于 2019-11-29 14:00:03
I have the following code which allows me to attach a report then send it to one recipient. How do I send it to more than one address? I've tried putting the addresses in an array but it gives a "Type Mismatch" error. Dim strReportName As String Dim oLook As Object Dim oMail As Object Dim olns As Outlook.Namespace Dim strTO As String Dim strCC As String Dim strMessageBody As String Dim strSubject As String Set oLook = CreateObject("Outlook.Application") 'Set olns = oLook.GetNamespace("MAPI") Set oMail = oLook.CreateItem(0) '*********************** USER DEFINED SECTION ************************

Access 2013 - Cannot open a database created with a previous version of your application

走远了吗. 提交于 2019-11-29 10:58:49
问题 I have an Access database created more than 10 yrs back. I have very important data in it & I think it can be opened in Access 2007 or earlier version. Currently I have Access 2013 in my desktop and opening the file with this version results in the error "Cannot open a database created with a previous version of your application" What is the solution for this issue? Is there any place where I can download the earlier version of MS Access? 回答1: I've just used Excel 2016 to open Access 2003

How to use unbound checkbox in a Continuous Subform - MS Access 2013

戏子无情 提交于 2019-11-29 08:55:16
I'm fairly new to Access and having a really hard time figuring out each and every bit of it. Now I want to have a grid containing rows fetched from a query and a checkbox for every row. Here's what I want: User should be able to select individual checkbox to select the row. A "Select all" checkbox to select all rows. Only upon clicking a button the rows must be updated I have Created a form. Added a Continuous Subform and the Rowsource has a checkbox bound to a Yes/No field. I'm stuck at this point. Please refer to the attached image and help me figure this out. Please suggest some good

Working with Unicode file names in VBA (using Dir, FileSystemObject, etc.)

好久不见. 提交于 2019-11-28 12:09:38
I am iterating through files in a folder (which means I do not know the names in the folder), and have a file with a Polish ł character. The Dir function converts this to an l which means the filename can't be found at a later date. I've declared the var that I'm assigning the dir value to as a string. I've also tried FSO and getfolder which also has the same issue. I've also noticed the file dialog (set to folder select mode) converts the character above too. Is this a bug, or is it something that can be worked around? It sounds like you are being misled by the fact that while VBA itself

Sending emails to multiple recipients using VBA

爷,独闯天下 提交于 2019-11-28 08:08:47
问题 I have the following code which allows me to attach a report then send it to one recipient. How do I send it to more than one address? I've tried putting the addresses in an array but it gives a "Type Mismatch" error. Dim strReportName As String Dim oLook As Object Dim oMail As Object Dim olns As Outlook.Namespace Dim strTO As String Dim strCC As String Dim strMessageBody As String Dim strSubject As String Set oLook = CreateObject("Outlook.Application") 'Set olns = oLook.GetNamespace("MAPI")

How to use unbound checkbox in a Continuous Subform - MS Access 2013

对着背影说爱祢 提交于 2019-11-28 02:17:46
问题 I'm fairly new to Access and having a really hard time figuring out each and every bit of it. Now I want to have a grid containing rows fetched from a query and a checkbox for every row. Here's what I want: User should be able to select individual checkbox to select the row. A "Select all" checkbox to select all rows. Only upon clicking a button the rows must be updated I have Created a form. Added a Continuous Subform and the Rowsource has a checkbox bound to a Yes/No field. I'm stuck at

MS Access 2013 calling insert queries from VBA with strange errors

好久不见. 提交于 2019-11-27 08:40:47
问题 I have a saved insert query to add a record to a table. The parameters for the query come from an unbound form. 2 of the fields for the table are of the yes/no data type. The form control for these fields is a checkbox. Here is the saved query "qryInsertLog" PARAMETERS UserPar Text ( 255 ), ApprovedByPar Text ( 255 ), CCedByPar Text ( 255 ), UnitIdPar Short, NotePar LongText, Z3Par Bit, Z5Par Bit, FollowupNotesPar LongText; INSERT INTO tblLogBook ( [User], ApprovedBy, CCedBy, UnitID, Notes,