From jeff.developer at gmail.com Tue Feb 11 10:24:23 2020 From: jeff.developer at gmail.com (Jeff Barrows) Date: Tue, 11 Feb 2020 10:24:23 -0600 Subject: [AccessD] Moving reports to Visual Studio Message-ID: <01f601d5e0f7$b9e03440$2da09cc0$@gmail.com> Anybody have experience moving reports from Access to Visual Studio? Thank you, Jeff Barrows jeff.developer at gmail.com From gustav at cactus.dk Tue Feb 11 10:27:08 2020 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 11 Feb 2020 16:27:08 +0000 Subject: [AccessD] Moving reports to Visual Studio Message-ID: Hi Jeff Yes and no. If you mean move/convert to Reporting Services, it is a no-go - those are completely different animals. /gustav -----Oprindelig meddelelse----- Fra: AccessD P? vegne af Jeff Barrows Sendt: 11. februar 2020 17:24 Til: 'Access Developers discussion and problem solving' Emne: [AccessD] Moving reports to Visual Studio Anybody have experience moving reports from Access to Visual Studio? Thank you, Jeff Barrows jeff.developer at gmail.com From wrwehler at gmail.com Tue Feb 11 10:41:30 2020 From: wrwehler at gmail.com (Ryan W) Date: Tue, 11 Feb 2020 10:41:30 -0600 Subject: [AccessD] Moving reports to Visual Studio In-Reply-To: References: Message-ID: https://docs.microsoft.com/en-us/sql/reporting-services/import-reports-from-microsoft-access-reporting-services?view=sql-server-2014 You can convert Access reports to SSRS, but not all objects are compatible. On Tue, Feb 11, 2020 at 10:27 AM Gustav Brock via AccessD < accessd at databaseadvisors.com> wrote: > Hi Jeff > > Yes and no. If you mean move/convert to Reporting Services, it is a no-go > - those are completely different animals. > > /gustav > > -----Oprindelig meddelelse----- > Fra: AccessD P? vegne af Jeff > Barrows > Sendt: 11. februar 2020 17:24 > Til: 'Access Developers discussion and problem solving' < > accessd at databaseadvisors.com> > Emne: [AccessD] Moving reports to Visual Studio > > Anybody have experience moving reports from Access to Visual Studio? > > Thank you, > > Jeff Barrows > > jeff.developer at gmail.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jeff.developer at gmail.com Tue Feb 11 10:49:46 2020 From: jeff.developer at gmail.com (Jeff Barrows) Date: Tue, 11 Feb 2020 10:49:46 -0600 Subject: [AccessD] Moving reports to Visual Studio In-Reply-To: References: Message-ID: <022101d5e0fb$44ad2a30$ce077e90$@gmail.com> I should have been more specific. Actually, I didn?t realize I had sent only the start of an email, senior moment I guess! I am moving an Access front end to the web (SQL backend). I am fine moving everything (especially as I get to rewrite and streamline things I did previously) but I really have very little idea on how to run reports in Visual Studio. . I will need to be able to send reports to Excel or create a pdf to be attached to an email. I used to work with Crystal Reports many years ago, but I am looking for something similar to the Access reports for the Web. I am not sure that I have the time to learn anything new right now, so I am hoping for some suggestions on what others have used. Thank you, Jeff Barrows jeff.developer at gmail.com -----Original Message----- From: AccessD On Behalf Of Gustav Brock via AccessD Sent: Tuesday, February 11, 2020 10:27 AM To: Access Developers discussion and problem solving Cc: Gustav Brock Subject: Re: [AccessD] Moving reports to Visual Studio Hi Jeff Yes and no. If you mean move/convert to Reporting Services, it is a no-go - those are completely different animals. /gustav -----Oprindelig meddelelse----- Fra: AccessD P? vegne af Jeff Barrows Sendt: 11. februar 2020 17:24 Til: 'Access Developers discussion and problem solving' Emne: [AccessD] Moving reports to Visual Studio Anybody have experience moving reports from Access to Visual Studio? Thank you, Jeff Barrows jeff.developer at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at outlook.com Tue Feb 11 11:07:10 2020 From: df.waters at outlook.com (Daniel Waters) Date: Tue, 11 Feb 2020 17:07:10 +0000 Subject: [AccessD] Moving reports to Visual Studio In-Reply-To: <022101d5e0fb$44ad2a30$ce077e90$@gmail.com> References: , <022101d5e0fb$44ad2a30$ce077e90$@gmail.com> Message-ID: Hi Jeff, Unfortunately VS reports are very different from Access. Based on my experience (that I didn't do) would be to find an online course on VS reports. I tried to learn from books and MS docs but that's still not enough to get moving effectively. Good luck ? Dan! From: Jeff Barrows Sent: Tuesday, February 11, 2020 10:52 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Moving reports to Visual Studio I should have been more specific. Actually, I didn?t realize I had sent only the start of an email, senior moment I guess! I am moving an Access front end to the web (SQL backend). I am fine moving everything (especially as I get to rewrite and streamline things I did previously) but I really have very little idea on how to run reports in Visual Studio. . I will need to be able to send reports to Excel or create a pdf to be attached to an email. I used to work with Crystal Reports many years ago, but I am looking for something similar to the Access reports for the Web. I am not sure that I have the time to learn anything new right now, so I am hoping for some suggestions on what others have used. Thank you, Jeff Barrows jeff.developer at gmail.com -----Original Message----- From: AccessD On Behalf Of Gustav Brock via AccessD Sent: Tuesday, February 11, 2020 10:27 AM To: Access Developers discussion and problem solving Cc: Gustav Brock Subject: Re: [AccessD] Moving reports to Visual Studio Hi Jeff Yes and no. If you mean move/convert to Reporting Services, it is a no-go - those are completely different animals. /gustav -----Oprindelig meddelelse----- Fra: AccessD P? vegne af Jeff Barrows Sendt: 11. februar 2020 17:24 Til: 'Access Developers discussion and problem solving' Emne: [AccessD] Moving reports to Visual Studio Anybody have experience moving reports from Access to Visual Studio? Thank you, Jeff Barrows jeff.developer at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davidmcafee at gmail.com Tue Feb 11 11:25:56 2020 From: davidmcafee at gmail.com (David McAfee) Date: Tue, 11 Feb 2020 09:25:56 -0800 Subject: [AccessD] Moving reports to Visual Studio In-Reply-To: References: Message-ID: I was able to convert a dozen reports successfully from ms Access to SSRS using SSDT. I did have problems with embedded reports (subreports), so I had to make versions without the sub report, then import them and the separate sub reports, then embed the sub manually. I also had to fix several expressions in the reports, but it was still faster than recreating the reports from scratch I forget if I had to strip the VBA from reports that were using it, but I found most of the stuff I was doing in VBA was not needed in ssrs, or was handled some other way. Oh, and I might add that I exported all if the reports into a new access database before importing them into ssrs. Look at https://docs.microsoft.com/en-us/sql/reporting-services/import-reports-from-microsoft-access-reporting-services And https://www.mssqltips.com/sqlservertip/4187/converting-ms-access-reports-to-sql-server-reporting-services-reports/ Hth, David McAfee On Tue, Feb 11, 2020, 8:27 AM Gustav Brock via AccessD < accessd at databaseadvisors.com> wrote: > Hi Jeff > > Yes and no. If you mean move/convert to Reporting Services, it is a no-go > - those are completely different animals. > > /gustav > > -----Oprindelig meddelelse----- > Fra: AccessD P? vegne af Jeff > Barrows > Sendt: 11. februar 2020 17:24 > Til: 'Access Developers discussion and problem solving' < > accessd at databaseadvisors.com> > Emne: [AccessD] Moving reports to Visual Studio > > Anybody have experience moving reports from Access to Visual Studio? > > Thank you, > > Jeff Barrows > > jeff.developer at gmail.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From davidmcafee at gmail.com Tue Feb 11 11:54:49 2020 From: davidmcafee at gmail.com (David McAfee) Date: Tue, 11 Feb 2020 09:54:49 -0800 Subject: [AccessD] Moving reports to Visual Studio In-Reply-To: <022101d5e0fb$44ad2a30$ce077e90$@gmail.com> References: <022101d5e0fb$44ad2a30$ce077e90$@gmail.com> Message-ID: Look into SQL Server Reporting Services (SSRS). You can set up reports to run on schedules, set up subscriptions, it is web based. You can manually create .rdl files, or use them as templates to programmatically create .rdlc files. On Tue, Feb 11, 2020, 8:50 AM Jeff Barrows wrote: > I should have been more specific. Actually, I didn?t realize I had sent > only the start of an email, senior moment I guess! > > I am moving an Access front end to the web (SQL backend). I am fine moving > everything (especially as I get to rewrite and streamline things I did > previously) but I really have very little idea on how to run reports in > Visual Studio. . I will need to be able to send reports to Excel or create > a pdf to be attached to an email. I used to work with Crystal Reports > many years ago, but I am looking for something similar to the Access > reports > for the Web. > > I am not sure that I have the time to learn anything new right now, so I am > hoping for some suggestions on what others have used. > > Thank you, > > Jeff Barrows > jeff.developer at gmail.com > > -----Original Message----- > From: AccessD On Behalf Of Gustav > Brock via AccessD > Sent: Tuesday, February 11, 2020 10:27 AM > To: Access Developers discussion and problem solving > > Cc: Gustav Brock > Subject: Re: [AccessD] Moving reports to Visual Studio > > Hi Jeff > > Yes and no. If you mean move/convert to Reporting Services, it is a no-go - > those are completely different animals. > > /gustav > > -----Oprindelig meddelelse----- > Fra: AccessD P? vegne af Jeff > Barrows > Sendt: 11. februar 2020 17:24 > Til: 'Access Developers discussion and problem solving' > > Emne: [AccessD] Moving reports to Visual Studio > > Anybody have experience moving reports from Access to Visual Studio? > > Thank you, > > Jeff Barrows > > jeff.developer at gmail.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kost36 at gmail.com Wed Feb 12 10:29:33 2020 From: kost36 at gmail.com (Kostas Konstantinidis) Date: Wed, 12 Feb 2020 18:29:33 +0200 Subject: [AccessD] clear x characters... Message-ID: <091601d5e1c1$9ff7e9e0$dfe7bda0$@gmail.com> Dear people I import a lot of records from a mysql table which are like: ANGRY BIRDS 2
Thurop Van Orman, John Rice (USA, Finland)
5/9/2019 ? Spentzos Film
THE FAVORITE
Giorgos Lanthimos (USA, UK, Irland )
5/9/2019 - Feelgood Ent
etc? What I need is to split it in three different fields (columns) 1. to keep only the Movie Title clearing the first 14 standard characters and everything after the end of the title e.g. ANGRY BIRDS 2 THE FAVORITE 2. to keep only the director?s name (after the first ?
? and everything after the first ?(? e.g. Thurop Van Orman, John Rice Giorgos Lanthimos 3. to keep only the Production Countries (including into parenthesis) clearing all the previous and after that characters is that possible from msaccess query? Many thank?s /kostas From gustav at cactus.dk Wed Feb 12 10:38:46 2020 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 12 Feb 2020 16:38:46 +0000 Subject: [AccessD] Moving reports to Visual Studio Message-ID: Hi Ryan Thanks! I should have noted, that my experience goes 11 years back, so I was not aware of this newer tool. Looks cool. /gustav -----Oprindelig meddelelse----- Fra: AccessD P? vegne af Ryan W Sendt: 11. februar 2020 17:42 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Moving reports to Visual Studio https://docs.microsoft.com/en-us/sql/reporting-services/import-reports-from-microsoft-access-reporting-services?view=sql-server-2014 You can convert Access reports to SSRS, but not all objects are compatible. On Tue, Feb 11, 2020 at 10:27 AM Gustav Brock via AccessD < accessd at databaseadvisors.com> wrote: > Hi Jeff > > Yes and no. If you mean move/convert to Reporting Services, it is a > no-go > - those are completely different animals. > > /gustav > > -----Oprindelig meddelelse----- > Fra: AccessD P? vegne af Jeff > Barrows > Sendt: 11. februar 2020 17:24 > Til: 'Access Developers discussion and problem solving' < > accessd at databaseadvisors.com> > Emne: [AccessD] Moving reports to Visual Studio > > Anybody have experience moving reports from Access to Visual Studio? > > Thank you, > > Jeff Barrows > > jeff.developer at gmail.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Feb 13 21:44:59 2020 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 14 Feb 2020 13:44:59 +1000 Subject: [AccessD] clear x characters... In-Reply-To: <091601d5e1c1$9ff7e9e0$dfe7bda0$@gmail.com> References: <091601d5e1c1$9ff7e9e0$dfe7bda0$@gmail.com> Message-ID: <5E4617BB.8445.64D85A4@stuart.lexacorp.com.pg> A combination of MID$() and INSTR() should do that fairly easily. On 12 Feb 2020 at 18:29, Kostas Konstantinidis wrote: > Dear people > I import a lot of records from a mysql table which are like: > ANGRY BIRDS 2
Thurop Van Orman, John Rice (USA, > Finland)
5/9/2019 - Spentzos Film
THE > FAVORITE
Giorgos Lanthimos (USA, UK, Irland )
5/9/2019 - > Feelgood Ent
etc... > > What I need is to split it in three different fields (columns) > > 1. to keep only the Movie Title clearing the first 14 standard > characters and everything after the end of the title e.g. > ANGRY BIRDS 2 > THE FAVORITE > 2. to keep only the director?s name (after the first "
" and > everything after the first "(" e.g. > Thurop Van Orman, John Rice > Giorgos Lanthimos > 3. to keep only the Production Countries (including into parenthesis) > clearing all the previous and after that characters > > is that possible from msaccess query? > > Many thank?s > /kostas > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Feb 13 21:50:55 2020 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 14 Feb 2020 13:50:55 +1000 Subject: [AccessD] clear x characters... In-Reply-To: <091601d5e1c1$9ff7e9e0$dfe7bda0$@gmail.com> References: <091601d5e1c1$9ff7e9e0$dfe7bda0$@gmail.com> Message-ID: <5E46191F.5518.652F306@stuart.lexacorp.com.pg> Aircode, but it should be close: Title = Mid$(strData,14, Instr(strData,"
") -14) Director = Mid$(instr(strData,"
" + 5),instr(strData,"(") - instr(strData,"
" + 5)) ProdCountries = Mid$(Instr(strData,"(") , Instr(strdata(")") - Instr(strData,"(") ) On 12 Feb 2020 at 18:29, Kostas Konstantinidis wrote: > Dear people > I import a lot of records from a mysql table which are like: > ANGRY BIRDS 2
Thurop Van Orman, John Rice (USA, > Finland)
5/9/2019 - Spentzos Film
THE > FAVORITE
Giorgos Lanthimos (USA, UK, Irland )
5/9/2019 - > Feelgood Ent
etc... > > What I need is to split it in three different fields (columns) > > 1. to keep only the Movie Title clearing the first 14 standard > characters and everything after the end of the title e.g. > ANGRY BIRDS 2 > THE FAVORITE > 2. to keep only the director?s name (after the first "
" and > everything after the first "(" e.g. > Thurop Van Orman, John Rice > Giorgos Lanthimos > 3. to keep only the Production Countries (including into parenthesis) > clearing all the previous and after that characters > > is that possible from msaccess query? > > Many thank?s > /kostas > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From kost36 at gmail.com Sun Feb 16 06:03:50 2020 From: kost36 at gmail.com (Kostas Konstantinidis) Date: Sun, 16 Feb 2020 14:03:50 +0200 Subject: [AccessD] clear x characters... In-Reply-To: <5E46191F.5518.652F306@stuart.lexacorp.com.pg> References: <091601d5e1c1$9ff7e9e0$dfe7bda0$@gmail.com> <5E46191F.5518.652F306@stuart.lexacorp.com.pg> Message-ID: <015e01d5e4c1$27a407a0$76ec16e0$@gmail.com> Hi Stuart, The first part works perfect but not the other two... response with just error# Thank's /kostas -----Original Message----- From: AccessD On Behalf Of Stuart McLachlan Sent: Friday, February 14, 2020 5:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] clear x characters... Aircode, but it should be close: Title = Mid$(strData,14, Instr(strData,"
") -14) Director = Mid$(instr(strData,"
" + 5),instr(strData,"(") - instr(strData,"
" + 5)) ProdCountries = Mid$(Instr(strData,"(") , Instr(strdata(")") - Instr(strData,"(") ) On 12 Feb 2020 at 18:29, Kostas Konstantinidis wrote: > Dear people > I import a lot of records from a mysql table which are like: > ANGRY BIRDS 2
Thurop Van Orman, John Rice (USA, > Finland)
5/9/2019 - Spentzos Film
THE > FAVORITE
Giorgos Lanthimos (USA, UK, Irland )
5/9/2019 - > Feelgood Ent
etc... > > What I need is to split it in three different fields (columns) > > 1. to keep only the Movie Title clearing the first 14 standard > characters and everything after the end of the title e.g. > ANGRY BIRDS 2 > THE FAVORITE > 2. to keep only the director?s name (after the first "
" and > everything after the first "(" e.g. > Thurop Van Orman, John Rice > Giorgos Lanthimos > 3. to keep only the Production Countries (including into parenthesis) > clearing all the previous and after that characters > > is that possible from msaccess query? > > Many thank?s > /kostas > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Feb 16 08:08:14 2020 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 17 Feb 2020 00:08:14 +1000 Subject: [AccessD] clear x characters... In-Reply-To: <015e01d5e4c1$27a407a0$76ec16e0$@gmail.com> References: <091601d5e1c1$9ff7e9e0$dfe7bda0$@gmail.com>, <5E46191F.5518.652F306@stuart.lexacorp.com.pg>, <015e01d5e4c1$27a407a0$76ec16e0$@gmail.com> Message-ID: <5E494CCE.15061.12D4DC1E@stuart.lexacorp.com.pg> I did say it was aircode. You should have been able to work out a solution based on the concept. :) These work. (I had to include the TRIM$() because your sample data is inconsistent in leading spaces) Function Test() As Long Dim strData As String 'strData = "ANGRY BIRDS 2
Thurop Van Orman, John Rice (USA, Finland)
5/9/2019 - Spentzos Film
" strData = " THE FAVORITE
Giorgos Lanthimos (USA, UK, Irland )
5/9/2019 - Feelgood Ent
" Debug.Print Trim$(Mid$(strData, 14, InStr(strData, "
") - 14)) Debug.Print Trim$(Mid$(strData, InStr(strData, "
") + 4, InStr(strData, "(") - InStr(strData, "
") - 4)) Debug.Print Mid$(strData, InStr(strData, "("), InStr(strData, ")") - InStr(strData, "(") + 1) End Function On 16 Feb 2020 at 14:03, Kostas Konstantinidis wrote: > Hi Stuart, > The first part works perfect but not the other two... response with > just error# > > Thank's > /kostas > > -----Original Message----- > From: AccessD On Behalf Of > Stuart McLachlan Sent: Friday, February 14, 2020 5:51 AM To: Access > Developers discussion and problem solving > Subject: Re: [AccessD] clear x > characters... > > Aircode, but it should be close: > > Title = Mid$(strData,14, Instr(strData,"
") -14) Director = > Mid$(instr(strData,"
" + 5),instr(strData,"(") - > instr(strData,"
" + 5)) ProdCountries = Mid$(Instr(strData,"(") , > Instr(strdata(")") - Instr(strData,"(") ) > > > > On 12 Feb 2020 at 18:29, Kostas Konstantinidis wrote: > > > Dear people > > I import a lot of records from a mysql table which are like: > > ANGRY BIRDS 2
Thurop Van Orman, John Rice (USA, > > Finland)
5/9/2019 - Spentzos Film
THE > > FAVORITE
Giorgos Lanthimos (USA, UK, Irland )
5/9/2019 - > > Feelgood Ent
etc... > > > > What I need is to split it in three different fields (columns) > > > > 1. to keep only the Movie Title clearing the first 14 standard > > characters and everything after the end of the title e.g. > > ANGRY BIRDS 2 > > THE FAVORITE > > 2. to keep only the director?s name (after the first "
" and > > everything after the first "(" e.g. > > Thurop Van Orman, John Rice > > Giorgos Lanthimos > > 3. to keep only the Production Countries (including into > > parenthesis) clearing all the previous and after that characters > > > > is that possible from msaccess query? > > > > Many thank?s > > /kostas > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com >