From Gustav at cactus.dk Sun Apr 1 04:40:21 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 01 Apr 2007 11:40:21 +0200 Subject: [AccessD] SQL Server - Time only in date field Message-ID: Hi John and Stuart It's easier than that; it behaves exactly like in Access (JET) except for two things: - SQL Server time is limited to real linear dates only, back to 1753-1-1, where JET goes back to an artificial value of 100-1-1. - SQL Server millisecond resolution is only 3.33 ms while JET goes down to 1 ms. Thus, the date of numeric date value zero is the same for both: 1899-12-30. This can be easily shown if you format a date/time field from SQL Server to a string which always include the date: ? Format(, "yyyy-mm-dd hh:nn:ss") Official doc is here: http://msdn2.microsoft.com/en-us/library/ms141036.aspx which also could imply that the data type of DT_DBTIME would fit your purpose. /gustav >>> stuart at lexacorp.com.pg 01-04-2007 01:40 >>> On 31 Mar 2007 at 14:33, JWColby wrote: > Can SQL Server handle a date with just a time portion in the field? IOW a > date of 12:03 am without a date? Yes. Does it just the way that Access does. It defaults to date 0 if no date part is specified. Date 0 is January 1, 1900 To retrieve the time as a string use Convert(char(8),myDate,8) for hh:mm:ss or Convert(char(12),myDate,14) if you want milliseconds. (108 and114 return the same thing) -- Stuart From Gustav at cactus.dk Sun Apr 1 05:04:02 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 01 Apr 2007 12:04:02 +0200 Subject: [AccessD] Column Positions Message-ID: Hi Shamil If this is in an Access environment, are there any benefits by specifying the Access Application object? Normally I don't use it - I'm mostly in Access - but maybe I should? Anyway, in Access this stripped down version seems to run with no glitches: Public Sub ResetToQBEFieldsOrder(ByVal queryName As String) Dim dbs As DAO.Database Dim qdf As DAO.QueryDef Dim frm As Form Dim index As Integer Set dbs = CurrentDb Set qdf = dbs.QueryDefs(queryName) DoCmd.OpenQuery queryName, acViewNormal Set frm = Screen.ActiveDatasheet.Form For index = 0 To qdf.Fields.Count - 1 frm.Controls(index).ColumnOrder = index + 1 Next DoCmd.Close acQuery, queryName, acSaveYes Set qdf = Nothing Set dbs = Nothing End Sub /gustav >>> shamil at users.mns.ru 30-03-2007 20:47 >>> Hello Gustav, Yes, that's OK - and now we start to play code optimization/generalization game :) (I'm using splitted code lines here to post ready to copy&paste code, hopefully it will not be screwed anymore): Public Sub ResetToQBEFieldsOrder( _ ByVal queryName As String, _ Optional ByRef rapp As _ Access.Application = Nothing) Dim app As Access.Application Dim dbs As DAO.Database Dim fld As DAO.Field Dim qdf As DAO.QueryDef Dim frm As Access.Form Dim ctl As Access.Control Set app = rapp If app Is Nothing Then _ Set app = Access.Application With app Set dbs = .CurrentDb Set qdf = dbs.QueryDefs(queryName) .DoCmd.OpenQuery queryName, acViewNormal Set frm = .Screen.ActiveDatasheet.Form For Each fld In qdf.Fields frm.Controls(fld.Name).ColumnOrder = _ fld.OrdinalPosition + 1 Next fld .DoCmd.Close acQuery, queryName, acSaveYes End With Set qdf = Nothing Set dbs = Nothing Set app = Nothing End Sub -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, March 30, 2007 10:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Column Positions Hi Shamil Bright idea! I hate when I have to say Yes to save the SQL of the query and I forgot to rearrange a column I have moved for some reason. Now I can just run this routine. The function can be simplified a bit by just using the count of fields: Public Sub ResetToQBEFieldsOrder(ByVal queryName As String) Dim app As Access.Application Dim dbs As DAO.Database Dim fld As DAO.Field Dim qdf As DAO.QueryDef Dim index As Integer Dim frm As Access.Form Set app = Access.Application Set dbs = app.CurrentDb Set qdf = dbs.QueryDefs(queryName) app.DoCmd.OpenQuery queryName, acViewNormal Set frm = app.Screen.ActiveDatasheet.Form For index = 0 To qdf.Fields.Count - 1 frm.Controls(index).ColumnOrder = index + 1 Next app.DoCmd.Close acQuery, queryName, acSaveYes Set qdf = Nothing Set dbs = Nothing Set app = Nothing End Sub /gustav >>> shamil at users.mns.ru 30-03-2007 19:17 >>> Hi John, Here is how column order can be "reset" to the column order in QBE grid: Public Sub ResetToQBEFieldsOrder(ByVal queryName As String) Dim app As Access.Application Dim dbs As DAO.Database Dim fld As DAO.Field Dim qdf As DAO.QueryDef Dim index As Integer Dim frm As Access.Form Dim ctl As Access.Control Set app = Access.Application Set dbs = app.CurrentDb Set qdf = dbs.QueryDefs(queryName) app.DoCmd.OpenQuery queryName, acViewNormal Set frm = app.Screen.ActiveDatasheet.Form index = 1 For Each fld In qdf.Fields Set ctl = frm.Controls(fld.Name) ctl.ColumnOrder = index index = index + 1 Next fld app.DoCmd.Close acQuery, queryName, acSaveYes Set qdf = Nothing Set dbs = Nothing Set app = Nothing End Sub I have just "cooked" this code as a sample - it seems to work not bad but please test it carefully if you plan to use it in production... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, March 30, 2007 8:27 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Column Positions I have no idea what happens if you don't either. I believe that it does NOT save your changes. However if you DO save the changes, then the positions in design view do not match the positions in data view, and I have never discovered a way to "reset" them to match. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, March 30, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Column Positions You mean, if you don't save the datasheet view, the query retains the new positions? I don't think I've ever paid any attention to this -- seems like I'm always asked to save the query -- but really, never paid attention to what happens if I don't. Or, am I someplace totally different that you guys? Susan H. In a query's datasheet view you can easily drag the columns around. Is there any way to reset them back to the way they are positioned in the query grid? The only way I have found to do this is to create a new query and just copy the SQL statement to the new one. Is there a easier way, or maybe a menu option? From stuart at lexacorp.com.pg Sun Apr 1 05:03:19 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 01 Apr 2007 20:03:19 +1000 Subject: [AccessD] SQL Server - Time only in date field In-Reply-To: References: Message-ID: <460F8367.15680.1548C5BE@stuart.lexacorp.com.pg> On 1 Apr 2007 at 11:40, Gustav Brock wrote: > Hi John and Stuart > > It's easier than that; it behaves exactly like in Access (JET) except for > two things: > > - SQL Server time is limited to real linear dates only, back to 1753-1-1, > where JET goes back to an artificial value of 100-1-1. - SQL Server > millisecond resolution is only 3.33 ms while JET goes down to 1 ms. > > Thus, the date of numeric date value zero is the same for both: 1899-12-30. > This can be easily shown if you format a date/time field from SQL Server to > a string which always include the date: Unfortunately, that's not true. In Access Date 0 is 1899-12-30, but in SQL server it is 1900-1-1. >From Transact SQL Help in BOL: Values with the datetime data type are stored internally by Microsoft SQL Server as two 4-byte integers. The first 4 bytes store the number of days before or after the base date, January 1, 1900. The base date is the system reference date. Values for datetime earlier than January 1, 1753, are not permitted. The other 4 bytes store the time of day represented as the number of milliseconds after midnight. The smalldatetime data type stores dates and times of day with less precision than datetime. SQL Server stores smalldatetime values as two 2- byte integers. The first 2 bytes store the number of days after January 1, 1900. The other 2 bytes store the number of minutes since midnight. Dates range from January 1, 1900, through June 6, 2079, with accuracy to the minute. -- Stuart From shamil at users.mns.ru Sun Apr 1 05:52:40 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 1 Apr 2007 14:52:40 +0400 Subject: [AccessD] Column Positions In-Reply-To: Message-ID: <000601c7744b$deb21350$6401a8c0@nant> Hi Gustav, With Access.Application parameter passed as optional you "reserve" opportunity to easily use the same code in Access Automation scenarios. I also often (in my "previous life" when I programmed a lot on VBA) did use: Optional ByRef rdbs as DAO.Database = Nothing That "saved my life" many times when the database to work with wasn't CurrentDB. For this subject case it's not needed because this code always operates with CurrenDb... The usage of: With app Is used to not have costly Automation "round-trip" of getting reference of MS Access instance. It's not needed when Access Automation is not used. Using explicit: app.DoCmd... .. App.CurrentDb .. Is good programming style IMO - when used that way then you get automatic habit to use it simira way when programming MS Word/MS Exce/... Automation - then copy & paste code between different VBA hosts will never result in (unexpectedly) activating/running "ghost" background instances of MS Access/Word/Excel/..., which are often not easy to "catch" where they come from, to "kill" them etc... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, April 01, 2007 2:04 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Column Positions Hi Shamil If this is in an Access environment, are there any benefits by specifying the Access Application object? Normally I don't use it - I'm mostly in Access - but maybe I should? Anyway, in Access this stripped down version seems to run with no glitches: Public Sub ResetToQBEFieldsOrder(ByVal queryName As String) Dim dbs As DAO.Database Dim qdf As DAO.QueryDef Dim frm As Form Dim index As Integer Set dbs = CurrentDb Set qdf = dbs.QueryDefs(queryName) DoCmd.OpenQuery queryName, acViewNormal Set frm = Screen.ActiveDatasheet.Form For index = 0 To qdf.Fields.Count - 1 frm.Controls(index).ColumnOrder = index + 1 Next DoCmd.Close acQuery, queryName, acSaveYes Set qdf = Nothing Set dbs = Nothing End Sub /gustav >>> shamil at users.mns.ru 30-03-2007 20:47 >>> Hello Gustav, Yes, that's OK - and now we start to play code optimization/generalization game :) (I'm using splitted code lines here to post ready to copy&paste code, hopefully it will not be screwed anymore): Public Sub ResetToQBEFieldsOrder( _ ByVal queryName As String, _ Optional ByRef rapp As _ Access.Application = Nothing) Dim app As Access.Application Dim dbs As DAO.Database Dim fld As DAO.Field Dim qdf As DAO.QueryDef Dim frm As Access.Form Dim ctl As Access.Control Set app = rapp If app Is Nothing Then _ Set app = Access.Application With app Set dbs = .CurrentDb Set qdf = dbs.QueryDefs(queryName) .DoCmd.OpenQuery queryName, acViewNormal Set frm = .Screen.ActiveDatasheet.Form For Each fld In qdf.Fields frm.Controls(fld.Name).ColumnOrder = _ fld.OrdinalPosition + 1 Next fld .DoCmd.Close acQuery, queryName, acSaveYes End With Set qdf = Nothing Set dbs = Nothing Set app = Nothing End Sub -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, March 30, 2007 10:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Column Positions Hi Shamil Bright idea! I hate when I have to say Yes to save the SQL of the query and I forgot to rearrange a column I have moved for some reason. Now I can just run this routine. The function can be simplified a bit by just using the count of fields: Public Sub ResetToQBEFieldsOrder(ByVal queryName As String) Dim app As Access.Application Dim dbs As DAO.Database Dim fld As DAO.Field Dim qdf As DAO.QueryDef Dim index As Integer Dim frm As Access.Form Set app = Access.Application Set dbs = app.CurrentDb Set qdf = dbs.QueryDefs(queryName) app.DoCmd.OpenQuery queryName, acViewNormal Set frm = app.Screen.ActiveDatasheet.Form For index = 0 To qdf.Fields.Count - 1 frm.Controls(index).ColumnOrder = index + 1 Next app.DoCmd.Close acQuery, queryName, acSaveYes Set qdf = Nothing Set dbs = Nothing Set app = Nothing End Sub /gustav >>> shamil at users.mns.ru 30-03-2007 19:17 >>> Hi John, Here is how column order can be "reset" to the column order in QBE grid: Public Sub ResetToQBEFieldsOrder(ByVal queryName As String) Dim app As Access.Application Dim dbs As DAO.Database Dim fld As DAO.Field Dim qdf As DAO.QueryDef Dim index As Integer Dim frm As Access.Form Dim ctl As Access.Control Set app = Access.Application Set dbs = app.CurrentDb Set qdf = dbs.QueryDefs(queryName) app.DoCmd.OpenQuery queryName, acViewNormal Set frm = app.Screen.ActiveDatasheet.Form index = 1 For Each fld In qdf.Fields Set ctl = frm.Controls(fld.Name) ctl.ColumnOrder = index index = index + 1 Next fld app.DoCmd.Close acQuery, queryName, acSaveYes Set qdf = Nothing Set dbs = Nothing Set app = Nothing End Sub I have just "cooked" this code as a sample - it seems to work not bad but please test it carefully if you plan to use it in production... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, March 30, 2007 8:27 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Column Positions I have no idea what happens if you don't either. I believe that it does NOT save your changes. However if you DO save the changes, then the positions in design view do not match the positions in data view, and I have never discovered a way to "reset" them to match. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, March 30, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Column Positions You mean, if you don't save the datasheet view, the query retains the new positions? I don't think I've ever paid any attention to this -- seems like I'm always asked to save the query -- but really, never paid attention to what happens if I don't. Or, am I someplace totally different that you guys? Susan H. In a query's datasheet view you can easily drag the columns around. Is there any way to reset them back to the way they are positioned in the query grid? The only way I have found to do this is to create a new query and just copy the SQL statement to the new one. Is there a easier way, or maybe a menu option? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hkotsch at arcor.de Sun Apr 1 06:32:35 2007 From: hkotsch at arcor.de (Helmut Kotsch) Date: Sun, 1 Apr 2007 13:32:35 +0200 Subject: [AccessD] Data source for PivotTable-Form in ACCESS 2000 Message-ID: Hi, this drives me crazy, 4 years ago I defined in an ACCESS 2000 application a "PivotTable-Form". The resulting EXCEL table inclusive the "Data update" works perfect. I now want to update/change the query for the "Data Source" but cannot find which query is behind the "PivotTable-Form" or behind the resulting EXCEL spreadsheet. When editing the properties for the "PivotTable-Form" or the EXCEL spreadsheet the "Data Source" is always blank. Question: Where does Access 2000 or EXCEL 2000 hide the respective data source (Query)?? Helmut From Gustav at cactus.dk Sun Apr 1 06:45:30 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 01 Apr 2007 13:45:30 +0200 Subject: [AccessD] SQL Server - Time only in date field Message-ID: Hi Stuart Sorry for the confusion. I assumed that John is operating in Access where the numeric value will be converted by the driver to match that of SQL Server by shifting the value by -2. Thus: insert into dbo_timetable (timefield) values (0) will insert the date 1899-12-30. However, if John operates within SQL Server - for example by executing a pass-through query like: insert into dbo.timetable (timefield) values (0) you are of course right - that date will be 1900-1-1. /gustav >>> stuart at lexacorp.com.pg 01-04-2007 12:03 >>> On 1 Apr 2007 at 11:40, Gustav Brock wrote: > Hi John and Stuart > > It's easier than that; it behaves exactly like in Access (JET) except for > two things: > > - SQL Server time is limited to real linear dates only, back to 1753-1-1, > where JET goes back to an artificial value of 100-1-1. - SQL Server > millisecond resolution is only 3.33 ms while JET goes down to 1 ms. > > Thus, the date of numeric date value zero is the same for both: 1899-12-30. > This can be easily shown if you format a date/time field from SQL Server to > a string which always include the date: Unfortunately, that's not true. In Access Date 0 is 1899-12-30, but in SQL server it is 1900-1-1. >From Transact SQL Help in BOL: Values with the datetime data type are stored internally by Microsoft SQL Server as two 4-byte integers. The first 4 bytes store the number of days before or after the base date, January 1, 1900. The base date is the system reference date. Values for datetime earlier than January 1, 1753, are not permitted. The other 4 bytes store the time of day represented as the number of milliseconds after midnight. The smalldatetime data type stores dates and times of day with less precision than datetime. SQL Server stores smalldatetime values as two 2- byte integers. The first 2 bytes store the number of days after January 1, 1900. The other 2 bytes store the number of minutes since midnight. Dates range from January 1, 1900, through June 6, 2079, with accuracy to the minute. -- Stuart From Gustav at cactus.dk Sun Apr 1 06:49:01 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 01 Apr 2007 13:49:01 +0200 Subject: [AccessD] Column Positions Message-ID: Hi Shamil Thanks, that explains. I will note this, should I ever have to do some serious programming in VBA outside Access. /gustav >>> shamil at users.mns.ru 01-04-2007 12:52 >>> Hi Gustav, With Access.Application parameter passed as optional you "reserve" opportunity to easily use the same code in Access Automation scenarios. I also often (in my "previous life" when I programmed a lot on VBA) did use: Optional ByRef rdbs as DAO.Database = Nothing That "saved my life" many times when the database to work with wasn't CurrentDB. For this subject case it's not needed because this code always operates with CurrenDb... The usage of: With app Is used to not have costly Automation "round-trip" of getting reference of MS Access instance. It's not needed when Access Automation is not used. Using explicit: app.DoCmd... .. App.CurrentDb .. Is good programming style IMO - when used that way then you get automatic habit to use it simira way when programming MS Word/MS Exce/... Automation - then copy & paste code between different VBA hosts will never result in (unexpectedly) activating/running "ghost" background instances of MS Access/Word/Excel/..., which are often not easy to "catch" where they come from, to "kill" them etc... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, April 01, 2007 2:04 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Column Positions Hi Shamil If this is in an Access environment, are there any benefits by specifying the Access Application object? Normally I don't use it - I'm mostly in Access - but maybe I should? From jwcolby at colbyconsulting.com Sun Apr 1 06:54:01 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Sun, 1 Apr 2007 07:54:01 -0400 Subject: [AccessD] SQL Server - Time only in date field In-Reply-To: References: Message-ID: <002601c77454$75812020$657aa8c0@m6805> In fact my question was more simple than that. I have values in the date fields that are #12:00:00 AM# for example. Those values are NOT valid in SQL Server, or at least will not upsize correctly. I had to find and fix all such values by adding some date to them to make them #1/1/1800 12:00:00 AM#. Once I did that, the table with such fields would upsize. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, April 01, 2007 7:45 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL Server - Time only in date field Hi Stuart Sorry for the confusion. I assumed that John is operating in Access where the numeric value will be converted by the driver to match that of SQL Server by shifting the value by -2. Thus: insert into dbo_timetable (timefield) values (0) will insert the date 1899-12-30. However, if John operates within SQL Server - for example by executing a pass-through query like: insert into dbo.timetable (timefield) values (0) you are of course right - that date will be 1900-1-1. /gustav >>> stuart at lexacorp.com.pg 01-04-2007 12:03 >>> On 1 Apr 2007 at 11:40, Gustav Brock wrote: > Hi John and Stuart > > It's easier than that; it behaves exactly like in Access (JET) except > for two things: > > - SQL Server time is limited to real linear dates only, back to > 1753-1-1, where JET goes back to an artificial value of 100-1-1. - > SQL Server millisecond resolution is only 3.33 ms while JET goes down to 1 ms. > > Thus, the date of numeric date value zero is the same for both: 1899-12-30. > This can be easily shown if you format a date/time field from SQL > Server to a string which always include the date: Unfortunately, that's not true. In Access Date 0 is 1899-12-30, but in SQL server it is 1900-1-1. >From Transact SQL Help in BOL: Values with the datetime data type are stored internally by Microsoft SQL Server as two 4-byte integers. The first 4 bytes store the number of days before or after the base date, January 1, 1900. The base date is the system reference date. Values for datetime earlier than January 1, 1753, are not permitted. The other 4 bytes store the time of day represented as the number of milliseconds after midnight. The smalldatetime data type stores dates and times of day with less precision than datetime. SQL Server stores smalldatetime values as two 2- byte integers. The first 2 bytes store the number of days after January 1, 1900. The other 2 bytes store the number of minutes since midnight. Dates range from January 1, 1900, through June 6, 2079, with accuracy to the minute. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sun Apr 1 07:10:23 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 01 Apr 2007 14:10:23 +0200 Subject: [AccessD] SQL Server - Time only in date field Message-ID: Hi John That is strange - or it may be a limitation in the upsize wizard - as #12:00:00 AM# is a perfectly valid date value in Access. /gustav >>> jwcolby at colbyconsulting.com 01-04-2007 13:54 >>> In fact my question was more simple than that. I have values in the date fields that are #12:00:00 AM# for example. Those values are NOT valid in SQL Server, or at least will not upsize correctly. I had to find and fix all such values by adding some date to them to make them #1/1/1800 12:00:00 AM#. Once I did that, the table with such fields would upsize. John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sun Apr 1 07:13:16 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Sun, 1 Apr 2007 08:13:16 -0400 Subject: [AccessD] Getting the PK of a SQL Server table Message-ID: <002701c77457$23ef98b0$657aa8c0@m6805> In an Access database the PKID (autonumber) of a table is available the instant after doing the insert or AddNew, so I would use code such as: With RS .Open "usystbllwsLog", gcnn, adOpenKeyset, adLockPessimistic 'build a logout record. .AddNew !LWSL_IDLWSU = mlngUserID !LWSL_FE = CurrentProject.name !LWSL_Login = blnLogIn !LWSL_WorkstationID = CurrentMachineName() mlngLogID = !LWSL_ID .Update .Close End With the code line mlngLogID = !LWSL_ID fails when used in SQL Server because the ID is not yet valid. How do I work around this when the table is out in SQL Server? John W. Colby Colby Consulting www.ColbyConsulting.com From Gustav at cactus.dk Sun Apr 1 07:30:04 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 01 Apr 2007 14:30:04 +0200 Subject: [AccessD] Getting the PK of a SQL Server table Message-ID: Hi John That depends, but I guess you need the classic function (session scope) of @@IDENTITY. Here's an explanation: http://www.sqlteam.com/item.asp?ItemID=319 /gustav >>> jwcolby at colbyconsulting.com 01-04-2007 14:13 >>> In an Access database the PKID (autonumber) of a table is available the instant after doing the insert or AddNew, so I would use code such as: With RS .Open "usystbllwsLog", gcnn, adOpenKeyset, adLockPessimistic 'build a logout record. .AddNew !LWSL_IDLWSU = mlngUserID !LWSL_FE = CurrentProject.name !LWSL_Login = blnLogIn !LWSL_WorkstationID = CurrentMachineName() mlngLogID = !LWSL_ID .Update .Close End With the code line mlngLogID = !LWSL_ID fails when used in SQL Server because the ID is not yet valid. How do I work around this when the table is out in SQL Server? John W. Colby Colby Consulting www.ColbyConsulting.com From bbruen at unwired.com.au Sun Apr 1 08:05:49 2007 From: bbruen at unwired.com.au (Bruce Bruen) Date: Sun, 1 Apr 2007 23:05:49 +1000 Subject: [AccessD] RSS In-Reply-To: <003d01c773ed$e2336190$0201a8c0@HAL9005> References: <003d01c773ed$e2336190$0201a8c0@HAL9005> Message-ID: <200704012305.52457.bbruen@unwired.com.au> On Sunday 01 April 2007 09:39, Rocky Smolin at Beach Access Software wrote: > Only as a consumer. We've got an RSS feed on our website > www.thesleepadvisor.com but my webmistress takes care of it all. Adding it > to a web site seemed pretty simple, though. You can probably see the > source code on the page yourself. Wouldn't make any sense to me. > > Rocky > Rocky, The "CD" image on the home page 404's. http://www.thesleepadvisor.com/order.html doesn't seem to exist. bruce From rockysmolin at bchacc.com Sun Apr 1 08:55:13 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 1 Apr 2007 06:55:13 -0700 Subject: [AccessD] Graphic Image Control Message-ID: <001101c77465$5f4b7c90$0201a8c0@HAL9005> Dear List: Does anyone know of an image control that would allow you to zoom in and scroll around an image? TIA Rocky From rockysmolin at bchacc.com Sun Apr 1 09:11:18 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 1 Apr 2007 07:11:18 -0700 Subject: [AccessD] RSS In-Reply-To: <200704012305.52457.bbruen@unwired.com.au> Message-ID: <001e01c77467$9e4194a0$0201a8c0@HAL9005> Bruce: The order page is http://www.thesleepadvisor.com/order.php It comes up OK here. Try the reload button. Maybe an old version is still in your cache. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen Sent: Sunday, April 01, 2007 6:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] RSS On Sunday 01 April 2007 09:39, Rocky Smolin at Beach Access Software wrote: > Only as a consumer. We've got an RSS feed on our website > www.thesleepadvisor.com but my webmistress takes care of it all. > Adding it to a web site seemed pretty simple, though. You can > probably see the source code on the page yourself. Wouldn't make any sense to me. > > Rocky > Rocky, The "CD" image on the home page 404's. http://www.thesleepadvisor.com/order.html doesn't seem to exist. bruce -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.24/741 - Release Date: 3/31/2007 8:54 PM From Gustav at cactus.dk Sun Apr 1 09:33:53 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 01 Apr 2007 16:33:53 +0200 Subject: [AccessD] Graphic Image Control Message-ID: Hi Rocky I can recommend csXImage: http://www.chestysoft.com/ximage It can zoom in several ways: http://www.chestysoft.com/ximage/manual.htm#sect8 It's about USD 150, but the support is excellent. /gustav >>> rockysmolin at bchacc.com 01-04-2007 15:55 >>> Dear List: Does anyone know of an image control that would allow you to zoom in and scroll around an image? TIA Rocky From rockysmolin at bchacc.com Sun Apr 1 10:02:55 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 1 Apr 2007 08:02:55 -0700 Subject: [AccessD] Graphic Image Control In-Reply-To: Message-ID: <002501c7746e$d42a6040$0201a8c0@HAL9005> Thanks Gustav. Will forward to the guy who asked the question. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, April 01, 2007 7:34 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Graphic Image Control Hi Rocky I can recommend csXImage: http://www.chestysoft.com/ximage It can zoom in several ways: http://www.chestysoft.com/ximage/manual.htm#sect8 It's about USD 150, but the support is excellent. /gustav >>> rockysmolin at bchacc.com 01-04-2007 15:55 >>> Dear List: Does anyone know of an image control that would allow you to zoom in and scroll around an image? TIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.24/741 - Release Date: 3/31/2007 8:54 PM From jwcolby at colbyconsulting.com Sun Apr 1 11:46:08 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Sun, 1 Apr 2007 12:46:08 -0400 Subject: [AccessD] SQL Server - Time only in date field In-Reply-To: References: Message-ID: <003901c7747d$442ccff0$657aa8c0@m6805> It is valid in ACCESS, but may not be in SQL SERVER. Or, as you say, it may be a limitation of the upsize wizard. All I know is that once I handled these (and other date problems) the table moved. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, April 01, 2007 8:10 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL Server - Time only in date field Hi John That is strange - or it may be a limitation in the upsize wizard - as #12:00:00 AM# is a perfectly valid date value in Access. /gustav >>> jwcolby at colbyconsulting.com 01-04-2007 13:54 >>> In fact my question was more simple than that. I have values in the date fields that are #12:00:00 AM# for example. Those values are NOT valid in SQL Server, or at least will not upsize correctly. I had to find and fix all such values by adding some date to them to make them #1/1/1800 12:00:00 AM#. Once I did that, the table with such fields would upsize. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sun Apr 1 12:03:08 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 01 Apr 2007 19:03:08 +0200 Subject: [AccessD] SQL Server - Time only in date field Message-ID: Hi John But isn't the upsize thingy an Access tool? This SQL should cause zero problems: insert into dbo_timetable (timefield) values (#12:00:00 AM#) Which "other date problems" did you encounter? The datetime data type of Access/JET is very strict on holding valid dates/times only. This sounds very weird. /gustav >>> jwcolby at colbyconsulting.com 01-04-2007 18:46 >>> It is valid in ACCESS, but may not be in SQL SERVER. Or, as you say, it may be a limitation of the upsize wizard. All I know is that once I handled these (and other date problems) the table moved. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, April 01, 2007 8:10 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL Server - Time only in date field Hi John That is strange - or it may be a limitation in the upsize wizard - as #12:00:00 AM# is a perfectly valid date value in Access. /gustav >>> jwcolby at colbyconsulting.com 01-04-2007 13:54 >>> In fact my question was more simple than that. I have values in the date fields that are #12:00:00 AM# for example. Those values are NOT valid in SQL Server, or at least will not upsize correctly. I had to find and fix all such values by adding some date to them to make them #1/1/1800 12:00:00 AM#. Once I did that, the table with such fields would upsize. John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sun Apr 1 12:17:17 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Sun, 1 Apr 2007 13:17:17 -0400 Subject: [AccessD] SQL Server - Time only in date field In-Reply-To: References: Message-ID: <003c01c77481$9bd6d760$657aa8c0@m6805> LOL, the upsizing wizard does not ETLL you what the problem is anymore, although I think it used to. Now it simply says "tblXXX failed to upsize". >From past experience I knew that dates were a problem. The "other date problems" were dates before the valid date range of SQL Server. Data entry errors had left dates of 1/23/0931 for example where the intent was 1/23/1931. Anything in 0931 is an invalid date to SQL Server but quite valid to Access. Likewise I had fields that only contained a date, using the Time() function of VBA. These are date fields that now contain something like #13:53:02# with NO DATE. These also failed to upsize until I placed a bogus date in front of the time. The upsizing wizard used to IIRC update the table but generate an error report with a list of records that failed to upsize. Now (Access 2003) it just silently fails and simply reports "tblXXX failed to upsize". No clue at all what went wrong. I happen to know from hard experience that dates caused me problems last time, and were in fact the ONLY thing that caused me problems in the upsizing wizard, so I went looking for bad dates in the specific tables that refused to upsize. Sure enough, that is what I found. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, April 01, 2007 1:03 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL Server - Time only in date field Hi John But isn't the upsize thingy an Access tool? This SQL should cause zero problems: insert into dbo_timetable (timefield) values (#12:00:00 AM#) Which "other date problems" did you encounter? The datetime data type of Access/JET is very strict on holding valid dates/times only. This sounds very weird. /gustav From rusty.hammond at cpiqpc.com Sun Apr 1 12:22:54 2007 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Sun, 1 Apr 2007 12:22:54 -0500 Subject: [AccessD] Getting the PK of a SQL Server table Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A2584BA36@cpixchng-1.cpiqpc.net> John, If you're working with linked SQL server tables in Access the LastModified property does the trick for me in a DAO recordset. I don't know if it's available in an ADO recordset like you are using but the following is how it might be used. With RS .Open "usystbllwsLog", gcnn, adOpenKeyset, adLockPessimistic 'build a logout record. .AddNew !LWSL_IDLWSU = mlngUserID !LWSL_FE = CurrentProject.name !LWSL_Login = blnLogIn !LWSL_WorkstationID = CurrentMachineName() .Update .BookMark = .LastModified mlngLogID = !LWSL_ID .Close End With HTH Rusty -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Sunday, April 01, 2007 7:13 AM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com Subject: [AccessD] Getting the PK of a SQL Server table In an Access database the PKID (autonumber) of a table is available the instant after doing the insert or AddNew, so I would use code such as: With RS .Open "usystbllwsLog", gcnn, adOpenKeyset, adLockPessimistic 'build a logout record. .AddNew !LWSL_IDLWSU = mlngUserID !LWSL_FE = CurrentProject.name !LWSL_Login = blnLogIn !LWSL_WorkstationID = CurrentMachineName() mlngLogID = !LWSL_ID .Update .Close End With the code line mlngLogID = !LWSL_ID fails when used in SQL Server because the ID is not yet valid. How do I work around this when the table is out in SQL Server? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From dwaters at usinternet.com Sun Apr 1 12:46:34 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 1 Apr 2007 12:46:34 -0500 Subject: [AccessD] SQL Server - Time only in date field In-Reply-To: <003c01c77481$9bd6d760$657aa8c0@m6805> References: <003c01c77481$9bd6d760$657aa8c0@m6805> Message-ID: <000c01c77485$b1579d50$0200a8c0@danwaters> Hi John, This is a side question - are you using the Access upsizing tool or the SSMA upsizing tool? Also, I know of a tool (I haven't used it) you can purchase from a company which provides a list of issues to look at prior to upsizing. It's at http://www.ssw.com.au/ssw/UpsizingPRO/. They also have a free trial version. I just looked at their site - their take on SSMA is that it's 'Not Ready'! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Sunday, April 01, 2007 12:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SQL Server - Time only in date field LOL, the upsizing wizard does not ETLL you what the problem is anymore, although I think it used to. Now it simply says "tblXXX failed to upsize". >From past experience I knew that dates were a problem. The "other date problems" were dates before the valid date range of SQL Server. Data entry errors had left dates of 1/23/0931 for example where the intent was 1/23/1931. Anything in 0931 is an invalid date to SQL Server but quite valid to Access. Likewise I had fields that only contained a date, using the Time() function of VBA. These are date fields that now contain something like #13:53:02# with NO DATE. These also failed to upsize until I placed a bogus date in front of the time. The upsizing wizard used to IIRC update the table but generate an error report with a list of records that failed to upsize. Now (Access 2003) it just silently fails and simply reports "tblXXX failed to upsize". No clue at all what went wrong. I happen to know from hard experience that dates caused me problems last time, and were in fact the ONLY thing that caused me problems in the upsizing wizard, so I went looking for bad dates in the specific tables that refused to upsize. Sure enough, that is what I found. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, April 01, 2007 1:03 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL Server - Time only in date field Hi John But isn't the upsize thingy an Access tool? This SQL should cause zero problems: insert into dbo_timetable (timefield) values (#12:00:00 AM#) Which "other date problems" did you encounter? The datetime data type of Access/JET is very strict on holding valid dates/times only. This sounds very weird. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kost36 at otenet.gr Sun Apr 1 12:55:42 2007 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Sun, 1 Apr 2007 20:55:42 +0300 Subject: [AccessD] searching into a union query... References: Message-ID: <008101c77487$01b2cad0$6701a8c0@kost36> hey group, I use the follown union SELECT [Title], [Year], [IDdirector], [IDcomposer] FROM [MT_basic_char] UNION ALL SELECT [title_collection], [year_collection], [IDdirector_collection], [IDcomposer_collection] FROM [RT_AM_COLLECTION_SUBFORM]; because of about 15000 records what I need to know is if there is a [Title] either in MT_basic_char or in RT_AM_COLLECTION I was wondering if it could be possible to make a button, when clicking to get back a searching form on that Union Query something like the default msaccess's Screen.PreviousControl.SetFocus DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70 but on that specific Union Query many thank's /kostas From jwcolby at colbyconsulting.com Sun Apr 1 12:57:43 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Sun, 1 Apr 2007 13:57:43 -0400 Subject: [AccessD] SQL Server - Time only in date field In-Reply-To: <000c01c77485$b1579d50$0200a8c0@danwaters> References: <003c01c77481$9bd6d760$657aa8c0@m6805> <000c01c77485$b1579d50$0200a8c0@danwaters> Message-ID: <004401c77487$414eaab0$657aa8c0@m6805> I used the Access upsizing tool. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, April 01, 2007 1:47 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SQL Server - Time only in date field Hi John, This is a side question - are you using the Access upsizing tool or the SSMA upsizing tool? Also, I know of a tool (I haven't used it) you can purchase from a company which provides a list of issues to look at prior to upsizing. It's at http://www.ssw.com.au/ssw/UpsizingPRO/. They also have a free trial version. I just looked at their site - their take on SSMA is that it's 'Not Ready'! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Sunday, April 01, 2007 12:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SQL Server - Time only in date field LOL, the upsizing wizard does not ETLL you what the problem is anymore, although I think it used to. Now it simply says "tblXXX failed to upsize". >From past experience I knew that dates were a problem. The "other date problems" were dates before the valid date range of SQL Server. Data entry errors had left dates of 1/23/0931 for example where the intent was 1/23/1931. Anything in 0931 is an invalid date to SQL Server but quite valid to Access. Likewise I had fields that only contained a date, using the Time() function of VBA. These are date fields that now contain something like #13:53:02# with NO DATE. These also failed to upsize until I placed a bogus date in front of the time. The upsizing wizard used to IIRC update the table but generate an error report with a list of records that failed to upsize. Now (Access 2003) it just silently fails and simply reports "tblXXX failed to upsize". No clue at all what went wrong. I happen to know from hard experience that dates caused me problems last time, and were in fact the ONLY thing that caused me problems in the upsizing wizard, so I went looking for bad dates in the specific tables that refused to upsize. Sure enough, that is what I found. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, April 01, 2007 1:03 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL Server - Time only in date field Hi John But isn't the upsize thingy an Access tool? This SQL should cause zero problems: insert into dbo_timetable (timefield) values (#12:00:00 AM#) Which "other date problems" did you encounter? The datetime data type of Access/JET is very strict on holding valid dates/times only. This sounds very weird. /gustav -- 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 jwcolby at colbyconsulting.com Sun Apr 1 13:00:14 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Sun, 1 Apr 2007 14:00:14 -0400 Subject: [AccessD] Getting the PK of a SQL Server table In-Reply-To: <8301C8A868251E4C8ECD3D4FFEA40F8A2584BA36@cpixchng-1.cpiqpc.net> References: <8301C8A868251E4C8ECD3D4FFEA40F8A2584BA36@cpixchng-1.cpiqpc.net> Message-ID: <004501c77487$9db43b30$657aa8c0@m6805> And in fact that is just what I did (more or less). Since this is framework code I strive for "any environment" so I changed it to !LWSL_WorkstationID = CurrentMachineName() On Error resume next mlngLogID = !LWSL_ID .Update if mlngLogID =0 then mlngLogID = !LWSL_ID endif .Close The first will work correctly for an MDB and if the value is still zero then the second picks up the slack. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rusty.hammond at cpiqpc.com Sent: Sunday, April 01, 2007 1:23 PM To: accessd at databaseadvisors.com; dba-sqlserver at databaseadvisors.com Subject: Re: [AccessD] Getting the PK of a SQL Server table John, If you're working with linked SQL server tables in Access the LastModified property does the trick for me in a DAO recordset. I don't know if it's available in an ADO recordset like you are using but the following is how it might be used. With RS .Open "usystbllwsLog", gcnn, adOpenKeyset, adLockPessimistic 'build a logout record. .AddNew !LWSL_IDLWSU = mlngUserID !LWSL_FE = CurrentProject.name !LWSL_Login = blnLogIn !LWSL_WorkstationID = CurrentMachineName() .Update .BookMark = .LastModified mlngLogID = !LWSL_ID .Close End With HTH Rusty -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Sunday, April 01, 2007 7:13 AM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com Subject: [AccessD] Getting the PK of a SQL Server table In an Access database the PKID (autonumber) of a table is available the instant after doing the insert or AddNew, so I would use code such as: With RS .Open "usystbllwsLog", gcnn, adOpenKeyset, adLockPessimistic 'build a logout record. .AddNew !LWSL_IDLWSU = mlngUserID !LWSL_FE = CurrentProject.name !LWSL_Login = blnLogIn !LWSL_WorkstationID = CurrentMachineName() mlngLogID = !LWSL_ID .Update .Close End With the code line mlngLogID = !LWSL_ID fails when used in SQL Server because the ID is not yet valid. How do I work around this when the table is out in SQL Server? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Apr 1 13:08:50 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 1 Apr 2007 13:08:50 -0500 Subject: [AccessD] searching into a union query... In-Reply-To: <008101c77487$01b2cad0$6701a8c0@kost36> References: <008101c77487$01b2cad0$6701a8c0@kost36> Message-ID: <000d01c77488$cd213bb0$0200a8c0@danwaters> Hi Kostas, Off the top of my head, there is a wizard in Access to write a 'Look for Duplicates' query. You should be able to run it against this Union query. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Sunday, April 01, 2007 12:56 PM To: Access Developers discussion and problem solving Subject: [AccessD] searching into a union query... hey group, I use the follown union SELECT [Title], [Year], [IDdirector], [IDcomposer] FROM [MT_basic_char] UNION ALL SELECT [title_collection], [year_collection], [IDdirector_collection], [IDcomposer_collection] FROM [RT_AM_COLLECTION_SUBFORM]; because of about 15000 records what I need to know is if there is a [Title] either in MT_basic_char or in RT_AM_COLLECTION I was wondering if it could be possible to make a button, when clicking to get back a searching form on that Union Query something like the default msaccess's Screen.PreviousControl.SetFocus DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70 but on that specific Union 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 otenet.gr Sun Apr 1 13:20:23 2007 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Sun, 1 Apr 2007 21:20:23 +0300 Subject: [AccessD] searching into a union query... References: <008101c77487$01b2cad0$6701a8c0@kost36> <000d01c77488$cd213bb0$0200a8c0@danwaters> Message-ID: <00af01c7748a$716ce7e0$6701a8c0@kost36> Hi Dev, may be I was not so specific in my previous message. So, what I want to know is not the duplicates records general but typing a Title to know if that record there is into the database thank's /kostas ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Sunday, April 01, 2007 9:08 PM Subject: Re: [AccessD] searching into a union query... > Hi Kostas, > > Off the top of my head, there is a wizard in Access to write a 'Look for > Duplicates' query. You should be able to run it against this Union query. > > HTH, > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas > Konstantinidis > Sent: Sunday, April 01, 2007 12:56 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] searching into a union query... > > hey group, > I use the follown union > > SELECT [Title], [Year], [IDdirector], [IDcomposer] > FROM [MT_basic_char] > > UNION ALL SELECT [title_collection], [year_collection], > [IDdirector_collection], [IDcomposer_collection] > FROM [RT_AM_COLLECTION_SUBFORM]; > > because of about 15000 records what I need to know is if there is a > [Title] > either in MT_basic_char or in RT_AM_COLLECTION > I was wondering if it could be possible to make a button, when clicking to > get back a searching form on that Union Query > something like the default msaccess's > > Screen.PreviousControl.SetFocus > DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70 > > but on that specific Union 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 dwaters at usinternet.com Sun Apr 1 13:39:40 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 1 Apr 2007 13:39:40 -0500 Subject: [AccessD] searching into a union query... In-Reply-To: <00af01c7748a$716ce7e0$6701a8c0@kost36> References: <008101c77487$01b2cad0$6701a8c0@kost36><000d01c77488$cd213bb0$0200a8c0@danwaters> <00af01c7748a$716ce7e0$6701a8c0@kost36> Message-ID: <001101c7748d$1bfec280$0200a8c0@danwaters> This is what I do: Dim stg as String Dim rst as DAO.Recordset stg = "SELECT Title FROM tblName" _ & " WHERE Title = '" & txtTitle & "'" Set rst = Currentdb.Openrecordset(stg,dbopensnapshot) If rst.EOF = False then Msgbox txtTitle & " already exists!" End if rst.close Set rst = nothing Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Sunday, April 01, 2007 1:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] searching into a union query... Hi Dev, may be I was not so specific in my previous message. So, what I want to know is not the duplicates records general but typing a Title to know if that record there is into the database thank's /kostas ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Sunday, April 01, 2007 9:08 PM Subject: Re: [AccessD] searching into a union query... > Hi Kostas, > > Off the top of my head, there is a wizard in Access to write a 'Look for > Duplicates' query. You should be able to run it against this Union query. > > HTH, > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas > Konstantinidis > Sent: Sunday, April 01, 2007 12:56 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] searching into a union query... > > hey group, > I use the follown union > > SELECT [Title], [Year], [IDdirector], [IDcomposer] > FROM [MT_basic_char] > > UNION ALL SELECT [title_collection], [year_collection], > [IDdirector_collection], [IDcomposer_collection] > FROM [RT_AM_COLLECTION_SUBFORM]; > > because of about 15000 records what I need to know is if there is a > [Title] > either in MT_basic_char or in RT_AM_COLLECTION > I was wondering if it could be possible to make a button, when clicking to > get back a searching form on that Union Query > something like the default msaccess's > > Screen.PreviousControl.SetFocus > DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70 > > but on that specific Union 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 From kost36 at otenet.gr Sun Apr 1 15:32:39 2007 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Sun, 1 Apr 2007 23:32:39 +0300 Subject: [AccessD] searching into a union query... References: <008101c77487$01b2cad0$6701a8c0@kost36><000d01c77488$cd213bb0$0200a8c0@danwaters><00af01c7748a$716ce7e0$6701a8c0@kost36> <001101c7748d$1bfec280$0200a8c0@danwaters> Message-ID: <011901c7749c$ec0354f0$6701a8c0@kost36> I found an excellent job by Terry Kreft and Dev Ashish doing exactly what I need Search Tips: Version 2.6 from http://mvps.org/access/resources/downloads.htm Find Record 2000 Dan and Dev thank's a lot for your response /kostas ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Sunday, April 01, 2007 9:39 PM Subject: Re: [AccessD] searching into a union query... > This is what I do: > > Dim stg as String > Dim rst as DAO.Recordset > > stg = "SELECT Title FROM tblName" _ > & " WHERE Title = '" & txtTitle & "'" > Set rst = Currentdb.Openrecordset(stg,dbopensnapshot) > If rst.EOF = False then > Msgbox txtTitle & " already exists!" > End if > rst.close > Set rst = nothing > > > Dan > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas > Konstantinidis > Sent: Sunday, April 01, 2007 1:20 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] searching into a union query... > > Hi Dev, > may be I was not so specific in my previous message. > So, what I want to know is not the duplicates records general > but typing a Title to know if that record there is into the database > > thank's > /kostas > > > ----- Original Message ----- > From: "Dan Waters" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, April 01, 2007 9:08 PM > Subject: Re: [AccessD] searching into a union query... > > >> Hi Kostas, >> >> Off the top of my head, there is a wizard in Access to write a 'Look for >> Duplicates' query. You should be able to run it against this Union >> query. >> >> HTH, >> Dan >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas >> Konstantinidis >> Sent: Sunday, April 01, 2007 12:56 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] searching into a union query... >> >> hey group, >> I use the follown union >> >> SELECT [Title], [Year], [IDdirector], [IDcomposer] >> FROM [MT_basic_char] >> >> UNION ALL SELECT [title_collection], [year_collection], >> [IDdirector_collection], [IDcomposer_collection] >> FROM [RT_AM_COLLECTION_SUBFORM]; >> >> because of about 15000 records what I need to know is if there is a >> [Title] >> either in MT_basic_char or in RT_AM_COLLECTION >> I was wondering if it could be possible to make a button, when clicking >> to >> get back a searching form on that Union Query >> something like the default msaccess's >> >> Screen.PreviousControl.SetFocus >> DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70 >> >> but on that specific Union 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From ssharkins at setel.com Sun Apr 1 16:51:08 2007 From: ssharkins at setel.com (Susan Harkins) Date: Sun, 1 Apr 2007 17:51:08 -0400 Subject: [AccessD] Which is fasted as a list control's Row Source property? Message-ID: <000c01c774a7$db729af0$1bb82ad1@SusanOne> A literal SQL string or a fixed query? Susan H. From ab-mi at post3.tele.dk Sun Apr 1 17:49:39 2007 From: ab-mi at post3.tele.dk (Asger Blond) Date: Mon, 2 Apr 2007 00:49:39 +0200 Subject: [AccessD] Which is fasted as a list control's Row Source property? In-Reply-To: <000c01c774a7$db729af0$1bb82ad1@SusanOne> Message-ID: <000001c774b0$08f7c470$2101a8c0@AB> Same: Behind the scenes Access creates a fixed query for the literal string. You can see the hidden fixed query which is prefixed by a "~" using following code in a form module: Dim dbs As DAO.Database, qdf As DAO.QueryDef Set dbs = CurrentDb For Each qdf In dbs.QueryDefs Debug.Print qdf.Name Next qdf Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Susan Harkins Sendt: 1. april 2007 23:51 Til: 'Access Developers discussion and problem solving' Emne: [AccessD] Which is fasted as a list control's Row Source property? A literal SQL string or a fixed query? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at setel.com Sun Apr 1 18:25:33 2007 From: ssharkins at setel.com (Susan Harkins) Date: Sun, 1 Apr 2007 19:25:33 -0400 Subject: [AccessD] Which is fasted as a list control's Row Sourceproperty? In-Reply-To: <000001c774b0$08f7c470$2101a8c0@AB> References: <000c01c774a7$db729af0$1bb82ad1@SusanOne> <000001c774b0$08f7c470$2101a8c0@AB> Message-ID: <001601c774b5$0c332710$dd34fad1@SusanOne> Well, that's interesting. I couldn't really identify any of mine to a specific control object though. So, do you think there's no appreciable difference between the two then -- as a performance issue? It seems to me, that pure SQL should always be faster, regardless of how Access communicates it to Jet. Susan H. Same: Behind the scenes Access creates a fixed query for the literal string. You can see the hidden fixed query which is prefixed by a "~" using following code in a form module: Dim dbs As DAO.Database, qdf As DAO.QueryDef Set dbs = CurrentDb For Each qdf In dbs.QueryDefs Debug.Print qdf.Name Next qdf Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Susan Harkins Sendt: 1. april 2007 23:51 Til: 'Access Developers discussion and problem solving' Emne: [AccessD] Which is fasted as a list control's Row Source property? A literal SQL string or a fixed query? Susan H. -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.24/741 - Release Date: 3/31/2007 8:54 PM From ab-mi at post3.tele.dk Sun Apr 1 19:14:24 2007 From: ab-mi at post3.tele.dk (Asger Blond) Date: Mon, 2 Apr 2007 02:14:24 +0200 Subject: [AccessD] Which is fasted as a list control's RowSourceproperty? In-Reply-To: <001601c774b5$0c332710$dd34fad1@SusanOne> Message-ID: <000101c774bb$e4d3f170$2101a8c0@AB> Hi Susan, A fixed query is precompiled, making it faster than a pure SQL statement. That's why Access's performance-analyser in older versions recommended using stored (fixed/persisted) queries as record-sources and control-sources. Newer versions of Access - I don't remember when, but I think after 97 - doesn?t make this recommendation. Reason: not that pure SQL is faster, but because Access creates the persisted and precompiled query by itself. I always use pure SQL statements because I don't want to fill up my pane of query-objects in Access, and because it makes my forms and reports much more immune to cleaning up of queries: ever tried to delete an "obsolete" stored query, which was actually used by some component? I guess. Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Susan Harkins Sendt: 2. april 2007 01:26 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] Which is fasted as a list control's RowSourceproperty? Well, that's interesting. I couldn't really identify any of mine to a specific control object though. So, do you think there's no appreciable difference between the two then -- as a performance issue? It seems to me, that pure SQL should always be faster, regardless of how Access communicates it to Jet. Susan H. Same: Behind the scenes Access creates a fixed query for the literal string. You can see the hidden fixed query which is prefixed by a "~" using following code in a form module: Dim dbs As DAO.Database, qdf As DAO.QueryDef Set dbs = CurrentDb For Each qdf In dbs.QueryDefs Debug.Print qdf.Name Next qdf Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Susan Harkins Sendt: 1. april 2007 23:51 Til: 'Access Developers discussion and problem solving' Emne: [AccessD] Which is fasted as a list control's Row Source property? A literal SQL string or a fixed query? Susan H. -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.24/741 - Release Date: 3/31/2007 8:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at setel.com Sun Apr 1 20:25:01 2007 From: ssharkins at setel.com (Susan Harkins) Date: Sun, 1 Apr 2007 21:25:01 -0400 Subject: [AccessD] Which is fasted as a list control's RowSourceproperty? In-Reply-To: <000101c774bb$e4d3f170$2101a8c0@AB> References: <001601c774b5$0c332710$dd34fad1@SusanOne> <000101c774bb$e4d3f170$2101a8c0@AB> Message-ID: <002301c774c5$bce74180$dd34fad1@SusanOne> Access, and because it makes my forms and reports much more immune to cleaning up of queries: ever tried to delete an "obsolete" stored query, which was actually used by some component? I guess. =========I have to admit, I have. ;) Susan H. From Gustav at cactus.dk Mon Apr 2 02:22:01 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 02 Apr 2007 09:22:01 +0200 Subject: [AccessD] SQL Server - Time only in date field Message-ID: Hi John OK, the year 931 is clearly out of the range for SQL Server. The "missing" date from the time-only records must represent a bug in the upsizer tool. /gustav >>> jwcolby at colbyconsulting.com 01-04-2007 19:17 >>> LOL, the upsizing wizard does not ETLL you what the problem is anymore, although I think it used to. Now it simply says "tblXXX failed to upsize". >From past experience I knew that dates were a problem. The "other date problems" were dates before the valid date range of SQL Server. Data entry errors had left dates of 1/23/0931 for example where the intent was 1/23/1931. Anything in 0931 is an invalid date to SQL Server but quite valid to Access. Likewise I had fields that only contained a date, using the Time() function of VBA. These are date fields that now contain something like #13:53:02# with NO DATE. These also failed to upsize until I placed a bogus date in front of the time. The upsizing wizard used to IIRC update the table but generate an error report with a list of records that failed to upsize. Now (Access 2003) it just silently fails and simply reports "tblXXX failed to upsize". No clue at all what went wrong. I happen to know from hard experience that dates caused me problems last time, and were in fact the ONLY thing that caused me problems in the upsizing wizard, so I went looking for bad dates in the specific tables that refused to upsize. Sure enough, that is what I found. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, April 01, 2007 1:03 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL Server - Time only in date field Hi John But isn't the upsize thingy an Access tool? This SQL should cause zero problems: insert into dbo_timetable (timefield) values (#12:00:00 AM#) Which "other date problems" did you encounter? The datetime data type of Access/JET is very strict on holding valid dates/times only. This sounds very weird. /gustav From andy at minstersystems.co.uk Mon Apr 2 04:34:57 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 2 Apr 2007 9:34:57 +0000 Subject: [AccessD] ...monitoring be mdb size Message-ID: <20070402083500.7257E2B8D4F@smtp.nildram.co.uk> Hi William Only just spotted this. You've probably done it by now, but.. I have an MDB which runs on a nightly schedule. What it does is slightly different from yours in that it measures the difference in size between the the live BE (well a copy actually) and one which it Compacts. It then emails me telling me by how much the BE would shrink if I threw everyone out of the system to run a compact. It's only a few lines of code and nothing you couldn't do in your sleep but you're welcome to it if it's any use. -- Andy Lacey http://www.minstersystems.co.uk > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > William Hindman > Sent: 31 March 2007 22:23 > To: Access Developers discussion and problem solving > Subject: [AccessD] ...monitoring be mdb size > > > ...I want to monitor the size of my be mdb's and gen an > e-mail if they grow > by a certain percentage in a given time frame ...has anyone > already done > this and have a solution they're willing to share? > > William Hindman > ________________________________________________ Message sent using UebiMiau 2.7.2 From viner at EUnet.yu Mon Apr 2 04:52:40 2007 From: viner at EUnet.yu (Ervin Brindza) Date: Mon, 2 Apr 2007 11:52:40 +0200 Subject: [AccessD] ...monitoring be mdb size References: <20070402083500.7257E2B8D4F@smtp.nildram.co.uk> Message-ID: <016101c77510$cf92cf20$0100a8c0@RazvojErvin> Andy, me too, please, if is possible... Many thanks in advance, Ervin ----- Original Message ----- From: "Andy Lacey" To: "Access Developers discussion and problem solving" Sent: Monday, April 02, 2007 11:34 AM Subject: Re: [AccessD] ...monitoring be mdb size > Hi William > Only just spotted this. You've probably done it by now, but.. > > I have an MDB which runs on a nightly schedule. What it does is slightly > different from yours in that it measures the difference in size between > the > the live BE (well a copy actually) and one which it Compacts. It then > emails > me telling me by how much the BE would shrink if I threw everyone out of > the > system to run a compact. It's only a few lines of code and nothing you > couldn't do in your sleep but you're welcome to it if it's any use. > > -- > Andy Lacey > http://www.minstersystems.co.uk > >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> William Hindman >> Sent: 31 March 2007 22:23 >> To: Access Developers discussion and problem solving >> Subject: [AccessD] ...monitoring be mdb size >> >> >> ...I want to monitor the size of my be mdb's and gen an >> e-mail if they grow >> by a certain percentage in a given time frame ...has anyone >> already done >> this and have a solution they're willing to share? >> >> William Hindman >> > > > ________________________________________________ > Message sent using UebiMiau 2.7.2 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.446 / Virus Database: 268.18.24/742 - Release Date: 4/1/2007 > 8:49 PM > > From andy at minstersystems.co.uk Mon Apr 2 06:53:30 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 2 Apr 2007 11:53:30 +0000 Subject: [AccessD] ...monitoring be mdb size Message-ID: <20070402105334.567F44FEC5@smtp.nildram.co.uk> Well there's not a lot to it really ================================= Function CompactRepair() Const strOldMDB As String = "X:\y\z\your.mdb" 'Amend as necessary Const strNewMDB As String = "X:\y\z\Compacted.mdb" Dim strSubject As String Dim lngOldSize As Long Dim lngNewSize As Long Dim lngChange As Long Dim lngOldSizeKB As Long Dim lngNewSizeKB As Long Dim lngChangeKB As Long Dim lngOldSizeMB As Long Dim lngNewSizeMB As Long Dim lngChangeMB As Long Dim db As Database Dim strSQL As String On Error GoTo Repair_Err lngOldSize = FileLen(strOldMDB) DBEngine.RepairDatabase strOldMDB On Error Resume Next Kill strNewMDB On Error GoTo Compact_Err DBEngine.CompactDatabase strOldMDB, strNewMDB lngNewSize = FileLen(strNewMDB) lngChange = lngOldSize - lngNewSize lngOldSizeKB = lngOldSize / 1024 lngNewSizeKB = lngNewSize / 1024 lngChangeKB = lngChange / 1024 lngOldSizeMB = lngOldSizeKB / 1024 lngNewSizeMB = lngNewSizeKB / 1024 lngChangeMB = lngChangeKB / 1024 strSubject = "Repair & Compact: SUCCESS " & lngOldSizeMB & "mb To " & lngNewSizeMB & "mb (saving " & lngChangeMB & "mb)" 'My email routine takes two parameters - body and subject. You'll do your own thing no doubt. Call YourOwnEmailRoutine("Repair and Compact of " & strOldMDB & " ran successfully" & vbCrLf & vbCrLf _ & "Old Size " & Format(lngOldSizeKB, "#,##0") & "kb" & vbCrLf _ & "New Size " & Format(lngNewSizeKB, "#,##0") & "kb" & vbCrLf _ & "Reduction Of " & Format(lngChangeKB, "#,##0") & "kb" & vbCrLf & vbCrLf _ & "NOTE THAT THIS HAS ONLY BEEN RUN ON AN OFF-LINE COPY OF TITUSDAT.MDB FOR INFORMATION PURPOSES." _ , strSubject) 'I also keep a record in a stats table strSQL = "INSERT INTO COMPSTAT (CST_DATE, CST_FROM, CST_TO) VALUES(Now()," & lngOldSizeKB & ", " & lngNewSizeKB & ")" Set db = CurrentDb db.Execute strSQL CompactRepair_Exit: On Error Resume Next db.Close: Set db = Nothing Exit Function Repair_Err: strSubject = "Repair & Compact: FAILED" Call YourOwnEmailRoutine("Repair of " & strOldMDB & " failed with error " & Err & vbCrLf & vbCrLf & Err.Description, strSubject) Resume CompactRepair_Exit Resume 0 Compact_Err: strSubject = "Repair & Compact: FAILED" Call YourOwnEmailRoutine("Compact of " & strOldMDB & " failed with error " & Err & vbCrLf & vbCrLf & Err.Description, strSubject) Resume CompactRepair_Exit Resume 0 End Function ========================================== -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] ...monitoring be mdb size Date: 02/04/07 10:25 Andy, me too, please, if is possible... Many thanks in advance, Ervin ----- Original Message ----- From: "Andy Lacey" To: "Access Developers discussion and problem solving" Sent: Monday, April 02, 2007 11:34 AM Subject: Re: [AccessD] ...monitoring be mdb size > Hi William > Only just spotted this. You've probably done it by now, but.. > > I have an MDB which runs on a nightly schedule. What it does is slightly > different from yours in that it measures the difference in size between > the > the live BE (well a copy actually) and one which it Compacts. It then > emails > me telling me by how much the BE would shrink if I threw everyone out of > the > system to run a compact. It's only a few lines of code and nothing you > couldn't do in your sleep but you're welcome to it if it's any use. > > -- > Andy Lacey > http://www.minstersystems.co.uk > >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> William Hindman >> Sent: 31 March 2007 22:23 >> To: Access Developers discussion and problem solving >> Subject: [AccessD] ...monitoring be mdb size >> >> >> ...I want to monitor the size of my be mdb's and gen an >> e-mail if they grow >> by a certain percentage in a given time frame ...has anyone >> already done >> this and have a solution they're willing to share? >> >> William Hindman >> > ________________________________________________ Message sent using UebiMiau 2.7.2 From jwcolby at colbyconsulting.com Mon Apr 2 06:31:59 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 2 Apr 2007 07:31:59 -0400 Subject: [AccessD] Users in SQL Server Message-ID: <000901c7751a$872c5ee0$657aa8c0@m6805> Is there something that can be read from SQL Server to discover the count of and even a list of users logged in to a SQL Server database? I am moving a client from an MDB data store to SQL Server and need to get this information on demand, using VBA. John W. Colby Colby Consulting www.ColbyConsulting.com From prodevmg at yahoo.com Mon Apr 2 06:51:40 2007 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Mon, 2 Apr 2007 04:51:40 -0700 (PDT) Subject: [AccessD] Users in SQL Server Message-ID: <41363.41171.qm@web33114.mail.mud.yahoo.com> You can do a passthrough query to the master database and execute this system stored procedure. EXEC SP_WHO May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: JWColby To: Access Developers discussion and problem solving ; dba-sqlserver at databaseadvisors.com Sent: Monday, April 2, 2007 6:31:59 AM Subject: [AccessD] Users in SQL Server Is there something that can be read from SQL Server to discover the count of and even a list of users logged in to a SQL Server database? I am moving a client from an MDB data store to SQL Server and need to get this information on demand, using VBA. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ____________________________________________________________________________________ We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list. http://tv.yahoo.com/collections/265 From wdhindman at dejpolsystems.com Mon Apr 2 07:50:38 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 2 Apr 2007 08:50:38 -0400 Subject: [AccessD] ...monitoring be mdb size References: <20070402105334.567F44FEC5@smtp.nildram.co.uk> Message-ID: <000901c77525$847c8020$982b124c@50nm721> Andy ...thanks much ...I did find some code over on Dev's site that looked like it might be adapted to what I wanted ...but your's looks like it should do the job nicely ...I'll give it a shot ..tks again. William Hindman ----- Original Message ----- From: "Andy Lacey" To: "Access Developers discussion and problem solving" Sent: Monday, April 02, 2007 7:53 AM Subject: Re: [AccessD] ...monitoring be mdb size > Well there's not a lot to it really > ================================= > > Function CompactRepair() > Const strOldMDB As String = "X:\y\z\your.mdb" 'Amend as necessary > Const strNewMDB As String = "X:\y\z\Compacted.mdb" > > Dim strSubject As String > Dim lngOldSize As Long > Dim lngNewSize As Long > Dim lngChange As Long > Dim lngOldSizeKB As Long > Dim lngNewSizeKB As Long > Dim lngChangeKB As Long > Dim lngOldSizeMB As Long > Dim lngNewSizeMB As Long > Dim lngChangeMB As Long > Dim db As Database > Dim strSQL As String > > > On Error GoTo Repair_Err > lngOldSize = FileLen(strOldMDB) > DBEngine.RepairDatabase strOldMDB > > On Error Resume Next > Kill strNewMDB > On Error GoTo Compact_Err > DBEngine.CompactDatabase strOldMDB, strNewMDB > lngNewSize = FileLen(strNewMDB) > lngChange = lngOldSize - lngNewSize > > lngOldSizeKB = lngOldSize / 1024 > lngNewSizeKB = lngNewSize / 1024 > lngChangeKB = lngChange / 1024 > lngOldSizeMB = lngOldSizeKB / 1024 > lngNewSizeMB = lngNewSizeKB / 1024 > lngChangeMB = lngChangeKB / 1024 > > strSubject = "Repair & Compact: SUCCESS " & lngOldSizeMB & "mb To " & > lngNewSizeMB & "mb (saving " & lngChangeMB & "mb)" > > 'My email routine takes two parameters - body and subject. You'll do your > own thing no doubt. > Call YourOwnEmailRoutine("Repair and Compact of " & strOldMDB & " ran > successfully" & vbCrLf & vbCrLf _ > & "Old Size " & Format(lngOldSizeKB, "#,##0") & "kb" & vbCrLf _ > & "New Size " & Format(lngNewSizeKB, "#,##0") & "kb" & vbCrLf _ > & "Reduction Of " & Format(lngChangeKB, "#,##0") & "kb" & vbCrLf & vbCrLf > _ > & "NOTE THAT THIS HAS ONLY BEEN RUN ON AN OFF-LINE COPY OF TITUSDAT.MDB > FOR > INFORMATION PURPOSES." _ > , strSubject) > > 'I also keep a record in a stats table > strSQL = "INSERT INTO COMPSTAT (CST_DATE, CST_FROM, CST_TO) VALUES(Now()," > & > lngOldSizeKB & ", " & lngNewSizeKB & ")" > Set db = CurrentDb > db.Execute strSQL > > CompactRepair_Exit: > On Error Resume Next > db.Close: Set db = Nothing > Exit Function > > Repair_Err: > strSubject = "Repair & Compact: FAILED" > Call YourOwnEmailRoutine("Repair of " & strOldMDB & " failed with error " > & > Err & vbCrLf & vbCrLf & Err.Description, strSubject) > Resume CompactRepair_Exit > Resume 0 > > Compact_Err: > strSubject = "Repair & Compact: FAILED" > Call YourOwnEmailRoutine("Compact of " & strOldMDB & " failed with error " > & > Err & vbCrLf & vbCrLf & Err.Description, strSubject) > Resume CompactRepair_Exit > Resume 0 > > End Function > ========================================== > > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] ...monitoring be mdb size > Date: 02/04/07 10:25 > > > Andy, > me too, please, if is possible... > Many thanks in advance, > Ervin > ----- Original Message ----- > From: "Andy Lacey" > To: "Access Developers discussion and problem solving" > > Sent: Monday, April 02, 2007 11:34 AM > Subject: Re: [AccessD] ...monitoring be mdb size > > >> Hi William >> Only just spotted this. You've probably done it by now, but.. >> >> I have an MDB which runs on a nightly schedule. What it does is slightly >> different from yours in that it measures the difference in size between >> the >> the live BE (well a copy actually) and one which it Compacts. It then >> emails >> me telling me by how much the BE would shrink if I threw everyone out of >> the >> system to run a compact. It's only a few lines of code and nothing you >> couldn't do in your sleep but you're welcome to it if it's any use. >> >> -- >> Andy Lacey >> http://www.minstersystems.co.uk >> >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >>> William Hindman >>> Sent: 31 March 2007 22:23 >>> To: Access Developers discussion and problem solving >>> Subject: [AccessD] ...monitoring be mdb size >>> >>> >>> ...I want to monitor the size of my be mdb's and gen an >>> e-mail if they grow >>> by a certain percentage in a given time frame ...has anyone >>> already done >>> this and have a solution they're willing to share? >>> >>> William Hindman >>> >> > > > ________________________________________________ > Message sent using UebiMiau 2.7.2 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd666 at yahoo.com Mon Apr 2 07:54:05 2007 From: accessd666 at yahoo.com (Sad Der) Date: Mon, 2 Apr 2007 05:54:05 -0700 (PDT) Subject: [AccessD] VSTO and/or/vs Access 2007 In-Reply-To: Message-ID: <70344.76962.qm@web31607.mail.mud.yahoo.com> Thnx for the many replies and links! This was exactly what I needed to find. Summary, It is possible to use .Net using Add-ins. However, Charlotte is also correct in saying that it is not possible to write .Net code in Access! Regards, Sander --- Charlotte Foust wrote: > But those aren't created in Access, they're created > in VS.Net and used > as an add-in in Access. Not the same thing at all > as writing .Net code > in Access. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On > Behalf Of Stuart > McLachlan > Sent: Thursday, March 29, 2007 2:44 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VSTO and/or/vs Access 2007 > > http://msdn2.microsoft.com/en-us/library/aa902693.aspx > > > Microsoft Office Access 2007 adds a new capability, > making managed > add-ins (that is, add-ins that run code created by > using Microsoft > Visual Studio 2005, written in either Microsoft > Visual Basic or > Microsoft Visual C#) both possible and relatively > easy to create. Now > you can use professional tools for creating managed > applications, and > incorporate the rich and powerful functionality of > the Microsoft .NET > Framework. > ... > In this article, we demonstrate creating a simple > add-in by using the > Visual Studio Shared Add-in template. We provide > code and instructions > (in Visual Basic and in C#) so you can try this in > the language that you > prefer. > > > On 29 Mar 2007 at 9:45, Martin Reid wrote: > > > Sander > > > > You can consume .NET components within Access and > call web services > > etc. I have seen this done but haven't actually > done it. From the > > other side you can use access within .net > applications much like > > calling another database from a .NET application. > > > > There are several web casts available on using > Access 2003 and .NET > > > > http://www.officeusers.org/see/26427 > > http://www.oreilly.com/catalog/accesscook2/ > > > > But you may notice in all the tech stuff out there > re Office and .NET > > Access gets little attention. > > > > Martin > > > > > > Martin WP Reid > > Training and Assessment Unit > > Riddle Hall > > Belfast > > > > tel: 02890 974477 > > > > > > ________________________________ > > > > From: accessd-bounces at databaseadvisors.com on > behalf of Sad Der > > Sent: Thu 29/03/2007 07:29 > > To: Acces User Group > > Subject: [AccessD] VSTO and/or/vs Access 2007 > > > > > > > > Hi, > > > > Can anybody provide with some > links/info/docs/books etc about > > programming Access 2007 and what it's relation is > with VSTO. > > > > As I understand i can use vb.net / c# in Access > 2007. > > I cannot figure out how?!?! > > When opening Access 2007 and going to code...I see > vba. > > In VS2005 I cannot find an Office project for > access?! > > > > Many TIA! > > > > Regards, > > > > Sander > > > > > > > > > ______________________________________________________________________ > > ______ ________ Never miss an email again! Yahoo! > Toolbar alerts you > > the instant new Mail arrives. > > > http://tools.search.yahoo.com/toolbar/features/mail/ > -- AccessD > > mailing list AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > Website: > > http://www.databaseadvisors.com > > > > > > > > > -- > Stuart > > > -- > 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 > ____________________________________________________________________________________ Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=list&sid=396546091 From mmmtbig at bellsouth.net Mon Apr 2 09:05:46 2007 From: mmmtbig at bellsouth.net (Myke Myers) Date: Mon, 2 Apr 2007 10:05:46 -0400 Subject: [AccessD] MOD VBA Error Handler for Access 2003 In-Reply-To: <000901c773c2$d9d65320$6501a8c0@TBIG1> References: <000901c773c2$d9d65320$6501a8c0@TBIG1> Message-ID: <00cb01c77530$057210f0$6501a8c0@TBIG1> MZ-Tools has a good replacement with many other tools also. http://mztools.com/v3/download.htm -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Myke Myers Sent: Saturday, March 31, 2007 2:31 PM To: 'Database Advisors' Subject: [AccessD] MOD VBA Error Handler for Access 2003 I've been using the Access 2000 XP MOD 'VBA Error Handler' for years and I like it. I installed Access 2003 on the same computer and the VBA Error Handler appeared in the Visual Basic Add Ins and worked normally. I installed Access 2003 on a new computer and I can't find a way to get 'VBA Error Handler' installed. It's not in the Access 2003 Developer Extensions. I've searched the web and Google Group with no success. Anyone have a suggestion? TIA, Myke -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ebarro at verizon.net Mon Apr 2 09:47:17 2007 From: ebarro at verizon.net (Eric Barro) Date: Mon, 02 Apr 2007 07:47:17 -0700 Subject: [AccessD] Users in SQL Server In-Reply-To: <41363.41171.qm@web33114.mail.mud.yahoo.com> Message-ID: <0JFV00KQYL2YKZ00@vms048.mailsrvcs.net> Sp_who and sp_who2 will give you processes and connections...not unique users. This gives you a count of processes connected to the specified database name select count(*) from master.dbo.sysprocesses where dbid = db_id('databasename') This gives you unique logins connected to the specified database name select distinct loginame from master.dbo.sysprocesses where loginame = 'userlogin' and dbid = db_id('databasename') NOTE: if your application's processes use one login for all users then you won't get a true value. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Monday, April 02, 2007 4:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Users in SQL Server You can do a passthrough query to the master database and execute this system stored procedure. EXEC SP_WHO May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: JWColby To: Access Developers discussion and problem solving ; dba-sqlserver at databaseadvisors.com Sent: Monday, April 2, 2007 6:31:59 AM Subject: [AccessD] Users in SQL Server Is there something that can be read from SQL Server to discover the count of and even a list of users logged in to a SQL Server database? I am moving a client from an MDB data store to SQL Server and need to get this information on demand, using VBA. John W. Colby Colby Consulting www.ColbyConsulting.com From cfoust at infostatsystems.com Mon Apr 2 11:13:03 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 2 Apr 2007 09:13:03 -0700 Subject: [AccessD] OT Friday but not funny In-Reply-To: <000b01c7733e$0683b550$0200a8c0@danwaters> References: <00bb01c77338$e6dbb630$0201a8c0@HAL9005> <000b01c7733e$0683b550$0200a8c0@danwaters> Message-ID: >Tyrants and dictators do things like this to stay in power LOL Sounds like IT to me! Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, March 30, 2007 7:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday but not funny Well, a company could set up some methodology where you have at least two groups in house whose job it is to spy on each other, and create situations for them to constantly distrust each other. Then fire someone once in a while and 'imply' it was for security reasons. Tyrants and dictators do things like this to stay in power. Maybe it'll work in IT too! Dan -----Original Message----- Subject: Re: [AccessD] OT Friday but not funny If I run short, I can make my own. :) But all seriousness aside, our paper's business section seems to cover them. Maybe they've got a techie on staff. San Diego is also very highly wired. So there's maybe more than average readership for this stuff. But I was wondering if it's possible to stop an inside job. If there is some way to ultimately secure the data. Rocky -----Original Message----- Subject: Re: [AccessD] OT Friday but not funny Hi Rocky: You definitely seem to have to line on all the latest major database errors. :-) Jim -----Original Message----- Subject: [AccessD] OT Friday but not funny From: http://www.signonsandiego.com/uniontrib/20070330/news_1b30tjx.html TJX data breach now called world's largest 45.7 million cards were compromised You can read the details yourself but this snip stood out: The TJX case would "probably serve as a case study for computer security and business students for years to come," said Beth Givens, director of the San Diego-based Privacy Rights Clearinghouse. "This one could be considered a worst-case scenario." One reason, Givens said, is because of TJX's disclosure late Wednesday that it believed the hacker or hackers "had access to the decryption tool for the encryption software utilized by TJX." Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Apr 2 11:25:27 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 2 Apr 2007 09:25:27 -0700 Subject: [AccessD] MOD VBA Error Handler for Access 2003 In-Reply-To: <00cb01c77530$057210f0$6501a8c0@TBIG1> References: <000901c773c2$d9d65320$6501a8c0@TBIG1> <00cb01c77530$057210f0$6501a8c0@TBIG1> Message-ID: I couldn't get by without MZ-Tools! I even use it in VS 2005. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Myke Myers Sent: Monday, April 02, 2007 7:06 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MOD VBA Error Handler for Access 2003 MZ-Tools has a good replacement with many other tools also. http://mztools.com/v3/download.htm -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Myke Myers Sent: Saturday, March 31, 2007 2:31 PM To: 'Database Advisors' Subject: [AccessD] MOD VBA Error Handler for Access 2003 I've been using the Access 2000 XP MOD 'VBA Error Handler' for years and I like it. I installed Access 2003 on the same computer and the VBA Error Handler appeared in the Visual Basic Add Ins and worked normally. I installed Access 2003 on a new computer and I can't find a way to get 'VBA Error Handler' installed. It's not in the Access 2003 Developer Extensions. I've searched the web and Google Group with no success. Anyone have a suggestion? TIA, Myke -- 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 newsgrps at dalyn.co.nz Mon Apr 2 13:24:05 2007 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 03 Apr 2007 06:24:05 +1200 Subject: [AccessD] Access 97 Runtime and Windows Vista Message-ID: <20070402182248.PGCL19815.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> Hi Group, This was sent late Friday night but may have been overlooked in the excitement of the weekend. Has anyone tested whether Access 97 runtime will run with Windows Vista? Any potential problems to what out for? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From shamil at users.mns.ru Mon Apr 2 14:00:02 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 2 Apr 2007 23:00:02 +0400 Subject: [AccessD] Access 97 Runtime and Windows Vista In-Reply-To: <20070402182248.PGCL19815.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <000601c77559$1e8f37b0$6401a8c0@nant> Hello David, My guess is that MS Access 97 runtime should work fine on MS Windows Vista. MS Windows Vista is compatible and is based on "good old" MS Windows 95->98->(2000+XP+2003) versions - it's just 4% .NET based (http://www.grimes.demon.co.uk/dotnet/vistaAndDotnet.htm ) and all the rest is still (and will ever be?) COM-based... I didn't test MS Access 97 on MS Windows Vista but I have MS Access 2003 installed and it worked OK... VB6 works well on my MS Windows Vista system. I do not see why MS Access 97 runtime when properly installed (using SageKey scripts) should not work on MS Windows Vista. Just my guess... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Monday, April 02, 2007 10:24 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 97 Runtime and Windows Vista Hi Group, This was sent late Friday night but may have been overlooked in the excitement of the weekend. Has anyone tested whether Access 97 runtime will run with Windows Vista? Any potential problems to what out for? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Mon Apr 2 14:51:24 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Mon, 2 Apr 2007 12:51:24 -0700 Subject: [AccessD] Access 97 Runtime and Windows Vista In-Reply-To: <20070402182248.PGCL19815.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <001301c77560$4bc2b430$0200a8c0@murphy3234aaf1> David, I don't know about the 97 runtime but I do know that Access XP runtimes installed with Wise and Sagekey script installer do run on Vista, ours at least. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Monday, April 02, 2007 11:24 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access 97 Runtime and Windows Vista Hi Group, This was sent late Friday night but may have been overlooked in the excitement of the weekend. Has anyone tested whether Access 97 runtime will run with Windows Vista? Any potential problems to what out for? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Tue Apr 3 04:24:39 2007 From: accessd666 at yahoo.com (Sad Der) Date: Tue, 3 Apr 2007 02:24:39 -0700 (PDT) Subject: [AccessD] ADP - Reset connection => Error? Message-ID: <814078.68357.qm@web31610.mail.mud.yahoo.com> Hi, I need to reset the CurrentProject.Connection.ConnectionString value for my ADP (2002) When I try: CurrentProject.Connection.ConnectionString = strConnString I get the error: Operation is not allowed when the object is open. This is true because the following returns false: ?CurrentProject.Connection.State = adStateClosed So before setting the new connectstring property I try to close the connection but none of the below seem to work, although they do NOT return an error! Application.CurrentProject.CloseConnection CurrentProject.CloseConnection CurrentProject.Connection.Close set CurrentProject.Connection = nothing (?? just trying) Goal: How can I set a new connect string? Regards, Sander PS: I asked this before and got some good answers. Throughout the app several functions are used that use CurrentProject.Connection. These are called hundreds of times!! I do not want to modify that code. ____________________________________________________________________________________ Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html From Gustav at cactus.dk Tue Apr 3 05:28:40 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 03 Apr 2007 12:28:40 +0200 Subject: [AccessD] ADP - Reset connection => Error? Message-ID: Hi Sander I don't think you can cut the connection belonging to CurrentProject ... that would be like kicking your own feet away. I guess you need to create a new Connection object and then use that for whatever your purpose is. /gustav >>> accessd666 at yahoo.com 03-04-2007 11:24:39 >>> Hi, I need to reset the CurrentProject.Connection.ConnectionString value for my ADP (2002) When I try: CurrentProject.Connection.ConnectionString = strConnString I get the error: Operation is not allowed when the object is open. This is true because the following returns false: ?CurrentProject.Connection.State = adStateClosed So before setting the new connectstring property I try to close the connection but none of the below seem to work, although they do NOT return an error! Application.CurrentProject.CloseConnection CurrentProject.CloseConnection CurrentProject.Connection.Close set CurrentProject.Connection = nothing (?? just trying) Goal: How can I set a new connect string? Regards, Sander PS: I asked this before and got some good answers. Throughout the app several functions are used that use CurrentProject.Connection. These are called hundreds of times!! I do not want to modify that code. From accessd666 at yahoo.com Tue Apr 3 06:25:05 2007 From: accessd666 at yahoo.com (Sad Der) Date: Tue, 3 Apr 2007 04:25:05 -0700 (PDT) Subject: [AccessD] ADP - Reset connection => Error? In-Reply-To: Message-ID: <103875.36919.qm@web31608.mail.mud.yahoo.com> I need this because we need to set/check the databaseconnection from outside the database e.g. an ini file. If it isn't possible to reset the connection to another sql server, than we've got a problem.... As I said before. Throughout the code the CurrentProject.Connection is used to set the connectstring. I feel a Find/Replace comming on... Not something I would like to do because I have to test all changes. Sander PS: There are few changes (1-3) on the database per day but these can have major financial conseq. E.g. values below ?100.000 are neglected!! --- Gustav Brock wrote: > Hi Sander > > I don't think you can cut the connection belonging > to CurrentProject ... that would be like kicking > your own feet away. > I guess you need to create a new Connection object > and then use that for whatever your purpose is. > > /gustav > > >>> accessd666 at yahoo.com 03-04-2007 11:24:39 >>> > Hi, > > I need to reset the > CurrentProject.Connection.ConnectionString value for > my ADP (2002) > > When I try: > CurrentProject.Connection.ConnectionString = > strConnString > > I get the error: > Operation is not allowed when the object is open. > > This is true because the following returns false: > ?CurrentProject.Connection.State = adStateClosed > > So before setting the new connectstring property I > try > to close the connection but none of the below seem > to > work, although they do NOT return an error! > Application.CurrentProject.CloseConnection > CurrentProject.CloseConnection > CurrentProject.Connection.Close > set CurrentProject.Connection = nothing (?? just > trying) > > Goal: How can I set a new connect string? > > Regards, > Sander > PS: I asked this before and got some good answers. > Throughout the app several functions are used that > use > CurrentProject.Connection. These are called hundreds > of times!! I do not want to modify that code. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ____________________________________________________________________________________ Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html From accessd666 at yahoo.com Tue Apr 3 07:10:30 2007 From: accessd666 at yahoo.com (Sad Der) Date: Tue, 3 Apr 2007 05:10:30 -0700 (PDT) Subject: [AccessD] ADP - Reset connection => Error? SOLVED In-Reply-To: <103875.36919.qm@web31608.mail.mud.yahoo.com> Message-ID: <525747.82927.qm@web31606.mail.mud.yahoo.com> Gustav, You're idea works...only 1.000.000 changes to go ;-) Maybe a bit exadurated... Regards, Sander --- Sad Der wrote: > I need this because we need to set/check the > databaseconnection from outside the database e.g. an > ini file. > > If it isn't possible to reset the connection to > another sql server, than we've got a problem.... > > As I said before. Throughout the code the > CurrentProject.Connection is used to set the > connectstring. I feel a Find/Replace comming on... > Not > something I would like to do because I have to test > all changes. > > Sander > PS: There are few changes (1-3) on the database per > day but these can have major financial conseq. E.g. > values below ?100.000 are neglected!! > > --- Gustav Brock wrote: > > > Hi Sander > > > > I don't think you can cut the connection belonging > > to CurrentProject ... that would be like kicking > > your own feet away. > > I guess you need to create a new Connection object > > and then use that for whatever your purpose is. > > > > /gustav > > > > >>> accessd666 at yahoo.com 03-04-2007 11:24:39 >>> > > Hi, > > > > I need to reset the > > CurrentProject.Connection.ConnectionString value > for > > my ADP (2002) > > > > When I try: > > CurrentProject.Connection.ConnectionString = > > strConnString > > > > I get the error: > > Operation is not allowed when the object is open. > > > > This is true because the following returns false: > > ?CurrentProject.Connection.State = adStateClosed > > > > So before setting the new connectstring property I > > try > > to close the connection but none of the below seem > > to > > work, although they do NOT return an error! > > Application.CurrentProject.CloseConnection > > CurrentProject.CloseConnection > > CurrentProject.Connection.Close > > set CurrentProject.Connection = nothing (?? just > > trying) > > > > Goal: How can I set a new connect string? > > > > Regards, > > Sander > > PS: I asked this before and got some good answers. > > Throughout the app several functions are used that > > use > > CurrentProject.Connection. These are called > hundreds > > of times!! I do not want to modify that code. > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > ____________________________________________________________________________________ > Sucker-punch spam with award-winning protection. > Try the free Yahoo! Mail Beta. > http://advision.webevents.yahoo.com/mailbeta/features_spam.html > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ____________________________________________________________________________________ Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html From bbruen at unwired.com.au Tue Apr 3 07:16:32 2007 From: bbruen at unwired.com.au (Bruce Bruen) Date: Tue, 3 Apr 2007 22:16:32 +1000 Subject: [AccessD] ADP - Reset connection => Error? In-Reply-To: <103875.36919.qm@web31608.mail.mud.yahoo.com> References: <103875.36919.qm@web31608.mail.mud.yahoo.com> Message-ID: <200704032216.35054.bbruen@unwired.com.au> On Tuesday 03 April 2007 21:25, Sad Der wrote: > I need this because we need to set/check the > databaseconnection from outside the database e.g. an > ini file. .. > > --- Gustav Brock wrote: > > Hi Sander > > > > I don't think you can cut the connection belonging > > to CurrentProject ... that would be like kicking > > your own feet away. > > I guess you need to create a new Connection object > > and then use that for whatever your purpose is. > > .. Sander, You CANNOT do this, CurrentProject is just, sort of like [Me]. set Me = SomeOneElse ... ??? I know that CurrentProject is just about a great way to shortcut the local active connection, but it has it's pitfall's, and this is it! BTW: You can't even do this elsewhere. Even in a true OO language you can't ( this <= this.base; } or { this <= cMyAccount(YourAccount); } -- regards Bruce From askolits at ot.com Tue Apr 3 08:36:06 2007 From: askolits at ot.com (John Skolits) Date: Tue, 3 Apr 2007 09:36:06 -0400 Subject: [AccessD] Excel automation issue In-Reply-To: <008401c71400$b96b21f0$0200a8c0@murphy3234aaf1> Message-ID: <001e01c775f5$083448b0$0f01a8c0@officexp> I have a problem on my PC but it's not occurring on any other PC. When trying to do a CopyFromRecordset to Excel. I receive the following error. "Class does not support automation or does not support expected interface" The only new thing I have done lately was to install SqlServer 2005 and VB 2005. These were not installed previous to this issue and are not install on any of my other PCs. Ms Knowledgebase seems to point to using Access97 with Excel. But I'm running Access 2000. I have all the latest Service packs. I have totally removed Office and reinstalled. The other odd thing was I found an MDAC that's 2.8 SR1. Thinking it may fix the problem, I tried to run it and it said "This setup does not support installing on this operating system" Anyone run into this yet. John Skolits -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Wednesday, November 29, 2006 4:53 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Email Automation to Outlook problem It may be a windows event conflict. I am not sure if the timer is an Access thing or Access running a windows api. I do know that if Outlook happens to be sending or receiving when I try and send an email from Access an error is generated. This may be way out in left field but something to consider. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, November 29, 2006 1:23 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Email Automation to Outlook problem I'll have to give this a try...but if it had any updates...they would have to have been automatic...its an old box running 2K Server...and I haven't run any updates in quite sometime. The weird part for me...is I can run the code from a button...but not a timer event??? Thanks, Mark A. Matte >From: "William Hindman" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Email Automation to Outlook problem >Date: Wed, 29 Nov 2006 16:12:25 -0500 > >...have you tried a restore point before it started failing ...imnsho >Microsoft has returned to issuing updates without thoroughly vetting >them ...it seems everytime MS does an update these days, my phone >starts ringing :( > >William Hindman >----- Original Message ----- >From: "Mark A Matte" >To: >Sent: Wednesday, November 29, 2006 3:24 PM >Subject: Re: [AccessD] Email Automation to Outlook problem > > > >I am actually having a related issue right now. I have a db that > >imports data every 30 minutes...does an analysis...and emails > >results using outlook. > > It worked fine for a year...and now outlook crashes almost > >everytime >with > > "An unknown Error". If I execute the exact same code from a button > > instead of a timer, it runs fine...I'm lost at this time. I need a > > way to send >an > > email without using outlook...I guess? > > > > Thanks, > > > > Mark A. Matte > > > >>From: "Gustav Brock" > >>Reply-To: Access Developers discussion and problem > >>solving > >>To: > >>Subject: Re: [AccessD] Email Automation to Outlook problem > >>Date: Wed, 29 Nov 2006 18:09:03 +0100 > >> > >>Hi Susan and Chris > >> > >>Oh, that's another story - I don't use Outlook - so I cannot help. > >>Could it be an automatic Windows Updating issue? > >> > >>/gustav > >> > >> >>> ssharkins at setel.com 29-11-2006 17:40:32 >>> > >>Gustav, > >> > >> This is something that Outlook seems to do on its own -- at least > >>on my system. An address that's worked for years will suddenly not > >>send. In the header, I can see the apostrophes. I delete the > >>address, re-enter it, >and > >>9 > >>times out of 10, it goes. No clue... > >> > >> In my case, there's no code involved -- this is all Outlook. > >> > >>Susan H. > >> > >>The obvious solution is to adjust your code to stop wrapping the > >>address in apostrophes. > >>If, for some reason, that can't be done, change these to brackets like: > >> > >> > >> > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > > > > _________________________________________________________________ > > Talk now to your Hotmail contacts with Windows Live Messenger. > > >http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http: >//get.live.com/messenger/overview > > > > -- > > 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 _________________________________________________________________ View Athletes Collections with Live Search http://sportmaps.live.com/index.html?source=hmemailtaglinenov06&FORM=MGAC01 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Apr 3 09:11:03 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 3 Apr 2007 09:11:03 -0500 Subject: [AccessD] Excel automation issue In-Reply-To: <001e01c775f5$083448b0$0f01a8c0@officexp> References: <008401c71400$b96b21f0$0200a8c0@murphy3234aaf1> <001e01c775f5$083448b0$0f01a8c0@officexp> Message-ID: <001b01c775f9$eb16e080$0200a8c0@danwaters> Hi John, I can only answer the MDAC 2.8 issue. You need to find the 'MDAC 2.8' page on MS's site. There are several versions of MDAC 2.8, each for a different Windows OS. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Tuesday, April 03, 2007 8:36 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Excel automation issue I have a problem on my PC but it's not occurring on any other PC. When trying to do a CopyFromRecordset to Excel. I receive the following error. "Class does not support automation or does not support expected interface" The only new thing I have done lately was to install SqlServer 2005 and VB 2005. These were not installed previous to this issue and are not install on any of my other PCs. Ms Knowledgebase seems to point to using Access97 with Excel. But I'm running Access 2000. I have all the latest Service packs. I have totally removed Office and reinstalled. The other odd thing was I found an MDAC that's 2.8 SR1. Thinking it may fix the problem, I tried to run it and it said "This setup does not support installing on this operating system" Anyone run into this yet. John Skolits From askolits at ot.com Tue Apr 3 09:34:14 2007 From: askolits at ot.com (John Skolits) Date: Tue, 3 Apr 2007 10:34:14 -0400 Subject: [AccessD] Excel automation issue In-Reply-To: <001b01c775f9$eb16e080$0200a8c0@danwaters> Message-ID: <006401c775fd$27584360$0f01a8c0@officexp> I just realized the SR-1 is not for XP. Only up till 2000 I guess I assumed that a later version of 2.8 would be for XP as well. Either way, I still have the automation issue which for the life of me . I can't figure out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, April 03, 2007 10:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Excel automation issue Hi John, I can only answer the MDAC 2.8 issue. You need to find the 'MDAC 2.8' page on MS's site. There are several versions of MDAC 2.8, each for a different Windows OS. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Tuesday, April 03, 2007 8:36 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Excel automation issue I have a problem on my PC but it's not occurring on any other PC. When trying to do a CopyFromRecordset to Excel. I receive the following error. "Class does not support automation or does not support expected interface" The only new thing I have done lately was to install SqlServer 2005 and VB 2005. These were not installed previous to this issue and are not install on any of my other PCs. Ms Knowledgebase seems to point to using Access97 with Excel. But I'm running Access 2000. I have all the latest Service packs. I have totally removed Office and reinstalled. The other odd thing was I found an MDAC that's 2.8 SR1. Thinking it may fix the problem, I tried to run it and it said "This setup does not support installing on this operating system" Anyone run into this yet. John Skolits -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Tue Apr 3 09:49:14 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 03 Apr 2007 14:49:14 +0000 Subject: [AccessD] Excel automation issue In-Reply-To: <006401c775fd$27584360$0f01a8c0@officexp> Message-ID: John, I had a similar error recently...but not exactly the same...only some machine had the error...but all machines 'appeared' to be the same. My problem was around DAO connections...in the VBA window, under tools...references...everyone had the same 3 things checked including DAO 3.6 What I later found to be the problem was not what is checked...but what is available to be checked. Apparently Access needs some of the old DLLs even though they are not checked in References. My culprit was DAO 3.51. The machines that were having the problem with what seemed to be sound code...were indeed missing the 3.51 dll even though the db supposedly was not being used. I copied the file to each machine, registered them...and everything worked fine. Your error and mine weren't the same, but from what I can remember very similar...and both were good code and referenced automation. at the time I found something on MS site describing the old dll missing issue...but I can't find it now. Good Luck, Mark A. Matte >From: "John Skolits" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Excel automation issue >Date: Tue, 3 Apr 2007 10:34:14 -0400 > >I just realized the SR-1 is not for XP. Only up till 2000 >I guess I assumed that a later version of 2.8 would be for XP as well. > >Either way, I still have the automation issue which for the life of me . I >can't figure out. > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters >Sent: Tuesday, April 03, 2007 10:11 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Excel automation issue > >Hi John, > >I can only answer the MDAC 2.8 issue. You need to find the 'MDAC 2.8' page >on MS's site. There are several versions of MDAC 2.8, each for a different >Windows OS. > >Dan > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits >Sent: Tuesday, April 03, 2007 8:36 AM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Excel automation issue > >I have a problem on my PC but it's not occurring on any other PC. > >When trying to do a CopyFromRecordset to Excel. I receive the following >error. > >"Class does not support automation or does not support expected interface" > >The only new thing I have done lately was to install SqlServer 2005 and VB >2005. These were not installed previous to this issue and are not install >on >any of my other PCs. > >Ms Knowledgebase seems to point to using Access97 with Excel. But I'm >running Access 2000. I have all the latest Service packs. > >I have totally removed Office and reinstalled. > >The other odd thing was I found an MDAC that's 2.8 SR1. Thinking it may fix >the problem, I tried to run it and it said "This setup does not support >installing on this operating system" > >Anyone run into this yet. > >John Skolits > > > >-- >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 _________________________________________________________________ Get a FREE Web site, company branded e-mail and more from Microsoft Office Live! http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/ From Jim.Hale at FleetPride.com Tue Apr 3 09:56:05 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 3 Apr 2007 09:56:05 -0500 Subject: [AccessD] Excel automation issue Message-ID: WAG. Is it possible the DAO reference was changed to an older version when you installed VB or the ADO reference replaced the DAO? Just a thought. Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Tuesday, April 03, 2007 9:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Excel automation issue I just realized the SR-1 is not for XP. Only up till 2000 I guess I assumed that a later version of 2.8 would be for XP as well. Either way, I still have the automation issue which for the life of me . I can't figure out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, April 03, 2007 10:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Excel automation issue Hi John, I can only answer the MDAC 2.8 issue. You need to find the 'MDAC 2.8' page on MS's site. There are several versions of MDAC 2.8, each for a different Windows OS. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Tuesday, April 03, 2007 8:36 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Excel automation issue I have a problem on my PC but it's not occurring on any other PC. When trying to do a CopyFromRecordset to Excel. I receive the following error. "Class does not support automation or does not support expected interface" The only new thing I have done lately was to install SqlServer 2005 and VB 2005. These were not installed previous to this issue and are not install on any of my other PCs. Ms Knowledgebase seems to point to using Access97 with Excel. But I'm running Access 2000. I have all the latest Service packs. I have totally removed Office and reinstalled. The other odd thing was I found an MDAC that's 2.8 SR1. Thinking it may fix the problem, I tried to run it and it said "This setup does not support installing on this operating system" Anyone run into this yet. John Skolits -- 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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From askolits at ot.com Tue Apr 3 10:13:29 2007 From: askolits at ot.com (John Skolits) Date: Tue, 3 Apr 2007 11:13:29 -0400 Subject: [AccessD] Excel automation issue - SOLVED! In-Reply-To: Message-ID: <007b01c77602$a3315580$0f01a8c0@officexp> Bingo. I copied over an older DAO 2.5/3.51 from one of my PCs. Added it to my References and removed DAO 3.60 from the reference. Compiled, and it worked. Closed Access. Opened it, removed Dao 2.5/3.51 reference and added back Dao 3.60. And everything is now fine. Weird. Thanks for all your help! John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, April 03, 2007 10:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Excel automation issue WAG. Is it possible the DAO reference was changed to an older version when you installed VB or the ADO reference replaced the DAO? Just a thought. Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Tuesday, April 03, 2007 9:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Excel automation issue I just realized the SR-1 is not for XP. Only up till 2000 I guess I assumed that a later version of 2.8 would be for XP as well. Either way, I still have the automation issue which for the life of me . I can't figure out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, April 03, 2007 10:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Excel automation issue Hi John, I can only answer the MDAC 2.8 issue. You need to find the 'MDAC 2.8' page on MS's site. There are several versions of MDAC 2.8, each for a different Windows OS. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Tuesday, April 03, 2007 8:36 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Excel automation issue I have a problem on my PC but it's not occurring on any other PC. When trying to do a CopyFromRecordset to Excel. I receive the following error. "Class does not support automation or does not support expected interface" The only new thing I have done lately was to install SqlServer 2005 and VB 2005. These were not installed previous to this issue and are not install on any of my other PCs. Ms Knowledgebase seems to point to using Access97 with Excel. But I'm running Access 2000. I have all the latest Service packs. I have totally removed Office and reinstalled. The other odd thing was I found an MDAC that's 2.8 SR1. Thinking it may fix the problem, I tried to run it and it said "This setup does not support installing on this operating system" Anyone run into this yet. John Skolits -- 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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Tue Apr 3 14:11:41 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 3 Apr 2007 15:11:41 -0400 Subject: [AccessD] Excel automation issue References: Message-ID: <001f01c77623$eaa12230$982b124c@50nm721> ...two things I watch for here ...when code requires DAO 3.51 to compile it means I've got legacy code from an older version of Access running ...and when I start getting automation errors on one system and not on others, it usually points to the DAO/ADO references being out of sequence on that system ...which can happen when you do third party installs ...one reason I got religion about coding explicitly to DAO or ADO and not forcing Access to guess. William Hindman ----- Original Message ----- From: "Mark A Matte" To: Sent: Tuesday, April 03, 2007 10:49 AM Subject: Re: [AccessD] Excel automation issue > John, > > I had a similar error recently...but not exactly the same...only some > machine had the error...but all machines 'appeared' to be the same. My > problem was around DAO connections...in the VBA window, under > tools...references...everyone had the same 3 things checked including DAO > 3.6 > > What I later found to be the problem was not what is checked...but what is > available to be checked. Apparently Access needs some of the old DLLs > even > though they are not checked in References. My culprit was DAO 3.51. The > machines that were having the problem with what seemed to be sound > code...were indeed missing the 3.51 dll even though the db supposedly was > not being used. I copied the file to each machine, registered them...and > everything worked fine. > > Your error and mine weren't the same, but from what I can remember very > similar...and both were good code and referenced automation. > > at the time I found something on MS site describing the old dll missing > issue...but I can't find it now. > > Good Luck, > > Mark A. Matte > > >>From: "John Skolits" >>Reply-To: Access Developers discussion and problem >>solving >>To: "'Access Developers discussion and problem >>solving'" >>Subject: Re: [AccessD] Excel automation issue >>Date: Tue, 3 Apr 2007 10:34:14 -0400 >> >>I just realized the SR-1 is not for XP. Only up till 2000 >>I guess I assumed that a later version of 2.8 would be for XP as well. >> >>Either way, I still have the automation issue which for the life of me . I >>can't figure out. >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters >>Sent: Tuesday, April 03, 2007 10:11 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] Excel automation issue >> >>Hi John, >> >>I can only answer the MDAC 2.8 issue. You need to find the 'MDAC 2.8' >>page >>on MS's site. There are several versions of MDAC 2.8, each for a >>different >>Windows OS. >> >>Dan >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits >>Sent: Tuesday, April 03, 2007 8:36 AM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] Excel automation issue >> >>I have a problem on my PC but it's not occurring on any other PC. >> >>When trying to do a CopyFromRecordset to Excel. I receive the following >>error. >> >>"Class does not support automation or does not support expected interface" >> >>The only new thing I have done lately was to install SqlServer 2005 and VB >>2005. These were not installed previous to this issue and are not install >>on >>any of my other PCs. >> >>Ms Knowledgebase seems to point to using Access97 with Excel. But I'm >>running Access 2000. I have all the latest Service packs. >> >>I have totally removed Office and reinstalled. >> >>The other odd thing was I found an MDAC that's 2.8 SR1. Thinking it may >>fix >>the problem, I tried to run it and it said "This setup does not support >>installing on this operating system" >> >>Anyone run into this yet. >> >>John Skolits >> >> >> >>-- >>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 > > _________________________________________________________________ > Get a FREE Web site, company branded e-mail and more from Microsoft Office > Live! http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/ > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From markamatte at hotmail.com Tue Apr 3 14:23:36 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 03 Apr 2007 19:23:36 +0000 Subject: [AccessD] Excel automation issue In-Reply-To: <001f01c77623$eaa12230$982b124c@50nm721> Message-ID: My issue reared its ugly head in an A97 db that was created, and currently running, in A97. The thing that concerned me was that I thought that if the libraries were not 'checked' under references...they were not used. But in this case DAO 3.6 was checked and DAO 3.51 was not in the list. Once I added the 3.51 dll to the machine and registered it(3.51 still NOT checked in references) the db ran fine...so this means that A97 still needed the other dll's even though they weren't checked. With this being the case...what is the point of selecting the references if it is just going to use what it wants anyway? I'm confused again? Mark A. Matte >From: "William Hindman" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Excel automation issue >Date: Tue, 3 Apr 2007 15:11:41 -0400 > >...two things I watch for here ...when code requires DAO 3.51 to compile it >means I've got legacy code from an older version of Access running ...and >when I start getting automation errors on one system and not on others, it >usually points to the DAO/ADO references being out of sequence on that >system ...which can happen when you do third party installs ...one reason I >got religion about coding explicitly to DAO or ADO and not forcing Access >to >guess. >William Hindman > >----- Original Message ----- >From: "Mark A Matte" >To: >Sent: Tuesday, April 03, 2007 10:49 AM >Subject: Re: [AccessD] Excel automation issue > > > > John, > > > > I had a similar error recently...but not exactly the same...only some > > machine had the error...but all machines 'appeared' to be the same. My > > problem was around DAO connections...in the VBA window, under > > tools...references...everyone had the same 3 things checked including >DAO > > 3.6 > > > > What I later found to be the problem was not what is checked...but what >is > > available to be checked. Apparently Access needs some of the old DLLs > > even > > though they are not checked in References. My culprit was DAO 3.51. The > > machines that were having the problem with what seemed to be sound > > code...were indeed missing the 3.51 dll even though the db supposedly >was > > not being used. I copied the file to each machine, registered >them...and > > everything worked fine. > > > > Your error and mine weren't the same, but from what I can remember very > > similar...and both were good code and referenced automation. > > > > at the time I found something on MS site describing the old dll missing > > issue...but I can't find it now. > > > > Good Luck, > > > > Mark A. Matte > > > > > >>From: "John Skolits" > >>Reply-To: Access Developers discussion and problem > >>solving > >>To: "'Access Developers discussion and problem > >>solving'" > >>Subject: Re: [AccessD] Excel automation issue > >>Date: Tue, 3 Apr 2007 10:34:14 -0400 > >> > >>I just realized the SR-1 is not for XP. Only up till 2000 > >>I guess I assumed that a later version of 2.8 would be for XP as well. > >> > >>Either way, I still have the automation issue which for the life of me . >I > >>can't figure out. > >> > >> > >> > >>-----Original Message----- > >>From: accessd-bounces at databaseadvisors.com > >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > >>Sent: Tuesday, April 03, 2007 10:11 AM > >>To: 'Access Developers discussion and problem solving' > >>Subject: Re: [AccessD] Excel automation issue > >> > >>Hi John, > >> > >>I can only answer the MDAC 2.8 issue. You need to find the 'MDAC 2.8' > >>page > >>on MS's site. There are several versions of MDAC 2.8, each for a > >>different > >>Windows OS. > >> > >>Dan > >> > >>-----Original Message----- > >>From: accessd-bounces at databaseadvisors.com > >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits > >>Sent: Tuesday, April 03, 2007 8:36 AM > >>To: 'Access Developers discussion and problem solving' > >>Subject: [AccessD] Excel automation issue > >> > >>I have a problem on my PC but it's not occurring on any other PC. > >> > >>When trying to do a CopyFromRecordset to Excel. I receive the following > >>error. > >> > >>"Class does not support automation or does not support expected >interface" > >> > >>The only new thing I have done lately was to install SqlServer 2005 and >VB > >>2005. These were not installed previous to this issue and are not >install > >>on > >>any of my other PCs. > >> > >>Ms Knowledgebase seems to point to using Access97 with Excel. But I'm > >>running Access 2000. I have all the latest Service packs. > >> > >>I have totally removed Office and reinstalled. > >> > >>The other odd thing was I found an MDAC that's 2.8 SR1. Thinking it may > >>fix > >>the problem, I tried to run it and it said "This setup does not support > >>installing on this operating system" > >> > >>Anyone run into this yet. > >> > >>John Skolits > >> > >> > >> > >>-- > >>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 > > > > _________________________________________________________________ > > Get a FREE Web site, company branded e-mail and more from Microsoft >Office > > Live! http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/ > > > > -- > > 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 _________________________________________________________________ Can?t afford to quit your job? ? Earn your AS, BS, or MS degree online in 1 year. http://www.classesusa.com/clickcount.cfm?id=866145&goto=http%3A%2F%2Fwww.classesusa.com%2Ffeaturedschools%2Fonlinedegreesmp%2Fform-dyn1.html%3Fsplovr%3D866143 From Gustav at cactus.dk Wed Apr 4 03:24:06 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 04 Apr 2007 10:24:06 +0200 Subject: [AccessD] How to match values that don't match from two tables Message-ID: Hi all You have two tables each holding a field of some value, say an amount. You wish to match the values in the first table with the closest value in the other table. Here is one method with a subquery using Abs() to calculate the difference: SELECT tblA.*, tblB.* FROM tblA, tblB WHERE tblB.ID= (Select Top 1 B.ID From tblB As B, tblA As A Where A.ID = tblA.ID Order By Abs(A.ColumnA - B.ColumnB)); The IDs are the unique keys for the tables. /gustav From paul.hartland at fsmail.net Wed Apr 4 04:11:06 2007 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 4 Apr 2007 11:11:06 +0200 (CEST) Subject: [AccessD] OT - Open Web Link From Visual Basic Message-ID: <13990550.813121175677866842.JavaMail.www@wwinf3203> To all, Think I am going mad, I am sure I have done this before and it's pretty easy....Basically I have a visual basic form with a menu option, when a user clicks that menu I want to open a link in a new browser. Can anyone help me on this. Thanks in advance for all your help. Paul Hartland paul.hartland at fsmail.net 07730 523179 From accessd at shaw.ca Wed Apr 4 05:06:33 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 04 Apr 2007 03:06:33 -0700 Subject: [AccessD] How to match values that don't match from two tables In-Reply-To: Message-ID: <0JFY00FUGX82EUD1@l-daemon> Gustav: Now that is a very slick piece of code. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, April 04, 2007 1:24 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to match values that don't match from two tables Hi all You have two tables each holding a field of some value, say an amount. You wish to match the values in the first table with the closest value in the other table. Here is one method with a subquery using Abs() to calculate the difference: SELECT tblA.*, tblB.* FROM tblA, tblB WHERE tblB.ID= (Select Top 1 B.ID From tblB As B, tblA As A Where A.ID = tblA.ID Order By Abs(A.ColumnA - B.ColumnB)); The IDs are the unique keys for the tables. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Wed Apr 4 06:23:04 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 4 Apr 2007 07:23:04 -0400 Subject: [AccessD] How to match values that don't match from two tables References: <0JFY00FUGX82EUD1@l-daemon> Message-ID: <000701c776ab$9dc6b8c0$982b124c@50nm721> ...goes into my library. William Hindman ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 04, 2007 6:06 AM Subject: Re: [AccessD] How to match values that don't match from two tables > Gustav: > > Now that is a very slick piece of code. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Wednesday, April 04, 2007 1:24 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] How to match values that don't match from two tables > > Hi all > > You have two tables each holding a field of some value, say an amount. > You wish to match the values in the first table with the closest value in > the other table. > > Here is one method with a subquery using Abs() to calculate the > difference: > > SELECT > tblA.*, > tblB.* > FROM > tblA, > tblB > WHERE > tblB.ID= > (Select Top 1 > B.ID > From > tblB As B, > tblA As A > Where > A.ID = tblA.ID > Order By > Abs(A.ColumnA - B.ColumnB)); > > The IDs are the unique keys for the tables. > > /gustav > > > -- > 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 Wed Apr 4 08:17:57 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 04 Apr 2007 23:17:57 +1000 Subject: [AccessD] OT - Open Web Link From Visual Basic In-Reply-To: <13990550.813121175677866842.JavaMail.www@wwinf3203> References: <13990550.813121175677866842.JavaMail.www@wwinf3203> Message-ID: <4613A585.15412.256E0AEE@stuart.lexacorp.com.pg> On 4 Apr 2007 at 11:11, paul.hartland at fsmail.net wrote: > Think I am going mad, I am sure I have done this before and it's pretty > easy....Basically I have a visual basic form with a menu option, when a user > clicks that menu I want to open a link in a new browser. > > Can anyone help me on this. Private Sub Command0_Click() Application.FollowHyperlink "http://www.lexacorp.com.pg" End Sub -- Stuart From ewaldt at gdls.com Wed Apr 4 09:27:16 2007 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Wed, 4 Apr 2007 10:27:16 -0400 Subject: [AccessD] Simulate AutoFilter In-Reply-To: Message-ID: I'd like to create a form in Access which simulates the AutoFilter functionality in Excel. Basically, it's the size of the files (1.5 million records) that makes Excel less useful than it would be otherwise. I doubt the company wants to spring for Office 2007 just now to have Excel's capacity increase. Does anyone know of a sample database or just some instruction on how to build such a puppy? I've got about 40 fields; will this require 40 combo boxes, or is there another way? TIA. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From fuller.artful at gmail.com Wed Apr 4 09:47:42 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 4 Apr 2007 10:47:42 -0400 Subject: [AccessD] Simulate AutoFilter In-Reply-To: References: Message-ID: <29f585dd0704040747x6d12c182y369ef624aec710a@mail.gmail.com> For this kind of thing I suggest trying out the built-in filter-by-form and see how you like that. Arthur On 4/4/07, ewaldt at gdls.com wrote: > > I'd like to create a form in Access which simulates the AutoFilter > functionality in Excel. Basically, it's the size of the files (1.5 million > records) that makes Excel less useful than it would be otherwise. I doubt > the company wants to spring for Office 2007 just now to have Excel's > capacity increase. > > Does anyone know of a sample database or just some instruction on how to > build such a puppy? I've got about 40 fields; will this require 40 combo > boxes, or is there another way? > > TIA. > > Thomas F. Ewald > Stryker Mass Properties > General Dynamics Land Systems > > > > > > > This is an e-mail from General Dynamics Land Systems. It is for the > intended recipient only and may contain confidential and privileged > information. No one else may read, print, store, copy, forward or act in > reliance on it or its attachments. If you are not the intended recipient, > please return this message to the sender and delete the message and any > attachments from your computer. Your cooperation is appreciated. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From j.r.porter at strath.ac.uk Wed Apr 4 11:26:56 2007 From: j.r.porter at strath.ac.uk (John Porter) Date: Wed, 4 Apr 2007 17:26:56 +0100 Subject: [AccessD] Function references produce #Name? error In-Reply-To: <460B84EC.15634.6746584F@stuart.lexacorp.com.pg> References: , <5E1BB9C46D0B4E448812F5DEDEF234D0C5AA37@BE-SCAM2.ds.strath.ac.uk> <460B84EC.15634.6746584F@stuart.lexacorp.com.pg> Message-ID: <5E1BB9C46D0B4E448812F5DEDEF234D0CF89B7@BE-SCAM2.ds.strath.ac.uk> There were no missing references, but adding or deleting a reference (any reference, it appears) fixed the problem. This wasn't just because the change caused decompilation, because a trivial change to the code had no effect. My thanks to all who contributed suggestions. Regards, John R. Porter IT Services University of Strathclyde Jordanhill Campus 86 Southbrae Drive Glasgow G13 1PP e-mail: j.r.porter at strath.ac.uk Tel.: 0141 950 3289 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: 29 March 2007 00:21 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Function references produce #Name? error SOunds like a missing reference. In the VBE, go to Tools-References and look for one with an X beside it. On 28 Mar 2007 at 11:09, John Porter wrote: > When I installed an Access 2003 application on a client's machine, I > found that, if the control source of a text box is an expression > including a function reference (e.g. Ucase('a')) the text box displays > a #Name? error. This happens even if I choose to 'unblock unsafe > expressions' when opening the app., or set macro security to low. > > Functions evaluate correctly in VBA code. In a new app. created on the > client's machine, function refs. work OK in a text box, and if I > import the objects from the problem app., everything works fine. > > I'd be really grateful if anyone could suggest an explanation or > solution of this problem. > > Regards, > > > John R. Porter > IT Services > University of Strathclyde > Jordanhill Campus > 86 Southbrae Drive > Glasgow > G13 1PP > e-mail: j.r.porter at strath.ac.uk > Tel.: 0141 950 3289 > > -- > 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 ewaldt at gdls.com Wed Apr 4 12:10:48 2007 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Wed, 4 Apr 2007 13:10:48 -0400 Subject: [AccessD] Simulate AutoFilter In-Reply-To: Message-ID: Thanks, but unfortunately the filter-by-form doesn't yield a list of all the candidates for each field like Excel's AutoFilter does. "Is Null" and "Is Not Null" doesn't help much. With 40+ fields, most of which they want to filter on, I can't require them to know all the candidates for each field. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems Message: 9 Date: Wed, 4 Apr 2007 10:47:42 -0400 From: "Arthur Fuller" Subject: Re: [AccessD] Simulate AutoFilter To: "Access Developers discussion and problem solving" Message-ID: <29f585dd0704040747x6d12c182y369ef624aec710a at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed For this kind of thing I suggest trying out the built-in filter-by-form and see how you like that. Arthur On 4/4/07, ewaldt at gdls.com wrote: > > I'd like to create a form in Access which simulates the AutoFilter > functionality in Excel. Basically, it's the size of the files (1.5 million > records) that makes Excel less useful than it would be otherwise. I doubt > the company wants to spring for Office 2007 just now to have Excel's > capacity increase. > > Does anyone know of a sample database or just some instruction on how to > build such a puppy? I've got about 40 fields; will this require 40 combo > boxes, or is there another way? > > TIA. > > Thomas F. Ewald > Stryker Mass Properties > General Dynamics Land Systems This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From rl_stewart at highstream.net Wed Apr 4 12:22:38 2007 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 04 Apr 2007 12:22:38 -0500 Subject: [AccessD] Simulate AutoFilter In-Reply-To: References: Message-ID: <200704041727.l34HRIU05827@databaseadvisors.com> Thomas, First, are you nuts? Loading 1.5 million records just to filter them. That is extremely poor design. And to even consider Excel for the task...well, I won't say what I think about that. Build a search form. Create a subform on it that will display the results of the things selected as part of the search. Do not load the source for the subform until you click on a button to 'find' the results of the search criteria entered. As part of the search, give them a field for the top X number of records. And do not let them exceed a certain number. Even you military contractor types should be able to use it. :-) I can say that because I developed the FRACAS system that Stewart & Stevenson used in the FMTV production system for the Army. So, I know how backward engineers can be. I also worked at YPG as a RAM-D engineer. As well as reporting on some of the testing on the M1A1 systems. Robert At 12:00 PM 4/4/2007, you wrote: >Date: Wed, 4 Apr 2007 10:27:16 -0400 >From: ewaldt at gdls.com >Subject: [AccessD] Simulate AutoFilter >To: accessd at databaseadvisors.com >Message-ID: > > > >Content-Type: text/plain; charset="US-ASCII" > >I'd like to create a form in Access which simulates the AutoFilter >functionality in Excel. Basically, it's the size of the files (1.5 million >records) that makes Excel less useful than it would be otherwise. I doubt >the company wants to spring for Office 2007 just now to have Excel's >capacity increase. > >Does anyone know of a sample database or just some instruction on how to >build such a puppy? I've got about 40 fields; will this require 40 combo >boxes, or is there another way? > >TIA. > >Thomas F. Ewald >Stryker Mass Properties >General Dynamics Land Systems From rl_stewart at highstream.net Wed Apr 4 12:48:30 2007 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 04 Apr 2007 12:48:30 -0500 Subject: [AccessD] Simulate AutoFilter In-Reply-To: References: <200704041719.l34HJEIh015576@maiss02h.gdls.com> Message-ID: <200704041752.l34HqHU15390@databaseadvisors.com> Even on their worst days, the engineers at YPG did not want to search 1.5 mil records on a single screen. If they want to filter based on all 40 columns, then add combo boxes for all of them. Then build the SQL for the subform source dynamically based on the comboboxes that have been used to select data. It will be a lot of code-behind, but it will never break like the Excel thing did. At 12:41 PM 4/4/2007, you wrote: >Thanks. My sanity is questionable at best. > >I would never have recommended Excel for this job. The department >asking for help actually used Excel for this before I got here. A >guy put together some VBA to import the text data into Excel, >splitting it into several sheets, of course. He has left, and the >VBA now bombs (no pun intended). Since it no longer works, and since >it took 25 minutes to load when it did, they've asked for my help. > >Limiting them in any way but their own applied filters is not an option. > >If I can't find a way to fake an AutoFilter, I guess I'll use a >zillion or so comboboxes and go from there. > >Thomas F. Ewald >Stryker Mass Properties >General Dynamics Land Systems > > > > > > >Thomas, > >First, are you nuts? Loading 1.5 million records just to filter them. >That is extremely poor design. > >And to even consider Excel for the task...well, I won't say what I >think about that. > >Build a search form. Create a subform on it that will display the >results of the things selected as part of the search. Do not load >the source for the subform until you click on a button to 'find' the >results of the search criteria entered. As part of the search, give >them a field for the top X number of records. And do not let them >exceed a certain number. > >Even you military contractor types should be able to use it. :-) > >I can say that because I developed the FRACAS system that Stewart >& Stevenson used in the FMTV production system for the Army. So, I >know how backward engineers can be. I also worked at YPG as a RAM-D >engineer. As well as reporting on some of the testing on the M1A1 >systems. > >Robert > >At 12:00 PM 4/4/2007, you wrote: > >Date: Wed, 4 Apr 2007 10:27:16 -0400 > >From: ewaldt at gdls.com > >Subject: [AccessD] Simulate AutoFilter > >To: accessd at databaseadvisors.com > >Message-ID: > > > > .gdls.com> > > > >Content-Type: text/plain; charset="US-ASCII" > > > >I'd like to create a form in Access which simulates the AutoFilter > >functionality in Excel. Basically, it's the size of the files (1.5 million > >records) that makes Excel less useful than it would be otherwise. I doubt > >the company wants to spring for Office 2007 just now to have Excel's > >capacity increase. > > > >Does anyone know of a sample database or just some instruction on how to > >build such a puppy? I've got about 40 fields; will this require 40 combo > >boxes, or is there another way? > > > >TIA. > > > >Thomas F. Ewald > >Stryker Mass Properties > >General Dynamics Land Systems > > > >This is an e-mail from General Dynamics Land Systems. It is for the >intended recipient only and may contain confidential and privileged >information. No one else may read, print, store, copy, forward or >act in reliance on it or its attachments. If you are not the >intended recipient, please return this message to the sender and >delete the message and any attachments from your computer. Your >cooperation is appreciated. From sgoodhall at comcast.net Wed Apr 4 13:14:52 2007 From: sgoodhall at comcast.net (sgoodhall at comcast.net) Date: Wed, 04 Apr 2007 18:14:52 +0000 Subject: [AccessD] Simulate AutoFilter Message-ID: <040420071814.638.4613EB1C00077E330000027E220682469304040E080B0101099C@comcast.net> I found this article (http://msdn2.microsoft.com/en-us/library/aa480727.aspx) describing how to do this in .NET 2005. Even there it ain't simple. Regards, Steve Goodhall -------------- Original message ---------------------- From: "Robert L. Stewart" > Even on their worst days, the engineers at YPG did not want > to search 1.5 mil records on a single screen. > > If they want to filter based on all 40 columns, then add > combo boxes for all of them. Then build the SQL for the > subform source dynamically based on the comboboxes that > have been used to select data. It will be a lot of code-behind, > but it will never break like the Excel thing did. > > > At 12:41 PM 4/4/2007, you wrote: > > >Thanks. My sanity is questionable at best. > > > >I would never have recommended Excel for this job. The department > >asking for help actually used Excel for this before I got here. A > >guy put together some VBA to import the text data into Excel, > >splitting it into several sheets, of course. He has left, and the > >VBA now bombs (no pun intended). Since it no longer works, and since > >it took 25 minutes to load when it did, they've asked for my help. > > > >Limiting them in any way but their own applied filters is not an option. > > > >If I can't find a way to fake an AutoFilter, I guess I'll use a > >zillion or so comboboxes and go from there. > > > >Thomas F. Ewald > >Stryker Mass Properties > >General Dynamics Land Systems > > > > > > > > > > > > > >Thomas, > > > >First, are you nuts? Loading 1.5 million records just to filter them. > >That is extremely poor design. > > > >And to even consider Excel for the task...well, I won't say what I > >think about that. > > > >Build a search form. Create a subform on it that will display the > >results of the things selected as part of the search. Do not load > >the source for the subform until you click on a button to 'find' the > >results of the search criteria entered. As part of the search, give > >them a field for the top X number of records. And do not let them > >exceed a certain number. > > > >Even you military contractor types should be able to use it. :-) > > > >I can say that because I developed the FRACAS system that Stewart > >& Stevenson used in the FMTV production system for the Army. So, I > >know how backward engineers can be. I also worked at YPG as a RAM-D > >engineer. As well as reporting on some of the testing on the M1A1 > >systems. > > > >Robert > > > >At 12:00 PM 4/4/2007, you wrote: > > >Date: Wed, 4 Apr 2007 10:27:16 -0400 > > >From: ewaldt at gdls.com > > >Subject: [AccessD] Simulate AutoFilter > > >To: accessd at databaseadvisors.com > > >Message-ID: > > > > > > > .gdls.com> > > > > > >Content-Type: text/plain; charset="US-ASCII" > > > > > >I'd like to create a form in Access which simulates the AutoFilter > > >functionality in Excel. Basically, it's the size of the files (1.5 million > > >records) that makes Excel less useful than it would be otherwise. I doubt > > >the company wants to spring for Office 2007 just now to have Excel's > > >capacity increase. > > > > > >Does anyone know of a sample database or just some instruction on how to > > >build such a puppy? I've got about 40 fields; will this require 40 combo > > >boxes, or is there another way? > > > > > >TIA. > > > > > >Thomas F. Ewald > > >Stryker Mass Properties > > >General Dynamics Land Systems > > > > > > > >This is an e-mail from General Dynamics Land Systems. It is for the > >intended recipient only and may contain confidential and privileged > >information. No one else may read, print, store, copy, forward or > >act in reliance on it or its attachments. If you are not the > >intended recipient, please return this message to the sender and > >delete the message and any attachments from your computer. Your > >cooperation is appreciated. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Apr 4 13:28:26 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 4 Apr 2007 14:28:26 -0400 Subject: [AccessD] Simulate AutoFilter In-Reply-To: <200704041727.l34HRIU05827@databaseadvisors.com> References: <200704041727.l34HRIU05827@databaseadvisors.com> Message-ID: <009b01c776e7$093771e0$657aa8c0@m6805> >I also worked at YPG as a RAM-D engineer. And I grew up in the Bard valley, the shortcut between Yuma and the YPG. My uncle was a test driver for the tanks and other vehicles out there, in fact he was killed in a rollover of a vehicle he was testing. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Wednesday, April 04, 2007 1:23 PM To: accessd at databaseadvisors.com Cc: ewaldt at gdls.com Subject: Re: [AccessD] Simulate AutoFilter Thomas, First, are you nuts? Loading 1.5 million records just to filter them. That is extremely poor design. And to even consider Excel for the task...well, I won't say what I think about that. Build a search form. Create a subform on it that will display the results of the things selected as part of the search. Do not load the source for the subform until you click on a button to 'find' the results of the search criteria entered. As part of the search, give them a field for the top X number of records. And do not let them exceed a certain number. Even you military contractor types should be able to use it. :-) I can say that because I developed the FRACAS system that Stewart & Stevenson used in the FMTV production system for the Army. So, I know how backward engineers can be. I also worked at YPG as a RAM-D engineer. As well as reporting on some of the testing on the M1A1 systems. Robert From dwaters at usinternet.com Wed Apr 4 13:52:59 2007 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 4 Apr 2007 13:52:59 -0500 Subject: [AccessD] Simulate AutoFilter In-Reply-To: <200704041752.l34HqHU15390@databaseadvisors.com> References: <200704041719.l34HJEIh015576@maiss02h.gdls.com> <200704041752.l34HqHU15390@databaseadvisors.com> Message-ID: <001f01c776ea$773c8bf0$0200a8c0@danwaters> Thomas, I've done this many times, and it takes a lot of repetitive code, but it does work well. An Example: '-- SELECT CASE BASED ON A COMBOBOX '-- cboStage IS THE FIRST FIELD IN THE LIST If Not IsNull(cboStage) Then Select Case cboStage Case "All" stgSQL = "Stage IS NOT NULL" Case "Open" stgSQL = "DateClosed IS NULL" blnFirstControl = True Case "Description" stgSQL = "Stage = 'Description'" blnFirstControl = True Case "Root Cause" stgSQL = "Stage = 'Root Cause'" blnFirstControl = True Case "Implement/Verify" stgSQL = "Stage = 'Implement/Verify'" blnFirstControl = True Case "Closed" stgSQL = "DateClosed Is Not Null" blnFirstControl = True End Select End If '-- TEXT BOX OR COMBOBOX '-- ALL SUBSEQUENT FIELDS USE blnFirstControl If Not IsNull(cboType) Then If blnFirstControl = True Then stgSQL = stgSQL & " AND Type = '" & cboType & "'" Else stgSQL = "Type = '" & cboType & "'" blnFirstControl = True End If End If '-- PARTIAL SEARCH FIELDS stgComments = "*" & txtComments & "*" If Not IsNull(txtComments) Then If blnFirstControl = True Then stgSQL = stgSQL & " AND Comments Like '" & stgComments & "'" Else stgSQL = "Comments Like '" & stgComments & "'" blnFirstControl = True End If End If '-- DATES RANGES If Not IsNull(txtDateReportedAfter) Then If blnFirstControl = True Then stgSQL = stgSQL & " AND DateReported >= #" & txtDateReportedAfter & "#" Else stgSQL = "DateReported >= #" & txtDateReportedAfter & "#" blnFirstControl = True End If End If '-- FINISH THE SEARCH CRITERIA STRING stgSQL = "WHERE " & stgSQL HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Wednesday, April 04, 2007 12:49 PM To: ewaldt at gdls.com Cc: accessd at databaseadvisors.com Subject: Re: [AccessD] Simulate AutoFilter Even on their worst days, the engineers at YPG did not want to search 1.5 mil records on a single screen. If they want to filter based on all 40 columns, then add combo boxes for all of them. Then build the SQL for the subform source dynamically based on the comboboxes that have been used to select data. It will be a lot of code-behind, but it will never break like the Excel thing did. At 12:41 PM 4/4/2007, you wrote: >Thanks. My sanity is questionable at best. > >I would never have recommended Excel for this job. The department >asking for help actually used Excel for this before I got here. A >guy put together some VBA to import the text data into Excel, >splitting it into several sheets, of course. He has left, and the >VBA now bombs (no pun intended). Since it no longer works, and since >it took 25 minutes to load when it did, they've asked for my help. > >Limiting them in any way but their own applied filters is not an option. > >If I can't find a way to fake an AutoFilter, I guess I'll use a >zillion or so comboboxes and go from there. > >Thomas F. Ewald >Stryker Mass Properties >General Dynamics Land Systems > > > > > > >Thomas, > >First, are you nuts? Loading 1.5 million records just to filter them. >That is extremely poor design. > >And to even consider Excel for the task...well, I won't say what I >think about that. > >Build a search form. Create a subform on it that will display the >results of the things selected as part of the search. Do not load >the source for the subform until you click on a button to 'find' the >results of the search criteria entered. As part of the search, give >them a field for the top X number of records. And do not let them >exceed a certain number. > >Even you military contractor types should be able to use it. :-) > >I can say that because I developed the FRACAS system that Stewart >& Stevenson used in the FMTV production system for the Army. So, I >know how backward engineers can be. I also worked at YPG as a RAM-D >engineer. As well as reporting on some of the testing on the M1A1 >systems. > >Robert > >At 12:00 PM 4/4/2007, you wrote: > >Date: Wed, 4 Apr 2007 10:27:16 -0400 > >From: ewaldt at gdls.com > >Subject: [AccessD] Simulate AutoFilter > >To: accessd at databaseadvisors.com > >Message-ID: > > > > .gdls.com> > > > >Content-Type: text/plain; charset="US-ASCII" > > > >I'd like to create a form in Access which simulates the AutoFilter > >functionality in Excel. Basically, it's the size of the files (1.5 million > >records) that makes Excel less useful than it would be otherwise. I doubt > >the company wants to spring for Office 2007 just now to have Excel's > >capacity increase. > > > >Does anyone know of a sample database or just some instruction on how to > >build such a puppy? I've got about 40 fields; will this require 40 combo > >boxes, or is there another way? > > > >TIA. > > > >Thomas F. Ewald > >Stryker Mass Properties > >General Dynamics Land Systems > > > >This is an e-mail from General Dynamics Land Systems. It is for the >intended recipient only and may contain confidential and privileged >information. No one else may read, print, store, copy, forward or >act in reliance on it or its attachments. If you are not the >intended recipient, please return this message to the sender and >delete the message and any attachments from your computer. Your >cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Wed Apr 4 14:02:04 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 4 Apr 2007 23:02:04 +0400 Subject: [AccessD] Simulate AutoFilter In-Reply-To: Message-ID: <000901c776eb$bc5f9000$6401a8c0@nant> Thomas, You can make a form with 40 textboxes, one "slipping" combobox and subform. If we assume that Group By/Select distinct on your 1.5 million records on any of 40 fields is satisfactory speedy (<=3 sec to complete) (is it like that?) then on GotFocus event of a textbox you can put over textbox (by using VBA event processing code) a "slipping" combobox and fill its rowsource with corresponding Group By data etc... If getting filter values using Group By isn't a speedy enough process then you can use temp database and fill it on start-up of your application and show a progress bar form to the user recommending him to take a break and drink some coffee while your filter form/temp database is getting initialized... In any case there will be not that much VBA coding to implement this filtering form... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Wednesday, April 04, 2007 6:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] Simulate AutoFilter I'd like to create a form in Access which simulates the AutoFilter functionality in Excel. Basically, it's the size of the files (1.5 million records) that makes Excel less useful than it would be otherwise. I doubt the company wants to spring for Office 2007 just now to have Excel's capacity increase. Does anyone know of a sample database or just some instruction on how to build such a puppy? I've got about 40 fields; will this require 40 combo boxes, or is there another way? TIA. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Apr 4 14:32:37 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 04 Apr 2007 12:32:37 -0700 Subject: [AccessD] Access-D member awarded MS Access MVP In-Reply-To: <009b01c776e7$093771e0$657aa8c0@m6805> References: <200704041727.l34HRIU05827@databaseadvisors.com> <009b01c776e7$093771e0$657aa8c0@m6805> Message-ID: <4613FD55.9070907@shaw.ca> Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP award! If you have never seen AD's samples , they're well worth a look: http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. -- Marty Connelly Victoria, B.C. Canada From markamatte at hotmail.com Wed Apr 4 14:37:42 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 04 Apr 2007 19:37:42 +0000 Subject: [AccessD] Simulate AutoFilter In-Reply-To: <000901c776eb$bc5f9000$6401a8c0@nant> Message-ID: Shamil, Sounds very interesting...but what do you mean by "slipping"? Does it move? Thanks, Mark A. Matte >From: "Shamil Salakhetdinov" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Simulate AutoFilter >Date: Wed, 4 Apr 2007 23:02:04 +0400 > >Thomas, > >You can make a form with 40 textboxes, one "slipping" combobox and subform. >If we assume that Group By/Select distinct on your 1.5 million records on >any of 40 fields is satisfactory speedy (<=3 sec to complete) (is it like >that?) then on GotFocus event of a textbox you can put over textbox (by >using VBA event processing code) a "slipping" combobox and fill its >rowsource with corresponding Group By data etc... > >If getting filter values using Group By isn't a speedy enough process then >you can use temp database and fill it on start-up of your application and >show a progress bar form to the user recommending him to take a break and >drink some coffee while your filter form/temp database is getting >initialized... > >In any case there will be not that much VBA coding to implement this >filtering form... > >-- >Shamil > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com >Sent: Wednesday, April 04, 2007 6:27 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Simulate AutoFilter > >I'd like to create a form in Access which simulates the AutoFilter >functionality in Excel. Basically, it's the size of the files (1.5 million >records) that makes Excel less useful than it would be otherwise. I doubt >the company wants to spring for Office 2007 just now to have Excel's >capacity increase. > >Does anyone know of a sample database or just some instruction on how to >build such a puppy? I've got about 40 fields; will this require 40 combo >boxes, or is there another way? > >TIA. > >Thomas F. Ewald >Stryker Mass Properties >General Dynamics Land Systems > > > > > > >This is an e-mail from General Dynamics Land Systems. It is for the >intended >recipient only and may contain confidential and privileged information. No >one else may read, print, store, copy, forward or act in reliance on it or >its attachments. If you are not the intended recipient, please return this >message to the sender and delete the message and any attachments from your >computer. Your cooperation is appreciated. > >-- >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 _________________________________________________________________ Exercise your brain! Try Flexicon. http://games.msn.com/en/flexicon/default.htm?icid=flexicon_hmemailtaglineapril07 From mwp.reid at qub.ac.uk Wed Apr 4 14:38:43 2007 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 4 Apr 2007 20:38:43 +0100 Subject: [AccessD] Access-D member awarded MS Access MVP References: <200704041727.l34HRIU05827@databaseadvisors.com><009b01c776e7$093771e0$657aa8c0@m6805> <4613FD55.9070907@shaw.ca> Message-ID: Wonderful. Congrats AD much deserved. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of MartyConnelly Sent: Wed 04/04/2007 20:32 To: Access Developers discussion and problem solving Subject: [AccessD] Access-D member awarded MS Access MVP Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP award! If you have never seen AD's samples , they're well worth a look: http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davidmcafee at gmail.com Wed Apr 4 14:43:15 2007 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 4 Apr 2007 12:43:15 -0700 Subject: [AccessD] Access-D member awarded MS Access MVP In-Reply-To: References: <200704041727.l34HRIU05827@databaseadvisors.com> <009b01c776e7$093771e0$657aa8c0@m6805> <4613FD55.9070907@shaw.ca> Message-ID: <8786a4c00704041243s7334bdd0nf23a4565cd545f5a@mail.gmail.com> Congrats AD! On 4/4/07, Martin Reid wrote: > > Wonderful. Congrats AD much deserved. > > Martin > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974477 > > > ________________________________ > > From: accessd-bounces at databaseadvisors.com on behalf of MartyConnelly > Sent: Wed 04/04/2007 20:32 > To: Access Developers discussion and problem solving > Subject: [AccessD] Access-D member awarded MS Access MVP > > > > > Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP > award! > > If you have never seen AD's samples , they're well worth a look: > > http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. > > -- > Marty Connelly > Victoria, B.C. > Canada > > -- > 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 ssharkins at setel.com Wed Apr 4 14:48:07 2007 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 4 Apr 2007 15:48:07 -0400 Subject: [AccessD] Access-D member awarded MS Access MVP In-Reply-To: <4613FD55.9070907@shaw.ca> References: <200704041727.l34HRIU05827@databaseadvisors.com><009b01c776e7$093771e0$657aa8c0@m6805> <4613FD55.9070907@shaw.ca> Message-ID: <000501c776f2$2d85b8d0$87b82ad1@SusanOne> Wow! I'm impressed! Congratulations! Susan H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Wednesday, April 04, 2007 3:33 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access-D member awarded MS Access MVP Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP award! If you have never seen AD's samples , they're well worth a look: http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.24/741 - Release Date: 3/31/2007 8:54 PM From shamil at users.mns.ru Wed Apr 4 15:08:28 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 5 Apr 2007 00:08:28 +0400 Subject: [AccessD] Simulate AutoFilter In-Reply-To: Message-ID: <000601c776f5$0474d860$6401a8c0@nant> Mark, By "slipping" I mean a combobox, which can be moved onto/showed upon one of the 40 textboxes - the one, which gets focus. Should I've better called it "jumping" or even "vagabond" combobox? :) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, April 04, 2007 11:38 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Simulate AutoFilter Shamil, Sounds very interesting...but what do you mean by "slipping"? Does it move? Thanks, Mark A. Matte >From: "Shamil Salakhetdinov" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Simulate AutoFilter >Date: Wed, 4 Apr 2007 23:02:04 +0400 > >Thomas, > >You can make a form with 40 textboxes, one "slipping" combobox and subform. >If we assume that Group By/Select distinct on your 1.5 million records on >any of 40 fields is satisfactory speedy (<=3 sec to complete) (is it like >that?) then on GotFocus event of a textbox you can put over textbox (by >using VBA event processing code) a "slipping" combobox and fill its >rowsource with corresponding Group By data etc... > >If getting filter values using Group By isn't a speedy enough process then >you can use temp database and fill it on start-up of your application and >show a progress bar form to the user recommending him to take a break and >drink some coffee while your filter form/temp database is getting >initialized... > >In any case there will be not that much VBA coding to implement this >filtering form... > >-- >Shamil > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com >Sent: Wednesday, April 04, 2007 6:27 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Simulate AutoFilter > >I'd like to create a form in Access which simulates the AutoFilter >functionality in Excel. Basically, it's the size of the files (1.5 million >records) that makes Excel less useful than it would be otherwise. I doubt >the company wants to spring for Office 2007 just now to have Excel's >capacity increase. > >Does anyone know of a sample database or just some instruction on how to >build such a puppy? I've got about 40 fields; will this require 40 combo >boxes, or is there another way? > >TIA. > >Thomas F. Ewald >Stryker Mass Properties >General Dynamics Land Systems > > > > > > >This is an e-mail from General Dynamics Land Systems. It is for the >intended >recipient only and may contain confidential and privileged information. No >one else may read, print, store, copy, forward or act in reliance on it or >its attachments. If you are not the intended recipient, please return this >message to the sender and delete the message and any attachments from your >computer. Your cooperation is appreciated. > >-- >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 _________________________________________________________________ Exercise your brain! Try Flexicon. http://games.msn.com/en/flexicon/default.htm?icid=flexicon_hmemailtaglineapr il07 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Apr 4 15:27:19 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 4 Apr 2007 13:27:19 -0700 Subject: [AccessD] Changing Printer Message-ID: <003c01c776f7$a5ba7b10$0201a8c0@HAL9005> Dear List: I have a client who installed a bar code printer. If he makes it the default printer that screws up all of this print previews on other reports. So I'd like to change the default printer from inside the form that prints the bar code labels and change it back to the default when done. Does anyone know of or have a code snip that does this? MTIA, Rocky Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com From garykjos at gmail.com Wed Apr 4 15:47:27 2007 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 4 Apr 2007 15:47:27 -0500 Subject: [AccessD] Changing Printer In-Reply-To: <003c01c776f7$a5ba7b10$0201a8c0@HAL9005> References: <003c01c776f7$a5ba7b10$0201a8c0@HAL9005> Message-ID: Why wouldn't you just change the report with the barcode to print to the specific printer? And leave the default alone. What happens if he has multiple applications going at once and the default printer is presto chango switched to the little barcode dude? GK On 4/4/07, Rocky Smolin at Beach Access Software wrote: > Dear List: > > I have a client who installed a bar code printer. If he makes it the > default printer that screws up all of this print previews on other reports. > > So I'd like to change the default printer from inside the form that prints > the bar code labels and change it back to the default when done. > > Does anyone know of or have a code snip that does this? > > MTIA, > > Rocky > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > www.bchacc.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From cfoust at infostatsystems.com Wed Apr 4 15:57:45 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 4 Apr 2007 13:57:45 -0700 Subject: [AccessD] Access-D member awarded MS Access MVP In-Reply-To: <000501c776f2$2d85b8d0$87b82ad1@SusanOne> References: <200704041727.l34HRIU05827@databaseadvisors.com><009b01c776e7$093771e0$657aa8c0@m6805><4613FD55.9070907@shaw.ca> <000501c776f2$2d85b8d0$87b82ad1@SusanOne> Message-ID: And *I'm* impressed he still hangs around with us!! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, April 04, 2007 12:48 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access-D member awarded MS Access MVP Wow! I'm impressed! Congratulations! Susan H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Wednesday, April 04, 2007 3:33 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access-D member awarded MS Access MVP Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP award! If you have never seen AD's samples , they're well worth a look: http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.24/741 - Release Date: 3/31/2007 8:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Wed Apr 4 16:43:59 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 4 Apr 2007 17:43:59 -0400 Subject: [AccessD] Access-D member awarded MS Access MVP References: <200704041727.l34HRIU05827@databaseadvisors.com><009b01c776e7$093771e0$657aa8c0@m6805> <4613FD55.9070907@shaw.ca> Message-ID: <002501c77702$5e44de00$982b124c@50nm721> ...well MS finally got something right! :) ...congrats AD. William Hindman ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Wednesday, April 04, 2007 3:32 PM Subject: [AccessD] Access-D member awarded MS Access MVP > > Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP > award! > > If you have never seen AD's samples , they're well worth a look: > > http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. > > -- > Marty Connelly > Victoria, B.C. > Canada > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Wed Apr 4 16:48:26 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 4 Apr 2007 17:48:26 -0400 Subject: [AccessD] Changing Printer References: <003c01c776f7$a5ba7b10$0201a8c0@HAL9005> Message-ID: <003601c77702$fa46c390$982b124c@50nm721> ...I use the "Select specific printer" option in the report set-up ...that report always uses the selected printer and the rest use the default ...if the bar-code printer is not available for some reason, the user will get a pop-up dialog asking if they want to select another printer. William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 04, 2007 4:27 PM Subject: [AccessD] Changing Printer > Dear List: > > I have a client who installed a bar code printer. If he makes it the > default printer that screws up all of this print previews on other > reports. > > So I'd like to change the default printer from inside the form that prints > the bar code labels and change it back to the default when done. > > Does anyone know of or have a code snip that does this? > > MTIA, > > Rocky > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > www.bchacc.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Wed Apr 4 16:58:26 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 04 Apr 2007 14:58:26 -0700 Subject: [AccessD] Access-D member awarded MS Access MVP In-Reply-To: <4613FD55.9070907@shaw.ca> Message-ID: <0JFZ00F0AU6K9670@l-daemon> Congratulations A.D. Tejpal. Well Done. Jim From accessd at shaw.ca Wed Apr 4 17:21:43 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 04 Apr 2007 15:21:43 -0700 Subject: [AccessD] Access-D member awarded MS Access MVP In-Reply-To: <4613FD55.9070907@shaw.ca> Message-ID: <0JFZ00CGDV998690@l-daemon> Hi Marty: Where did you get this information? I have been unable to confirm the details. TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Wednesday, April 04, 2007 12:33 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access-D member awarded MS Access MVP Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP award! If you have never seen AD's samples , they're well worth a look: http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Apr 4 17:28:53 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 4 Apr 2007 15:28:53 -0700 Subject: [AccessD] Changing Printer In-Reply-To: Message-ID: <004701c77708$a06f2230$0201a8c0@HAL9005> I'd prefer to change the printer for that one report rather than the default printer. Problem is that I don't have that printer - don't know the name. He's sophisticated enough that I could walk him through changing it in the design view of the report but every time I send him an update he'd have to go through the same change. So I'd like to be able to do it in the load or open event of the report. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Wednesday, April 04, 2007 1:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Printer Why wouldn't you just change the report with the barcode to print to the specific printer? And leave the default alone. What happens if he has multiple applications going at once and the default printer is presto chango switched to the little barcode dude? GK On 4/4/07, Rocky Smolin at Beach Access Software wrote: > Dear List: > > I have a client who installed a bar code printer. If he makes it the > default printer that screws up all of this print previews on other reports. > > So I'd like to change the default printer from inside the form that > prints the bar code labels and change it back to the default when done. > > Does anyone know of or have a code snip that does this? > > MTIA, > > Rocky > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > www.bchacc.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM From rockysmolin at bchacc.com Wed Apr 4 17:32:03 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 4 Apr 2007 15:32:03 -0700 Subject: [AccessD] Changing Printer In-Reply-To: <003601c77702$fa46c390$982b124c@50nm721> Message-ID: <004801c77709$11b3b730$0201a8c0@HAL9005> Actually, I just reviewed the code. It's not a report. It's a bunch of calls to an object. Bartender (cute, huh) is the name of the program and I call it from inside the form. Code snip: Set btFormat = btApp.Formats.Open(Me.fldFABLabelFile, False, "") btFormat.SetNamedSubStringValue "Part No. (P)", Me.fldFABPartNumber btFormat.SetNamedSubStringValue "Quantity", Me.fldContainerTotalPieces btFormat.SetNamedSubStringValue "OrderNumber", Me.cboJobs.Column(1) btFormat.SetNamedSubStringValue "ContainerNumber", Me.fldContainerContainer btFormat.SetNamedSubStringValue "Serial", Me.fldContainerID btFormat.SetNamedSubStringValue "PO #", Nz(Me.fldJobsEndCustomerPONumber) btFormat.SetNamedSubStringValue "LOT #", strVendorLot btFormat.SetNamedSubStringValue "Quantity Identifier", "Q" btFormat.SetNamedSubStringValue "R#", Nz(Me.fldFABEngineeringChangeNumber) btFormat.SetNamedSubStringValue "EngineeringChangeNumber", Nz(Me.fldFABEngineeringChangeNumber) btFormat.PrintOut False, False So I need to change the default printer and then change it back again. I used to have some code somewher to do this but can't find it. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, April 04, 2007 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Printer ...I use the "Select specific printer" option in the report set-up ...that report always uses the selected printer and the rest use the default ...if the bar-code printer is not available for some reason, the user will get a pop-up dialog asking if they want to select another printer. William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 04, 2007 4:27 PM Subject: [AccessD] Changing Printer > Dear List: > > I have a client who installed a bar code printer. If he makes it the > default printer that screws up all of this print previews on other > reports. > > So I'd like to change the default printer from inside the form that prints > the bar code labels and change it back to the default when done. > > Does anyone know of or have a code snip that does this? > > MTIA, > > Rocky > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > www.bchacc.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM From rockysmolin at bchacc.com Wed Apr 4 17:36:54 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 4 Apr 2007 15:36:54 -0700 Subject: [AccessD] Changing Printer In-Reply-To: <004701c77708$a06f2230$0201a8c0@HAL9005> Message-ID: <004b01c77709$bf9b8580$0201a8c0@HAL9005> Oops. Just reviewed the code Gary. I'm sending the stuff to the bar code printer through a form. See my code snip in reply to William. I think I have to change the default printer. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 04, 2007 3:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer I'd prefer to change the printer for that one report rather than the default printer. Problem is that I don't have that printer - don't know the name. He's sophisticated enough that I could walk him through changing it in the design view of the report but every time I send him an update he'd have to go through the same change. So I'd like to be able to do it in the load or open event of the report. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Wednesday, April 04, 2007 1:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Printer Why wouldn't you just change the report with the barcode to print to the specific printer? And leave the default alone. What happens if he has multiple applications going at once and the default printer is presto chango switched to the little barcode dude? GK On 4/4/07, Rocky Smolin at Beach Access Software wrote: > Dear List: > > I have a client who installed a bar code printer. If he makes it the > default printer that screws up all of this print previews on other reports. > > So I'd like to change the default printer from inside the form that > prints the bar code labels and change it back to the default when done. > > Does anyone know of or have a code snip that does this? > > MTIA, > > Rocky > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > www.bchacc.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM From ebarro at verizon.net Wed Apr 4 17:41:02 2007 From: ebarro at verizon.net (Eric Barro) Date: Wed, 04 Apr 2007 15:41:02 -0700 Subject: [AccessD] Changing Printer In-Reply-To: <004801c77709$11b3b730$0201a8c0@HAL9005> Message-ID: <0JFZ009ZOWCKVDU0@vms042.mailsrvcs.net> Rocky, LOL! Guess what...I have a web-based app developed in C# that calls Bartender.exe as a COM object. I provide the default printer in code this way... btFormat = btApp.Formats.Open(labelFormatFileName, false, labelPrinter) Where labelFormatFileName and labelPrinter are string values. Since you don't know the printer name you can simply present him with a select printer form that pulls up all available connected printers and then pass the value from the combobox to your function so that it passes it on to the labelPrinter variable. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 04, 2007 3:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Actually, I just reviewed the code. It's not a report. It's a bunch of calls to an object. Bartender (cute, huh) is the name of the program and I call it from inside the form. Code snip: Set btFormat = btApp.Formats.Open(Me.fldFABLabelFile, False, "") btFormat.SetNamedSubStringValue "Part No. (P)", Me.fldFABPartNumber btFormat.SetNamedSubStringValue "Quantity", Me.fldContainerTotalPieces btFormat.SetNamedSubStringValue "OrderNumber", Me.cboJobs.Column(1) btFormat.SetNamedSubStringValue "ContainerNumber", Me.fldContainerContainer btFormat.SetNamedSubStringValue "Serial", Me.fldContainerID btFormat.SetNamedSubStringValue "PO #", Nz(Me.fldJobsEndCustomerPONumber) btFormat.SetNamedSubStringValue "LOT #", strVendorLot btFormat.SetNamedSubStringValue "Quantity Identifier", "Q" btFormat.SetNamedSubStringValue "R#", Nz(Me.fldFABEngineeringChangeNumber) btFormat.SetNamedSubStringValue "EngineeringChangeNumber", Nz(Me.fldFABEngineeringChangeNumber) btFormat.PrintOut False, False So I need to change the default printer and then change it back again. I used to have some code somewher to do this but can't find it. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, April 04, 2007 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Printer ...I use the "Select specific printer" option in the report set-up ...that report always uses the selected printer and the rest use the default ...if the bar-code printer is not available for some reason, the user will get a pop-up dialog asking if they want to select another printer. William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 04, 2007 4:27 PM Subject: [AccessD] Changing Printer > Dear List: > > I have a client who installed a bar code printer. If he makes it the > default printer that screws up all of this print previews on other > reports. > > So I'd like to change the default printer from inside the form that > prints the bar code labels and change it back to the default when done. > > Does anyone know of or have a code snip that does this? > > MTIA, > > Rocky > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > www.bchacc.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/744 - Release Date: 4/3/2007 5:32 AM From rockysmolin at bchacc.com Wed Apr 4 18:51:24 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 4 Apr 2007 16:51:24 -0700 Subject: [AccessD] Changing Printer In-Reply-To: <0JFZ009ZOWCKVDU0@vms042.mailsrvcs.net> Message-ID: <005201c77714$27af0020$0201a8c0@HAL9005> Excellent! That's too easy. I didn't know there was a printer parameter on the .Open but I see it now - I just have it as a "" string. I already put a combo box on the form with the installed printers and save the selection in a front end preferences table. Thank you. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Wednesday, April 04, 2007 3:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Rocky, LOL! Guess what...I have a web-based app developed in C# that calls Bartender.exe as a COM object. I provide the default printer in code this way... btFormat = btApp.Formats.Open(labelFormatFileName, false, labelPrinter) Where labelFormatFileName and labelPrinter are string values. Since you don't know the printer name you can simply present him with a select printer form that pulls up all available connected printers and then pass the value from the combobox to your function so that it passes it on to the labelPrinter variable. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 04, 2007 3:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Actually, I just reviewed the code. It's not a report. It's a bunch of calls to an object. Bartender (cute, huh) is the name of the program and I call it from inside the form. Code snip: Set btFormat = btApp.Formats.Open(Me.fldFABLabelFile, False, "") btFormat.SetNamedSubStringValue "Part No. (P)", Me.fldFABPartNumber btFormat.SetNamedSubStringValue "Quantity", Me.fldContainerTotalPieces btFormat.SetNamedSubStringValue "OrderNumber", Me.cboJobs.Column(1) btFormat.SetNamedSubStringValue "ContainerNumber", Me.fldContainerContainer btFormat.SetNamedSubStringValue "Serial", Me.fldContainerID btFormat.SetNamedSubStringValue "PO #", Nz(Me.fldJobsEndCustomerPONumber) btFormat.SetNamedSubStringValue "LOT #", strVendorLot btFormat.SetNamedSubStringValue "Quantity Identifier", "Q" btFormat.SetNamedSubStringValue "R#", Nz(Me.fldFABEngineeringChangeNumber) btFormat.SetNamedSubStringValue "EngineeringChangeNumber", Nz(Me.fldFABEngineeringChangeNumber) btFormat.PrintOut False, False So I need to change the default printer and then change it back again. I used to have some code somewher to do this but can't find it. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, April 04, 2007 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Printer ...I use the "Select specific printer" option in the report set-up ...that report always uses the selected printer and the rest use the default ...if the bar-code printer is not available for some reason, the user will get a pop-up dialog asking if they want to select another printer. William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 04, 2007 4:27 PM Subject: [AccessD] Changing Printer > Dear List: > > I have a client who installed a bar code printer. If he makes it the > default printer that screws up all of this print previews on other > reports. > > So I'd like to change the default printer from inside the form that > prints the bar code labels and change it back to the default when done. > > Does anyone know of or have a code snip that does this? > > MTIA, > > Rocky > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > www.bchacc.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/744 - Release Date: 4/3/2007 5:32 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM From ebarro at verizon.net Wed Apr 4 19:07:56 2007 From: ebarro at verizon.net (Eric Barro) Date: Wed, 04 Apr 2007 17:07:56 -0700 Subject: [AccessD] Changing Printer In-Reply-To: <005201c77714$27af0020$0201a8c0@HAL9005> Message-ID: <0JG000DMM0DDKS32@vms044.mailsrvcs.net> Rocky, You're welcome! Here's a snippet of code you might be interested in. You can provide a JPG preview of the label before your client prints it. :) //export the labelformat image to a JPG file newFile = btFormat.FileName.Replace(labelFormatPath, labelFormatExportPath); btFormat.ExportToFile(newFile.Replace(".btw", ".JPG"), "JPG" , BarTender.BtColors.btColors24Bit, BarTender.BtResolution.btResolutionPrinter, BarTender.BtSaveOptions.btSaveChanges); The code is in C#. Minor mods needed for the replace syntax since in VB this is a function instead of a method. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 04, 2007 4:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Excellent! That's too easy. I didn't know there was a printer parameter on the .Open but I see it now - I just have it as a "" string. I already put a combo box on the form with the installed printers and save the selection in a front end preferences table. Thank you. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Wednesday, April 04, 2007 3:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Rocky, LOL! Guess what...I have a web-based app developed in C# that calls Bartender.exe as a COM object. I provide the default printer in code this way... btFormat = btApp.Formats.Open(labelFormatFileName, false, labelPrinter) Where labelFormatFileName and labelPrinter are string values. Since you don't know the printer name you can simply present him with a select printer form that pulls up all available connected printers and then pass the value from the combobox to your function so that it passes it on to the labelPrinter variable. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 04, 2007 3:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Actually, I just reviewed the code. It's not a report. It's a bunch of calls to an object. Bartender (cute, huh) is the name of the program and I call it from inside the form. Code snip: Set btFormat = btApp.Formats.Open(Me.fldFABLabelFile, False, "") btFormat.SetNamedSubStringValue "Part No. (P)", Me.fldFABPartNumber btFormat.SetNamedSubStringValue "Quantity", Me.fldContainerTotalPieces btFormat.SetNamedSubStringValue "OrderNumber", Me.cboJobs.Column(1) btFormat.SetNamedSubStringValue "ContainerNumber", Me.fldContainerContainer btFormat.SetNamedSubStringValue "Serial", Me.fldContainerID btFormat.SetNamedSubStringValue "PO #", Nz(Me.fldJobsEndCustomerPONumber) btFormat.SetNamedSubStringValue "LOT #", strVendorLot btFormat.SetNamedSubStringValue "Quantity Identifier", "Q" btFormat.SetNamedSubStringValue "R#", Nz(Me.fldFABEngineeringChangeNumber) btFormat.SetNamedSubStringValue "EngineeringChangeNumber", Nz(Me.fldFABEngineeringChangeNumber) btFormat.PrintOut False, False So I need to change the default printer and then change it back again. I used to have some code somewher to do this but can't find it. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, April 04, 2007 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Printer ...I use the "Select specific printer" option in the report set-up ...that report always uses the selected printer and the rest use the default ...if the bar-code printer is not available for some reason, the user will get a pop-up dialog asking if they want to select another printer. William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 04, 2007 4:27 PM Subject: [AccessD] Changing Printer > Dear List: > > I have a client who installed a bar code printer. If he makes it the > default printer that screws up all of this print previews on other > reports. > > So I'd like to change the default printer from inside the form that > prints the bar code labels and change it back to the default when done. > > Does anyone know of or have a code snip that does this? > > MTIA, > > Rocky > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > www.bchacc.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/744 - Release Date: 4/3/2007 5:32 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/744 - Release Date: 4/3/2007 5:32 AM From martyconnelly at shaw.ca Wed Apr 4 19:53:38 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 04 Apr 2007 17:53:38 -0700 Subject: [AccessD] Access-D member awarded MS Access MVP In-Reply-To: <0JFZ00CGDV998690@l-daemon> References: <0JFZ00CGDV998690@l-daemon> Message-ID: <46144892.2050104@shaw.ca> A couple of other Access MVP's announced it Roger Carlson on Access-D and Bill Mosca on MS Access Professional Yahoo. The MVP's have their own newsletter, web site and mail list. In fact they have a 3-Day meeting every year in Seattle. A slightly out of date list of Access MVP's can be found here. https://mvp.support.microsoft.com/communities/mvp.aspx?product=1&competency=Microsoft+Office+Access Once your on the list, it is permanent ;) I know one Access MVP who tried to resign MS wouldn't let him. He had a big disagreement with MS. Funnily enough he is now working full time for MS. That got him off the list. Jim Lawrence wrote: >Hi Marty: > >Where did you get this information? I have been unable to confirm the >details. > >TIA >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Wednesday, April 04, 2007 12:33 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Access-D member awarded MS Access MVP > > >Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP >award! > >If you have never seen AD's samples , they're well worth a look: > >http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. > > > -- Marty Connelly Victoria, B.C. Canada From wdhindman at dejpolsystems.com Wed Apr 4 21:10:17 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 4 Apr 2007 22:10:17 -0400 Subject: [AccessD] Access-D member awarded MS Access MVP References: <0JFZ00CGDV998690@l-daemon> Message-ID: <000501c77727$8ef29180$982b124c@50nm721> http://www.abhishekkant.net/2007/04/new-mvps-announced-in-south-asia.html William Hindman ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 04, 2007 6:21 PM Subject: Re: [AccessD] Access-D member awarded MS Access MVP > Hi Marty: > > Where did you get this information? I have been unable to confirm the > details. > > TIA > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly > Sent: Wednesday, April 04, 2007 12:33 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access-D member awarded MS Access MVP > > > Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP > award! > > If you have never seen AD's samples , they're well worth a look: > > http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. > > -- > Marty Connelly > Victoria, B.C. > Canada > > -- > 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 accessd at shaw.ca Wed Apr 4 22:23:34 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 04 Apr 2007 20:23:34 -0700 Subject: [AccessD] Access-D member awarded MS Access MVP In-Reply-To: <46144892.2050104@shaw.ca> Message-ID: <0JG0004HE98BCK00@l-daemon> Hi Marty: Thanks for the information. Much appreciated; but that still does not answer the question of how, where and why you know A.D. Tejpal is now an MVP. Do you have a 'secret' source that you can not be divulged? I have taken the liberty of posting A.D.'s win to the web site but am still hesitant without proper validation or any collaboration. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Wednesday, April 04, 2007 5:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access-D member awarded MS Access MVP A couple of other Access MVP's announced it Roger Carlson on Access-D and Bill Mosca on MS Access Professional Yahoo. The MVP's have their own newsletter, web site and mail list. In fact they have a 3-Day meeting every year in Seattle. A slightly out of date list of Access MVP's can be found here. https://mvp.support.microsoft.com/communities/mvp.aspx?product=1&competency= Microsoft+Office+Access Once your on the list, it is permanent ;) I know one Access MVP who tried to resign MS wouldn't let him. He had a big disagreement with MS. Funnily enough he is now working full time for MS. That got him off the list. Jim Lawrence wrote: >Hi Marty: > >Where did you get this information? I have been unable to confirm the >details. > >TIA >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Wednesday, April 04, 2007 12:33 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Access-D member awarded MS Access MVP > > >Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP >award! > >If you have never seen AD's samples , they're well worth a look: > >http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Apr 4 22:33:20 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 04 Apr 2007 20:33:20 -0700 Subject: [AccessD] Access-D member awarded MS Access MVP In-Reply-To: <000501c77727$8ef29180$982b124c@50nm721> Message-ID: <0JG000FPC9OL93M0@l-daemon> Hi William: Thank you, for that info. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, April 04, 2007 7:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access-D member awarded MS Access MVP http://www.abhishekkant.net/2007/04/new-mvps-announced-in-south-asia.html William Hindman ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 04, 2007 6:21 PM Subject: Re: [AccessD] Access-D member awarded MS Access MVP > Hi Marty: > > Where did you get this information? I have been unable to confirm the > details. > > TIA > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly > Sent: Wednesday, April 04, 2007 12:33 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access-D member awarded MS Access MVP > > > Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP > award! > > If you have never seen AD's samples , they're well worth a look: > > http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. > > -- > Marty Connelly > Victoria, B.C. > Canada > > -- > 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 From adtp at hotmail.com Thu Apr 5 09:00:30 2007 From: adtp at hotmail.com (A.D.TEJPAL) Date: Thu, 5 Apr 2007 19:30:30 +0530 Subject: [AccessD] Access-D member awarded MS Access MVP References: <200704041727.l34HRIU05827@databaseadvisors.com><009b01c776e7$093771e0$657aa8c0@m6805> <4613FD55.9070907@shaw.ca> Message-ID: Marty, My sincere thanks. I have no illusions about my limitations and am well aware that Access-D is graced with a galaxy of experts far more qualified than me. In this context, I take the compliments from my fellow members as an expression of goodwill that I hold precious. Right through my association with this forum, I have been benefiting immensely from the wealth of knowledge contributed by various members. I would like to record my grateful thanks to my colleagues (mentioned below, in the order of the messages received) for so kindly taking time out to write words of encouragement: Martin Reid, David McAfee, Susan Harkins, Charlotte Foust, William Hindman, Jim Lawrence, Best wishes, A.D.Tejpal ----- Original Message ----- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Thursday, April 05, 2007 01:02 Subject: [AccessD] Access-D member awarded MS Access MVP Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP award! If you have never seen AD's samples , they're well worth a look: http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. Marty Connelly Victoria, B.C. Canada From rockysmolin at bchacc.com Thu Apr 5 09:09:45 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 5 Apr 2007 07:09:45 -0700 Subject: [AccessD] Changing Printer In-Reply-To: <0JG000DMM0DDKS32@vms044.mailsrvcs.net> Message-ID: <00aa01c7778c$10621a60$0201a8c0@HAL9005> Eric: A redundant thanks again, Eric. I got the terse reply from my client this A.M. "Got it. It works. Good job Rocky!" I pasted your snip into my code commented out in case he ever comes up with the requirement. I assume that the code will create the jpg but not display it. You have to trigger the display yourself? Best regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Wednesday, April 04, 2007 5:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Rocky, You're welcome! Here's a snippet of code you might be interested in. You can provide a JPG preview of the label before your client prints it. :) //export the labelformat image to a JPG file newFile = btFormat.FileName.Replace(labelFormatPath, labelFormatExportPath); btFormat.ExportToFile(newFile.Replace(".btw", ".JPG"), "JPG" , BarTender.BtColors.btColors24Bit, BarTender.BtResolution.btResolutionPrinter, BarTender.BtSaveOptions.btSaveChanges); The code is in C#. Minor mods needed for the replace syntax since in VB this is a function instead of a method. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 04, 2007 4:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Excellent! That's too easy. I didn't know there was a printer parameter on the .Open but I see it now - I just have it as a "" string. I already put a combo box on the form with the installed printers and save the selection in a front end preferences table. Thank you. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Wednesday, April 04, 2007 3:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Rocky, LOL! Guess what...I have a web-based app developed in C# that calls Bartender.exe as a COM object. I provide the default printer in code this way... btFormat = btApp.Formats.Open(labelFormatFileName, false, labelPrinter) Where labelFormatFileName and labelPrinter are string values. Since you don't know the printer name you can simply present him with a select printer form that pulls up all available connected printers and then pass the value from the combobox to your function so that it passes it on to the labelPrinter variable. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 04, 2007 3:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Actually, I just reviewed the code. It's not a report. It's a bunch of calls to an object. Bartender (cute, huh) is the name of the program and I call it from inside the form. Code snip: Set btFormat = btApp.Formats.Open(Me.fldFABLabelFile, False, "") btFormat.SetNamedSubStringValue "Part No. (P)", Me.fldFABPartNumber btFormat.SetNamedSubStringValue "Quantity", Me.fldContainerTotalPieces btFormat.SetNamedSubStringValue "OrderNumber", Me.cboJobs.Column(1) btFormat.SetNamedSubStringValue "ContainerNumber", Me.fldContainerContainer btFormat.SetNamedSubStringValue "Serial", Me.fldContainerID btFormat.SetNamedSubStringValue "PO #", Nz(Me.fldJobsEndCustomerPONumber) btFormat.SetNamedSubStringValue "LOT #", strVendorLot btFormat.SetNamedSubStringValue "Quantity Identifier", "Q" btFormat.SetNamedSubStringValue "R#", Nz(Me.fldFABEngineeringChangeNumber) btFormat.SetNamedSubStringValue "EngineeringChangeNumber", Nz(Me.fldFABEngineeringChangeNumber) btFormat.PrintOut False, False So I need to change the default printer and then change it back again. I used to have some code somewher to do this but can't find it. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, April 04, 2007 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Printer ...I use the "Select specific printer" option in the report set-up ...that report always uses the selected printer and the rest use the default ...if the bar-code printer is not available for some reason, the user will get a pop-up dialog asking if they want to select another printer. William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 04, 2007 4:27 PM Subject: [AccessD] Changing Printer > Dear List: > > I have a client who installed a bar code printer. If he makes it the > default printer that screws up all of this print previews on other > reports. > > So I'd like to change the default printer from inside the form that > prints the bar code labels and change it back to the default when done. > > Does anyone know of or have a code snip that does this? > > MTIA, > > Rocky > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > www.bchacc.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/744 - Release Date: 4/3/2007 5:32 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/744 - Release Date: 4/3/2007 5:32 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM From ebarro at verizon.net Thu Apr 5 09:21:13 2007 From: ebarro at verizon.net (Eric Barro) Date: Thu, 05 Apr 2007 07:21:13 -0700 Subject: [AccessD] Changing Printer In-Reply-To: <00aa01c7778c$10621a60$0201a8c0@HAL9005> Message-ID: <0JG100IMR3VIQT02@vms040.mailsrvcs.net> Yes the code simply outputs the JPG image. You will need code to display it for your user. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, April 05, 2007 7:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Eric: A redundant thanks again, Eric. I got the terse reply from my client this A.M. "Got it. It works. Good job Rocky!" I pasted your snip into my code commented out in case he ever comes up with the requirement. I assume that the code will create the jpg but not display it. You have to trigger the display yourself? Best regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Wednesday, April 04, 2007 5:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Rocky, You're welcome! Here's a snippet of code you might be interested in. You can provide a JPG preview of the label before your client prints it. :) //export the labelformat image to a JPG file newFile = btFormat.FileName.Replace(labelFormatPath, labelFormatExportPath); btFormat.ExportToFile(newFile.Replace(".btw", ".JPG"), "JPG" , BarTender.BtColors.btColors24Bit, BarTender.BtResolution.btResolutionPrinter, BarTender.BtSaveOptions.btSaveChanges); The code is in C#. Minor mods needed for the replace syntax since in VB this is a function instead of a method. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 04, 2007 4:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Excellent! That's too easy. I didn't know there was a printer parameter on the .Open but I see it now - I just have it as a "" string. I already put a combo box on the form with the installed printers and save the selection in a front end preferences table. Thank you. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Wednesday, April 04, 2007 3:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Rocky, LOL! Guess what...I have a web-based app developed in C# that calls Bartender.exe as a COM object. I provide the default printer in code this way... btFormat = btApp.Formats.Open(labelFormatFileName, false, labelPrinter) Where labelFormatFileName and labelPrinter are string values. Since you don't know the printer name you can simply present him with a select printer form that pulls up all available connected printers and then pass the value from the combobox to your function so that it passes it on to the labelPrinter variable. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 04, 2007 3:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Actually, I just reviewed the code. It's not a report. It's a bunch of calls to an object. Bartender (cute, huh) is the name of the program and I call it from inside the form. Code snip: Set btFormat = btApp.Formats.Open(Me.fldFABLabelFile, False, "") btFormat.SetNamedSubStringValue "Part No. (P)", Me.fldFABPartNumber btFormat.SetNamedSubStringValue "Quantity", Me.fldContainerTotalPieces btFormat.SetNamedSubStringValue "OrderNumber", Me.cboJobs.Column(1) btFormat.SetNamedSubStringValue "ContainerNumber", Me.fldContainerContainer btFormat.SetNamedSubStringValue "Serial", Me.fldContainerID btFormat.SetNamedSubStringValue "PO #", Nz(Me.fldJobsEndCustomerPONumber) btFormat.SetNamedSubStringValue "LOT #", strVendorLot btFormat.SetNamedSubStringValue "Quantity Identifier", "Q" btFormat.SetNamedSubStringValue "R#", Nz(Me.fldFABEngineeringChangeNumber) btFormat.SetNamedSubStringValue "EngineeringChangeNumber", Nz(Me.fldFABEngineeringChangeNumber) btFormat.PrintOut False, False So I need to change the default printer and then change it back again. I used to have some code somewher to do this but can't find it. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, April 04, 2007 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Printer ...I use the "Select specific printer" option in the report set-up ...that report always uses the selected printer and the rest use the default ...if the bar-code printer is not available for some reason, the user will get a pop-up dialog asking if they want to select another printer. William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 04, 2007 4:27 PM Subject: [AccessD] Changing Printer > Dear List: > > I have a client who installed a bar code printer. If he makes it the > default printer that screws up all of this print previews on other > reports. > > So I'd like to change the default printer from inside the form that > prints the bar code labels and change it back to the default when done. > > Does anyone know of or have a code snip that does this? > > MTIA, > > Rocky > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > www.bchacc.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/744 - Release Date: 4/3/2007 5:32 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/744 - Release Date: 4/3/2007 5:32 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: 4/4/2007 1:09 PM From rockysmolin at bchacc.com Thu Apr 5 10:48:26 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 5 Apr 2007 08:48:26 -0700 Subject: [AccessD] Access-D member awarded MS Access MVP In-Reply-To: Message-ID: <00d001c77799$d99c76c0$0201a8c0@HAL9005> A.D.: Let me add my belated congratulations on your MVP award. I tried to send it offline but the address I have for you is no longer valid. Had they called me or anyone on the AccessD list, it would have happened much sooner. But no one deserves it more. With best regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Thursday, April 05, 2007 7:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access-D member awarded MS Access MVP Marty, My sincere thanks. I have no illusions about my limitations and am well aware that Access-D is graced with a galaxy of experts far more qualified than me. In this context, I take the compliments from my fellow members as an expression of goodwill that I hold precious. Right through my association with this forum, I have been benefiting immensely from the wealth of knowledge contributed by various members. I would like to record my grateful thanks to my colleagues (mentioned below, in the order of the messages received) for so kindly taking time out to write words of encouragement: Martin Reid, David McAfee, Susan Harkins, Charlotte Foust, William Hindman, Jim Lawrence, Best wishes, A.D.Tejpal ----- Original Message ----- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Thursday, April 05, 2007 01:02 Subject: [AccessD] Access-D member awarded MS Access MVP Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP award! If you have never seen AD's samples , they're well worth a look: http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: 4/4/2007 1:09 PM From jwcolby at colbyconsulting.com Thu Apr 5 11:34:26 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 5 Apr 2007 12:34:26 -0400 Subject: [AccessD] Access-D member awarded MS Access MVP In-Reply-To: <00d001c77799$d99c76c0$0201a8c0@HAL9005> References: <00d001c77799$d99c76c0$0201a8c0@HAL9005> Message-ID: <000101c777a0$472c5970$657aa8c0@m6805> Likewise, my belated congrats. MVP truly is a recognition of your ability, and given your contributions to this list I would say a well deserved recognition. Good Job. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, April 05, 2007 11:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access-D member awarded MS Access MVP A.D.: Let me add my belated congratulations on your MVP award. I tried to send it offline but the address I have for you is no longer valid. Had they called me or anyone on the AccessD list, it would have happened much sooner. But no one deserves it more. With best regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Thursday, April 05, 2007 7:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access-D member awarded MS Access MVP Marty, My sincere thanks. I have no illusions about my limitations and am well aware that Access-D is graced with a galaxy of experts far more qualified than me. In this context, I take the compliments from my fellow members as an expression of goodwill that I hold precious. Right through my association with this forum, I have been benefiting immensely from the wealth of knowledge contributed by various members. I would like to record my grateful thanks to my colleagues (mentioned below, in the order of the messages received) for so kindly taking time out to write words of encouragement: Martin Reid, David McAfee, Susan Harkins, Charlotte Foust, William Hindman, Jim Lawrence, Best wishes, A.D.Tejpal ----- Original Message ----- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Thursday, April 05, 2007 01:02 Subject: [AccessD] Access-D member awarded MS Access MVP Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP award! If you have never seen AD's samples , they're well worth a look: http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: 4/4/2007 1:09 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Apr 5 12:09:08 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 5 Apr 2007 10:09:08 -0700 Subject: [AccessD] WANs and Access Message-ID: <00f801c777a5$1fb233b0$0201a8c0@HAL9005> Had a prospect ask me how robust my application would be running over a WAN. Broadband connection but 'slow' according to his description. Plus folks dialing in from remote locations but at least 50MBPS. Anyone have any experience with this or know of any limitations with Access in this regard? MTIA, Rocky From accessd at shaw.ca Thu Apr 5 12:17:40 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 05 Apr 2007 10:17:40 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: <00aa01c7778c$10621a60$0201a8c0@HAL9005> Message-ID: <0JG100CYZBUFXSF0@l-daemon> Hi All: There seems to be an interesting design for MS SQL Database. For those who have used classes here is a new implementation: http://msdn2.microsoft.com/en-us/library/bb245675.aspx http://www.sqlserverbible.com/ordbms.htm Jim From dwaters at usinternet.com Thu Apr 5 12:32:19 2007 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 5 Apr 2007 12:32:19 -0500 Subject: [AccessD] WANs and Access In-Reply-To: <00f801c777a5$1fb233b0$0201a8c0@HAL9005> References: <00f801c777a5$1fb233b0$0201a8c0@HAL9005> Message-ID: <003e01c777a8$5d24c390$0200a8c0@danwaters> Hi Rocky, I have a customer who has plants across North America, all on the same WAN. I don't know what their throughput rate is though. After using the system in one location for about a year, we tried putting some client apps at the other sites. The two folks I work directly with were there at the time, and have told me that the app was as quick there as it is here! I was surprised - and happy. My system is split FE/BE, and the usage is not high. On the other hand, from home through their VPN connection, it takes me 20 minutes to open their system with my PC, so I don't. Good Luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, April 05, 2007 12:09 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WANs and Access Had a prospect ask me how robust my application would be running over a WAN. Broadband connection but 'slow' according to his description. Plus folks dialing in from remote locations but at least 50MBPS. Anyone have any experience with this or know of any limitations with Access in this regard? MTIA, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Donald.A.McGillivray at sprint.com Thu Apr 5 13:00:44 2007 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Thu, 5 Apr 2007 13:00:44 -0500 Subject: [AccessD] WANs and Access In-Reply-To: <00f801c777a5$1fb233b0$0201a8c0@HAL9005> References: <00f801c777a5$1fb233b0$0201a8c0@HAL9005> Message-ID: Rocky, I have an app (not a commercial app - just something to support my users in their jobs) that runs on a server located in California, and my users (in California, Kansas, and Florida) connect via terminal services (Remote Desktop Connection) over our company's WAN. FE and BE reside on the server, and each user gets a new instance of the FE in his/her TS. My user count is usually <= 10, and the user experience is nearly the same as if the app were running as a FE/BE on their workstation. When I connect from home, via VPN over a DSL connection, the response is nearly the same as when I'm at my desk at work. Even via dialup, it's slower, but not so slow that I go crazy. Don't know whether this strategy is appropriate to your situation, but may be worth a look see. Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, April 05, 2007 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WANs and Access Had a prospect ask me how robust my application would be running over a WAN. Broadband connection but 'slow' according to his description. Plus folks dialing in from remote locations but at least 50MBPS. Anyone have any experience with this or know of any limitations with Access in this regard? MTIA, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Thu Apr 5 13:07:58 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 5 Apr 2007 14:07:58 -0400 Subject: [AccessD] WANs and Access References: <00f801c777a5$1fb233b0$0201a8c0@HAL9005> Message-ID: <001b01c777ad$5875ef40$982b124c@50nm721> ...unplanned disconnects, even momentary, are the bane of any file server db system ...in my experience Access and WAN requires a Terminal Server or Citrix implementation to be both reliable and fast ...not to say it can't be done otherwise but that my experience with such sucks because disconnects are almost inevitable ...however, if you do go the TS route, your Access app can actually be faster in the user's view even though he's hundreds of miles away. ...btw, if you do look at this route, Citrix costs more than TS but their support is a whole lot better imnsho and well worth the extra bucks. TS in the mean time, is actually an older version of Citrix that MS licensed and has done some work with. William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Thursday, April 05, 2007 1:09 PM Subject: [AccessD] WANs and Access > Had a prospect ask me how robust my application would be running over a > WAN. > Broadband connection but 'slow' according to his description. Plus folks > dialing in from remote locations but at least 50MBPS. Anyone have any > experience with this or know of any limitations with Access in this > regard? > > MTIA, > > Rocky > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Thu Apr 5 13:06:58 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Apr 2007 11:06:58 -0700 Subject: [AccessD] WANs and Access In-Reply-To: <00f801c777a5$1fb233b0$0201a8c0@HAL9005> References: <00f801c777a5$1fb233b0$0201a8c0@HAL9005> Message-ID: Rocky, I think it depends on the WAN, but we try to persuade our clients not to try it, particularly if the broadband connection is "iffy" or "slow". We've had a few do it anyhow because their IT departments were sure they could make it work. They live with it. Remote dialup is ugly at any speed unless you use a VPN and log into an active local workstation and run the app from there. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, April 05, 2007 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WANs and Access Had a prospect ask me how robust my application would be running over a WAN. Broadband connection but 'slow' according to his description. Plus folks dialing in from remote locations but at least 50MBPS. Anyone have any experience with this or know of any limitations with Access in this regard? MTIA, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Apr 5 13:11:47 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Apr 2007 11:11:47 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: <0JG100CYZBUFXSF0@l-daemon> References: <00aa01c7778c$10621a60$0201a8c0@HAL9005> <0JG100CYZBUFXSF0@l-daemon> Message-ID: Interesting article, particularly since it seems to encompass a lot of the design approaches we already use in VB.Net. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, April 05, 2007 10:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] New database design for MS SQL Hi All: There seems to be an interesting design for MS SQL Database. For those who have used classes here is a new implementation: http://msdn2.microsoft.com/en-us/library/bb245675.aspx http://www.sqlserverbible.com/ordbms.htm Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Apr 5 13:15:37 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 05 Apr 2007 11:15:37 -0700 Subject: [AccessD] WANs and Access In-Reply-To: <00f801c777a5$1fb233b0$0201a8c0@HAL9005> Message-ID: <0JG100AJ4EIZJ0Y0@l-daemon> Hi Rocky: If you need any help with setting up applications running at different locations I could offer some help in that area as I have definitely done enough of that type of work. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, April 05, 2007 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WANs and Access Had a prospect ask me how robust my application would be running over a WAN. Broadband connection but 'slow' according to his description. Plus folks dialing in from remote locations but at least 50MBPS. Anyone have any experience with this or know of any limitations with Access in this regard? MTIA, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Apr 5 13:18:42 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 5 Apr 2007 14:18:42 -0400 Subject: [AccessD] WANs and Access In-Reply-To: <001b01c777ad$5875ef40$982b124c@50nm721> References: <00f801c777a5$1fb233b0$0201a8c0@HAL9005> <001b01c777ad$5875ef40$982b124c@50nm721> Message-ID: <001101c777ae$d79c7b80$657aa8c0@m6805> If the location with the file server has workstations with Windows 2003, you can use remote desktop, at least two instances per computer. Thus if the client already had people inside that location (with windows 2003) running the app, then another user could remote in to their machine and use the db. They would have to have their own account etc. Remote access is IMHO definitely the way to go, whether TS or other. As William says, disconnects will corrupt the database if the FE is running remotely. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Thursday, April 05, 2007 2:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] WANs and Access ...unplanned disconnects, even momentary, are the bane of any file server db system ...in my experience Access and WAN requires a Terminal Server or Citrix implementation to be both reliable and fast ...not to say it can't be done otherwise but that my experience with such sucks because disconnects are almost inevitable ...however, if you do go the TS route, your Access app can actually be faster in the user's view even though he's hundreds of miles away. ...btw, if you do look at this route, Citrix costs more than TS but their support is a whole lot better imnsho and well worth the extra bucks. TS in the mean time, is actually an older version of Citrix that MS licensed and has done some work with. William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Thursday, April 05, 2007 1:09 PM Subject: [AccessD] WANs and Access > Had a prospect ask me how robust my application would be running over a > WAN. > Broadband connection but 'slow' according to his description. Plus folks > dialing in from remote locations but at least 50MBPS. Anyone have any > experience with this or know of any limitations with Access in this > regard? > > MTIA, > > Rocky > > > > > > -- > 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 accessd at shaw.ca Thu Apr 5 13:24:20 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 05 Apr 2007 11:24:20 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: Message-ID: <0JG100L1REXIDTG0@l-daemon> Hi Charlotte: So let us see some samples... Most of us here are at least conversant in .Net and would find it very informative. TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 11:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Interesting article, particularly since it seems to encompass a lot of the design approaches we already use in VB.Net. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, April 05, 2007 10:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] New database design for MS SQL Hi All: There seems to be an interesting design for MS SQL Database. For those who have used classes here is a new implementation: http://msdn2.microsoft.com/en-us/library/bb245675.aspx http://www.sqlserverbible.com/ordbms.htm Jim -- 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 cfoust at infostatsystems.com Thu Apr 5 14:06:42 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Apr 2007 12:06:42 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: <0JG100L1REXIDTG0@l-daemon> References: <0JG100L1REXIDTG0@l-daemon> Message-ID: Eeek! How on earth would I do that?? I can explain that we use a data tier that abstracts the actual data structures by building "entity" classes that implement a typeddataset for that data entity and interface classes that define what the data providers will expose for the entity. The entity/typeddataset can address and manipulate a single table or multiple related tables simultaneously. We use an OleDbProvider project that houses the SQL (in XML files) and code classes specific to a related group of tables and their children. The entity classes call into the data provider classes, so the code to do a particular thing (i.e., get the next ID number for a particular table for a particular set of parameters) is in a single location. We build "business rules" into the entity classes that take care of things like returning an exception if a record is being deleted and there are related records that need to be deleted or reassigned. We also use them to cascade changes/deletions/insertions to tables where it can't be done automatically. For instance, when we create a new Well record, the data tier automatically creates and initial wellBore record and doesn't allow the user to delete that wellbore except by deleting the well. Someday, if I ever find the time, I'm going to try modelling this in Access! Any questions?? LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, April 05, 2007 11:24 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: So let us see some samples... Most of us here are at least conversant in .Net and would find it very informative. TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 11:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Interesting article, particularly since it seems to encompass a lot of the design approaches we already use in VB.Net. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, April 05, 2007 10:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] New database design for MS SQL Hi All: There seems to be an interesting design for MS SQL Database. For those who have used classes here is a new implementation: http://msdn2.microsoft.com/en-us/library/bb245675.aspx http://www.sqlserverbible.com/ordbms.htm Jim -- 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 From rockysmolin at bchacc.com Thu Apr 5 14:54:30 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 5 Apr 2007 12:54:30 -0700 Subject: [AccessD] WANs and Access In-Reply-To: <0JG100AJ4EIZJ0Y0@l-daemon> Message-ID: <013001c777bc$39d3d750$0201a8c0@HAL9005> Thanks to everyone for their replies on this. I will forward your comments to the prospect and let him decide how to proceed. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, April 05, 2007 11:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] WANs and Access Hi Rocky: If you need any help with setting up applications running at different locations I could offer some help in that area as I have definitely done enough of that type of work. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, April 05, 2007 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WANs and Access Had a prospect ask me how robust my application would be running over a WAN. Broadband connection but 'slow' according to his description. Plus folks dialing in from remote locations but at least 50MBPS. Anyone have any experience with this or know of any limitations with Access in this regard? MTIA, Rocky -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: 4/4/2007 1:09 PM From wdhindman at dejpolsystems.com Thu Apr 5 15:06:49 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 5 Apr 2007 16:06:49 -0400 Subject: [AccessD] New database design for MS SQL References: <0JG100L1REXIDTG0@l-daemon> Message-ID: <000d01c777bd$f38e6bf0$982b124c@50nm721> ...questions? ...not me ...I'm actually sorry Jim asked :) ...until I read that, I thought my schemas were so cool, eh. William Hindman ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, April 05, 2007 3:06 PM Subject: Re: [AccessD] New database design for MS SQL > Eeek! How on earth would I do that?? > > I can explain that we use a data tier that abstracts the actual data > structures by building "entity" classes that implement a typeddataset > for that data entity and interface classes that define what the data > providers will expose for the entity. The entity/typeddataset can > address and manipulate a single table or multiple related tables > simultaneously. We use an OleDbProvider project that houses the SQL (in > XML files) and code classes specific to a related group of tables and > their children. The entity classes call into the data provider classes, > so the code to do a particular thing (i.e., get the next ID number for a > particular table for a particular set of parameters) is in a single > location. > > We build "business rules" into the entity classes that take care of > things like returning an exception if a record is being deleted and > there are related records that need to be deleted or reassigned. We > also use them to cascade changes/deletions/insertions to tables where it > can't be done automatically. For instance, when we create a new Well > record, the data tier automatically creates and initial wellBore record > and doesn't allow the user to delete that wellbore except by deleting > the well. Someday, if I ever find the time, I'm going to try modelling > this in Access! > > Any questions?? LOL > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Thursday, April 05, 2007 11:24 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] New database design for MS SQL > > Hi Charlotte: > > So let us see some samples... Most of us here are at least conversant in > .Net and would find it very informative. > > TIA > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Thursday, April 05, 2007 11:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] New database design for MS SQL > > Interesting article, particularly since it seems to encompass a lot of > the design approaches we already use in VB.Net. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Thursday, April 05, 2007 10:18 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] New database design for MS SQL > > Hi All: > > There seems to be an interesting design for MS SQL Database. For those > who have used classes here is a new implementation: > > http://msdn2.microsoft.com/en-us/library/bb245675.aspx > http://www.sqlserverbible.com/ordbms.htm > > Jim > > -- > 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 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at Marlow.com Thu Apr 5 15:31:37 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 5 Apr 2007 15:31:37 -0500 Subject: [AccessD] WANs and Access In-Reply-To: <00f801c777a5$1fb233b0$0201a8c0@HAL9005> Message-ID: Depends on the speed of their WAN. 50 mbps is a typical wireless speed, so it's not bad at all... However, go down to a T1, which is great for the net, but an Access .mdb will take a bit just to open. Complex queries will take a while. I would recommend a web based front end. Would work fine even over dialup. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, April 05, 2007 12:09 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WANs and Access Had a prospect ask me how robust my application would be running over a WAN. Broadband connection but 'slow' according to his description. Plus folks dialing in from remote locations but at least 50MBPS. Anyone have any experience with this or know of any limitations with Access in this regard? MTIA, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Apr 5 15:40:33 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Apr 2007 13:40:33 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: <000d01c777bd$f38e6bf0$982b124c@50nm721> References: <0JG100L1REXIDTG0@l-daemon> <000d01c777bd$f38e6bf0$982b124c@50nm721> Message-ID: Hey, I just work here! LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Thursday, April 05, 2007 1:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL ...questions? ...not me ...I'm actually sorry Jim asked :) ...until I read that, I thought my schemas were so cool, eh. William Hindman ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, April 05, 2007 3:06 PM Subject: Re: [AccessD] New database design for MS SQL > Eeek! How on earth would I do that?? > > I can explain that we use a data tier that abstracts the actual data > structures by building "entity" classes that implement a typeddataset > for that data entity and interface classes that define what the data > providers will expose for the entity. The entity/typeddataset can > address and manipulate a single table or multiple related tables > simultaneously. We use an OleDbProvider project that houses the SQL (in > XML files) and code classes specific to a related group of tables and > their children. The entity classes call into the data provider classes, > so the code to do a particular thing (i.e., get the next ID number for a > particular table for a particular set of parameters) is in a single > location. > > We build "business rules" into the entity classes that take care of > things like returning an exception if a record is being deleted and > there are related records that need to be deleted or reassigned. We > also use them to cascade changes/deletions/insertions to tables where it > can't be done automatically. For instance, when we create a new Well > record, the data tier automatically creates and initial wellBore record > and doesn't allow the user to delete that wellbore except by deleting > the well. Someday, if I ever find the time, I'm going to try modelling > this in Access! > > Any questions?? LOL > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Thursday, April 05, 2007 11:24 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] New database design for MS SQL > > Hi Charlotte: > > So let us see some samples... Most of us here are at least conversant in > .Net and would find it very informative. > > TIA > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Thursday, April 05, 2007 11:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] New database design for MS SQL > > Interesting article, particularly since it seems to encompass a lot of > the design approaches we already use in VB.Net. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Thursday, April 05, 2007 10:18 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] New database design for MS SQL > > Hi All: > > There seems to be an interesting design for MS SQL Database. For those > who have used classes here is a new implementation: > > http://msdn2.microsoft.com/en-us/library/bb245675.aspx > http://www.sqlserverbible.com/ordbms.htm > > Jim > > -- > 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 > -- > 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 accessd at shaw.ca Thu Apr 5 16:21:46 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 05 Apr 2007 14:21:46 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: Message-ID: <0JG1009F8N570201@l-daemon> Hi Charlotte: You bet... but if I asked all the questions that I want to ask the List would reject that email due to size limitations. Maybe some questions from the bottom or Server end. Is there any white-papers on the design or is this the concept of some in-house guru?... or your-self. Is there any recommended reference material? Can I assume you are using SQL 2005? Is the SQL data stored as XML data or translated on the fly? Is all the business logic stored on the server or is it managed at the FE? Can I assume a desktop design? These are just a few of the broad questions I would like to know further details on... ...and what is a Well record and wellBore record or is this something to do with wells? That is all for now TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 12:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Eeek! How on earth would I do that?? I can explain that we use a data tier that abstracts the actual data structures by building "entity" classes that implement a typeddataset for that data entity and interface classes that define what the data providers will expose for the entity. The entity/typeddataset can address and manipulate a single table or multiple related tables simultaneously. We use an OleDbProvider project that houses the SQL (in XML files) and code classes specific to a related group of tables and their children. The entity classes call into the data provider classes, so the code to do a particular thing (i.e., get the next ID number for a particular table for a particular set of parameters) is in a single location. We build "business rules" into the entity classes that take care of things like returning an exception if a record is being deleted and there are related records that need to be deleted or reassigned. We also use them to cascade changes/deletions/insertions to tables where it can't be done automatically. For instance, when we create a new Well record, the data tier automatically creates and initial wellBore record and doesn't allow the user to delete that wellbore except by deleting the well. Someday, if I ever find the time, I'm going to try modelling this in Access! Any questions?? LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, April 05, 2007 11:24 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: So let us see some samples... Most of us here are at least conversant in .Net and would find it very informative. TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 11:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Interesting article, particularly since it seems to encompass a lot of the design approaches we already use in VB.Net. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, April 05, 2007 10:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] New database design for MS SQL Hi All: There seems to be an interesting design for MS SQL Database. For those who have used classes here is a new implementation: http://msdn2.microsoft.com/en-us/library/bb245675.aspx http://www.sqlserverbible.com/ordbms.htm Jim -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Apr 5 16:45:30 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Apr 2007 14:45:30 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: <0JG1009F8N570201@l-daemon> References: <0JG1009F8N570201@l-daemon> Message-ID: No white papers. We started rolling our own and called in a consulting firm to review the fledgling solution and point out deficiencies. They did admit when they came back for a later review that they'd never seen a Win-based .Net app this large and complex, but we aren't ready (maybe I should say our clients aren't ready) to convert totally to web-based yet. We're using either SQL 2005 or Access 2000 format BE because some of our clients are on drilling rigs in the middle of the ocean and don't have SQL Server handy. The embedded SQL for the provider adapters is stored in XML files and we read it in using a streamreader and pass it back to the calling data provider routine. The only business logic on the server is in cascading updates and deletes, etc., nothing else except relationships at this point because we still have to handle both SQL Server and Access back ends. The business logic is in its own assembly that's part of the overall solution. Not sure what you mean by a desktop design. We create and supply software to the drilling industry--oil, gas, geothermal--so a well is a hole in the ground plus everything associated with that. A wellbore, is the hole itself, which may be the original hole in the ground or a sidetrack drilled as an offshoot of another wellbore. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, April 05, 2007 2:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: You bet... but if I asked all the questions that I want to ask the List would reject that email due to size limitations. Maybe some questions from the bottom or Server end. Is there any white-papers on the design or is this the concept of some in-house guru?... or your-self. Is there any recommended reference material? Can I assume you are using SQL 2005? Is the SQL data stored as XML data or translated on the fly? Is all the business logic stored on the server or is it managed at the FE? Can I assume a desktop design? These are just a few of the broad questions I would like to know further details on... ...and what is a Well record and wellBore record or is this something to do with wells? That is all for now TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 12:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Eeek! How on earth would I do that?? I can explain that we use a data tier that abstracts the actual data structures by building "entity" classes that implement a typeddataset for that data entity and interface classes that define what the data providers will expose for the entity. The entity/typeddataset can address and manipulate a single table or multiple related tables simultaneously. We use an OleDbProvider project that houses the SQL (in XML files) and code classes specific to a related group of tables and their children. The entity classes call into the data provider classes, so the code to do a particular thing (i.e., get the next ID number for a particular table for a particular set of parameters) is in a single location. We build "business rules" into the entity classes that take care of things like returning an exception if a record is being deleted and there are related records that need to be deleted or reassigned. We also use them to cascade changes/deletions/insertions to tables where it can't be done automatically. For instance, when we create a new Well record, the data tier automatically creates and initial wellBore record and doesn't allow the user to delete that wellbore except by deleting the well. Someday, if I ever find the time, I'm going to try modelling this in Access! From prodevmg at yahoo.com Thu Apr 5 22:13:28 2007 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 5 Apr 2007 20:13:28 -0700 (PDT) Subject: [AccessD] Change the focus from Access to an IE window. Message-ID: <297990.21670.qm@web33101.mail.mud.yahoo.com> I have URL's in a table. When clicked from a form the website opens. I want to move the focus from Access to the newly opened window. How do I do that? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ____________________________________________________________________________________ Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html From jwcolby at colbyconsulting.com Thu Apr 5 23:14:20 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 6 Apr 2007 00:14:20 -0400 Subject: [AccessD] Recover SQL Server Message-ID: <000901c77802$0d82c490$657aa8c0@m6805> Is it possible to recover a set of SQL Server databases that were mounted (active) when my computer died? I have the database files themselves out on a data drive, and I have the SQL Server directory and all of its sub directories out on the same drive, but the system that ran that sql server is unrecoverable. And of course I do not have a recent backup. John W. Colby Colby Consulting www.ColbyConsulting.com From ebarro at verizon.net Thu Apr 5 23:34:28 2007 From: ebarro at verizon.net (Eric Barro) Date: Thu, 05 Apr 2007 21:34:28 -0700 Subject: [AccessD] Recover SQL Server In-Reply-To: <000901c77802$0d82c490$657aa8c0@m6805> Message-ID: <0JG20062Q7DNMEUB@vms046.mailsrvcs.net> Just attach the databases using Query Analyzer or Enterprise Manager. EXEC sp_attach_db @dbname = 'pubs', @filename1 = 'C:\Program Files\Microsoft SQL Server\MSSQL\Data\pubs.mdf', @filename2 = 'C:\Program Files\Microsoft SQL Server\MSSQL\Data\pubs_log.ldf' -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, April 05, 2007 9:14 PM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com Subject: [AccessD] Recover SQL Server Is it possible to recover a set of SQL Server databases that were mounted (active) when my computer died? I have the database files themselves out on a data drive, and I have the SQL Server directory and all of its sub directories out on the same drive, but the system that ran that sql server is unrecoverable. And of course I do not have a recent backup. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: 4/4/2007 1:09 PM From wdhindman at dejpolsystems.com Fri Apr 6 00:41:24 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 6 Apr 2007 01:41:24 -0400 Subject: [AccessD] Recover SQL Server References: <0JG20062Q7DNMEUB@vms046.mailsrvcs.net> Message-ID: <001901c7780e$37b088e0$982b124c@50nm721> ...geez Eric. you could have allowed JC to at least sweat a bit longer :) William Hindman ----- Original Message ----- From: "Eric Barro" To: "'Access Developers discussion and problem solving'" Sent: Friday, April 06, 2007 12:34 AM Subject: Re: [AccessD] Recover SQL Server > Just attach the databases using Query Analyzer or Enterprise Manager. > > EXEC sp_attach_db @dbname = 'pubs', > @filename1 = 'C:\Program Files\Microsoft SQL > Server\MSSQL\Data\pubs.mdf', > @filename2 = 'C:\Program Files\Microsoft SQL > Server\MSSQL\Data\pubs_log.ldf' > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Thursday, April 05, 2007 9:14 PM > To: 'Access Developers discussion and problem solving'; > dba-sqlserver at databaseadvisors.com > Subject: [AccessD] Recover SQL Server > > Is it possible to recover a set of SQL Server databases that were mounted > (active) when my computer died? I have the database files themselves out > on > a data drive, and I have the SQL Server directory and all of its sub > directories out on the same drive, but the system that ran that sql server > is unrecoverable. And of course I do not have a recent backup. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: 4/4/2007 > 1:09 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Fri Apr 6 00:40:20 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 05 Apr 2007 22:40:20 -0700 Subject: [AccessD] Change the focus from Access to an IE window. In-Reply-To: <297990.21670.qm@web33101.mail.mud.yahoo.com> References: <297990.21670.qm@web33101.mail.mud.yahoo.com> Message-ID: <4615DD44.5060907@shaw.ca> Here is how to open IE with various sized windows and toolbars just pass your URL to .Navigate property. It doesn't have to be a URL can be file like pdf or xsl; local or remote Sub testIEvarious() '------------------ ' display various formats Tiffs PDF XLS local or remote 'If you add a reference to "Microsoft Internet Controls" '(SHDOCVW.DLL) you should be able to do: 'Public IE as .... and find "InternetExplorer" in the popup menu. 'So then you have what you wrote, which is early-bound, 'and you can use that as follows: ' Public IE As InternetExplorer ' Set IE = New InternetExplorer Dim objExplorer As Object Dim strReturn As String Set objExplorer = CreateObject("InternetExplorer.Application") 'Set objDocument = objExplorer.Document objExplorer.Navigate "about:blank" objExplorer.Toolbar = False objExplorer.StatusBar = False objExplorer.MenuBar = True objExplorer.FullScreen = False objExplorer.AddressBar = False objExplorer.Width = 800 objExplorer.Height = 570 objExplorer.Left = 0 objExplorer.Top = 0 objExplorer.Visible = 1 'objExplorer.Navigate "http://www.databaseadvisors.com/" 'objExplorer.Navigate "192.168.0.1/st_devic.html" 'objExplorer.navigate "http://checkip.dyndns.org/" objExplorer.Navigate "http://www.adobe.com/prodlist.pdf#page=3" 'objExplorer.navigate "C:\records management\aircanadacasestudy.pdf#page=4" 'objExplorer.Navigate "C:\records management\Copy of rim_guide_sarbanes.xls" 'objExplorer.Navigate "http://www.swimseattle.org/Forms/ScholorshipPolicy2003-2004.pdf" 'objExplorer.Navigate "file://C:\records management\aircanadacasestudy.pdf#page=3" 'objExplorer.navigate "C:\records management\aircanadacasestudy.pdf#page=2" 'objExplorer.Navigate "http://www.adobe.com/products/server/pdfs/customer_FAQ.pdf#page=3&zoom=200,250,100" 'objExplorer.Navigate "C:\Documents and Settings\marty\My Documents\My Pictures\VS.tif" 'objExplorer.Navigate "res://msxml.dll/defaultss.xsl" Do While (objExplorer.Busy) Loop MsgBox "finished" Set objExplorer = Nothing End Sub Lonnie Johnson wrote: >I have URL's in a table. When clicked from a form the website opens. I want to move the focus from Access to the newly opened window. How do I do that? > >May God bless you beyond your imagination! >Lonnie Johnson >ProDev, Professional Development of MS Access Databases >Visit me at ==> http://www.prodev.us > > > -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Fri Apr 6 05:34:20 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 06 Apr 2007 03:34:20 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: Message-ID: <0JG200558NU51JV0@l-daemon> Hi Charlotte: I will comment inline -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL No white papers. We started rolling our own and called in a consulting firm to review the fledgling solution and point out deficiencies. They did admit when they came back for a later review that they'd never seen a Win-based .Net app this large and complex, but we aren't ready (maybe I should say our clients aren't ready) to convert totally to web-based yet. Comment: Sounds very impressive. We're using either SQL 2005 or Access 2000 format BE because some of our clients are on drilling rigs in the middle of the ocean and don't have SQL Server handy. The embedded SQL for the provider adapters is stored in XML files and we read it in using a streamreader and pass it back to the calling data provider routine. The only business logic on the server is in cascading updates and deletes, etc., nothing else except relationships at this point because we still have to handle both SQL Server and Access back ends. The business logic is in its own assembly that's part of the overall solution. Not sure what you mean by a desktop design. Comment: 'Desktop design' is my description of an application that has it core functionality supported at the client end; or win-based or thick client (this could also be describing the actual client?) ...As opposed to thin client application where most of my work seems to be migrating. We create and supply software to the drilling industry--oil, gas, geothermal--so a well is a hole in the ground plus everything associated with that. A wellbore, is the hole itself, which may be the original hole in the ground or a sidetrack drilled as an offshoot of another wellbore. Comment: A very good explanation of your business. I would be interested in how the data tier actually works or maybe just an overview ...without divulging any trade secrets of course... like how the data tier layer abstracts the actual data structures. Is your office using the XML option in .Net datasets, through classes to connect via an OLE (third party?) to the actual tables being either MDB or MS SQL? (Handling XML in MS SQL 2005 is built-in but I was unaware that Access had the same capabilities.) I am not interested in specifics just the concepts... Maybe a bird's-eye view? Charlotte Foust MTIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, April 05, 2007 2:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: You bet... but if I asked all the questions that I want to ask the List would reject that email due to size limitations. Maybe some questions from the bottom or Server end. Is there any white-papers on the design or is this the concept of some in-house guru?... or your-self. Is there any recommended reference material? Can I assume you are using SQL 2005? Is the SQL data stored as XML data or translated on the fly? Is all the business logic stored on the server or is it managed at the FE? Can I assume a desktop design? These are just a few of the broad questions I would like to know further details on... ...and what is a Well record and wellBore record or is this something to do with wells? That is all for now TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 12:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Eeek! How on earth would I do that?? I can explain that we use a data tier that abstracts the actual data structures by building "entity" classes that implement a typeddataset for that data entity and interface classes that define what the data providers will expose for the entity. The entity/typeddataset can address and manipulate a single table or multiple related tables simultaneously. We use an OleDbProvider project that houses the SQL (in XML files) and code classes specific to a related group of tables and their children. The entity classes call into the data provider classes, so the code to do a particular thing (i.e., get the next ID number for a particular table for a particular set of parameters) is in a single location. We build "business rules" into the entity classes that take care of things like returning an exception if a record is being deleted and there are related records that need to be deleted or reassigned. We also use them to cascade changes/deletions/insertions to tables where it can't be done automatically. For instance, when we create a new Well record, the data tier automatically creates and initial wellBore record and doesn't allow the user to delete that wellbore except by deleting the well. Someday, if I ever find the time, I'm going to try modelling this in Access! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Apr 6 07:25:31 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 06 Apr 2007 14:25:31 +0200 Subject: [AccessD] SMS Message-ID: Hi all If you consider sending SMS messages from your app, here is a commercial provider which sports an extensive array of APIs including COM: http://www.clickatell.com/brochure/products/developer_solutions.php Also, the page has links to much relevant info on SMS including the special requirements for sending SMS to US receivers: http://www.clickatell.com/brochure/sms_info.php I have not worked with this, so I cannot provide further advice. /gustav From accessd at shaw.ca Fri Apr 6 07:57:49 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 06 Apr 2007 05:57:49 -0700 Subject: [AccessD] SMS In-Reply-To: Message-ID: <0JG200DM3UH9B6A0@l-daemon> Hi Gustav: This looks very interesting and I will keep this ink as a reference. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 06, 2007 5:26 AM To: accessd at databaseadvisors.com Subject: [AccessD] SMS Hi all If you consider sending SMS messages from your app, here is a commercial provider which sports an extensive array of APIs including COM: http://www.clickatell.com/brochure/products/developer_solutions.php Also, the page has links to much relevant info on SMS including the special requirements for sending SMS to US receivers: http://www.clickatell.com/brochure/sms_info.php I have not worked with this, so I cannot provide further advice. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Apr 6 08:38:20 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 06 Apr 2007 15:38:20 +0200 Subject: [AccessD] Change the focus from Access to an IE window. Message-ID: Hi Lonnie That is how my A2003 and IE7 behave by default. I don't even know how to change that. /gustav >>> prodevmg at yahoo.com 06-04-2007 05:13 >>> I have URL's in a table. When clicked from a form the website opens. I want to move the focus from Access to the newly opened window. How do I do that? From rockysmolin at bchacc.com Fri Apr 6 08:39:22 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 6 Apr 2007 06:39:22 -0700 Subject: [AccessD] FW: ** important ** just - say - no ... Message-ID: <003201c77850$fc4278c0$0201a8c0@HAL9005> Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com _____ From: Joe K Anderson [mailto:ja at alldatacorp.com] Sent: Thursday, April 05, 2007 5:47 PM To: "Undisclosed-Recipient:;"@nethere.net Subject: ** important ** just - say - no ... I know that many of you WILL want to look at naked, nude pix of Brittany Spears ... especially with her shaved head (who knows what else is shaved). HOWEVER ... JUST SAY NO !!!! As you can read below (and elsewhere) ... and may have already heard about ... you will very well end up having a reeeeeeally bad hair day (worse than Brittany) if you get the Zero-Day virus! So ... GET the Microsoft Patch ... in addition to any smoking or other types of patches you may have. JUST do it !!! This affects ALL recent versions of Windows ... 2000, XP ... and the new super-secure Windows Vista !! (right!). Also the Firefox browser ... my favorite! Note: This does not typically come in the form of an email attachment, rather just an email with a 'clickable' like, probably behind a teaser pic of Brittany ... you know ... showing a little skin or whatnot. JUST SAY NO!!! And don't open any frickin' email attachments either unless you know EXACTLY who it has been sleeping with (even then??) ... especially if it's from your Mother!!!! joe Critical Flaw Forces Microsoft to Deliver Patch ASAP Apparently Microsoft discovered a critical flaw in its Animated Cursor files on Windows that allows nefarious people to take remote control over PCs. The exploit is also being used to spread spam via an e-mail that promises viewers naked pictures of "Britiney Speers" in addition to compromising a number of sites in the Asia/Pacific region that are now being used to spread malicious code. For Microsoft, this latest security lapse negates the good will the company earned last month when it released no major security updates, especially when you consider the fact that these attacks are apparently closely linked to similar attacks made during the Super Bowl. But Microsoft shouldn't feel too bad about taking so long to get a fix out because the folks at Firefox are vulnerable to the same type of attacks, while others warn that anything built using AJAX is likely to have its own set of security woes. ***************************************************** -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: 4/4/2007 1:09 PM From listmaster at databaseadvisors.com Fri Apr 6 08:40:34 2007 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Fri, 06 Apr 2007 09:40:34 -0400 Subject: [AccessD] Administrivia - Server Upgrades Message-ID: <46161592.19068.306522A@listmaster.databaseadvisors.com> Hello all, I hope you are all having a good Easter Weekend and that you won't miss the lists too much. I have to do an upgrade on the server, so it will be mostly up, but at some points going down over this weekend. If, at the end of the day, you are having problems, please e-mail me at listmaster at databaseadvisors.com or IF THAT DOES NOT WORK, e-mail me at bryan at carbonnell.ca The main reason for this upgrade is for spam control. We are getting hammered at the server and I need to implement a spam control solution. Again, if you have any problems, contact me at listmaster at databaseadvisors.com or bryan at carbonnell.ca -- Bryan Carbonnell - listmaster at databaseadvisors.com From prodevmg at yahoo.com Fri Apr 6 08:52:34 2007 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Fri, 6 Apr 2007 06:52:34 -0700 (PDT) Subject: [AccessD] Change the focus from Access to an IE window. Message-ID: <337978.6942.qm@web33113.mail.mud.yahoo.com> Yes. The majority of the time it works that way in my app as well. But we are seeing a considerable amount of times that it does not work that way. Especially when the user has more than one IE window open already. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Friday, April 6, 2007 8:38:20 AM Subject: Re: [AccessD] Change the focus from Access to an IE window. Hi Lonnie That is how my A2003 and IE7 behave by default. I don't even know how to change that. /gustav >>> prodevmg at yahoo.com 06-04-2007 05:13 >>> I have URL's in a table. When clicked from a form the website opens. I want to move the focus from Access to the newly opened window. How do I do that? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ____________________________________________________________________________________ Don't get soaked. Take a quick peek at the forecast with the Yahoo! Search weather shortcut. http://tools.search.yahoo.com/shortcuts/#loc_weather From jimdettman at verizon.net Fri Apr 6 08:57:21 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 06 Apr 2007 09:57:21 -0400 Subject: [AccessD] WANs and Access In-Reply-To: <00f801c777a5$1fb233b0$0201a8c0@HAL9005> References: <00f801c777a5$1fb233b0$0201a8c0@HAL9005> Message-ID: <00fb01c77853$7fbf4a50$8abea8c0@XPS> Rocky, <> Access with JET as a db engine is not designed to run over a WAN and sooner or later, you will have corruption. You need to use Citrix or Terminal Services for remote users if your using JET. Alternative is Access with an SQL backend of some type. That you can do over a WAN. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, April 05, 2007 1:09 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WANs and Access Had a prospect ask me how robust my application would be running over a WAN. Broadband connection but 'slow' according to his description. Plus folks dialing in from remote locations but at least 50MBPS. Anyone have any experience with this or know of any limitations with Access in this regard? MTIA, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Apr 6 09:05:09 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 6 Apr 2007 10:05:09 -0400 Subject: [AccessD] Recover SQL Server In-Reply-To: <001901c7780e$37b088e0$982b124c@50nm721> References: <0JG20062Q7DNMEUB@vms046.mailsrvcs.net> <001901c7780e$37b088e0$982b124c@50nm721> Message-ID: <002301c77854$96d843d0$657aa8c0@m6805> Believe me, I have been sweating plenty already. 8>(~) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, April 06, 2007 1:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Recover SQL Server ...geez Eric. you could have allowed JC to at least sweat a bit longer :) William Hindman ----- Original Message ----- From: "Eric Barro" To: "'Access Developers discussion and problem solving'" Sent: Friday, April 06, 2007 12:34 AM Subject: Re: [AccessD] Recover SQL Server > Just attach the databases using Query Analyzer or Enterprise Manager. > > EXEC sp_attach_db @dbname = 'pubs', > @filename1 = 'C:\Program Files\Microsoft SQL > Server\MSSQL\Data\pubs.mdf', > @filename2 = 'C:\Program Files\Microsoft SQL > Server\MSSQL\Data\pubs_log.ldf' > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Thursday, April 05, 2007 9:14 PM > To: 'Access Developers discussion and problem solving'; > dba-sqlserver at databaseadvisors.com > Subject: [AccessD] Recover SQL Server > > Is it possible to recover a set of SQL Server databases that were mounted > (active) when my computer died? I have the database files themselves out > on > a data drive, and I have the SQL Server directory and all of its sub > directories out on the same drive, but the system that ran that sql server > is unrecoverable. And of course I do not have a recent backup. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: 4/4/2007 > 1:09 PM > > > -- > 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 wdhindman at dejpolsystems.com Fri Apr 6 09:40:25 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 6 Apr 2007 10:40:25 -0400 Subject: [AccessD] Recover SQL Server References: <0JG20062Q7DNMEUB@vms046.mailsrvcs.net><001901c7780e$37b088e0$982b124c@50nm721> <002301c77854$96d843d0$657aa8c0@m6805> Message-ID: <001401c77859$847374d0$982b124c@50nm721> ...amazing how often us old horses don't do as we say ...can't count the number of times I've been caught without a backup when I really needed one ...and then resolve to never do that again ...until the next time :) William Hindman ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Friday, April 06, 2007 10:05 AM Subject: Re: [AccessD] Recover SQL Server > Believe me, I have been sweating plenty already. 8>(~) > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Friday, April 06, 2007 1:41 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Recover SQL Server > > ...geez Eric. you could have allowed JC to at least sweat a bit longer :) > > William Hindman > > ----- Original Message ----- > From: "Eric Barro" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, April 06, 2007 12:34 AM > Subject: Re: [AccessD] Recover SQL Server > > >> Just attach the databases using Query Analyzer or Enterprise Manager. >> >> EXEC sp_attach_db @dbname = 'pubs', >> @filename1 = 'C:\Program Files\Microsoft SQL >> Server\MSSQL\Data\pubs.mdf', >> @filename2 = 'C:\Program Files\Microsoft SQL >> Server\MSSQL\Data\pubs_log.ldf' >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >> Sent: Thursday, April 05, 2007 9:14 PM >> To: 'Access Developers discussion and problem solving'; >> dba-sqlserver at databaseadvisors.com >> Subject: [AccessD] Recover SQL Server >> >> Is it possible to recover a set of SQL Server databases that were mounted >> (active) when my computer died? I have the database files themselves out >> on >> a data drive, and I have the SQL Server directory and all of its sub >> directories out on the same drive, but the system that ran that sql >> server >> is unrecoverable. And of course I do not have a recent backup. >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: 4/4/2007 >> 1:09 PM >> >> >> -- >> 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 > From garykjos at gmail.com Fri Apr 6 09:51:50 2007 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 6 Apr 2007 09:51:50 -0500 Subject: [AccessD] Recover SQL Server In-Reply-To: <001401c77859$847374d0$982b124c@50nm721> References: <0JG20062Q7DNMEUB@vms046.mailsrvcs.net> <001901c7780e$37b088e0$982b124c@50nm721> <002301c77854$96d843d0$657aa8c0@m6805> <001401c77859$847374d0$982b124c@50nm721> Message-ID: As I recall his database is HUGE though and he was still looking for a method to back it up. Good luck getting it back online John. So much for that RAID disk technology saving you eh? ;-) Got bit by something else than a drive failure I take it? GK On 4/6/07, William Hindman wrote: > ...amazing how often us old horses don't do as we say ...can't count the > number of times I've been caught without a backup when I really needed one > ...and then resolve to never do that again ...until the next time :) > William Hindman > ----- Original Message ----- > From: "JWColby" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, April 06, 2007 10:05 AM > Subject: Re: [AccessD] Recover SQL Server > > > > Believe me, I have been sweating plenty already. 8>(~) > > > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > > Sent: Friday, April 06, 2007 1:41 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Recover SQL Server > > > > ...geez Eric. you could have allowed JC to at least sweat a bit longer :) > > > > William Hindman > > > > ----- Original Message ----- > > From: "Eric Barro" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Friday, April 06, 2007 12:34 AM > > Subject: Re: [AccessD] Recover SQL Server > > > > > >> Just attach the databases using Query Analyzer or Enterprise Manager. > >> > >> EXEC sp_attach_db @dbname = 'pubs', > >> @filename1 = 'C:\Program Files\Microsoft SQL > >> Server\MSSQL\Data\pubs.mdf', > >> @filename2 = 'C:\Program Files\Microsoft SQL > >> Server\MSSQL\Data\pubs_log.ldf' > >> > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > >> Sent: Thursday, April 05, 2007 9:14 PM > >> To: 'Access Developers discussion and problem solving'; > >> dba-sqlserver at databaseadvisors.com > >> Subject: [AccessD] Recover SQL Server > >> > >> Is it possible to recover a set of SQL Server databases that were mounted > >> (active) when my computer died? I have the database files themselves out > >> on > >> a data drive, and I have the SQL Server directory and all of its sub > >> directories out on the same drive, but the system that ran that sql > >> server > >> is unrecoverable. And of course I do not have a recent backup. > >> > >> John W. Colby > >> Colby Consulting > >> www.ColbyConsulting.com > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > >> -- > >> No virus found in this incoming message. > >> Checked by AVG Free Edition. > >> Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: 4/4/2007 > >> 1:09 PM > >> > >> > >> -- > >> 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 > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From rockysmolin at bchacc.com Fri Apr 6 10:24:49 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 6 Apr 2007 08:24:49 -0700 Subject: [AccessD] WANs and Access In-Reply-To: <0JG100AJ4EIZJ0Y0@l-daemon> Message-ID: <004d01c7785f$b79a7dd0$0201a8c0@HAL9005> I'll forward your name to the client. He's in Canada. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, April 05, 2007 11:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] WANs and Access Hi Rocky: If you need any help with setting up applications running at different locations I could offer some help in that area as I have definitely done enough of that type of work. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, April 05, 2007 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WANs and Access Had a prospect ask me how robust my application would be running over a WAN. Broadband connection but 'slow' according to his description. Plus folks dialing in from remote locations but at least 50MBPS. Anyone have any experience with this or know of any limitations with Access in this regard? MTIA, Rocky -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: 4/4/2007 1:09 PM From cfoust at infostatsystems.com Fri Apr 6 11:04:44 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 6 Apr 2007 09:04:44 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: <0JG200558NU51JV0@l-daemon> References: <0JG200558NU51JV0@l-daemon> Message-ID: Our executable installs on the client at this point in its existence, and our clients are *frequently* thick! We haven't split the business logic off to the server because there isn't always a server. When I mentioned Access, I was talking about the data store, not the front end. Our XML files have nothing to do with Access. FE is VS.Net but the app is designed to work locally (say, on a rig) or with the data store in SQL Server on a server (usually an office installation). The application has to be flexible enough to run either way and to be capable of switching between the two, if need be (they tend to move their licenses around!). Rather than creating different versions of the app for the varying environments, we simply built one that would work across the board. That may change someday, but we're still in the process of migrating our apps and our clients into the new century. LOL A dataset is a disconnected datastore, so it doesn't care where the BE is or what engine it runs in. A _recordset_ is like a query, a flat list of rows, but a dataset represents the separate sets of rows from one or more tables. A TYPED Dataset (as opposed to untyped) is a kind of class and models the details of the data structure in code. You can create them from scratch or using the built in tools to "generate" one. They then become objects in the project that our entity classes wrap, exposing only the programming methods and events we want to make available. Drop an entity on a form, and you have automatically connected the form to the datastore the entity represents, so you can program to its columns, methods, and properties as if it were a recordsource in an Access form. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, April 06, 2007 3:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: I will comment inline -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL No white papers. We started rolling our own and called in a consulting firm to review the fledgling solution and point out deficiencies. They did admit when they came back for a later review that they'd never seen a Win-based .Net app this large and complex, but we aren't ready (maybe I should say our clients aren't ready) to convert totally to web-based yet. Comment: Sounds very impressive. We're using either SQL 2005 or Access 2000 format BE because some of our clients are on drilling rigs in the middle of the ocean and don't have SQL Server handy. The embedded SQL for the provider adapters is stored in XML files and we read it in using a streamreader and pass it back to the calling data provider routine. The only business logic on the server is in cascading updates and deletes, etc., nothing else except relationships at this point because we still have to handle both SQL Server and Access back ends. The business logic is in its own assembly that's part of the overall solution. Not sure what you mean by a desktop design. Comment: 'Desktop design' is my description of an application that has it core functionality supported at the client end; or win-based or thick client (this could also be describing the actual client?) ...As opposed to thin client application where most of my work seems to be migrating. We create and supply software to the drilling industry--oil, gas, geothermal--so a well is a hole in the ground plus everything associated with that. A wellbore, is the hole itself, which may be the original hole in the ground or a sidetrack drilled as an offshoot of another wellbore. Comment: A very good explanation of your business. I would be interested in how the data tier actually works or maybe just an overview ...without divulging any trade secrets of course... like how the data tier layer abstracts the actual data structures. Is your office using the XML option in .Net datasets, through classes to connect via an OLE (third party?) to the actual tables being either MDB or MS SQL? (Handling XML in MS SQL 2005 is built-in but I was unaware that Access had the same capabilities.) I am not interested in specifics just the concepts... Maybe a bird's-eye view? Charlotte Foust MTIA Jim From ebarro at verizon.net Fri Apr 6 11:24:40 2007 From: ebarro at verizon.net (Eric Barro) Date: Fri, 06 Apr 2007 09:24:40 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: Message-ID: <0JG3003QE49CR2A2@vms040.mailsrvcs.net> The concept of a dataset in .NET is that of a database container. The dataset contains datatables. In essence you can copy the whole database structure into memory so that you can minimize roundtrips to the server. Once you have the tables or recordsets in memory your app can process data, apply business rules, etc... And then you can connect back to the database and update the database tables using your updated recordsets or datatables. In web-based apps I've seen code that creates an instance of the dataset using session variables (a pointer to the actual dataset). Anytime the application needs the dataset it just needs to use the session variable that represents the dataset and perform any operations. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 06, 2007 9:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Our executable installs on the client at this point in its existence, and our clients are *frequently* thick! We haven't split the business logic off to the server because there isn't always a server. When I mentioned Access, I was talking about the data store, not the front end. Our XML files have nothing to do with Access. FE is VS.Net but the app is designed to work locally (say, on a rig) or with the data store in SQL Server on a server (usually an office installation). The application has to be flexible enough to run either way and to be capable of switching between the two, if need be (they tend to move their licenses around!). Rather than creating different versions of the app for the varying environments, we simply built one that would work across the board. That may change someday, but we're still in the process of migrating our apps and our clients into the new century. LOL A dataset is a disconnected datastore, so it doesn't care where the BE is or what engine it runs in. A _recordset_ is like a query, a flat list of rows, but a dataset represents the separate sets of rows from one or more tables. A TYPED Dataset (as opposed to untyped) is a kind of class and models the details of the data structure in code. You can create them from scratch or using the built in tools to "generate" one. They then become objects in the project that our entity classes wrap, exposing only the programming methods and events we want to make available. Drop an entity on a form, and you have automatically connected the form to the datastore the entity represents, so you can program to its columns, methods, and properties as if it were a recordsource in an Access form. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, April 06, 2007 3:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: I will comment inline -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL No white papers. We started rolling our own and called in a consulting firm to review the fledgling solution and point out deficiencies. They did admit when they came back for a later review that they'd never seen a Win-based .Net app this large and complex, but we aren't ready (maybe I should say our clients aren't ready) to convert totally to web-based yet. Comment: Sounds very impressive. We're using either SQL 2005 or Access 2000 format BE because some of our clients are on drilling rigs in the middle of the ocean and don't have SQL Server handy. The embedded SQL for the provider adapters is stored in XML files and we read it in using a streamreader and pass it back to the calling data provider routine. The only business logic on the server is in cascading updates and deletes, etc., nothing else except relationships at this point because we still have to handle both SQL Server and Access back ends. The business logic is in its own assembly that's part of the overall solution. Not sure what you mean by a desktop design. Comment: 'Desktop design' is my description of an application that has it core functionality supported at the client end; or win-based or thick client (this could also be describing the actual client?) ...As opposed to thin client application where most of my work seems to be migrating. We create and supply software to the drilling industry--oil, gas, geothermal--so a well is a hole in the ground plus everything associated with that. A wellbore, is the hole itself, which may be the original hole in the ground or a sidetrack drilled as an offshoot of another wellbore. Comment: A very good explanation of your business. I would be interested in how the data tier actually works or maybe just an overview ...without divulging any trade secrets of course... like how the data tier layer abstracts the actual data structures. Is your office using the XML option in .Net datasets, through classes to connect via an OLE (third party?) to the actual tables being either MDB or MS SQL? (Handling XML in MS SQL 2005 is built-in but I was unaware that Access had the same capabilities.) I am not interested in specifics just the concepts... Maybe a bird's-eye view? Charlotte Foust MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.26/748 - Release Date: 4/5/2007 3:33 PM From jimdettman at verizon.net Fri Apr 6 12:00:43 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 06 Apr 2007 13:00:43 -0400 Subject: [AccessD] New database design for MS SQL In-Reply-To: References: <0JG200558NU51JV0@l-daemon> Message-ID: <001201c7786d$21be8190$8abea8c0@XPS> Charlotte, This is a lot like what I work with in VFP and a framework called VMP. The Framework lets you create fully 3-tier apps breaking out the Business Rules and Data Services classes into a Business Object. The BO can be compiled separately into a COM object, so I can write a presentation tier in just about anything (Access, VFP, VB, etc). The Data Services like you describe below hides the BE data store and provides cascaded updates/deletes, constraints, etc. I'm about to undertake a major development project and am going back and forth between doing this in VFP/VMP as a full 3-tier app or sticking with the tried and true Access approach (it would be my first full 3-tier app with VFP/VMP). I've got to talk to the client a few more times to get a sense of what direction they'll be heading in the future, but I'm leaning towards VFP at the moment. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 06, 2007 12:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Our executable installs on the client at this point in its existence, and our clients are *frequently* thick! We haven't split the business logic off to the server because there isn't always a server. When I mentioned Access, I was talking about the data store, not the front end. Our XML files have nothing to do with Access. FE is VS.Net but the app is designed to work locally (say, on a rig) or with the data store in SQL Server on a server (usually an office installation). The application has to be flexible enough to run either way and to be capable of switching between the two, if need be (they tend to move their licenses around!). Rather than creating different versions of the app for the varying environments, we simply built one that would work across the board. That may change someday, but we're still in the process of migrating our apps and our clients into the new century. LOL A dataset is a disconnected datastore, so it doesn't care where the BE is or what engine it runs in. A _recordset_ is like a query, a flat list of rows, but a dataset represents the separate sets of rows from one or more tables. A TYPED Dataset (as opposed to untyped) is a kind of class and models the details of the data structure in code. You can create them from scratch or using the built in tools to "generate" one. They then become objects in the project that our entity classes wrap, exposing only the programming methods and events we want to make available. Drop an entity on a form, and you have automatically connected the form to the datastore the entity represents, so you can program to its columns, methods, and properties as if it were a recordsource in an Access form. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, April 06, 2007 3:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: I will comment inline -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL No white papers. We started rolling our own and called in a consulting firm to review the fledgling solution and point out deficiencies. They did admit when they came back for a later review that they'd never seen a Win-based .Net app this large and complex, but we aren't ready (maybe I should say our clients aren't ready) to convert totally to web-based yet. Comment: Sounds very impressive. We're using either SQL 2005 or Access 2000 format BE because some of our clients are on drilling rigs in the middle of the ocean and don't have SQL Server handy. The embedded SQL for the provider adapters is stored in XML files and we read it in using a streamreader and pass it back to the calling data provider routine. The only business logic on the server is in cascading updates and deletes, etc., nothing else except relationships at this point because we still have to handle both SQL Server and Access back ends. The business logic is in its own assembly that's part of the overall solution. Not sure what you mean by a desktop design. Comment: 'Desktop design' is my description of an application that has it core functionality supported at the client end; or win-based or thick client (this could also be describing the actual client?) ...As opposed to thin client application where most of my work seems to be migrating. We create and supply software to the drilling industry--oil, gas, geothermal--so a well is a hole in the ground plus everything associated with that. A wellbore, is the hole itself, which may be the original hole in the ground or a sidetrack drilled as an offshoot of another wellbore. Comment: A very good explanation of your business. I would be interested in how the data tier actually works or maybe just an overview ...without divulging any trade secrets of course... like how the data tier layer abstracts the actual data structures. Is your office using the XML option in .Net datasets, through classes to connect via an OLE (third party?) to the actual tables being either MDB or MS SQL? (Handling XML in MS SQL 2005 is built-in but I was unaware that Access had the same capabilities.) I am not interested in specifics just the concepts... Maybe a bird's-eye view? Charlotte Foust MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Apr 6 12:10:54 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 6 Apr 2007 10:10:54 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: <001201c7786d$21be8190$8abea8c0@XPS> References: <0JG200558NU51JV0@l-daemon> <001201c7786d$21be8190$8abea8c0@XPS> Message-ID: I don't know VFP, but I'd say go with the full 3-tier approach. It offers so much more flexibility than our beloved Access can right now. Since Access itself is moving toward being a front end, the next versions may see it gain a lot of those capabilities, but for now they aren't there. The .Net framework hasn't yet found its way into Access. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, April 06, 2007 10:01 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Charlotte, This is a lot like what I work with in VFP and a framework called VMP. The Framework lets you create fully 3-tier apps breaking out the Business Rules and Data Services classes into a Business Object. The BO can be compiled separately into a COM object, so I can write a presentation tier in just about anything (Access, VFP, VB, etc). The Data Services like you describe below hides the BE data store and provides cascaded updates/deletes, constraints, etc. I'm about to undertake a major development project and am going back and forth between doing this in VFP/VMP as a full 3-tier app or sticking with the tried and true Access approach (it would be my first full 3-tier app with VFP/VMP). I've got to talk to the client a few more times to get a sense of what direction they'll be heading in the future, but I'm leaning towards VFP at the moment. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 06, 2007 12:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Our executable installs on the client at this point in its existence, and our clients are *frequently* thick! We haven't split the business logic off to the server because there isn't always a server. When I mentioned Access, I was talking about the data store, not the front end. Our XML files have nothing to do with Access. FE is VS.Net but the app is designed to work locally (say, on a rig) or with the data store in SQL Server on a server (usually an office installation). The application has to be flexible enough to run either way and to be capable of switching between the two, if need be (they tend to move their licenses around!). Rather than creating different versions of the app for the varying environments, we simply built one that would work across the board. That may change someday, but we're still in the process of migrating our apps and our clients into the new century. LOL A dataset is a disconnected datastore, so it doesn't care where the BE is or what engine it runs in. A _recordset_ is like a query, a flat list of rows, but a dataset represents the separate sets of rows from one or more tables. A TYPED Dataset (as opposed to untyped) is a kind of class and models the details of the data structure in code. You can create them from scratch or using the built in tools to "generate" one. They then become objects in the project that our entity classes wrap, exposing only the programming methods and events we want to make available. Drop an entity on a form, and you have automatically connected the form to the datastore the entity represents, so you can program to its columns, methods, and properties as if it were a recordsource in an Access form. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, April 06, 2007 3:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: I will comment inline -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL No white papers. We started rolling our own and called in a consulting firm to review the fledgling solution and point out deficiencies. They did admit when they came back for a later review that they'd never seen a Win-based .Net app this large and complex, but we aren't ready (maybe I should say our clients aren't ready) to convert totally to web-based yet. Comment: Sounds very impressive. We're using either SQL 2005 or Access 2000 format BE because some of our clients are on drilling rigs in the middle of the ocean and don't have SQL Server handy. The embedded SQL for the provider adapters is stored in XML files and we read it in using a streamreader and pass it back to the calling data provider routine. The only business logic on the server is in cascading updates and deletes, etc., nothing else except relationships at this point because we still have to handle both SQL Server and Access back ends. The business logic is in its own assembly that's part of the overall solution. Not sure what you mean by a desktop design. Comment: 'Desktop design' is my description of an application that has it core functionality supported at the client end; or win-based or thick client (this could also be describing the actual client?) ...As opposed to thin client application where most of my work seems to be migrating. We create and supply software to the drilling industry--oil, gas, geothermal--so a well is a hole in the ground plus everything associated with that. A wellbore, is the hole itself, which may be the original hole in the ground or a sidetrack drilled as an offshoot of another wellbore. Comment: A very good explanation of your business. I would be interested in how the data tier actually works or maybe just an overview ...without divulging any trade secrets of course... like how the data tier layer abstracts the actual data structures. Is your office using the XML option in .Net datasets, through classes to connect via an OLE (third party?) to the actual tables being either MDB or MS SQL? (Handling XML in MS SQL 2005 is built-in but I was unaware that Access had the same capabilities.) I am not interested in specifics just the concepts... Maybe a bird's-eye view? Charlotte Foust MTIA Jim -- 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 mwp.reid at qub.ac.uk Fri Apr 6 13:12:51 2007 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 6 Apr 2007 19:12:51 +0100 Subject: [AccessD] New database design for MS SQL References: <0JG200558NU51JV0@l-daemon><001201c7786d$21be8190$8abea8c0@XPS> Message-ID: www.asp.net Covers a lot of this with some good video tutorials I used this as a reference site in my book Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Charlotte Foust Sent: Fri 06/04/2007 18:10 To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL I don't know VFP, but I'd say go with the full 3-tier approach. It offers so much more flexibility than our beloved Access can right now. Since Access itself is moving toward being a front end, the next versions may see it gain a lot of those capabilities, but for now they aren't there. The .Net framework hasn't yet found its way into Access. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, April 06, 2007 10:01 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Charlotte, This is a lot like what I work with in VFP and a framework called VMP. The Framework lets you create fully 3-tier apps breaking out the Business Rules and Data Services classes into a Business Object. The BO can be compiled separately into a COM object, so I can write a presentation tier in just about anything (Access, VFP, VB, etc). The Data Services like you describe below hides the BE data store and provides cascaded updates/deletes, constraints, etc. I'm about to undertake a major development project and am going back and forth between doing this in VFP/VMP as a full 3-tier app or sticking with the tried and true Access approach (it would be my first full 3-tier app with VFP/VMP). I've got to talk to the client a few more times to get a sense of what direction they'll be heading in the future, but I'm leaning towards VFP at the moment. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 06, 2007 12:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Our executable installs on the client at this point in its existence, and our clients are *frequently* thick! We haven't split the business logic off to the server because there isn't always a server. When I mentioned Access, I was talking about the data store, not the front end. Our XML files have nothing to do with Access. FE is VS.Net but the app is designed to work locally (say, on a rig) or with the data store in SQL Server on a server (usually an office installation). The application has to be flexible enough to run either way and to be capable of switching between the two, if need be (they tend to move their licenses around!). Rather than creating different versions of the app for the varying environments, we simply built one that would work across the board. That may change someday, but we're still in the process of migrating our apps and our clients into the new century. LOL A dataset is a disconnected datastore, so it doesn't care where the BE is or what engine it runs in. A _recordset_ is like a query, a flat list of rows, but a dataset represents the separate sets of rows from one or more tables. A TYPED Dataset (as opposed to untyped) is a kind of class and models the details of the data structure in code. You can create them from scratch or using the built in tools to "generate" one. They then become objects in the project that our entity classes wrap, exposing only the programming methods and events we want to make available. Drop an entity on a form, and you have automatically connected the form to the datastore the entity represents, so you can program to its columns, methods, and properties as if it were a recordsource in an Access form. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, April 06, 2007 3:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: I will comment inline -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL No white papers. We started rolling our own and called in a consulting firm to review the fledgling solution and point out deficiencies. They did admit when they came back for a later review that they'd never seen a Win-based .Net app this large and complex, but we aren't ready (maybe I should say our clients aren't ready) to convert totally to web-based yet. Comment: Sounds very impressive. We're using either SQL 2005 or Access 2000 format BE because some of our clients are on drilling rigs in the middle of the ocean and don't have SQL Server handy. The embedded SQL for the provider adapters is stored in XML files and we read it in using a streamreader and pass it back to the calling data provider routine. The only business logic on the server is in cascading updates and deletes, etc., nothing else except relationships at this point because we still have to handle both SQL Server and Access back ends. The business logic is in its own assembly that's part of the overall solution. Not sure what you mean by a desktop design. Comment: 'Desktop design' is my description of an application that has it core functionality supported at the client end; or win-based or thick client (this could also be describing the actual client?) ...As opposed to thin client application where most of my work seems to be migrating. We create and supply software to the drilling industry--oil, gas, geothermal--so a well is a hole in the ground plus everything associated with that. A wellbore, is the hole itself, which may be the original hole in the ground or a sidetrack drilled as an offshoot of another wellbore. Comment: A very good explanation of your business. I would be interested in how the data tier actually works or maybe just an overview ...without divulging any trade secrets of course... like how the data tier layer abstracts the actual data structures. Is your office using the XML option in .Net datasets, through classes to connect via an OLE (third party?) to the actual tables being either MDB or MS SQL? (Handling XML in MS SQL 2005 is built-in but I was unaware that Access had the same capabilities.) I am not interested in specifics just the concepts... Maybe a bird's-eye view? Charlotte Foust MTIA Jim -- 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 From dwaters at usinternet.com Fri Apr 6 13:52:24 2007 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 6 Apr 2007 13:52:24 -0500 Subject: [AccessD] New database design for MS SQL In-Reply-To: <001201c7786d$21be8190$8abea8c0@XPS> References: <0JG200558NU51JV0@l-daemon> <001201c7786d$21be8190$8abea8c0@XPS> Message-ID: <002601c7787c$b7fbaa70$0200a8c0@danwaters> Jim, This is an article about Microsoft slowly letting go of VFP. It may become open-source to some extent. http://adtmag.com/article.aspx?id=20382 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, April 06, 2007 12:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Charlotte, This is a lot like what I work with in VFP and a framework called VMP. The Framework lets you create fully 3-tier apps breaking out the Business Rules and Data Services classes into a Business Object. The BO can be compiled separately into a COM object, so I can write a presentation tier in just about anything (Access, VFP, VB, etc). The Data Services like you describe below hides the BE data store and provides cascaded updates/deletes, constraints, etc. I'm about to undertake a major development project and am going back and forth between doing this in VFP/VMP as a full 3-tier app or sticking with the tried and true Access approach (it would be my first full 3-tier app with VFP/VMP). I've got to talk to the client a few more times to get a sense of what direction they'll be heading in the future, but I'm leaning towards VFP at the moment. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 06, 2007 12:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Our executable installs on the client at this point in its existence, and our clients are *frequently* thick! We haven't split the business logic off to the server because there isn't always a server. When I mentioned Access, I was talking about the data store, not the front end. Our XML files have nothing to do with Access. FE is VS.Net but the app is designed to work locally (say, on a rig) or with the data store in SQL Server on a server (usually an office installation). The application has to be flexible enough to run either way and to be capable of switching between the two, if need be (they tend to move their licenses around!). Rather than creating different versions of the app for the varying environments, we simply built one that would work across the board. That may change someday, but we're still in the process of migrating our apps and our clients into the new century. LOL A dataset is a disconnected datastore, so it doesn't care where the BE is or what engine it runs in. A _recordset_ is like a query, a flat list of rows, but a dataset represents the separate sets of rows from one or more tables. A TYPED Dataset (as opposed to untyped) is a kind of class and models the details of the data structure in code. You can create them from scratch or using the built in tools to "generate" one. They then become objects in the project that our entity classes wrap, exposing only the programming methods and events we want to make available. Drop an entity on a form, and you have automatically connected the form to the datastore the entity represents, so you can program to its columns, methods, and properties as if it were a recordsource in an Access form. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, April 06, 2007 3:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: I will comment inline -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL No white papers. We started rolling our own and called in a consulting firm to review the fledgling solution and point out deficiencies. They did admit when they came back for a later review that they'd never seen a Win-based .Net app this large and complex, but we aren't ready (maybe I should say our clients aren't ready) to convert totally to web-based yet. Comment: Sounds very impressive. We're using either SQL 2005 or Access 2000 format BE because some of our clients are on drilling rigs in the middle of the ocean and don't have SQL Server handy. The embedded SQL for the provider adapters is stored in XML files and we read it in using a streamreader and pass it back to the calling data provider routine. The only business logic on the server is in cascading updates and deletes, etc., nothing else except relationships at this point because we still have to handle both SQL Server and Access back ends. The business logic is in its own assembly that's part of the overall solution. Not sure what you mean by a desktop design. Comment: 'Desktop design' is my description of an application that has it core functionality supported at the client end; or win-based or thick client (this could also be describing the actual client?) ...As opposed to thin client application where most of my work seems to be migrating. We create and supply software to the drilling industry--oil, gas, geothermal--so a well is a hole in the ground plus everything associated with that. A wellbore, is the hole itself, which may be the original hole in the ground or a sidetrack drilled as an offshoot of another wellbore. Comment: A very good explanation of your business. I would be interested in how the data tier actually works or maybe just an overview ...without divulging any trade secrets of course... like how the data tier layer abstracts the actual data structures. Is your office using the XML option in .Net datasets, through classes to connect via an OLE (third party?) to the actual tables being either MDB or MS SQL? (Handling XML in MS SQL 2005 is built-in but I was unaware that Access had the same capabilities.) I am not interested in specifics just the concepts... Maybe a bird's-eye view? Charlotte Foust MTIA Jim -- 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 jimdettman at verizon.net Fri Apr 6 14:51:21 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 06 Apr 2007 15:51:21 -0400 Subject: [AccessD] New database design for MS SQL In-Reply-To: <002601c7787c$b7fbaa70$0200a8c0@danwaters> References: <0JG200558NU51JV0@l-daemon> <001201c7786d$21be8190$8abea8c0@XPS> <002601c7787c$b7fbaa70$0200a8c0@danwaters> Message-ID: <006a01c77884$f3f849e0$8abea8c0@XPS> Dan, Yes, Microsoft has announced that there will be no new versions of VFP. Standard support dies in 2010 and Extended support in 2015. The language however is mature and stable enough that I have no qualms about writing a new app with it. I use another language to this day called NPL, which started out as Wang Basic. I'm still supporting some of my clients on code that I wrote back in the 80's. The language has been "dead" for ten years or more, but the code still does what they want it to and is still running. So the timeframe for support and the fact that VFP is now officially dead doesn't bother me. Look how many of us still use DAO. I'm giving it serious consideration because it brings a lot to the table that I simply can't do with Access. But so far, I've also found that it takes longer to develop an app as well (probably me; hard to teach an old dog new tricks). BTW, The open source initiative is not for VFP itself (which many articles have claimed), but for the Senda add-on, which Microsoft will be releasing shortly. It allows VFP to integrate with .Net and SQL Server 2005 to a greater extent. But it already has all the features I need to develop a solid app and I'm not counting on any of it. About the only thing that might be nice is the OO menuing add-on. It's the only part of VFP that's not OO. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, April 06, 2007 2:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Jim, This is an article about Microsoft slowly letting go of VFP. It may become open-source to some extent. http://adtmag.com/article.aspx?id=20382 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, April 06, 2007 12:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Charlotte, This is a lot like what I work with in VFP and a framework called VMP. The Framework lets you create fully 3-tier apps breaking out the Business Rules and Data Services classes into a Business Object. The BO can be compiled separately into a COM object, so I can write a presentation tier in just about anything (Access, VFP, VB, etc). The Data Services like you describe below hides the BE data store and provides cascaded updates/deletes, constraints, etc. I'm about to undertake a major development project and am going back and forth between doing this in VFP/VMP as a full 3-tier app or sticking with the tried and true Access approach (it would be my first full 3-tier app with VFP/VMP). I've got to talk to the client a few more times to get a sense of what direction they'll be heading in the future, but I'm leaning towards VFP at the moment. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 06, 2007 12:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Our executable installs on the client at this point in its existence, and our clients are *frequently* thick! We haven't split the business logic off to the server because there isn't always a server. When I mentioned Access, I was talking about the data store, not the front end. Our XML files have nothing to do with Access. FE is VS.Net but the app is designed to work locally (say, on a rig) or with the data store in SQL Server on a server (usually an office installation). The application has to be flexible enough to run either way and to be capable of switching between the two, if need be (they tend to move their licenses around!). Rather than creating different versions of the app for the varying environments, we simply built one that would work across the board. That may change someday, but we're still in the process of migrating our apps and our clients into the new century. LOL A dataset is a disconnected datastore, so it doesn't care where the BE is or what engine it runs in. A _recordset_ is like a query, a flat list of rows, but a dataset represents the separate sets of rows from one or more tables. A TYPED Dataset (as opposed to untyped) is a kind of class and models the details of the data structure in code. You can create them from scratch or using the built in tools to "generate" one. They then become objects in the project that our entity classes wrap, exposing only the programming methods and events we want to make available. Drop an entity on a form, and you have automatically connected the form to the datastore the entity represents, so you can program to its columns, methods, and properties as if it were a recordsource in an Access form. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, April 06, 2007 3:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: I will comment inline -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL No white papers. We started rolling our own and called in a consulting firm to review the fledgling solution and point out deficiencies. They did admit when they came back for a later review that they'd never seen a Win-based .Net app this large and complex, but we aren't ready (maybe I should say our clients aren't ready) to convert totally to web-based yet. Comment: Sounds very impressive. We're using either SQL 2005 or Access 2000 format BE because some of our clients are on drilling rigs in the middle of the ocean and don't have SQL Server handy. The embedded SQL for the provider adapters is stored in XML files and we read it in using a streamreader and pass it back to the calling data provider routine. The only business logic on the server is in cascading updates and deletes, etc., nothing else except relationships at this point because we still have to handle both SQL Server and Access back ends. The business logic is in its own assembly that's part of the overall solution. Not sure what you mean by a desktop design. Comment: 'Desktop design' is my description of an application that has it core functionality supported at the client end; or win-based or thick client (this could also be describing the actual client?) ...As opposed to thin client application where most of my work seems to be migrating. We create and supply software to the drilling industry--oil, gas, geothermal--so a well is a hole in the ground plus everything associated with that. A wellbore, is the hole itself, which may be the original hole in the ground or a sidetrack drilled as an offshoot of another wellbore. Comment: A very good explanation of your business. I would be interested in how the data tier actually works or maybe just an overview ...without divulging any trade secrets of course... like how the data tier layer abstracts the actual data structures. Is your office using the XML option in .Net datasets, through classes to connect via an OLE (third party?) to the actual tables being either MDB or MS SQL? (Handling XML in MS SQL 2005 is built-in but I was unaware that Access had the same capabilities.) I am not interested in specifics just the concepts... Maybe a bird's-eye view? Charlotte Foust MTIA Jim -- 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 From jimdettman at verizon.net Fri Apr 6 14:51:21 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 06 Apr 2007 15:51:21 -0400 Subject: [AccessD] New database design for MS SQL In-Reply-To: References: <0JG200558NU51JV0@l-daemon> <001201c7786d$21be8190$8abea8c0@XPS> Message-ID: <006b01c77884$f4df7590$8abea8c0@XPS> Charlotte, << It offers so much more flexibility than our beloved Access can right now.>> That's what I've been thinking. I am worried that they are going to want a web interface for their nurses that are remote and possibly at some point give Doctors and Attorneys access to the system. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 06, 2007 1:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL I don't know VFP, but I'd say go with the full 3-tier approach. It offers so much more flexibility than our beloved Access can right now. Since Access itself is moving toward being a front end, the next versions may see it gain a lot of those capabilities, but for now they aren't there. The .Net framework hasn't yet found its way into Access. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, April 06, 2007 10:01 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Charlotte, This is a lot like what I work with in VFP and a framework called VMP. The Framework lets you create fully 3-tier apps breaking out the Business Rules and Data Services classes into a Business Object. The BO can be compiled separately into a COM object, so I can write a presentation tier in just about anything (Access, VFP, VB, etc). The Data Services like you describe below hides the BE data store and provides cascaded updates/deletes, constraints, etc. I'm about to undertake a major development project and am going back and forth between doing this in VFP/VMP as a full 3-tier app or sticking with the tried and true Access approach (it would be my first full 3-tier app with VFP/VMP). I've got to talk to the client a few more times to get a sense of what direction they'll be heading in the future, but I'm leaning towards VFP at the moment. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 06, 2007 12:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Our executable installs on the client at this point in its existence, and our clients are *frequently* thick! We haven't split the business logic off to the server because there isn't always a server. When I mentioned Access, I was talking about the data store, not the front end. Our XML files have nothing to do with Access. FE is VS.Net but the app is designed to work locally (say, on a rig) or with the data store in SQL Server on a server (usually an office installation). The application has to be flexible enough to run either way and to be capable of switching between the two, if need be (they tend to move their licenses around!). Rather than creating different versions of the app for the varying environments, we simply built one that would work across the board. That may change someday, but we're still in the process of migrating our apps and our clients into the new century. LOL A dataset is a disconnected datastore, so it doesn't care where the BE is or what engine it runs in. A _recordset_ is like a query, a flat list of rows, but a dataset represents the separate sets of rows from one or more tables. A TYPED Dataset (as opposed to untyped) is a kind of class and models the details of the data structure in code. You can create them from scratch or using the built in tools to "generate" one. They then become objects in the project that our entity classes wrap, exposing only the programming methods and events we want to make available. Drop an entity on a form, and you have automatically connected the form to the datastore the entity represents, so you can program to its columns, methods, and properties as if it were a recordsource in an Access form. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, April 06, 2007 3:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: I will comment inline -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL No white papers. We started rolling our own and called in a consulting firm to review the fledgling solution and point out deficiencies. They did admit when they came back for a later review that they'd never seen a Win-based .Net app this large and complex, but we aren't ready (maybe I should say our clients aren't ready) to convert totally to web-based yet. Comment: Sounds very impressive. We're using either SQL 2005 or Access 2000 format BE because some of our clients are on drilling rigs in the middle of the ocean and don't have SQL Server handy. The embedded SQL for the provider adapters is stored in XML files and we read it in using a streamreader and pass it back to the calling data provider routine. The only business logic on the server is in cascading updates and deletes, etc., nothing else except relationships at this point because we still have to handle both SQL Server and Access back ends. The business logic is in its own assembly that's part of the overall solution. Not sure what you mean by a desktop design. Comment: 'Desktop design' is my description of an application that has it core functionality supported at the client end; or win-based or thick client (this could also be describing the actual client?) ...As opposed to thin client application where most of my work seems to be migrating. We create and supply software to the drilling industry--oil, gas, geothermal--so a well is a hole in the ground plus everything associated with that. A wellbore, is the hole itself, which may be the original hole in the ground or a sidetrack drilled as an offshoot of another wellbore. Comment: A very good explanation of your business. I would be interested in how the data tier actually works or maybe just an overview ...without divulging any trade secrets of course... like how the data tier layer abstracts the actual data structures. Is your office using the XML option in .Net datasets, through classes to connect via an OLE (third party?) to the actual tables being either MDB or MS SQL? (Handling XML in MS SQL 2005 is built-in but I was unaware that Access had the same capabilities.) I am not interested in specifics just the concepts... Maybe a bird's-eye view? Charlotte Foust MTIA Jim -- 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 From jimdettman at verizon.net Fri Apr 6 14:55:21 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 06 Apr 2007 15:55:21 -0400 Subject: [AccessD] New database design for MS SQL In-Reply-To: References: <0JG200558NU51JV0@l-daemon><001201c7786d$21be8190$8abea8c0@XPS> Message-ID: <000601c77885$86005260$8abea8c0@XPS> Thanks for the link as this is a direction I want to start heading in... Here's a link I just picked up the other day on ASP development. Seems to be pretty good from what I've read so far. Starts of really sl o w....which is good for me Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, April 06, 2007 2:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL www.asp.net Covers a lot of this with some good video tutorials I used this as a reference site in my book Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Charlotte Foust Sent: Fri 06/04/2007 18:10 To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL I don't know VFP, but I'd say go with the full 3-tier approach. It offers so much more flexibility than our beloved Access can right now. Since Access itself is moving toward being a front end, the next versions may see it gain a lot of those capabilities, but for now they aren't there. The .Net framework hasn't yet found its way into Access. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, April 06, 2007 10:01 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Charlotte, This is a lot like what I work with in VFP and a framework called VMP. The Framework lets you create fully 3-tier apps breaking out the Business Rules and Data Services classes into a Business Object. The BO can be compiled separately into a COM object, so I can write a presentation tier in just about anything (Access, VFP, VB, etc). The Data Services like you describe below hides the BE data store and provides cascaded updates/deletes, constraints, etc. I'm about to undertake a major development project and am going back and forth between doing this in VFP/VMP as a full 3-tier app or sticking with the tried and true Access approach (it would be my first full 3-tier app with VFP/VMP). I've got to talk to the client a few more times to get a sense of what direction they'll be heading in the future, but I'm leaning towards VFP at the moment. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 06, 2007 12:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Our executable installs on the client at this point in its existence, and our clients are *frequently* thick! We haven't split the business logic off to the server because there isn't always a server. When I mentioned Access, I was talking about the data store, not the front end. Our XML files have nothing to do with Access. FE is VS.Net but the app is designed to work locally (say, on a rig) or with the data store in SQL Server on a server (usually an office installation). The application has to be flexible enough to run either way and to be capable of switching between the two, if need be (they tend to move their licenses around!). Rather than creating different versions of the app for the varying environments, we simply built one that would work across the board. That may change someday, but we're still in the process of migrating our apps and our clients into the new century. LOL A dataset is a disconnected datastore, so it doesn't care where the BE is or what engine it runs in. A _recordset_ is like a query, a flat list of rows, but a dataset represents the separate sets of rows from one or more tables. A TYPED Dataset (as opposed to untyped) is a kind of class and models the details of the data structure in code. You can create them from scratch or using the built in tools to "generate" one. They then become objects in the project that our entity classes wrap, exposing only the programming methods and events we want to make available. Drop an entity on a form, and you have automatically connected the form to the datastore the entity represents, so you can program to its columns, methods, and properties as if it were a recordsource in an Access form. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, April 06, 2007 3:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: I will comment inline -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL No white papers. We started rolling our own and called in a consulting firm to review the fledgling solution and point out deficiencies. They did admit when they came back for a later review that they'd never seen a Win-based .Net app this large and complex, but we aren't ready (maybe I should say our clients aren't ready) to convert totally to web-based yet. Comment: Sounds very impressive. We're using either SQL 2005 or Access 2000 format BE because some of our clients are on drilling rigs in the middle of the ocean and don't have SQL Server handy. The embedded SQL for the provider adapters is stored in XML files and we read it in using a streamreader and pass it back to the calling data provider routine. The only business logic on the server is in cascading updates and deletes, etc., nothing else except relationships at this point because we still have to handle both SQL Server and Access back ends. The business logic is in its own assembly that's part of the overall solution. Not sure what you mean by a desktop design. Comment: 'Desktop design' is my description of an application that has it core functionality supported at the client end; or win-based or thick client (this could also be describing the actual client?) ...As opposed to thin client application where most of my work seems to be migrating. We create and supply software to the drilling industry--oil, gas, geothermal--so a well is a hole in the ground plus everything associated with that. A wellbore, is the hole itself, which may be the original hole in the ground or a sidetrack drilled as an offshoot of another wellbore. Comment: A very good explanation of your business. I would be interested in how the data tier actually works or maybe just an overview ...without divulging any trade secrets of course... like how the data tier layer abstracts the actual data structures. Is your office using the XML option in .Net datasets, through classes to connect via an OLE (third party?) to the actual tables being either MDB or MS SQL? (Handling XML in MS SQL 2005 is built-in but I was unaware that Access had the same capabilities.) I am not interested in specifics just the concepts... Maybe a bird's-eye view? Charlotte Foust MTIA Jim -- 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 From jimdettman at verizon.net Fri Apr 6 15:08:30 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 06 Apr 2007 16:08:30 -0400 Subject: [AccessD] New database design for MS SQL In-Reply-To: References: <0JG200558NU51JV0@l-daemon><001201c7786d$21be8190$8abea8c0@XPS> Message-ID: <001001c77887$58eddc50$8abea8c0@XPS> Let's try that again... http://www.webwizguide.com/asp/tutorials/default.asp Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, April 06, 2007 2:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL www.asp.net Covers a lot of this with some good video tutorials I used this as a reference site in my book Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Charlotte Foust Sent: Fri 06/04/2007 18:10 To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL I don't know VFP, but I'd say go with the full 3-tier approach. It offers so much more flexibility than our beloved Access can right now. Since Access itself is moving toward being a front end, the next versions may see it gain a lot of those capabilities, but for now they aren't there. The .Net framework hasn't yet found its way into Access. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, April 06, 2007 10:01 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Charlotte, This is a lot like what I work with in VFP and a framework called VMP. The Framework lets you create fully 3-tier apps breaking out the Business Rules and Data Services classes into a Business Object. The BO can be compiled separately into a COM object, so I can write a presentation tier in just about anything (Access, VFP, VB, etc). The Data Services like you describe below hides the BE data store and provides cascaded updates/deletes, constraints, etc. I'm about to undertake a major development project and am going back and forth between doing this in VFP/VMP as a full 3-tier app or sticking with the tried and true Access approach (it would be my first full 3-tier app with VFP/VMP). I've got to talk to the client a few more times to get a sense of what direction they'll be heading in the future, but I'm leaning towards VFP at the moment. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 06, 2007 12:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Our executable installs on the client at this point in its existence, and our clients are *frequently* thick! We haven't split the business logic off to the server because there isn't always a server. When I mentioned Access, I was talking about the data store, not the front end. Our XML files have nothing to do with Access. FE is VS.Net but the app is designed to work locally (say, on a rig) or with the data store in SQL Server on a server (usually an office installation). The application has to be flexible enough to run either way and to be capable of switching between the two, if need be (they tend to move their licenses around!). Rather than creating different versions of the app for the varying environments, we simply built one that would work across the board. That may change someday, but we're still in the process of migrating our apps and our clients into the new century. LOL A dataset is a disconnected datastore, so it doesn't care where the BE is or what engine it runs in. A _recordset_ is like a query, a flat list of rows, but a dataset represents the separate sets of rows from one or more tables. A TYPED Dataset (as opposed to untyped) is a kind of class and models the details of the data structure in code. You can create them from scratch or using the built in tools to "generate" one. They then become objects in the project that our entity classes wrap, exposing only the programming methods and events we want to make available. Drop an entity on a form, and you have automatically connected the form to the datastore the entity represents, so you can program to its columns, methods, and properties as if it were a recordsource in an Access form. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, April 06, 2007 3:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: I will comment inline -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL No white papers. We started rolling our own and called in a consulting firm to review the fledgling solution and point out deficiencies. They did admit when they came back for a later review that they'd never seen a Win-based .Net app this large and complex, but we aren't ready (maybe I should say our clients aren't ready) to convert totally to web-based yet. Comment: Sounds very impressive. We're using either SQL 2005 or Access 2000 format BE because some of our clients are on drilling rigs in the middle of the ocean and don't have SQL Server handy. The embedded SQL for the provider adapters is stored in XML files and we read it in using a streamreader and pass it back to the calling data provider routine. The only business logic on the server is in cascading updates and deletes, etc., nothing else except relationships at this point because we still have to handle both SQL Server and Access back ends. The business logic is in its own assembly that's part of the overall solution. Not sure what you mean by a desktop design. Comment: 'Desktop design' is my description of an application that has it core functionality supported at the client end; or win-based or thick client (this could also be describing the actual client?) ...As opposed to thin client application where most of my work seems to be migrating. We create and supply software to the drilling industry--oil, gas, geothermal--so a well is a hole in the ground plus everything associated with that. A wellbore, is the hole itself, which may be the original hole in the ground or a sidetrack drilled as an offshoot of another wellbore. Comment: A very good explanation of your business. I would be interested in how the data tier actually works or maybe just an overview ...without divulging any trade secrets of course... like how the data tier layer abstracts the actual data structures. Is your office using the XML option in .Net datasets, through classes to connect via an OLE (third party?) to the actual tables being either MDB or MS SQL? (Handling XML in MS SQL 2005 is built-in but I was unaware that Access had the same capabilities.) I am not interested in specifics just the concepts... Maybe a bird's-eye view? Charlotte Foust MTIA Jim -- 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 From listmaster at databaseadvisors.com Fri Apr 6 19:17:16 2007 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Fri, 06 Apr 2007 20:17:16 -0400 Subject: [AccessD] Administrivia - Server Upgrade Complete Message-ID: <4616AACC.16681.54D3C94@listmaster.databaseadvisors.com> Well, the server upgrade has been completed. Hopefully you didn't notice too much of a disruption through out the day today. If you run across anything out of the ordinary, please e-mail me at listmaster at databaseadvisors.com or if that does not work, bryan at carbonnell.ca -- Bryan Carbonnell - listmaster at databaseadvisors.com From martyconnelly at shaw.ca Fri Apr 6 19:42:44 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 06 Apr 2007 17:42:44 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: <006b01c77884$f4df7590$8abea8c0@XPS> References: <0JG200558NU51JV0@l-daemon> <001201c7786d$21be8190$8abea8c0@XPS> <006b01c77884$f4df7590$8abea8c0@XPS> Message-ID: <4616E904.9040903@shaw.ca> In Canada with Web based Apps on health and legal sites, you will have to soon consider using two tier authentication for security to conform with. The Personal Information Protection and Electronic Documents Act, also known by the awkward acronym PIPEDA, which came into full effect on Jan. 2004. There have been several sites in Ontario that have been compromised when password only. Nurses were leaving userids etc on postit notes and patients were looking through STD reporting sites that were supposed to be doctor only access. So it is biometrics or dongles or USB keys (some with cyclical keys are into the $20 range). Forget fingerprint devices, Discovery channel showed a method to defeat this 6 months ago. By the way this will probably start to apply to HIPPA and European Data Privacy Acts. This isn't being enforced yet but will be soon. Jim Dettman wrote: >Charlotte, > ><< It offers so much more flexibility than our beloved Access can right >now.>> > > That's what I've been thinking. I am worried that they are going to want >a web interface for their nurses that are remote and possibly at some point >give Doctors and Attorneys access to the system. > >Jim. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >Sent: Friday, April 06, 2007 1:11 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] New database design for MS SQL > >I don't know VFP, but I'd say go with the full 3-tier approach. It >offers so much more flexibility than our beloved Access can right now. >Since Access itself is moving toward being a front end, the next >versions may see it gain a lot of those capabilities, but for now they >aren't there. The .Net framework hasn't yet found its way into Access. > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman >Sent: Friday, April 06, 2007 10:01 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] New database design for MS SQL > >Charlotte, > > This is a lot like what I work with in VFP and a framework called VMP. >The Framework lets you create fully 3-tier apps breaking out the >Business Rules and Data Services classes into a Business Object. The BO >can be compiled separately into a COM object, so I can write a >presentation tier in just about anything (Access, VFP, VB, etc). > > The Data Services like you describe below hides the BE data store and >provides cascaded updates/deletes, constraints, etc. > > I'm about to undertake a major development project and am going back >and forth between doing this in VFP/VMP as a full 3-tier app or sticking >with the tried and true Access approach (it would be my first full >3-tier app with VFP/VMP). > > I've got to talk to the client a few more times to get a sense of what >direction they'll be heading in the future, but I'm leaning towards VFP >at the moment. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: Friday, April 06, 2007 12:05 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] New database design for MS SQL > >Our executable installs on the client at this point in its existence, >and our clients are *frequently* thick! We haven't split the business >logic off to the server because there isn't always a server. When I >mentioned Access, I was talking about the data store, not the front end. >Our XML files have nothing to do with Access. FE is VS.Net but the app >is designed to work locally (say, on a rig) or with the data store in >SQL Server on a server (usually an office installation). The >application has to be flexible enough to run either way and to be >capable of switching between the two, if need be (they tend to move >their licenses around!). Rather than creating different versions of the >app for the varying environments, we simply built one that would work >across the board. That may change someday, but we're still in the >process of migrating our apps and our clients into the new century. LOL > >A dataset is a disconnected datastore, so it doesn't care where the BE >is or what engine it runs in. A _recordset_ is like a query, a flat >list of rows, but a dataset represents the separate sets of rows from >one or more tables. A TYPED Dataset (as opposed to untyped) is a kind >of class and models the details of the data structure in code. You can >create them from scratch or using the built in tools to "generate" one. >They then become objects in the project that our entity classes wrap, >exposing only the programming methods and events we want to make >available. Drop an entity on a form, and you have automatically >connected the form to the datastore the entity represents, so you can >program to its columns, methods, and properties as if it were a >recordsource in an Access form. > >Charlotte Foust > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence >Sent: Friday, April 06, 2007 3:34 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] New database design for MS SQL > >Hi Charlotte: > >I will comment inline > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: Thursday, April 05, 2007 2:46 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] New database design for MS SQL > >No white papers. We started rolling our own and called in a consulting >firm to review the fledgling solution and point out deficiencies. They >did admit when they came back for a later review that they'd never seen >a Win-based .Net app this large and complex, but we aren't ready (maybe >I should say our clients aren't ready) to convert totally to web-based >yet. > >Comment: Sounds very impressive. > >We're using either SQL 2005 or Access 2000 format BE because some of our >clients are on drilling rigs in the middle of the ocean and don't have >SQL Server handy. The embedded SQL for the provider adapters is stored >in XML files and we read it in using a streamreader and pass it back to >the calling data provider routine. The only business logic on the >server is in cascading updates and deletes, etc., nothing else except >relationships at this point because we still have to handle both SQL >Server and Access back ends. The business logic is in its own assembly >that's part of the overall solution. Not sure what you mean by a >desktop design. > >Comment: 'Desktop design' is my description of an application that has >it core functionality supported at the client end; or win-based or thick >client (this could also be describing the actual client?) ...As opposed >to thin client application where most of my work seems to be migrating. > >We create and supply software to the drilling industry--oil, gas, >geothermal--so a well is a hole in the ground plus everything associated >with that. A wellbore, is the hole itself, which may be the original >hole in the ground or a sidetrack drilled as an offshoot of another >wellbore. > >Comment: A very good explanation of your business. I would be interested >in how the data tier actually works or maybe just an overview ...without >divulging any trade secrets of course... like how the data tier layer >abstracts the actual data structures. Is your office using the XML >option in .Net datasets, through classes to connect via an OLE (third >party?) to the actual tables being either MDB or MS SQL? (Handling XML >in MS SQL 2005 is built-in but I was unaware that Access had the same >capabilities.) I am not interested in specifics just the concepts... >Maybe a bird's-eye view? > >Charlotte Foust > >MTIA > >Jim > > -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Fri Apr 6 22:04:48 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 06 Apr 2007 20:04:48 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: <4616E904.9040903@shaw.ca> Message-ID: <0JG30008ZXPT8Q32@l-daemon> When will it be when all that is needed is a drop of blood to confirm the users DNA. It might be difficult to create a system for people that is people proof. The cost to implementing the level of security you described below will be incredible. Anything like a key will not work as someone is bound to leave it just hanging from the terminal or sitting next to the station or just loss it... (A key to one of the local banks just found laying on our street one day) and then there is backup copies etc... And then there is biometrics and for any who saw the SCIFI movie Gaidica. It all sound like a combination someone's idea of a money making adventure and someone's knee-jerk reaction to a couple of exaggerated events. Now if you want to hear my opinion... just ask. :-) Good research as always Marty. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, April 06, 2007 5:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL In Canada with Web based Apps on health and legal sites, you will have to soon consider using two tier authentication for security to conform with. The Personal Information Protection and Electronic Documents Act, also known by the awkward acronym PIPEDA, which came into full effect on Jan. 2004. There have been several sites in Ontario that have been compromised when password only. Nurses were leaving userids etc on postit notes and patients were looking through STD reporting sites that were supposed to be doctor only access. So it is biometrics or dongles or USB keys (some with cyclical keys are into the $20 range). Forget fingerprint devices, Discovery channel showed a method to defeat this 6 months ago. By the way this will probably start to apply to HIPPA and European Data Privacy Acts. This isn't being enforced yet but will be soon. Jim Dettman wrote: >Charlotte, > ><< It offers so much more flexibility than our beloved Access can right >now.>> > > That's what I've been thinking. I am worried that they are going to want >a web interface for their nurses that are remote and possibly at some point >give Doctors and Attorneys access to the system. > >Jim. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >Sent: Friday, April 06, 2007 1:11 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] New database design for MS SQL > >I don't know VFP, but I'd say go with the full 3-tier approach. It >offers so much more flexibility than our beloved Access can right now. >Since Access itself is moving toward being a front end, the next >versions may see it gain a lot of those capabilities, but for now they >aren't there. The .Net framework hasn't yet found its way into Access. > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman >Sent: Friday, April 06, 2007 10:01 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] New database design for MS SQL > >Charlotte, > > This is a lot like what I work with in VFP and a framework called VMP. >The Framework lets you create fully 3-tier apps breaking out the >Business Rules and Data Services classes into a Business Object. The BO >can be compiled separately into a COM object, so I can write a >presentation tier in just about anything (Access, VFP, VB, etc). > > The Data Services like you describe below hides the BE data store and >provides cascaded updates/deletes, constraints, etc. > > I'm about to undertake a major development project and am going back >and forth between doing this in VFP/VMP as a full 3-tier app or sticking >with the tried and true Access approach (it would be my first full >3-tier app with VFP/VMP). > > I've got to talk to the client a few more times to get a sense of what >direction they'll be heading in the future, but I'm leaning towards VFP >at the moment. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: Friday, April 06, 2007 12:05 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] New database design for MS SQL > >Our executable installs on the client at this point in its existence, >and our clients are *frequently* thick! We haven't split the business >logic off to the server because there isn't always a server. When I >mentioned Access, I was talking about the data store, not the front end. >Our XML files have nothing to do with Access. FE is VS.Net but the app >is designed to work locally (say, on a rig) or with the data store in >SQL Server on a server (usually an office installation). The >application has to be flexible enough to run either way and to be >capable of switching between the two, if need be (they tend to move >their licenses around!). Rather than creating different versions of the >app for the varying environments, we simply built one that would work >across the board. That may change someday, but we're still in the >process of migrating our apps and our clients into the new century. LOL > >A dataset is a disconnected datastore, so it doesn't care where the BE >is or what engine it runs in. A _recordset_ is like a query, a flat >list of rows, but a dataset represents the separate sets of rows from >one or more tables. A TYPED Dataset (as opposed to untyped) is a kind >of class and models the details of the data structure in code. You can >create them from scratch or using the built in tools to "generate" one. >They then become objects in the project that our entity classes wrap, >exposing only the programming methods and events we want to make >available. Drop an entity on a form, and you have automatically >connected the form to the datastore the entity represents, so you can >program to its columns, methods, and properties as if it were a >recordsource in an Access form. > >Charlotte Foust > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence >Sent: Friday, April 06, 2007 3:34 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] New database design for MS SQL > >Hi Charlotte: > >I will comment inline > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: Thursday, April 05, 2007 2:46 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] New database design for MS SQL > >No white papers. We started rolling our own and called in a consulting >firm to review the fledgling solution and point out deficiencies. They >did admit when they came back for a later review that they'd never seen >a Win-based .Net app this large and complex, but we aren't ready (maybe >I should say our clients aren't ready) to convert totally to web-based >yet. > >Comment: Sounds very impressive. > >We're using either SQL 2005 or Access 2000 format BE because some of our >clients are on drilling rigs in the middle of the ocean and don't have >SQL Server handy. The embedded SQL for the provider adapters is stored >in XML files and we read it in using a streamreader and pass it back to >the calling data provider routine. The only business logic on the >server is in cascading updates and deletes, etc., nothing else except >relationships at this point because we still have to handle both SQL >Server and Access back ends. The business logic is in its own assembly >that's part of the overall solution. Not sure what you mean by a >desktop design. > >Comment: 'Desktop design' is my description of an application that has >it core functionality supported at the client end; or win-based or thick >client (this could also be describing the actual client?) ...As opposed >to thin client application where most of my work seems to be migrating. > >We create and supply software to the drilling industry--oil, gas, >geothermal--so a well is a hole in the ground plus everything associated >with that. A wellbore, is the hole itself, which may be the original >hole in the ground or a sidetrack drilled as an offshoot of another >wellbore. > >Comment: A very good explanation of your business. I would be interested >in how the data tier actually works or maybe just an overview ...without >divulging any trade secrets of course... like how the data tier layer >abstracts the actual data structures. Is your office using the XML >option in .Net datasets, through classes to connect via an OLE (third >party?) to the actual tables being either MDB or MS SQL? (Handling XML >in MS SQL 2005 is built-in but I was unaware that Access had the same >capabilities.) I am not interested in specifics just the concepts... >Maybe a bird's-eye view? > >Charlotte Foust > >MTIA > >Jim > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at unwired.com.au Sat Apr 7 07:21:57 2007 From: bbruen at unwired.com.au (Bruce Bruen) Date: Sat, 7 Apr 2007 22:21:57 +1000 Subject: [AccessD] Is it possible... Message-ID: <200704072222.00209.bbruen@unwired.com.au> .. to change the orientation of a report half way through. I've not tried this before. But now I've got a sub report that occurs several pages into a report and it would fit better if the page orientation was landscape. In fact it would only fit at all. Page 1 has summary information, 5 subreports (4 graphs and a short table) Page 2-n has an item by item subreport Page 2n+1 I want to put an analysis summary of the (2-n) items I have the sub report for the analysis, its' "beautiful", but it needs to be landscaped. AS I said, I've not tried this before, I tried various .Orientation and various PrtDevMode hacks but I'm beginnig to think it's not possible? -- regards Bruce From bbruen at unwired.com.au Sat Apr 7 08:01:07 2007 From: bbruen at unwired.com.au (Bruce Bruen) Date: Sat, 7 Apr 2007 23:01:07 +1000 Subject: [AccessD] Reports - Conditional formatting question In-Reply-To: <200703290105.l2T15uU24698@databaseadvisors.com> References: <200703290105.l2T15uU24698@databaseadvisors.com> Message-ID: <200704072301.08468.bbruen@unwired.com.au> On Thursday 29 March 2007 11:05, Darren DICK wrote: > Hi Bruce > > If the background is transparent then you can't apply a colour - well you > can but it won't be seen > > So you need to test for your condition in code then you have to set the > .background = 1 (Normal) as well and vice versa when turning it off - > .background =0 if your condition is not met > > This is gonna fail in a continuous form by the way a it will apply the > .background to all field in the continuous list > > Haven't tested it but hope this helps > > Gimme a yell and I will show you a cool way I handle marking records as > "current" - or not using conditional formatting > > > See ya > > DD Hi Darren, I finaly gave up and went with the four available conditional formats (see my PEBCAK response. It works, just... but it aint optimal. I'll pre-empt your offer on the "current" idea as I'm trying to get around 5 or 6 or 7 or ...AAARRRGGHHH... 8 or ... "conditions" on a row, and find a way of highlighting the anomalous items. There are about ~7 different "confirmed" anomalies. 1) The service request has not been addressed at all. (conditionalformat ="Highlight") 2) The service request has not been addressed within (conditionalformat = "Extreme") 3) The request has been addressed and resolved. (conditionalformat ="Normal") 4) The request has been addressed, but not resolved. (conditionalformat = "Highlight" - but would like a slightly different colour) 5) The request has been addressed, but not resolved and the resolution timeframe has expired. (conditionalformat = "Extreme" but should be with an oxy_torch_flame) 6) The SR has been (manually) escalated - but is still outstanding. (conditionalformat ="Moderate" + "_zzzzzzzzzzzz" ((SEP)) ) 7) The SR response requirement has been over-ridden [conditionalformat = KILLER! :-( ] ("colour=red,fontsize=172") 8) The SR response requirement has been over-ridden and is overdue (conditionalformat = "colour=several_thousand_degrees_kelvin_ >_ red, fontsize=2.326^23, ring bells, flash lights, phone_dad_for_a_lift_home, light_blue_touch_paper_and_stand_clear") There may be a couple of gazillion levels between each of the above, I've only been able to ascertain this many. "[$DEITY] help me to find the description if there are any more above (8). :-) bruce From fuller.artful at gmail.com Sat Apr 7 09:46:38 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 7 Apr 2007 10:46:38 -0400 Subject: [AccessD] WANs and Access In-Reply-To: <004d01c7785f$b79a7dd0$0201a8c0@HAL9005> References: <0JG100AJ4EIZJ0Y0@l-daemon> <004d01c7785f$b79a7dd0$0201a8c0@HAL9005> Message-ID: <29f585dd0704070746s19f4e01eu35258d0409d3df1f@mail.gmail.com> I have considerable experience doing this. In one case I had 4 offices hooked together in a WAN, all running the same Access app. That's when I became an expert at Access replication. I put a copy of the BE on a server in each office, that the local users talked to. In the HQ office, a box was running Synchronizer and updated the branch BEs every 5 minutes, as I recall. Thus the longest it could take for any remote user to see changes made by a local user was 10 minutes. But even in the case of collisions, Replication Manager handled them flawlessly. This delivered much better performance than the straight WAN approach, which I tried first and was very unsatisfied with the performance. Using replication over the WAN resulted in much greater performance. Arthur On 4/6/07, Rocky Smolin at Beach Access Software wrote: > > I'll forward your name to the client. He's in Canada. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Thursday, April 05, 2007 11:16 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] WANs and Access > > Hi Rocky: > > If you need any help with setting up applications running at different > locations I could offer some help in that area as I have definitely done > enough of that type of work. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Thursday, April 05, 2007 10:09 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] WANs and Access > > Had a prospect ask me how robust my application would be running over a > WAN. > Broadband connection but 'slow' according to his description. Plus folks > dialing in from remote locations but at least 50MBPS. Anyone have any > experience with this or know of any limitations with Access in this > regard? > > MTIA, > > Rocky > > > > > > -- > 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 > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: 4/4/2007 > 1:09 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Sat Apr 7 09:56:33 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 7 Apr 2007 07:56:33 -0700 Subject: [AccessD] WANs and Access In-Reply-To: <29f585dd0704070746s19f4e01eu35258d0409d3df1f@mail.gmail.com> Message-ID: <001701c77924$ef2b14b0$0201a8c0@HAL9005> Were the remotes doing updates, then? Or read only? In this case the remotes will be traveling, signing in from hotels and job sites and such. So I suppose they could run the replication ad hoc? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, April 07, 2007 7:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] WANs and Access I have considerable experience doing this. In one case I had 4 offices hooked together in a WAN, all running the same Access app. That's when I became an expert at Access replication. I put a copy of the BE on a server in each office, that the local users talked to. In the HQ office, a box was running Synchronizer and updated the branch BEs every 5 minutes, as I recall. Thus the longest it could take for any remote user to see changes made by a local user was 10 minutes. But even in the case of collisions, Replication Manager handled them flawlessly. This delivered much better performance than the straight WAN approach, which I tried first and was very unsatisfied with the performance. Using replication over the WAN resulted in much greater performance. Arthur On 4/6/07, Rocky Smolin at Beach Access Software wrote: > > I'll forward your name to the client. He's in Canada. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim > Lawrence > Sent: Thursday, April 05, 2007 11:16 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] WANs and Access > > Hi Rocky: > > If you need any help with setting up applications running at different > locations I could offer some help in that area as I have definitely > done enough of that type of work. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Thursday, April 05, 2007 10:09 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] WANs and Access > > Had a prospect ask me how robust my application would be running over > a WAN. > Broadband connection but 'slow' according to his description. Plus > folks dialing in from remote locations but at least 50MBPS. Anyone > have any experience with this or know of any limitations with Access > in this regard? > > MTIA, > > Rocky > > > > > > -- > 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 > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: > 4/4/2007 > 1:09 PM > > > -- > 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.26/750 - Release Date: 4/6/2007 9:30 PM From dwaters at usinternet.com Sat Apr 7 10:46:44 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 7 Apr 2007 10:46:44 -0500 Subject: [AccessD] Reports - Conditional formatting question In-Reply-To: <200704072301.08468.bbruen@unwired.com.au> References: <200703290105.l2T15uU24698@databaseadvisors.com> <200704072301.08468.bbruen@unwired.com.au> Message-ID: <000301c7792b$f20b7420$0200a8c0@danwaters> Hi Bruce, ---------------------------------------------------------------------------- This is another approach: COLOR STATUS MEANING Green New Today (received today) Unanswered (but hasn't exceeded time limit) Yellow Over (over response time limit) Status 4 Orange Status 5 Status 6 Red Status 7 Status 8 You can set up four background colors, and then within the colors you can use a text field and give a name for the status of that SR. I put in three examples above. This could give people the ability to quickly discriminate among the 4 colors, but then know more when they read the Level field. You get an unlimited number of levels this way, or perhaps 2 levels for green, 4 levels for yellow, etc. ---------------------------------------------------------------------------- Another approach could be: COLOR1 COLOR2 (Meaning) Green White Green Light Gray Green Dark Gray Green Black Yellow White Yellow Light Gray Yellow Dark Gray Yellow Black This would give an escalating gray scale within each of the 4 colors. You get 16 color combinations with this approach. ---------------------------------------------------------------------------- HTH! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen Sent: Saturday, April 07, 2007 8:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Reports - Conditional formatting question On Thursday 29 March 2007 11:05, Darren DICK wrote: > Hi Bruce > > If the background is transparent then you can't apply a colour - well you > can but it won't be seen > > So you need to test for your condition in code then you have to set the > .background = 1 (Normal) as well and vice versa when turning it off - > .background =0 if your condition is not met > > This is gonna fail in a continuous form by the way a it will apply the > .background to all field in the continuous list > > Haven't tested it but hope this helps > > Gimme a yell and I will show you a cool way I handle marking records as > "current" - or not using conditional formatting > > > See ya > > DD Hi Darren, I finaly gave up and went with the four available conditional formats (see my PEBCAK response. It works, just... but it aint optimal. I'll pre-empt your offer on the "current" idea as I'm trying to get around 5 or 6 or 7 or ...AAARRRGGHHH... 8 or ... "conditions" on a row, and find a way of highlighting the anomalous items. There are about ~7 different "confirmed" anomalies. 1) The service request has not been addressed at all. (conditionalformat ="Highlight") 2) The service request has not been addressed within (conditionalformat = "Extreme") 3) The request has been addressed and resolved. (conditionalformat ="Normal") 4) The request has been addressed, but not resolved. (conditionalformat = "Highlight" - but would like a slightly different colour) 5) The request has been addressed, but not resolved and the resolution timeframe has expired. (conditionalformat = "Extreme" but should be with an oxy_torch_flame) 6) The SR has been (manually) escalated - but is still outstanding. (conditionalformat ="Moderate" + "_zzzzzzzzzzzz" ((SEP)) ) 7) The SR response requirement has been over-ridden [conditionalformat = KILLER! :-( ] ("colour=red,fontsize=172") 8) The SR response requirement has been over-ridden and is overdue (conditionalformat = "colour=several_thousand_degrees_kelvin_ >_ red, fontsize=2.326^23, ring bells, flash lights, phone_dad_for_a_lift_home, light_blue_touch_paper_and_stand_clear") There may be a couple of gazillion levels between each of the above, I've only been able to ascertain this many. "[$DEITY] help me to find the description if there are any more above (8). :-) bruce -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Sat Apr 7 10:48:05 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Sat, 07 Apr 2007 11:48:05 -0400 Subject: [AccessD] New database design for MS SQL In-Reply-To: <4616E904.9040903@shaw.ca> References: <0JG200558NU51JV0@l-daemon> <001201c7786d$21be8190$8abea8c0@XPS> <006b01c77884$f4df7590$8abea8c0@XPS> <4616E904.9040903@shaw.ca> Message-ID: <000001c7792c$2229b8b0$8abea8c0@XPS> Marty, Yes, one of my big concerns with this app is security. That's also why I'm approaching their requirement of possible web access with some hesitation. If there will not be a web interface, then the allure of doing a 3-tier design becomes a lot less. The main app is going to be using SQL Server for the BE, so it will be tight and access to the system will be through Terminal Services. It's the web thing that worries me, although that's not in the scope as yet. In the states, we need to deal with the HIPAA (Health Insurance Portability and Accountability Act), which I need to get some info on, as I'm not sure how far I need to go with security. I'm assuming the worst at this point. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, April 06, 2007 8:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL In Canada with Web based Apps on health and legal sites, you will have to soon consider using two tier authentication for security to conform with. The Personal Information Protection and Electronic Documents Act, also known by the awkward acronym PIPEDA, which came into full effect on Jan. 2004. There have been several sites in Ontario that have been compromised when password only. Nurses were leaving userids etc on postit notes and patients were looking through STD reporting sites that were supposed to be doctor only access. So it is biometrics or dongles or USB keys (some with cyclical keys are into the $20 range). Forget fingerprint devices, Discovery channel showed a method to defeat this 6 months ago. By the way this will probably start to apply to HIPPA and European Data Privacy Acts. This isn't being enforced yet but will be soon. Jim Dettman wrote: >Charlotte, > ><< It offers so much more flexibility than our beloved Access can right >now.>> > > That's what I've been thinking. I am worried that they are going to want >a web interface for their nurses that are remote and possibly at some point >give Doctors and Attorneys access to the system. > >Jim. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >Sent: Friday, April 06, 2007 1:11 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] New database design for MS SQL > >I don't know VFP, but I'd say go with the full 3-tier approach. It >offers so much more flexibility than our beloved Access can right now. >Since Access itself is moving toward being a front end, the next >versions may see it gain a lot of those capabilities, but for now they >aren't there. The .Net framework hasn't yet found its way into Access. > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman >Sent: Friday, April 06, 2007 10:01 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] New database design for MS SQL > >Charlotte, > > This is a lot like what I work with in VFP and a framework called VMP. >The Framework lets you create fully 3-tier apps breaking out the >Business Rules and Data Services classes into a Business Object. The BO >can be compiled separately into a COM object, so I can write a >presentation tier in just about anything (Access, VFP, VB, etc). > > The Data Services like you describe below hides the BE data store and >provides cascaded updates/deletes, constraints, etc. > > I'm about to undertake a major development project and am going back >and forth between doing this in VFP/VMP as a full 3-tier app or sticking >with the tried and true Access approach (it would be my first full >3-tier app with VFP/VMP). > > I've got to talk to the client a few more times to get a sense of what >direction they'll be heading in the future, but I'm leaning towards VFP >at the moment. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: Friday, April 06, 2007 12:05 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] New database design for MS SQL > >Our executable installs on the client at this point in its existence, >and our clients are *frequently* thick! We haven't split the business >logic off to the server because there isn't always a server. When I >mentioned Access, I was talking about the data store, not the front end. >Our XML files have nothing to do with Access. FE is VS.Net but the app >is designed to work locally (say, on a rig) or with the data store in >SQL Server on a server (usually an office installation). The >application has to be flexible enough to run either way and to be >capable of switching between the two, if need be (they tend to move >their licenses around!). Rather than creating different versions of the >app for the varying environments, we simply built one that would work >across the board. That may change someday, but we're still in the >process of migrating our apps and our clients into the new century. LOL > >A dataset is a disconnected datastore, so it doesn't care where the BE >is or what engine it runs in. A _recordset_ is like a query, a flat >list of rows, but a dataset represents the separate sets of rows from >one or more tables. A TYPED Dataset (as opposed to untyped) is a kind >of class and models the details of the data structure in code. You can >create them from scratch or using the built in tools to "generate" one. >They then become objects in the project that our entity classes wrap, >exposing only the programming methods and events we want to make >available. Drop an entity on a form, and you have automatically >connected the form to the datastore the entity represents, so you can >program to its columns, methods, and properties as if it were a >recordsource in an Access form. > >Charlotte Foust > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence >Sent: Friday, April 06, 2007 3:34 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] New database design for MS SQL > >Hi Charlotte: > >I will comment inline > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: Thursday, April 05, 2007 2:46 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] New database design for MS SQL > >No white papers. We started rolling our own and called in a consulting >firm to review the fledgling solution and point out deficiencies. They >did admit when they came back for a later review that they'd never seen >a Win-based .Net app this large and complex, but we aren't ready (maybe >I should say our clients aren't ready) to convert totally to web-based >yet. > >Comment: Sounds very impressive. > >We're using either SQL 2005 or Access 2000 format BE because some of our >clients are on drilling rigs in the middle of the ocean and don't have >SQL Server handy. The embedded SQL for the provider adapters is stored >in XML files and we read it in using a streamreader and pass it back to >the calling data provider routine. The only business logic on the >server is in cascading updates and deletes, etc., nothing else except >relationships at this point because we still have to handle both SQL >Server and Access back ends. The business logic is in its own assembly >that's part of the overall solution. Not sure what you mean by a >desktop design. > >Comment: 'Desktop design' is my description of an application that has >it core functionality supported at the client end; or win-based or thick >client (this could also be describing the actual client?) ...As opposed >to thin client application where most of my work seems to be migrating. > >We create and supply software to the drilling industry--oil, gas, >geothermal--so a well is a hole in the ground plus everything associated >with that. A wellbore, is the hole itself, which may be the original >hole in the ground or a sidetrack drilled as an offshoot of another >wellbore. > >Comment: A very good explanation of your business. I would be interested >in how the data tier actually works or maybe just an overview ...without >divulging any trade secrets of course... like how the data tier layer >abstracts the actual data structures. Is your office using the XML >option in .Net datasets, through classes to connect via an OLE (third >party?) to the actual tables being either MDB or MS SQL? (Handling XML >in MS SQL 2005 is built-in but I was unaware that Access had the same >capabilities.) I am not interested in specifics just the concepts... >Maybe a bird's-eye view? > >Charlotte Foust > >MTIA > >Jim > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Sat Apr 7 11:07:50 2007 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Sat, 7 Apr 2007 12:07:50 -0400 Subject: [AccessD] Syntax for finding value of an item in a collection Message-ID: <00a301c7792e$e3e412a0$0a00a8c0@PCRURI35> I have a collection for control names (e.g., colControls) which contains certain controls (e.g. txtLastName) on a form (e.g. frmFormA). For example, colControls(1) = "[Forms]![frmFormA]![txtLastName]". Let's say that txtLastname currently contains the name "Smith. What is the syntax for finding the VALUE of colControls(1) , i.e., "Smith"? Thanks, Barb From rockysmolin at bchacc.com Sat Apr 7 12:13:18 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 7 Apr 2007 10:13:18 -0700 Subject: [AccessD] Automation Problem - Closing Word Message-ID: <002701c77938$09aa1760$0201a8c0@HAL9005> Dear List: I am getting the text of a document into a string variable from a word doc. Then I want to close word. I get the text of the document OK (which then goes into an email). But with the code below, the document closes but Word says open. How can I get WORD closed up? Dim objWord As Object ' Get the body text Set objWord = CreateObject("Word.Application") objWord.Documents.Open (argDocument) objWord.Selection.WholeStory strBody = objWord.Selection 'MsgBox strBody objWord.Documents.Close Set objWord = Nothing MTIA Rocky From martyconnelly at shaw.ca Sat Apr 7 12:16:39 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 07 Apr 2007 10:16:39 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: <000001c7792c$2229b8b0$8abea8c0@XPS> References: <0JG200558NU51JV0@l-daemon> <001201c7786d$21be8190$8abea8c0@XPS> <006b01c77884$f4df7590$8abea8c0@XPS> <4616E904.9040903@shaw.ca> <000001c7792c$2229b8b0$8abea8c0@XPS> Message-ID: <4617D1F7.2070008@shaw.ca> Two tier authentication with a USB Fob is supposed to verify the guy with the password and the USB token are the same. In other words the password hasn't been loaned out. The token alone won't get you in. There are $5 USB tokens on the market now but may require some server hardware possibly in 2K to 5K dollar range. Until this year the price was around $60. Here are some cheap Canadian examples. http://www.itbusiness.ca/it/client/en/home/News.asp?id=41998 I have been looking for a case study where someone has hooked this into Sharepoint sites. The vendors might be able to provide it. Some continental European banks have been doing client web app with USB tokens (even at an 60 Euro cost) for a couple of years. Charlotte may have done some HIPPA work. Aside from this there has to be a lot of data encryption. Jim Dettman wrote: >Marty, > > Yes, one of my big concerns with this app is security. That's also why >I'm approaching their requirement of possible web access with some >hesitation. If there will not be a web interface, then the allure of doing >a 3-tier design becomes a lot less. > > The main app is going to be using SQL Server for the BE, so it will be >tight and access to the system will be through Terminal Services. It's the >web thing that worries me, although that's not in the scope as yet. > > In the states, we need to deal with the HIPAA (Health Insurance >Portability and Accountability Act), which I need to get some info on, as >I'm not sure how far I need to go with security. I'm assuming the worst at >this point. > >Jim. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Friday, April 06, 2007 8:43 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] New database design for MS SQL > >In Canada with Web based Apps on health and legal sites, you will >have to soon consider using two tier authentication for security to >conform with. >The Personal Information Protection and Electronic Documents Act, >also known by the awkward acronym PIPEDA, which came into full effect on >Jan. 2004. >There have been several sites in Ontario that have been compromised when >password only. >Nurses were leaving userids etc on postit notes and patients were >looking through >STD reporting sites that were supposed to be doctor only access. >So it is biometrics or dongles or USB keys (some with cyclical keys are >into the $20 range). >Forget fingerprint devices, Discovery channel showed a method to defeat >this 6 months ago. >By the way this will probably start to apply to HIPPA and European Data >Privacy Acts. >This isn't being enforced yet but will be soon. > > >Jim Dettman wrote: > > > >>Charlotte, >> >><< It offers so much more flexibility than our beloved Access can right >>now.>> >> >> That's what I've been thinking. I am worried that they are going to want >>a web interface for their nurses that are remote and possibly at some point >>give Doctors and Attorneys access to the system. >> >>Jim. >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >>Sent: Friday, April 06, 2007 1:11 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] New database design for MS SQL >> >>I don't know VFP, but I'd say go with the full 3-tier approach. It >>offers so much more flexibility than our beloved Access can right now. >>Since Access itself is moving toward being a front end, the next >>versions may see it gain a lot of those capabilities, but for now they >>aren't there. The .Net framework hasn't yet found its way into Access. >> >>Charlotte Foust >> >> -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Sat Apr 7 12:19:45 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 07 Apr 2007 10:19:45 -0700 Subject: [AccessD] Automation Problem - Closing Word In-Reply-To: <002701c77938$09aa1760$0201a8c0@HAL9005> References: <002701c77938$09aa1760$0201a8c0@HAL9005> Message-ID: <4617D2B1.8070305@shaw.ca> Add this line objWord.Documents.Close objWord.Quit Set objWord = Nothing Rocky Smolin at Beach Access Software wrote: >Dear List: > >I am getting the text of a document into a string variable from a word doc. >Then I want to close word. I get the text of the document OK (which then >goes into an email). > >But with the code below, the document closes but Word says open. How can >I get WORD closed up? > > Dim objWord As Object > > ' Get the body text > Set objWord = CreateObject("Word.Application") > objWord.Documents.Open (argDocument) > objWord.Selection.WholeStory > strBody = objWord.Selection > 'MsgBox strBody > objWord.Documents.Close > Set objWord = Nothing > > >MTIA > >Rocky > > > > > > > -- Marty Connelly Victoria, B.C. Canada From gustav at cactus.dk Sat Apr 7 12:20:06 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 07 Apr 2007 19:20:06 +0200 Subject: [AccessD] Is it possible... Message-ID: Hi Bruce You could output the report twice to postscript files, then use Ghostscript to select and mix the pages of your choice into one new postscript or PDF file or directly to a Postscript printer. /gustav >>> bbruen at unwired.com.au 07-04-07 14:21 >>> .. to change the orientation of a report half way through. I've not tried this before. But now I've got a sub report that occurs several pages into a report and it would fit better if the page orientation was landscape. In fact it would only fit at all. Page 1 has summary information, 5 subreports (4 graphs and a short table) Page 2-n has an item by item subreport Page 2n+1 I want to put an analysis summary of the (2-n) items I have the sub report for the analysis, its' "beautiful", but it needs to be landscaped. AS I said, I've not tried this before, I tried various .Orientation and various PrtDevMode hacks but I'm beginnig to think it's not possible? -- regards Bruce From gustav at cactus.dk Sat Apr 7 13:00:42 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 07 Apr 2007 20:00:42 +0200 Subject: [AccessD] Syntax for finding value of an item in a collection Message-ID: Hi Barb Couldn't that be: varValue = Me.Controls(Split(colControls(1), "!")(2)).Value or: varValue = Forms(Split(colControls(1), "!")(1)).Controls(Split(colControls(1), "!")(2)).Value /gustav >>> BarbaraRyan at cox.net 07-04-07 18:07 >>> I have a collection for control names (e.g., colControls) which contains certain controls (e.g. txtLastName) on a form (e.g. frmFormA). For example, colControls(1) = "[Forms]![frmFormA]![txtLastName]". Let's say that txtLastname currently contains the name "Smith. What is the syntax for finding the VALUE of colControls(1) , i.e., "Smith"? Thanks, Barb From rockysmolin at bchacc.com Sat Apr 7 13:30:13 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 7 Apr 2007 11:30:13 -0700 Subject: [AccessD] Automation Problem - Closing Word In-Reply-To: <4617D2B1.8070305@shaw.ca> Message-ID: <002f01c77942$c83b9960$0201a8c0@HAL9005> Aha. Quit. Thank you. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Saturday, April 07, 2007 10:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Automation Problem - Closing Word Add this line objWord.Documents.Close objWord.Quit Set objWord = Nothing Rocky Smolin at Beach Access Software wrote: >Dear List: > >I am getting the text of a document into a string variable from a word doc. >Then I want to close word. I get the text of the document OK (which >then goes into an email). > >But with the code below, the document closes but Word says open. How can >I get WORD closed up? > > Dim objWord As Object > > ' Get the body text > Set objWord = CreateObject("Word.Application") > objWord.Documents.Open (argDocument) > objWord.Selection.WholeStory > strBody = objWord.Selection > 'MsgBox strBody > objWord.Documents.Close > Set objWord = Nothing > > >MTIA > >Rocky > > > > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.26/750 - Release Date: 4/6/2007 9:30 PM From BarbaraRyan at cox.net Sat Apr 7 14:03:40 2007 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Sat, 7 Apr 2007 15:03:40 -0400 Subject: [AccessD] Syntax for finding value of an item in a collection References: Message-ID: <00cc01c77947$74aa5f70$0a00a8c0@PCRURI35> Hi, Gustav.... Thanks for your reply. I forgot to mention that I am using the collection within a class. I just discovered that varValue = mfrm.Controls(i).Value seems to work. I thought I had already tried that approach --- I may have been referencing a control type not having a value property. Thanks, Barb ----- Original Message ----- From: "Gustav Brock" To: Sent: Saturday, April 07, 2007 2:00 PM Subject: Re: [AccessD] Syntax for finding value of an item in a collection > Hi Barb > > Couldn't that be: > > varValue = Me.Controls(Split(colControls(1), "!")(2)).Value > or: > varValue = Forms(Split(colControls(1), > "!")(1)).Controls(Split(colControls(1), "!")(2)).Value > > /gustav > >>>> BarbaraRyan at cox.net 07-04-07 18:07 >>> > I have a collection for control names (e.g., colControls) which contains > certain controls (e.g. txtLastName) on a form (e.g. frmFormA). For > example, colControls(1) = "[Forms]![frmFormA]![txtLastName]". > > Let's say that txtLastname currently contains the name "Smith. What is > the syntax for finding the VALUE of colControls(1) , i.e., "Smith"? > > Thanks, > Barb > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dajomigo at dgsolutions.net.au Sat Apr 7 17:41:45 2007 From: dajomigo at dgsolutions.net.au (David & Joanne Gould) Date: Sun, 08 Apr 2007 08:41:45 +1000 Subject: [AccessD] mystery software keys Message-ID: <200704072240.l37MdsZO049166@carby.powerband.net.au> I have a friend who has a list of software keys from microsoft that came with software cd's. Unfortunately, the cd's have been separated from the CD case and he doesn't know what cd key belongs to what software. Does any know if there is a tool around that can identify what software and version a key is from it's code? Hope this makes sense. TIA David Gould DG Solutions From nd500_lo at charter.net Sat Apr 7 17:52:08 2007 From: nd500_lo at charter.net (Dian) Date: Sat, 7 Apr 2007 15:52:08 -0700 Subject: [AccessD] mystery software keys In-Reply-To: <200704072240.l37MdsZO049166@carby.powerband.net.au> References: <200704072240.l37MdsZO049166@carby.powerband.net.au> Message-ID: <000001c77967$5f477760$6400a8c0@dsunit1> I don't know of one...my first suggestion is to call Microsoft and let them sort it...second suggestion...set up baby db to keep it controlled...sorry...I'm quiet, but not dead... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David & Joanne Gould Sent: Saturday, April 07, 2007 3:42 PM To: accessd at databaseadvisors.com Subject: [AccessD] mystery software keys I have a friend who has a list of software keys from microsoft that came with software cd's. Unfortunately, the cd's have been separated from the CD case and he doesn't know what cd key belongs to what software. Does any know if there is a tool around that can identify what software and version a key is from it's code? Hope this makes sense. TIA David Gould DG Solutions -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From david.gray at tpg.com.au Sat Apr 7 18:21:08 2007 From: david.gray at tpg.com.au (David Gray) Date: Sun, 8 Apr 2007 09:21:08 +1000 Subject: [AccessD] mystery software keys In-Reply-To: <000001c77967$5f477760$6400a8c0@dsunit1> References: <200704072240.l37MdsZO049166@carby.powerband.net.au> <000001c77967$5f477760$6400a8c0@dsunit1> Message-ID: <000601c7796b$6cb74480$4625cd80$@gray@tpg.com.au> I've always thought Microsoft should print the name of the software with the key. I wonder why they don't? Is it a security thing? Although I can't see how! The keys should also be in a bigger font for us oldies. The number of times I mistake an 8 for a B and visa versa. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dian Sent: Sunday, 8 April 2007 8:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] mystery software keys I don't know of one...my first suggestion is to call Microsoft and let them sort it...second suggestion...set up baby db to keep it controlled...sorry...I'm quiet, but not dead... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David & Joanne Gould Sent: Saturday, April 07, 2007 3:42 PM To: accessd at databaseadvisors.com Subject: [AccessD] mystery software keys I have a friend who has a list of software keys from microsoft that came with software cd's. Unfortunately, the cd's have been separated from the CD case and he doesn't know what cd key belongs to what software. Does any know if there is a tool around that can identify what software and version a key is from it's code? Hope this makes sense. TIA David Gould DG Solutions -- 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 bill_patten at earthlink.net Sat Apr 7 19:25:38 2007 From: bill_patten at earthlink.net (Bill Patten) Date: Sat, 7 Apr 2007 17:25:38 -0700 Subject: [AccessD] mystery software keys In-Reply-To: <200704072240.l37MdsZO049166@carby.powerband.net.au> References: <200704072240.l37MdsZO049166@carby.powerband.net.au> Message-ID: Hi David, If the software is already installed in a computer or computers you can sometimes search the registry for say the first 5 characters of the key , for example I searched for T499P and the PDKey was located in hklm\software\\\\Visual Studio\\\ So I would know that that key was for my VS 2005. Any that can be found can be marked perhaps shortening the list of unknown. You can also use a program called SIW that will show many licenses under it's secret tab. SIW does not work on Vista 64 but does on XP. Google SIW Hope this helps a little Bill ----- Original Message ----- From: "David & Joanne Gould" To: Sent: Saturday, April 07, 2007 3:41 PM Subject: [AccessD] mystery software keys >I have a friend who has a list of software keys from microsoft that > came with software cd's. Unfortunately, the cd's have been separated > from the CD case and he doesn't know what cd key belongs to what > software. Does any know if there is a tool around that can identify > what software and version a key is from it's code? > > Hope this makes sense. > > TIA > > David Gould > DG Solutions > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From nd500_lo at charter.net Sat Apr 7 20:07:46 2007 From: nd500_lo at charter.net (Dian) Date: Sat, 7 Apr 2007 18:07:46 -0700 Subject: [AccessD] mystery software keys In-Reply-To: References: <200704072240.l37MdsZO049166@carby.powerband.net.au> Message-ID: <000001c7797a$546b7d10$6400a8c0@dsunit1> I was harsh...and I apologize for that...have some friends looking for the way (assuming it cannot be found on the computer in question) to find what he needs. I'm very sorry...just found it irritating that someone didn't keep ALL the info together...it's a (siiiiiiiiiiiiiiiiiiiigh) db thing... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten Sent: Saturday, April 07, 2007 5:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] mystery software keys Hi David, If the software is already installed in a computer or computers you can sometimes search the registry for say the first 5 characters of the key , for example I searched for T499P and the PDKey was located in hklm\software\\\\Visual Studio\\\ So I would know that that key was for my VS 2005. Any that can be found can be marked perhaps shortening the list of unknown. You can also use a program called SIW that will show many licenses under it's secret tab. SIW does not work on Vista 64 but does on XP. Google SIW Hope this helps a little Bill ----- Original Message ----- From: "David & Joanne Gould" To: Sent: Saturday, April 07, 2007 3:41 PM Subject: [AccessD] mystery software keys >I have a friend who has a list of software keys from microsoft that > came with software cd's. Unfortunately, the cd's have been separated > from the CD case and he doesn't know what cd key belongs to what > software. Does any know if there is a tool around that can identify > what software and version a key is from it's code? > > Hope this makes sense. > > TIA > > David Gould > DG Solutions > > > -- > 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 dwaters at usinternet.com Sat Apr 7 20:58:09 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 7 Apr 2007 20:58:09 -0500 Subject: [AccessD] mystery software keys In-Reply-To: References: <200704072240.l37MdsZO049166@carby.powerband.net.au> Message-ID: <001d01c77981$5bafabd0$0200a8c0@danwaters> I've used Belarc Advisor and it sometimes shows keys (along with every other piece of info about your PC!). It's at: http://www.belarc.com/free_download.html Dan -----Original Message----- Subject: Re: [AccessD] mystery software keys Hi David, If the software is already installed in a computer or computers you can sometimes search the registry for say the first 5 characters of the key , for example I searched for T499P and the PDKey was located in hklm\software\\\\Visual Studio\\\ So I would know that that key was for my VS 2005. Any that can be found can be marked perhaps shortening the list of unknown. You can also use a program called SIW that will show many licenses under it's secret tab. SIW does not work on Vista 64 but does on XP. Google SIW Hope this helps a little Bill ----- Original Message ----- Subject: [AccessD] mystery software keys >I have a friend who has a list of software keys from microsoft that > came with software cd's. Unfortunately, the cd's have been separated > from the CD case and he doesn't know what cd key belongs to what > software. Does any know if there is a tool around that can identify > what software and version a key is from it's code? > > Hope this makes sense. > > TIA > > David Gould > DG Solutions > From bbruen at unwired.com.au Sun Apr 8 04:36:19 2007 From: bbruen at unwired.com.au (Bruce Bruen) Date: Sun, 8 Apr 2007 19:36:19 +1000 Subject: [AccessD] Is it possible... In-Reply-To: References: Message-ID: <200704081936.20179.bbruen@unwired.com.au> On Sunday 08 April 2007 03:20, Gustav Brock wrote: > Hi Bruce > > You could output the report twice to postscript files, then use Ghostscript > to select and mix the pages of your choice into one new postscript or PDF > file or directly to a Postscript printer. > > /gustav YUK! (No Offense Intended) I take it that its not (hacklessly) possible then. -- regards Bruce From adtp at hotmail.com Sun Apr 8 08:56:53 2007 From: adtp at hotmail.com (A.D.TEJPAL) Date: Sun, 8 Apr 2007 19:26:53 +0530 Subject: [AccessD] Is it possible... References: <200704072222.00209.bbruen@unwired.com.au> Message-ID: Bruce, Apparently, your requirement translates into printing first portion of the report (containing n number of pages) in portrait layout, followed by remaining portion in landscape layout. If the presumption made above is correct, are you in a position to set up two separate reports in respective layouts? If so, it should be possible to ensure that page numbering for second report is in continuation to the first one, so that overall, it constitutes one report. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Bruce Bruen To: Access Developers discussion and problem solving Sent: Sunday, April 08, 2007 15:06 Subject: Re: [AccessD] Is it possible... On Sunday 08 April 2007 03:20, Gustav Brock wrote: > Hi Bruce > > You could output the report twice to postscript files, then use Ghostscript > to select and mix the pages of your choice into one new postscript or PDF > file or directly to a Postscript printer. > > /gustav YUK! (No Offense Intended) I take it that its not (hacklessly) possible then. regards Bruce ----- Original Message ----- From: Bruce Bruen To: Access Developers discussion and problem solving Sent: Saturday, April 07, 2007 17:51 Subject: [AccessD] Is it possible... .. to change the orientation of a report half way through. I've not tried this before. But now I've got a sub report that occurs several pages into a report and it would fit better if the page orientation was landscape. In fact it would only fit at all. Page 1 has summary information, 5 subreports (4 graphs and a short table) Page 2-n has an item by item subreport Page 2n+1 I want to put an analysis summary of the (2-n) items I have the sub report for the analysis, its' "beautiful", but it needs to be landscaped. AS I said, I've not tried this before, I tried various .Orientation and various PrtDevMode hacks but I'm beginnig to think it's not possible? regards Bruce From gustav at cactus.dk Sun Apr 8 16:35:03 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 08 Apr 2007 23:35:03 +0200 Subject: [AccessD] Is it possible... Message-ID: Hi Bruce Not as far as I know. Problem is that you cannot ask the report to send custom control or Postscript code to the printer. Thus, you'll have - somehow - to split the print job into several, each with its own printer setup, or output the print job to a file which you later manipulate before sending it to print. /gustav >>> bbruen at unwired.com.au 08-04-07 11:36 >>> On Sunday 08 April 2007 03:20, Gustav Brock wrote: > Hi Bruce > > You could output the report twice to postscript files, then use Ghostscript > to select and mix the pages of your choice into one new postscript or PDF > file or directly to a Postscript printer. > > /gustav YUK! (No Offense Intended) I take it that its not (hacklessly) possible then. -- regards Bruce From rockysmolin at bchacc.com Sun Apr 8 17:18:48 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 8 Apr 2007 15:18:48 -0700 Subject: [AccessD] Is it possible... In-Reply-To: Message-ID: <003701c77a2b$e162a7f0$0201a8c0@HAL9005> Gustav: What would happen if he made two sub reports - 1 in portrait and one in landscape - then dropped them both onto a parent report? Would the fist sub-report come out with a different orientation than the second? Or would they both follow the orientation of the parent report regardless of how they were set up? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, April 08, 2007 2:35 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Is it possible... Hi Bruce Not as far as I know. Problem is that you cannot ask the report to send custom control or Postscript code to the printer. Thus, you'll have - somehow - to split the print job into several, each with its own printer setup, or output the print job to a file which you later manipulate before sending it to print. /gustav >>> bbruen at unwired.com.au 08-04-07 11:36 >>> On Sunday 08 April 2007 03:20, Gustav Brock wrote: > Hi Bruce > > You could output the report twice to postscript files, then use > Ghostscript to select and mix the pages of your choice into one new > postscript or PDF file or directly to a Postscript printer. > > /gustav YUK! (No Offense Intended) I take it that its not (hacklessly) possible then. -- regards Bruce -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.0.0/751 - Release Date: 4/7/2007 10:57 PM From wdhindman at dejpolsystems.com Sun Apr 8 22:07:51 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 8 Apr 2007 23:07:51 -0400 Subject: [AccessD] Is it possible... References: <200704081936.20179.bbruen@unwired.com.au> Message-ID: <000501c77a54$436989a0$982b124c@jisshowsbs.local> Bruce ...never say never ...my code library is loaded with things written by people here that I would have sworn were impossible in Access ...most of which I manage to use successfully without ever groking what they are going on about :) ...though I've not tried to switch orientation in the middle of a report myself, I know you can pause a report at a specific page, change the printer tray, print a page from that tray, and then pause and change back using the printdev mode properties as in mskb 200546 ...so long as the printer driver supports those properties ...and since page orientation is also a property of printdev mode, it would seem worth the time to try changing it at the same time you change printer trays using virtually the same code. ...if not, then you might have to look at creating separate reports and numbering the pages of each correctly. ...or if you want to walk on the wild side, use Lebans rotate text code to brute force design a portrait formatted subreport to look like a landscape format. ...if you do get it to work, let us in on the secret, eh. William Hindman ----- Original Message ----- From: "Bruce Bruen" To: "Access Developers discussion and problem solving" Sent: Sunday, April 08, 2007 5:36 AM Subject: Re: [AccessD] Is it possible... > On Sunday 08 April 2007 03:20, Gustav Brock wrote: >> Hi Bruce >> >> You could output the report twice to postscript files, then use >> Ghostscript >> to select and mix the pages of your choice into one new postscript or PDF >> file or directly to a Postscript printer. >> >> /gustav > > YUK! (No Offense Intended) I take it that its not (hacklessly) possible > then. > > -- > regards > > Bruce > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Mon Apr 9 05:14:46 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 09 Apr 2007 12:14:46 +0200 Subject: [AccessD] Is it possible... Message-ID: Hi Rocky As far as I know, the parent report controls all printer settings; those of the subreport(s) are ignored. /gustav >>> rockysmolin at bchacc.com 09-04-2007 00:18 >>> Gustav: What would happen if he made two sub reports - 1 in portrait and one in landscape - then dropped them both onto a parent report? Would the fist sub-report come out with a different orientation than the second? Or would they both follow the orientation of the parent report regardless of how they were set up? Rocky From Gustav at cactus.dk Mon Apr 9 05:29:04 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 09 Apr 2007 12:29:04 +0200 Subject: [AccessD] Is it possible... Message-ID: Hi Bruce and William It may be possible, but remember that you may encounter two problems: first, changing printer objects may fail in restricted (corporate) environments, and even if you succeed you may end up with two or more print jobs which - again in corporate environments - may get mixed with other print jobs. However, the physical printer is perfectly capable of switching side orientation between pages - in PCL it is one single command - and that command is issued routinely by most applications before printing a page. That's why I assume it would be realistic to locate this command in a saved print file, change it, and then print the file - which would result in one print job. I've never had the need, though, for such fancy printing, so it is no more than an idea. /gustav >>> wdhindman at dejpolsystems.com 09-04-2007 05:07 >>> Bruce ...never say never ...my code library is loaded with things written by people here that I would have sworn were impossible in Access ...most of which I manage to use successfully without ever groking what they are going on about :) ...though I've not tried to switch orientation in the middle of a report myself, I know you can pause a report at a specific page, change the printer tray, print a page from that tray, and then pause and change back using the printdev mode properties as in mskb 200546 ...so long as the printer driver supports those properties ...and since page orientation is also a property of printdev mode, it would seem worth the time to try changing it at the same time you change printer trays using virtually the same code. ...if not, then you might have to look at creating separate reports and numbering the pages of each correctly. ...or if you want to walk on the wild side, use Lebans rotate text code to brute force design a portrait formatted subreport to look like a landscape format. ...if you do get it to work, let us in on the secret, eh. William Hindman ----- Original Message ----- From: "Bruce Bruen" To: "Access Developers discussion and problem solving" Sent: Sunday, April 08, 2007 5:36 AM Subject: Re: [AccessD] Is it possible... > On Sunday 08 April 2007 03:20, Gustav Brock wrote: >> Hi Bruce >> >> You could output the report twice to postscript files, then use Ghostscript >> to select and mix the pages of your choice into one new postscript or PDF >> file or directly to a Postscript printer. >> >> /gustav > > YUK! (No Offense Intended) I take it that its not (hacklessly) possible then. > > -- > regards > > Bruce From bheid at sc.rr.com Mon Apr 9 09:19:46 2007 From: bheid at sc.rr.com (Bobby Heid) Date: Mon, 9 Apr 2007 10:19:46 -0400 Subject: [AccessD] Users in SQL Server In-Reply-To: <0JFV00KQYL2YKZ00@vms048.mailsrvcs.net> References: <41363.41171.qm@web33114.mail.mud.yahoo.com> <0JFV00KQYL2YKZ00@vms048.mailsrvcs.net> Message-ID: <004301c77ab2$20c0c4a0$2c01a8c0@bhxp> Also, note that for best scalability and best practices, users should connect to the database, do what they need, then disconnect. So really, the users should not be connected to the database all of the time as in Access. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Monday, April 02, 2007 10:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Users in SQL Server Sp_who and sp_who2 will give you processes and connections...not unique users. This gives you a count of processes connected to the specified database name select count(*) from master.dbo.sysprocesses where dbid = db_id('databasename') This gives you unique logins connected to the specified database name select distinct loginame from master.dbo.sysprocesses where loginame = 'userlogin' and dbid = db_id('databasename') NOTE: if your application's processes use one login for all users then you won't get a true value. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Monday, April 02, 2007 4:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Users in SQL Server You can do a passthrough query to the master database and execute this system stored procedure. EXEC SP_WHO May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: JWColby To: Access Developers discussion and problem solving ; dba-sqlserver at databaseadvisors.com Sent: Monday, April 2, 2007 6:31:59 AM Subject: [AccessD] Users in SQL Server Is there something that can be read from SQL Server to discover the count of and even a list of users logged in to a SQL Server database? I am moving a client from an MDB data store to SQL Server and need to get this information on demand, using VBA. John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Mon Apr 9 09:30:24 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 9 Apr 2007 10:30:24 -0400 Subject: [AccessD] Users in SQL Server In-Reply-To: <004301c77ab2$20c0c4a0$2c01a8c0@bhxp> References: <41363.41171.qm@web33114.mail.mud.yahoo.com><0JFV00KQYL2YKZ00@vms048.mailsrvcs.net> <004301c77ab2$20c0c4a0$2c01a8c0@bhxp> Message-ID: <003701c77ab3$9cbd1300$657aa8c0@m6805> For best practices, users should be selected at random to be publicly Colbyized (20,000 feet, out the door without a parachute), thereby keeping the rest in line. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Monday, April 09, 2007 10:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Users in SQL Server Also, note that for best scalability and best practices, users should connect to the database, do what they need, then disconnect. So really, the users should not be connected to the database all of the time as in Access. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Monday, April 02, 2007 10:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Users in SQL Server Sp_who and sp_who2 will give you processes and connections...not unique users. This gives you a count of processes connected to the specified database name select count(*) from master.dbo.sysprocesses where dbid = db_id('databasename') This gives you unique logins connected to the specified database name select distinct loginame from master.dbo.sysprocesses where loginame = 'userlogin' and dbid = db_id('databasename') NOTE: if your application's processes use one login for all users then you won't get a true value. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Monday, April 02, 2007 4:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Users in SQL Server You can do a passthrough query to the master database and execute this system stored procedure. EXEC SP_WHO May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: JWColby To: Access Developers discussion and problem solving ; dba-sqlserver at databaseadvisors.com Sent: Monday, April 2, 2007 6:31:59 AM Subject: [AccessD] Users in SQL Server Is there something that can be read from SQL Server to discover the count of and even a list of users logged in to a SQL Server database? I am moving a client from an MDB data store to SQL Server and need to get this information on demand, using VBA. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Apr 9 10:06:49 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 9 Apr 2007 08:06:49 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: <4617D1F7.2070008@shaw.ca> References: <0JG200558NU51JV0@l-daemon><001201c7786d$21be8190$8abea8c0@XPS><006b01c77884$f4df7590$8abea8c0@XPS> <4616E904.9040903@shaw.ca><000001c7792c$2229b8b0$8abea8c0@XPS> <4617D1F7.2070008@shaw.ca> Message-ID: Charlotte has done NO HIPPA work and is eternally grateful for that same miracle! Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Saturday, April 07, 2007 10:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Two tier authentication with a USB Fob is supposed to verify the guy with the password and the USB token are the same. In other words the password hasn't been loaned out. The token alone won't get you in. There are $5 USB tokens on the market now but may require some server hardware possibly in 2K to 5K dollar range. Until this year the price was around $60. Here are some cheap Canadian examples. http://www.itbusiness.ca/it/client/en/home/News.asp?id=41998 I have been looking for a case study where someone has hooked this into Sharepoint sites. The vendors might be able to provide it. Some continental European banks have been doing client web app with USB tokens (even at an 60 Euro cost) for a couple of years. Charlotte may have done some HIPPA work. Aside from this there has to be a lot of data encryption. Jim Dettman wrote: >Marty, > > Yes, one of my big concerns with this app is security. That's also >why I'm approaching their requirement of possible web access with some >hesitation. If there will not be a web interface, then the allure of >doing a 3-tier design becomes a lot less. > > The main app is going to be using SQL Server for the BE, so it will >be tight and access to the system will be through Terminal Services. >It's the web thing that worries me, although that's not in the scope as yet. > > In the states, we need to deal with the HIPAA (Health Insurance >Portability and Accountability Act), which I need to get some info on, >as I'm not sure how far I need to go with security. I'm assuming the >worst at this point. > >Jim. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >MartyConnelly >Sent: Friday, April 06, 2007 8:43 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] New database design for MS SQL > >In Canada with Web based Apps on health and legal sites, you will have >to soon consider using two tier authentication for security to conform >with. >The Personal Information Protection and Electronic Documents Act, also >known by the awkward acronym PIPEDA, which came into full effect on >Jan. 2004. >There have been several sites in Ontario that have been compromised >when password only. >Nurses were leaving userids etc on postit notes and patients were >looking through STD reporting sites that were supposed to be doctor >only access. >So it is biometrics or dongles or USB keys (some with cyclical keys are >into the $20 range). >Forget fingerprint devices, Discovery channel showed a method to defeat >this 6 months ago. >By the way this will probably start to apply to HIPPA and European Data >Privacy Acts. >This isn't being enforced yet but will be soon. > > >Jim Dettman wrote: > > > >>Charlotte, >> >><< It offers so much more flexibility than our beloved Access can >>right now.>> >> >> That's what I've been thinking. I am worried that they are going to >>want a web interface for their nurses that are remote and possibly at >>some point give Doctors and Attorneys access to the system. >> >>Jim. >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >>Foust >>Sent: Friday, April 06, 2007 1:11 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] New database design for MS SQL >> >>I don't know VFP, but I'd say go with the full 3-tier approach. It >>offers so much more flexibility than our beloved Access can right now. >>Since Access itself is moving toward being a front end, the next >>versions may see it gain a lot of those capabilities, but for now they >>aren't there. The .Net framework hasn't yet found its way into Access. >> >>Charlotte Foust >> >> -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Mon Apr 9 11:39:02 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 9 Apr 2007 11:39:02 -0500 Subject: [AccessD] Wrong number of records returned in Union query Message-ID: I have a simple select query that returns a different number of records when it is run by itself than when it is run inside a union query. I believe it is because duplicate records (which I need) are being dropped. I have tried the distinct and distinctrow key words in the union query to no avail. Can someone tell me how to fix this? Thanks The SQL for the union query is as follows ( the first query is the broken one: SELECT DISTINCT qryPlanCapex_sub.fldCOMPY, qryPlanCapex_sub.fldDEPT, qryPlanCapex_sub.Name, qryPlanCapex_sub.fldProjectNo, qryPlanCapex_sub.fldDescr, qryPlanCapex_sub.fldYr, qryPlanCapex_sub.fldQtr, qryPlanCapex_sub.fldAmt, qryPlanCapex_sub.Kind, qryPlanCapex_sub.fldRegion, qryPlanCapex_sub.PlanPrNO, qryPlanCapex_sub.fldArea FROM qryPlanCapex_sub; Union SELECT qryYTD_Capex_ApprovedAmt_sub.fldCOMPY, qryYTD_Capex_ApprovedAmt_sub.fldDEPT, qryYTD_Capex_ApprovedAmt_sub.Name, qryYTD_Capex_ApprovedAmt_sub.CAR_Number, qryYTD_Capex_ApprovedAmt_sub.Description, qryYTD_Capex_ApprovedAmt_sub.Yr, qryYTD_Capex_ApprovedAmt_sub.Qtr, qryYTD_Capex_ApprovedAmt_sub.CAR_Amount, qryYTD_Capex_ApprovedAmt_sub.Kind, qryYTD_Capex_ApprovedAmt_sub.fldRegion, qryYTD_Capex_ApprovedAmt_sub.Internal_Asset_ID, qryYTD_Capex_ApprovedAmt_sub.GLMBRANCHES.fldArea FROM qryYTD_Capex_ApprovedAmt_sub; UNION SELECT qryYTD_Capex_sub.fldCOMPY, qryYTD_Capex_sub.fldDEPT, qryYTD_Capex_sub.Name, qryYTD_Capex_sub.CAR_Number, qryYTD_Capex_sub.Description, qryYTD_Capex_sub.Yr, qryYTD_Capex_sub.Qtr, qryYTD_Capex_sub.Acquired_Value, qryYTD_Capex_sub.Kind, qryYTD_Capex_sub.fldRegion, qryYTD_Capex_sub.Internal_Asset_ID,qryYTD_Capex_sub.GLMBRANCHES.fldArea FROM qryYTD_Capex_sub; *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Gustav at cactus.dk Mon Apr 9 12:00:38 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 09 Apr 2007 19:00:38 +0200 Subject: [AccessD] Wrong number of records returned in Union query Message-ID: Hi Jim You are on the track. You need: UNION ALL /gustav >>> Jim.Hale at fleetpride.com 09-04-2007 18:39 >>> I have a simple select query that returns a different number of records when it is run by itself than when it is run inside a union query. I believe it is because duplicate records (which I need) are being dropped. I have tried the distinct and distinctrow key words in the union query to no avail. Can someone tell me how to fix this? Thanks The SQL for the union query is as follows ( the first query is the broken one: SELECT DISTINCT qryPlanCapex_sub.fldCOMPY, qryPlanCapex_sub.fldDEPT, qryPlanCapex_sub.Name, qryPlanCapex_sub.fldProjectNo, qryPlanCapex_sub.fldDescr, qryPlanCapex_sub.fldYr, qryPlanCapex_sub.fldQtr, qryPlanCapex_sub.fldAmt, qryPlanCapex_sub.Kind, qryPlanCapex_sub.fldRegion, qryPlanCapex_sub.PlanPrNO, qryPlanCapex_sub.fldArea FROM qryPlanCapex_sub; Union SELECT qryYTD_Capex_ApprovedAmt_sub.fldCOMPY, qryYTD_Capex_ApprovedAmt_sub.fldDEPT, qryYTD_Capex_ApprovedAmt_sub.Name, qryYTD_Capex_ApprovedAmt_sub.CAR_Number, qryYTD_Capex_ApprovedAmt_sub.Description, qryYTD_Capex_ApprovedAmt_sub.Yr, qryYTD_Capex_ApprovedAmt_sub.Qtr, qryYTD_Capex_ApprovedAmt_sub.CAR_Amount, qryYTD_Capex_ApprovedAmt_sub.Kind, qryYTD_Capex_ApprovedAmt_sub.fldRegion, qryYTD_Capex_ApprovedAmt_sub.Internal_Asset_ID, qryYTD_Capex_ApprovedAmt_sub.GLMBRANCHES.fldArea FROM qryYTD_Capex_ApprovedAmt_sub; UNION SELECT qryYTD_Capex_sub.fldCOMPY, qryYTD_Capex_sub.fldDEPT, qryYTD_Capex_sub.Name, qryYTD_Capex_sub.CAR_Number, qryYTD_Capex_sub.Description, qryYTD_Capex_sub.Yr, qryYTD_Capex_sub.Qtr, qryYTD_Capex_sub.Acquired_Value, qryYTD_Capex_sub.Kind, qryYTD_Capex_sub.fldRegion, qryYTD_Capex_sub.Internal_Asset_ID,qryYTD_Capex_sub.GLMBRANCHES.fldArea FROM qryYTD_Capex_sub; From ewaldt at gdls.com Mon Apr 9 12:09:09 2007 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Mon, 9 Apr 2007 13:09:09 -0400 Subject: [AccessD] Wrong number of records returned in Union query In-Reply-To: Message-ID: If you want the duplicates, why are you using the "DISTINCT" keyword, which tells Access that you don't want them? If you want the duplicates, don't use either of the distinct or distinctrow keywords. Sorry if this is too simple, but your SQL code doesn't seem to match what you say you're looking for. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems Date: Mon, 9 Apr 2007 11:39:02 -0500 From: "Hale, Jim" Subject: [AccessD] Wrong number of records returned in Union query To: accessd at databaseadvisors.com Message-ID: Content-Type: text/plain I have a simple select query that returns a different number of records when it is run by itself than when it is run inside a union query. I believe it is because duplicate records (which I need) are being dropped. I have tried the distinct and distinctrow key words in the union query to no avail. Can someone tell me how to fix this? Thanks The SQL for the union query is as follows ( the first query is the broken one: SELECT DISTINCT qryPlanCapex_sub.fldCOMPY, qryPlanCapex_sub.fldDEPT, qryPlanCapex_sub.Name, qryPlanCapex_sub.fldProjectNo, qryPlanCapex_sub.fldDescr, qryPlanCapex_sub.fldYr, qryPlanCapex_sub.fldQtr, qryPlanCapex_sub.fldAmt, qryPlanCapex_sub.Kind, qryPlanCapex_sub.fldRegion, qryPlanCapex_sub.PlanPrNO, qryPlanCapex_sub.fldArea FROM qryPlanCapex_sub; Union SELECT qryYTD_Capex_ApprovedAmt_sub.fldCOMPY, qryYTD_Capex_ApprovedAmt_sub.fldDEPT, qryYTD_Capex_ApprovedAmt_sub.Name, qryYTD_Capex_ApprovedAmt_sub.CAR_Number, qryYTD_Capex_ApprovedAmt_sub.Description, qryYTD_Capex_ApprovedAmt_sub.Yr, qryYTD_Capex_ApprovedAmt_sub.Qtr, qryYTD_Capex_ApprovedAmt_sub.CAR_Amount, qryYTD_Capex_ApprovedAmt_sub.Kind, qryYTD_Capex_ApprovedAmt_sub.fldRegion, qryYTD_Capex_ApprovedAmt_sub.Internal_Asset_ID, qryYTD_Capex_ApprovedAmt_sub.GLMBRANCHES.fldArea FROM qryYTD_Capex_ApprovedAmt_sub; UNION SELECT qryYTD_Capex_sub.fldCOMPY, qryYTD_Capex_sub.fldDEPT, qryYTD_Capex_sub.Name, qryYTD_Capex_sub.CAR_Number, qryYTD_Capex_sub.Description, qryYTD_Capex_sub.Yr, qryYTD_Capex_sub.Qtr, qryYTD_Capex_sub.Acquired_Value, qryYTD_Capex_sub.Kind, qryYTD_Capex_sub.fldRegion, qryYTD_Capex_sub.Internal_Asset_ID,qryYTD_Capex_sub.GLMBRANCHES.fldArea FROM qryYTD_Capex_sub; This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From accessd at shaw.ca Mon Apr 9 12:29:33 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 09 Apr 2007 10:29:33 -0700 Subject: [AccessD] Wrong number of records returned in Union query In-Reply-To: Message-ID: <0JG800HL4R2ZBXO2@l-daemon> Jim UNION ALL will get them all. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, April 09, 2007 9:39 AM To: accessd at databaseadvisors.com Subject: [AccessD] Wrong number of records returned in Union query I have a simple select query that returns a different number of records when it is run by itself than when it is run inside a union query. I believe it is because duplicate records (which I need) are being dropped. I have tried the distinct and distinctrow key words in the union query to no avail. Can someone tell me how to fix this? Thanks The SQL for the union query is as follows ( the first query is the broken one: SELECT DISTINCT qryPlanCapex_sub.fldCOMPY, qryPlanCapex_sub.fldDEPT, qryPlanCapex_sub.Name, qryPlanCapex_sub.fldProjectNo, qryPlanCapex_sub.fldDescr, qryPlanCapex_sub.fldYr, qryPlanCapex_sub.fldQtr, qryPlanCapex_sub.fldAmt, qryPlanCapex_sub.Kind, qryPlanCapex_sub.fldRegion, qryPlanCapex_sub.PlanPrNO, qryPlanCapex_sub.fldArea FROM qryPlanCapex_sub; Union SELECT qryYTD_Capex_ApprovedAmt_sub.fldCOMPY, qryYTD_Capex_ApprovedAmt_sub.fldDEPT, qryYTD_Capex_ApprovedAmt_sub.Name, qryYTD_Capex_ApprovedAmt_sub.CAR_Number, qryYTD_Capex_ApprovedAmt_sub.Description, qryYTD_Capex_ApprovedAmt_sub.Yr, qryYTD_Capex_ApprovedAmt_sub.Qtr, qryYTD_Capex_ApprovedAmt_sub.CAR_Amount, qryYTD_Capex_ApprovedAmt_sub.Kind, qryYTD_Capex_ApprovedAmt_sub.fldRegion, qryYTD_Capex_ApprovedAmt_sub.Internal_Asset_ID, qryYTD_Capex_ApprovedAmt_sub.GLMBRANCHES.fldArea FROM qryYTD_Capex_ApprovedAmt_sub; UNION SELECT qryYTD_Capex_sub.fldCOMPY, qryYTD_Capex_sub.fldDEPT, qryYTD_Capex_sub.Name, qryYTD_Capex_sub.CAR_Number, qryYTD_Capex_sub.Description, qryYTD_Capex_sub.Yr, qryYTD_Capex_sub.Qtr, qryYTD_Capex_sub.Acquired_Value, qryYTD_Capex_sub.Kind, qryYTD_Capex_sub.fldRegion, qryYTD_Capex_sub.Internal_Asset_ID,qryYTD_Capex_sub.GLMBRANCHES.fldArea FROM qryYTD_Capex_sub; *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Mon Apr 9 12:39:29 2007 From: JHewson at karta.com (Jim Hewson) Date: Mon, 9 Apr 2007 12:39:29 -0500 Subject: [AccessD] Wrong number of records returned in Union query In-Reply-To: References: Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C05074202@karta-exc-int.Karta.com> Jim, I would think that taking out "DISTINCT" in the first query would work. Another option - one that I use - is to create each query separately and insure the results of each query are what is needed. Then use a simple union between them. For example: If your first query was qryPlanCapex and your second was qryYTD_PlanCapex the your union query would be: SELECT * >From qryPlanCapex Union select * >From qryYTD_PlanCapex As long as each query has the same number of fields and are in the same order it should work. HTH Jim jhewson at karta.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, April 09, 2007 11:39 AM To: accessd at databaseadvisors.com Subject: [AccessD] Wrong number of records returned in Union query I have a simple select query that returns a different number of records when it is run by itself than when it is run inside a union query. I believe it is because duplicate records (which I need) are being dropped. I have tried the distinct and distinctrow key words in the union query to no avail. Can someone tell me how to fix this? Thanks The SQL for the union query is as follows ( the first query is the broken one: SELECT DISTINCT qryPlanCapex_sub.fldCOMPY, qryPlanCapex_sub.fldDEPT, qryPlanCapex_sub.Name, qryPlanCapex_sub.fldProjectNo, qryPlanCapex_sub.fldDescr, qryPlanCapex_sub.fldYr, qryPlanCapex_sub.fldQtr, qryPlanCapex_sub.fldAmt, qryPlanCapex_sub.Kind, qryPlanCapex_sub.fldRegion, qryPlanCapex_sub.PlanPrNO, qryPlanCapex_sub.fldArea FROM qryPlanCapex_sub; Union SELECT qryYTD_Capex_ApprovedAmt_sub.fldCOMPY, qryYTD_Capex_ApprovedAmt_sub.fldDEPT, qryYTD_Capex_ApprovedAmt_sub.Name, qryYTD_Capex_ApprovedAmt_sub.CAR_Number, qryYTD_Capex_ApprovedAmt_sub.Description, qryYTD_Capex_ApprovedAmt_sub.Yr, qryYTD_Capex_ApprovedAmt_sub.Qtr, qryYTD_Capex_ApprovedAmt_sub.CAR_Amount, qryYTD_Capex_ApprovedAmt_sub.Kind, qryYTD_Capex_ApprovedAmt_sub.fldRegion, qryYTD_Capex_ApprovedAmt_sub.Internal_Asset_ID, qryYTD_Capex_ApprovedAmt_sub.GLMBRANCHES.fldArea FROM qryYTD_Capex_ApprovedAmt_sub; UNION SELECT qryYTD_Capex_sub.fldCOMPY, qryYTD_Capex_sub.fldDEPT, qryYTD_Capex_sub.Name, qryYTD_Capex_sub.CAR_Number, qryYTD_Capex_sub.Description, qryYTD_Capex_sub.Yr, qryYTD_Capex_sub.Qtr, qryYTD_Capex_sub.Acquired_Value, qryYTD_Capex_sub.Kind, qryYTD_Capex_sub.fldRegion, qryYTD_Capex_sub.Internal_Asset_ID,qryYTD_Capex_sub.GLMBRANCHES.fldArea FROM qryYTD_Capex_sub; *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Mon Apr 9 12:56:57 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 09 Apr 2007 17:56:57 +0000 Subject: [AccessD] Wrong number of records returned in Union query In-Reply-To: <9C382E065F54AE48BC3AA7925DCBB01C05074202@karta-exc-int.Karta.com> Message-ID: I've replied to this post before...but I have not seen it show up... this is from the help file:"By default, no duplicate records are returned when you use a UNION operation; however, you can include the ALL predicate to ensure that all records are returned. This also makes the query run faster." Good Luck, Mark >From: "Jim Hewson" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Wrong number of records returned in Union query >Date: Mon, 9 Apr 2007 12:39:29 -0500 > >Jim, >I would think that taking out "DISTINCT" in the first query would work. >Another option - one that I use - is to create each query separately and >insure the results of each query are what is needed. >Then use a simple union between them. >For example: >If your first query was qryPlanCapex and your second was qryYTD_PlanCapex >the your union query would be: > >SELECT * > >From qryPlanCapex >Union select * > >From qryYTD_PlanCapex > >As long as each query has the same number of fields and are in the same >order it should work. > >HTH > >Jim >jhewson at karta.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim >Sent: Monday, April 09, 2007 11:39 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Wrong number of records returned in Union query > >I have a simple select query that returns a different number of records >when it is run by itself than when it is run inside a union query. I >believe >it is because duplicate records (which I need) are being dropped. I have >tried the distinct and distinctrow key words in the union query to no >avail. >Can someone tell me how to fix this? Thanks > >The SQL for the union query is as follows ( the first query is the broken >one: > >SELECT DISTINCT qryPlanCapex_sub.fldCOMPY, qryPlanCapex_sub.fldDEPT, >qryPlanCapex_sub.Name, qryPlanCapex_sub.fldProjectNo, >qryPlanCapex_sub.fldDescr, qryPlanCapex_sub.fldYr, qryPlanCapex_sub.fldQtr, >qryPlanCapex_sub.fldAmt, qryPlanCapex_sub.Kind, qryPlanCapex_sub.fldRegion, >qryPlanCapex_sub.PlanPrNO, qryPlanCapex_sub.fldArea FROM qryPlanCapex_sub; >Union >SELECT qryYTD_Capex_ApprovedAmt_sub.fldCOMPY, >qryYTD_Capex_ApprovedAmt_sub.fldDEPT, qryYTD_Capex_ApprovedAmt_sub.Name, >qryYTD_Capex_ApprovedAmt_sub.CAR_Number, >qryYTD_Capex_ApprovedAmt_sub.Description, qryYTD_Capex_ApprovedAmt_sub.Yr, >qryYTD_Capex_ApprovedAmt_sub.Qtr, qryYTD_Capex_ApprovedAmt_sub.CAR_Amount, >qryYTD_Capex_ApprovedAmt_sub.Kind, qryYTD_Capex_ApprovedAmt_sub.fldRegion, >qryYTD_Capex_ApprovedAmt_sub.Internal_Asset_ID, >qryYTD_Capex_ApprovedAmt_sub.GLMBRANCHES.fldArea >FROM qryYTD_Capex_ApprovedAmt_sub; >UNION >SELECT qryYTD_Capex_sub.fldCOMPY, qryYTD_Capex_sub.fldDEPT, >qryYTD_Capex_sub.Name, qryYTD_Capex_sub.CAR_Number, >qryYTD_Capex_sub.Description, qryYTD_Capex_sub.Yr, qryYTD_Capex_sub.Qtr, >qryYTD_Capex_sub.Acquired_Value, qryYTD_Capex_sub.Kind, >qryYTD_Capex_sub.fldRegion, >qryYTD_Capex_sub.Internal_Asset_ID,qryYTD_Capex_sub.GLMBRANCHES.fldArea >FROM qryYTD_Capex_sub; > >*********************************************************************** >The information transmitted is intended solely for the individual or >entity to which it is addressed and may contain confidential and/or >privileged material. Any review, retransmission, dissemination or >other use of or taking action in reliance upon this information by >persons or entities other than the intended recipient is prohibited. >If you have received this email in error please contact the sender and >delete the material from any computer. As a recipient of this email, >you are responsible for screening its contents and the contents of any >attachments for the presence of viruses. No liability is accepted for >any damages caused by any virus transmitted by this email. >-- >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 _________________________________________________________________ Mortgage refinance is Hot. *Terms. Get a 5.375%* fix rate. Check savings https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h2bbb&disc=y&vers=925&s=4056&p=5117 From Jim.Hale at FleetPride.com Mon Apr 9 12:55:21 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 9 Apr 2007 12:55:21 -0500 Subject: [AccessD] Wrong number of records returned in Union query Message-ID: That did the trick! Thanks Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 09, 2007 12:01 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Wrong number of records returned in Union query Hi Jim You are on the track. You need: UNION ALL /gustav >>> Jim.Hale at fleetpride.com 09-04-2007 18:39 >>> I have a simple select query that returns a different number of records when it is run by itself than when it is run inside a union query. I believe it is because duplicate records (which I need) are being dropped. I have tried the distinct and distinctrow key words in the union query to no avail. Can someone tell me how to fix this? Thanks The SQL for the union query is as follows ( the first query is the broken one: SELECT DISTINCT qryPlanCapex_sub.fldCOMPY, qryPlanCapex_sub.fldDEPT, qryPlanCapex_sub.Name, qryPlanCapex_sub.fldProjectNo, qryPlanCapex_sub.fldDescr, qryPlanCapex_sub.fldYr, qryPlanCapex_sub.fldQtr, qryPlanCapex_sub.fldAmt, qryPlanCapex_sub.Kind, qryPlanCapex_sub.fldRegion, qryPlanCapex_sub.PlanPrNO, qryPlanCapex_sub.fldArea FROM qryPlanCapex_sub; Union SELECT qryYTD_Capex_ApprovedAmt_sub.fldCOMPY, qryYTD_Capex_ApprovedAmt_sub.fldDEPT, qryYTD_Capex_ApprovedAmt_sub.Name, qryYTD_Capex_ApprovedAmt_sub.CAR_Number, qryYTD_Capex_ApprovedAmt_sub.Description, qryYTD_Capex_ApprovedAmt_sub.Yr, qryYTD_Capex_ApprovedAmt_sub.Qtr, qryYTD_Capex_ApprovedAmt_sub.CAR_Amount, qryYTD_Capex_ApprovedAmt_sub.Kind, qryYTD_Capex_ApprovedAmt_sub.fldRegion, qryYTD_Capex_ApprovedAmt_sub.Internal_Asset_ID, qryYTD_Capex_ApprovedAmt_sub.GLMBRANCHES.fldArea FROM qryYTD_Capex_ApprovedAmt_sub; UNION SELECT qryYTD_Capex_sub.fldCOMPY, qryYTD_Capex_sub.fldDEPT, qryYTD_Capex_sub.Name, qryYTD_Capex_sub.CAR_Number, qryYTD_Capex_sub.Description, qryYTD_Capex_sub.Yr, qryYTD_Capex_sub.Qtr, qryYTD_Capex_sub.Acquired_Value, qryYTD_Capex_sub.Kind, qryYTD_Capex_sub.fldRegion, qryYTD_Capex_sub.Internal_Asset_ID,qryYTD_Capex_sub.GLMBRANCHES.fldArea FROM qryYTD_Capex_sub; -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Jim.Hale at FleetPride.com Mon Apr 9 12:57:59 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 9 Apr 2007 12:57:59 -0500 Subject: [AccessD] Wrong number of records returned in Union query Message-ID: Union All worked. I tried Distinct when I was fiddling around trying to find a solution. Thanks Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Monday, April 09, 2007 12:09 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Wrong number of records returned in Union query If you want the duplicates, why are you using the "DISTINCT" keyword, which tells Access that you don't want them? If you want the duplicates, don't use either of the distinct or distinctrow keywords. Sorry if this is too simple, but your SQL code doesn't seem to match what you say you're looking for. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems Date: Mon, 9 Apr 2007 11:39:02 -0500 From: "Hale, Jim" Subject: [AccessD] Wrong number of records returned in Union query To: accessd at databaseadvisors.com Message-ID: Content-Type: text/plain I have a simple select query that returns a different number of records when it is run by itself than when it is run inside a union query. I believe it is because duplicate records (which I need) are being dropped. I have tried the distinct and distinctrow key words in the union query to no avail. Can someone tell me how to fix this? Thanks The SQL for the union query is as follows ( the first query is the broken one: *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From fuller.artful at gmail.com Mon Apr 9 13:37:35 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 9 Apr 2007 14:37:35 -0400 Subject: [AccessD] WANs and Access In-Reply-To: <001701c77924$ef2b14b0$0201a8c0@HAL9005> References: <29f585dd0704070746s19f4e01eu35258d0409d3df1f@mail.gmail.com> <001701c77924$ef2b14b0$0201a8c0@HAL9005> Message-ID: <29f585dd0704091137t5c79f28cjb424ec28b29f75b1@mail.gmail.com> The best approach for them is to set up a Terminal Services box in the office and have them log into it. It can run the Access app which in turn talks to a BE residing on another server. That way they get maximal speed and they are talking to the HQ database. On 4/7/07, Rocky Smolin at Beach Access Software wrote: > > Were the remotes doing updates, then? Or read only? > > In this case the remotes will be traveling, signing in from hotels and job > sites and such. So I suppose they could run the replication ad hoc? > > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Saturday, April 07, 2007 7:47 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] WANs and Access > > I have considerable experience doing this. In one case I had 4 offices > hooked together in a WAN, all running the same Access app. That's when I > became an expert at Access replication. I put a copy of the BE on a server > in each office, that the local users talked to. In the HQ office, a box > was > running Synchronizer and updated the branch BEs every 5 minutes, as I > recall. Thus the longest it could take for any remote user to see changes > made by a local user was 10 minutes. But even in the case of collisions, > Replication Manager handled them flawlessly. > > This delivered much better performance than the straight WAN approach, > which > I tried first and was very unsatisfied with the performance. Using > replication over the WAN resulted in much greater performance. > > Arthur > > > On 4/6/07, Rocky Smolin at Beach Access Software > wrote: > > > > I'll forward your name to the client. He's in Canada. > > > > Rocky > > > > > > > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim > > Lawrence > > Sent: Thursday, April 05, 2007 11:16 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] WANs and Access > > > > Hi Rocky: > > > > If you need any help with setting up applications running at different > > locations I could offer some help in that area as I have definitely > > done enough of that type of work. > > > > Jim > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin at Beach Access Software > > Sent: Thursday, April 05, 2007 10:09 AM > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] WANs and Access > > > > Had a prospect ask me how robust my application would be running over > > a WAN. > > Broadband connection but 'slow' according to his description. Plus > > folks dialing in from remote locations but at least 50MBPS. Anyone > > have any experience with this or know of any limitations with Access > > in this regard? > > > > MTIA, > > > > Rocky > > > > > > > > > > > > -- > > 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 > > > > -- > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: > > 4/4/2007 > > 1:09 PM > > > > > > -- > > 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 > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.446 / Virus Database: 268.18.26/750 - Release Date: 4/6/2007 > 9:30 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Mon Apr 9 14:54:50 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 09 Apr 2007 15:54:50 -0400 Subject: [AccessD] Case management and external files Message-ID: <000301c77ae0$ef9634d0$8abea8c0@XPS> Greetings All, Question: anyone done work with case management and external files (i.e medical records, faxes, Word Docs, etc)? I know it's always best to leave them external, but beyond that: a. Any best practices you've found for linking them to a given case - i.e. do you tag them or place them in a per claim specific directory? b. How do you handle inbound faxes? Any recommendations on software? c. What about e-mails with attachments? Manual operation to cut/save the attachment or something more automatic? Any insights would be helpful. Thanks, Jim From accessd at shaw.ca Mon Apr 9 15:11:19 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 09 Apr 2007 13:11:19 -0700 Subject: [AccessD] Case management and external files In-Reply-To: <000301c77ae0$ef9634d0$8abea8c0@XPS> Message-ID: <0JG800K84YKLF3S2@l-daemon> Hi Jim: For the one office I was commissioned to write a application that could manage all their projects. One of the components was the handling of account files, spreadsheets, invoices and other miscellaneous text file and graphics. These files were storied externally in a public/private set of directories but their locations were all transparently managed for the MS Access application. MS Access can be setup to access Outlook emails but how it would also manage attachments is something I have never researched. If there is any way I could help just let me know. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, April 09, 2007 12:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Case management and external files Greetings All, Question: anyone done work with case management and external files (i.e medical records, faxes, Word Docs, etc)? I know it's always best to leave them external, but beyond that: a. Any best practices you've found for linking them to a given case - i.e. do you tag them or place them in a per claim specific directory? b. How do you handle inbound faxes? Any recommendations on software? c. What about e-mails with attachments? Manual operation to cut/save the attachment or something more automatic? Any insights would be helpful. Thanks, Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Apr 9 15:22:15 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 09 Apr 2007 13:22:15 -0700 Subject: [AccessD] Case management and external files In-Reply-To: <000301c77ae0$ef9634d0$8abea8c0@XPS> References: <000301c77ae0$ef9634d0$8abea8c0@XPS> Message-ID: <461AA077.8000302@shaw.ca> One option, you might want to look at, are some of the more popular legal case management solutions. These are in the $200-300 range. The enterprise editions store info in SQL Server. You should have a basic series file numbering system to start with based on some sort of taxonomy. Look at TimeMatters, Legal Files, Billing Matters, and PracticeMaster, Amicus Attorney Both PracticeMaster and TimeMatters work with Outlook through MAPI and SMTP. http://www.abanet.org/tech/ltrc/ http://www.abanet.org/tech/ltrc/charts/casemanagementcomparison.html http://www.timematters.com/products/timematters/ Jim Dettman wrote: >Greetings All, > > Question: anyone done work with case management and external files (i.e >medical records, faxes, Word Docs, etc)? I know it's always best to leave >them external, but beyond that: > >a. Any best practices you've found for linking them to a given case - i.e. >do you tag them or place them in a per claim specific directory? > >b. How do you handle inbound faxes? Any recommendations on software? > >c. What about e-mails with attachments? Manual operation to cut/save the >attachment or something more automatic? > > Any insights would be helpful. > >Thanks, >Jim > > -- Marty Connelly Victoria, B.C. Canada From mwp.reid at qub.ac.uk Mon Apr 9 15:44:45 2007 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Mon, 9 Apr 2007 21:44:45 +0100 Subject: [AccessD] Case management and external files References: <000301c77ae0$ef9634d0$8abea8c0@XPS> Message-ID: Jim I just set up a case management system for the University Counselling Office in the SharePoint. Email and attachments directly to sharepoint email enabled lists. eg CounsolListName at qub.ac.uk and you can send docs directly into the sharepoint list. The user gets an automatic alert via Outlook that the doc is available. Almost no programming involved. Tight integration with our Active Directory. May not be suitable for you but worked out well so far for us. We use lists to split the cases up to individual staff, All access is strictly internal only which saved a lot of work. If they need to take the stuff of line we can always use A 2007 which works well for us as well. Its mainly all in test mode at the moment but we will be moving almost everything to MOSS 2007 over the next year or so. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Jim Dettman Sent: Mon 09/04/2007 20:54 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Case management and external files Greetings All, Question: anyone done work with case management and external files (i.e medical records, faxes, Word Docs, etc)? I know it's always best to leave them external, but beyond that: a. Any best practices you've found for linking them to a given case - i.e. do you tag them or place them in a per claim specific directory? b. How do you handle inbound faxes? Any recommendations on software? c. What about e-mails with attachments? Manual operation to cut/save the attachment or something more automatic? Any insights would be helpful. Thanks, Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Apr 9 15:54:54 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 9 Apr 2007 15:54:54 -0500 Subject: [AccessD] Case management and external files In-Reply-To: <000301c77ae0$ef9634d0$8abea8c0@XPS> References: <000301c77ae0$ef9634d0$8abea8c0@XPS> Message-ID: <002301c77ae9$534c33a0$0200a8c0@danwaters> Hi Jim, I do this frequently. I copy the files that a user has selected and move the copies to a specific directory on the server where the db is stored. I also make the copies read-only so that when someone opens it (with a hyperlink path created at run-time in code), they can't store changes over the stored copy. I use File Systems Object for this. I guess an inbound fax would need to be scanned electronically to be stored as a file. Unless there is software that can be used to view a fax and save it as a separate file without printing it out. I have figured out how to pull emails from Outlook and save them as separate files in .msg format. I was surprised to find that when I did this, any attachments came right along with the email! I'll have to go through my code to find this, and I'll reply again tomorrow. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, April 09, 2007 2:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Case management and external files Greetings All, Question: anyone done work with case management and external files (i.e medical records, faxes, Word Docs, etc)? I know it's always best to leave them external, but beyond that: a. Any best practices you've found for linking them to a given case - i.e. do you tag them or place them in a per claim specific directory? b. How do you handle inbound faxes? Any recommendations on software? c. What about e-mails with attachments? Manual operation to cut/save the attachment or something more automatic? Any insights would be helpful. Thanks, Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Mon Apr 9 16:06:39 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 9 Apr 2007 17:06:39 -0400 Subject: [AccessD] Case management and external files Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C204044063@xlivmbx35.aig.com> Regarding the attachments in emails: as has been pointed out, when you save such emails as .msg files the attachments are included. Regarding preventing the pesky users from damaging the stored files: I store the files somewhere on the network and the users get at the files via an Access app. When they select a file to examine the Access app *copies* the original to a predefined folder on the user's home drive, and then opens the copy for them to play with. When the Access application shuts down, any files found in the predefined folder are deleted. HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, April 09, 2007 3:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Case management and external files Greetings All, Question: anyone done work with case management and external files (i.e medical records, faxes, Word Docs, etc)? I know it's always best to leave them external, but beyond that: a. Any best practices you've found for linking them to a given case - i.e. do you tag them or place them in a per claim specific directory? b. How do you handle inbound faxes? Any recommendations on software? c. What about e-mails with attachments? Manual operation to cut/save the attachment or something more automatic? Any insights would be helpful. Thanks, Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Apr 9 16:25:42 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 9 Apr 2007 17:25:42 -0400 Subject: [AccessD] Case management and external files In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C204044063@xlivmbx35.aig.com> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C204044063@xlivmbx35.aig.com> Message-ID: <007601c77aed$a1572830$657aa8c0@m6805> I do the same. Outlook has a collection to hold messages. Each message has a collection to hold attachments. You can iterate these collections storing the objects as you wish. I "strip off" attachments all of the time simply by iterating the attachments collection and doing a save of the items. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Monday, April 09, 2007 5:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Case management and external files Regarding the attachments in emails: as has been pointed out, when you save such emails as .msg files the attachments are included. Regarding preventing the pesky users from damaging the stored files: I store the files somewhere on the network and the users get at the files via an Access app. When they select a file to examine the Access app *copies* the original to a predefined folder on the user's home drive, and then opens the copy for them to play with. When the Access application shuts down, any files found in the predefined folder are deleted. HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, April 09, 2007 3:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Case management and external files Greetings All, Question: anyone done work with case management and external files (i.e medical records, faxes, Word Docs, etc)? I know it's always best to leave them external, but beyond that: a. Any best practices you've found for linking them to a given case - i.e. do you tag them or place them in a per claim specific directory? b. How do you handle inbound faxes? Any recommendations on software? c. What about e-mails with attachments? Manual operation to cut/save the attachment or something more automatic? Any insights would be helpful. Thanks, Jim -- 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 DWUTKA at Marlow.com Mon Apr 9 16:48:48 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 9 Apr 2007 16:48:48 -0500 Subject: [AccessD] Change the focus from Access to an IE window. In-Reply-To: <337978.6942.qm@web33113.mail.mud.yahoo.com> Message-ID: There is an option in the advanced tab of the IE internet options window, which says whether IE will 'reuse' open browser windows. Not sure how ie 7.0 works with that, I still use 6.x. However, with that setting set to 'yes', what would happen is if you have a browser window open, and you click a link (say in an email), IE would grab that browser window and navigate to the link. With the setting to 'no', IE opens a NEW window every time you click a link. Not sure if this helps or not, I saw a posted solution (I think) which has you open a new IE instance, and then navigating to that... that should work independent of the above mentioned setting. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Friday, April 06, 2007 8:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change the focus from Access to an IE window. Yes. The majority of the time it works that way in my app as well. But we are seeing a considerable amount of times that it does not work that way. Especially when the user has more than one IE window open already. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Friday, April 6, 2007 8:38:20 AM Subject: Re: [AccessD] Change the focus from Access to an IE window. Hi Lonnie That is how my A2003 and IE7 behave by default. I don't even know how to change that. /gustav >>> prodevmg at yahoo.com 06-04-2007 05:13 >>> I have URL's in a table. When clicked from a form the website opens. I want to move the focus from Access to the newly opened window. How do I do that? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ ____________ Don't get soaked. Take a quick peek at the forecast with the Yahoo! Search weather shortcut. http://tools.search.yahoo.com/shortcuts/#loc_weather -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Apr 9 19:27:24 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 09 Apr 2007 20:27:24 -0400 Subject: [AccessD] Case management and external files In-Reply-To: <007601c77aed$a1572830$657aa8c0@m6805> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C204044063@xlivmbx35.aig.com> <007601c77aed$a1572830$657aa8c0@m6805> Message-ID: <007d01c77b07$058c0b40$8abea8c0@XPS> John, Sounds simple enough. I know anti-virus packages do this all the time. Thankfully, I can standardize on Outlook as a client, so this shouldn't be a major hurdle. What's bouncing around in the back of my mind is working with the faxes as well. I haven't played around in the e-mail/fax area for a while now (used to use Winfax Pro). I'm sure quite a bit has changed as has the products available. I also need to explore what Exchange has to offer for handling inbound faxes. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 09, 2007 5:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Case management and external files I do the same. Outlook has a collection to hold messages. Each message has a collection to hold attachments. You can iterate these collections storing the objects as you wish. I "strip off" attachments all of the time simply by iterating the attachments collection and doing a save of the items. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Monday, April 09, 2007 5:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Case management and external files Regarding the attachments in emails: as has been pointed out, when you save such emails as .msg files the attachments are included. Regarding preventing the pesky users from damaging the stored files: I store the files somewhere on the network and the users get at the files via an Access app. When they select a file to examine the Access app *copies* the original to a predefined folder on the user's home drive, and then opens the copy for them to play with. When the Access application shuts down, any files found in the predefined folder are deleted. HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, April 09, 2007 3:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Case management and external files Greetings All, Question: anyone done work with case management and external files (i.e medical records, faxes, Word Docs, etc)? I know it's always best to leave them external, but beyond that: a. Any best practices you've found for linking them to a given case - i.e. do you tag them or place them in a per claim specific directory? b. How do you handle inbound faxes? Any recommendations on software? c. What about e-mails with attachments? Manual operation to cut/save the attachment or something more automatic? Any insights would be helpful. Thanks, Jim -- 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 From jimdettman at verizon.net Mon Apr 9 19:27:24 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 09 Apr 2007 20:27:24 -0400 Subject: [AccessD] Case management and external files In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C204044063@xlivmbx35.aig.com> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C204044063@xlivmbx35.aig.com> Message-ID: <007e01c77b07$063088a0$8abea8c0@XPS> Thanks Lambert. Ensuring the integrity of received files is also something I'm concerned about. That sounds like a good solution. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Monday, April 09, 2007 5:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Case management and external files Regarding the attachments in emails: as has been pointed out, when you save such emails as .msg files the attachments are included. Regarding preventing the pesky users from damaging the stored files: I store the files somewhere on the network and the users get at the files via an Access app. When they select a file to examine the Access app *copies* the original to a predefined folder on the user's home drive, and then opens the copy for them to play with. When the Access application shuts down, any files found in the predefined folder are deleted. HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, April 09, 2007 3:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Case management and external files Greetings All, Question: anyone done work with case management and external files (i.e medical records, faxes, Word Docs, etc)? I know it's always best to leave them external, but beyond that: a. Any best practices you've found for linking them to a given case - i.e. do you tag them or place them in a per claim specific directory? b. How do you handle inbound faxes? Any recommendations on software? c. What about e-mails with attachments? Manual operation to cut/save the attachment or something more automatic? Any insights would be helpful. Thanks, Jim -- 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 jimdettman at verizon.net Mon Apr 9 19:27:24 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 09 Apr 2007 20:27:24 -0400 Subject: [AccessD] Case management and external files In-Reply-To: <461AA077.8000302@shaw.ca> References: <000301c77ae0$ef9634d0$8abea8c0@XPS> <461AA077.8000302@shaw.ca> Message-ID: <008101c77b07$07394610$8abea8c0@XPS> Marty, <> Definitely a thought.. This will be for a medicals claims system. <> Got that well in hand already. Main worry is all these external files. The end users are non-computer literate folks, so I need everything to be as automatic as possible. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 09, 2007 4:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Case management and external files One option, you might want to look at, are some of the more popular legal case management solutions. These are in the $200-300 range. The enterprise editions store info in SQL Server. You should have a basic series file numbering system to start with based on some sort of taxonomy. Look at TimeMatters, Legal Files, Billing Matters, and PracticeMaster, Amicus Attorney Both PracticeMaster and TimeMatters work with Outlook through MAPI and SMTP. http://www.abanet.org/tech/ltrc/ http://www.abanet.org/tech/ltrc/charts/casemanagementcomparison.html http://www.timematters.com/products/timematters/ Jim Dettman wrote: >Greetings All, > > Question: anyone done work with case management and external files (i.e >medical records, faxes, Word Docs, etc)? I know it's always best to leave >them external, but beyond that: > >a. Any best practices you've found for linking them to a given case - i.e. >do you tag them or place them in a per claim specific directory? > >b. How do you handle inbound faxes? Any recommendations on software? > >c. What about e-mails with attachments? Manual operation to cut/save the >attachment or something more automatic? > > Any insights would be helpful. > >Thanks, >Jim > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Apr 9 19:27:24 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 09 Apr 2007 20:27:24 -0400 Subject: [AccessD] Case management and external files In-Reply-To: <002301c77ae9$534c33a0$0200a8c0@danwaters> References: <000301c77ae0$ef9634d0$8abea8c0@XPS> <002301c77ae9$534c33a0$0200a8c0@danwaters> Message-ID: <007f01c77b07$067f44e0$8abea8c0@XPS> Dan, How do you view the attachments once they are in .msg format? I assume you'd need to go through Outlook, or do they show up as individual files? Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, April 09, 2007 4:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Case management and external files Hi Jim, I do this frequently. I copy the files that a user has selected and move the copies to a specific directory on the server where the db is stored. I also make the copies read-only so that when someone opens it (with a hyperlink path created at run-time in code), they can't store changes over the stored copy. I use File Systems Object for this. I guess an inbound fax would need to be scanned electronically to be stored as a file. Unless there is software that can be used to view a fax and save it as a separate file without printing it out. I have figured out how to pull emails from Outlook and save them as separate files in .msg format. I was surprised to find that when I did this, any attachments came right along with the email! I'll have to go through my code to find this, and I'll reply again tomorrow. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, April 09, 2007 2:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Case management and external files Greetings All, Question: anyone done work with case management and external files (i.e medical records, faxes, Word Docs, etc)? I know it's always best to leave them external, but beyond that: a. Any best practices you've found for linking them to a given case - i.e. do you tag them or place them in a per claim specific directory? b. How do you handle inbound faxes? Any recommendations on software? c. What about e-mails with attachments? Manual operation to cut/save the attachment or something more automatic? Any insights would be helpful. Thanks, Jim -- 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 jimdettman at verizon.net Mon Apr 9 19:27:24 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 09 Apr 2007 20:27:24 -0400 Subject: [AccessD] Case management and external files In-Reply-To: References: <000301c77ae0$ef9634d0$8abea8c0@XPS> Message-ID: <008001c77b07$06d77700$8abea8c0@XPS> Martin, Thanks for that. I have been starting to explore Share Point as one of the recommendations I'll be making is for them to purchase SBS 2003 and Office. My problem is I can't really find anything in all the fluff that Microsoft has about what it actually does or how it does it. I probably should install it and play with it (I have a MSDN Universal subscription) or buy a book. This setup will have medical records coming in via e-mail and fax. Most are .tiff or PDF format. I'd really like a setup where I strip off the attachment, tag and save them. Some type of notification to the user will also be required (I was thinking it would be just the e-mail or fax itself sans the attachments). I'm also going to need outbound capability, but I don't think that's going to be as problematic. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Monday, April 09, 2007 4:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Case management and external files Jim I just set up a case management system for the University Counselling Office in the SharePoint. Email and attachments directly to sharepoint email enabled lists. eg CounsolListName at qub.ac.uk and you can send docs directly into the sharepoint list. The user gets an automatic alert via Outlook that the doc is available. Almost no programming involved. Tight integration with our Active Directory. May not be suitable for you but worked out well so far for us. We use lists to split the cases up to individual staff, All access is strictly internal only which saved a lot of work. If they need to take the stuff of line we can always use A 2007 which works well for us as well. Its mainly all in test mode at the moment but we will be moving almost everything to MOSS 2007 over the next year or so. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Jim Dettman Sent: Mon 09/04/2007 20:54 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Case management and external files Greetings All, Question: anyone done work with case management and external files (i.e medical records, faxes, Word Docs, etc)? I know it's always best to leave them external, but beyond that: a. Any best practices you've found for linking them to a given case - i.e. do you tag them or place them in a per claim specific directory? b. How do you handle inbound faxes? Any recommendations on software? c. What about e-mails with attachments? Manual operation to cut/save the attachment or something more automatic? Any insights would be helpful. Thanks, Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Apr 9 19:27:24 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 09 Apr 2007 20:27:24 -0400 Subject: [AccessD] Case management and external files In-Reply-To: <0JG800K84YKLF3S2@l-daemon> References: <000301c77ae0$ef9634d0$8abea8c0@XPS> <0JG800K84YKLF3S2@l-daemon> Message-ID: <008201c77b07$078cbd40$8abea8c0@XPS> Jim, <> Thanks. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, April 09, 2007 4:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Case management and external files Hi Jim: For the one office I was commissioned to write a application that could manage all their projects. One of the components was the handling of account files, spreadsheets, invoices and other miscellaneous text file and graphics. These files were storied externally in a public/private set of directories but their locations were all transparently managed for the MS Access application. MS Access can be setup to access Outlook emails but how it would also manage attachments is something I have never researched. If there is any way I could help just let me know. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, April 09, 2007 12:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Case management and external files Greetings All, Question: anyone done work with case management and external files (i.e medical records, faxes, Word Docs, etc)? I know it's always best to leave them external, but beyond that: a. Any best practices you've found for linking them to a given case - i.e. do you tag them or place them in a per claim specific directory? b. How do you handle inbound faxes? Any recommendations on software? c. What about e-mails with attachments? Manual operation to cut/save the attachment or something more automatic? Any insights would be helpful. Thanks, Jim -- 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 dwaters at usinternet.com Mon Apr 9 20:21:49 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 9 Apr 2007 20:21:49 -0500 Subject: [AccessD] Case management and external files In-Reply-To: <007f01c77b07$067f44e0$8abea8c0@XPS> References: <000301c77ae0$ef9634d0$8abea8c0@XPS><002301c77ae9$534c33a0$0200a8c0@danwaters> <007f01c77b07$067f44e0$8abea8c0@XPS> Message-ID: <002901c77b0e$9d2d51a0$0200a8c0@danwaters> Jim, The attachments are contained with the single file. Open an outlook email you've received that has an attachment. Save it as a separate file using .msg format. Now close Outlook. Now open that file, and you'll see the attachment with it! It's pretty nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, April 09, 2007 7:27 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Case management and external files Dan, How do you view the attachments once they are in .msg format? I assume you'd need to go through Outlook, or do they show up as individual files? Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, April 09, 2007 4:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Case management and external files Hi Jim, I do this frequently. I copy the files that a user has selected and move the copies to a specific directory on the server where the db is stored. I also make the copies read-only so that when someone opens it (with a hyperlink path created at run-time in code), they can't store changes over the stored copy. I use File Systems Object for this. I guess an inbound fax would need to be scanned electronically to be stored as a file. Unless there is software that can be used to view a fax and save it as a separate file without printing it out. I have figured out how to pull emails from Outlook and save them as separate files in .msg format. I was surprised to find that when I did this, any attachments came right along with the email! I'll have to go through my code to find this, and I'll reply again tomorrow. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, April 09, 2007 2:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Case management and external files Greetings All, Question: anyone done work with case management and external files (i.e medical records, faxes, Word Docs, etc)? I know it's always best to leave them external, but beyond that: a. Any best practices you've found for linking them to a given case - i.e. do you tag them or place them in a per claim specific directory? b. How do you handle inbound faxes? Any recommendations on software? c. What about e-mails with attachments? Manual operation to cut/save the attachment or something more automatic? Any insights would be helpful. Thanks, Jim -- 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 From michael at ddisolutions.com.au Mon Apr 9 21:07:15 2007 From: michael at ddisolutions.com.au (Michael Maddison) Date: Tue, 10 Apr 2007 12:07:15 +1000 Subject: [AccessD] New database design for MS SQL References: <0JG100L1REXIDTG0@l-daemon> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D01289580@ddi-01.DDI.local> Hmmm, Sounds very close to www.nettiers.com Definitely worth a look for those using VS 2005. cheers Michael M Eeek! How on earth would I do that?? I can explain that we use a data tier that abstracts the actual data structures by building "entity" classes that implement a typeddataset for that data entity and interface classes that define what the data providers will expose for the entity. The entity/typeddataset can address and manipulate a single table or multiple related tables simultaneously. We use an OleDbProvider project that houses the SQL (in XML files) and code classes specific to a related group of tables and their children. The entity classes call into the data provider classes, so the code to do a particular thing (i.e., get the next ID number for a particular table for a particular set of parameters) is in a single location. We build "business rules" into the entity classes that take care of things like returning an exception if a record is being deleted and there are related records that need to be deleted or reassigned. We also use them to cascade changes/deletions/insertions to tables where it can't be done automatically. For instance, when we create a new Well record, the data tier automatically creates and initial wellBore record and doesn't allow the user to delete that wellbore except by deleting the well. Someday, if I ever find the time, I'm going to try modelling this in Access! Any questions?? LOL Charlotte Foust From martyconnelly at shaw.ca Mon Apr 9 21:25:42 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 09 Apr 2007 19:25:42 -0700 Subject: [AccessD] Case management and external files In-Reply-To: <008101c77b07$07394610$8abea8c0@XPS> References: <000301c77ae0$ef9634d0$8abea8c0@XPS> <461AA077.8000302@shaw.ca> <008101c77b07$07394610$8abea8c0@XPS> Message-ID: <461AF5A6.8030807@shaw.ca> Here is one mailing list you could ask questions that might help. It a a legal software list, I look at occasionally ABA American Bar Association Legal Technology Resource Center http://mail.abanet.org/archives/lawtech.html Jim Dettman wrote: >Marty, > >< legal case management solutions. These are in the $200-300 range. >The enterprise editions store info in SQL Server.>> > > Definitely a thought.. This will be for a medicals claims system. > ><with based on some sort of taxonomy.>> > > Got that well in hand already. Main worry is all these external files. >The end users are non-computer literate folks, so I need everything to be as >automatic as possible. > >Jim. > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Monday, April 09, 2007 4:22 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Case management and external files > >One option, you might want to look at, are some of the more popular > legal case management solutions. These are in the $200-300 range. >The enterprise editions store info in SQL Server. > >You should have a basic series file numbering system to start >with based on some sort of taxonomy. > >Look at TimeMatters, Legal Files, Billing Matters, and >PracticeMaster, Amicus Attorney > >Both PracticeMaster and TimeMatters work with Outlook > through MAPI and SMTP. > >http://www.abanet.org/tech/ltrc/ > >http://www.abanet.org/tech/ltrc/charts/casemanagementcomparison.html > >http://www.timematters.com/products/timematters/ > >Jim Dettman wrote: > > > >>Greetings All, >> >> Question: anyone done work with case management and external files (i.e >>medical records, faxes, Word Docs, etc)? I know it's always best to leave >>them external, but beyond that: >> >>a. Any best practices you've found for linking them to a given case - i.e. >>do you tag them or place them in a per claim specific directory? >> >>b. How do you handle inbound faxes? Any recommendations on software? >> >>c. What about e-mails with attachments? Manual operation to cut/save the >>attachment or something more automatic? >> >> Any insights would be helpful. >> >>Thanks, >>Jim >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From pcs at azizaz.com Mon Apr 9 23:50:51 2007 From: pcs at azizaz.com (pcs at azizaz.com) Date: Tue, 10 Apr 2007 14:50:51 +1000 (EST) Subject: [AccessD] Suppress System Dialog when closing DataSheet Form Message-ID: <20070410145051.CRP23482@dommail.onthenet.com.au> Hi, I need help with the following: I am opening a form called frmDisplay in design mode from code that has opened an ado recordset frmDisplay has 100 text controls named TextControl1, TextControl2, .. TextControl100 that's all... no code behind form After opening the Form I set the name of the textcontrols to the name of the fields in the ado recordset; next I set the recordsource of the now named textcontrols to the fields in the ado recordset; then I set the recordset of frmDisplay to the ado recordset; and I open the Form is Datasheet mode.... So far so good....I can see the ado recordset as a 'table', resizing columns etc. .... any unused textcontrols are still named TextControl(n) .... all is good! My problem comes when I am closing frmDisplay using the datasheet's close control. I want to suppress the Access System prompt: "The Form has been changed etc. do you want to save the changes?" Yes(default) - No - Cancel The User should just be able to close the Form ..... I've tried to cancel the closing of the Form on the UnLoad event - in order to gain programmatic control of the close process, but the system prompt has already kicked in by then.... If I set warnings to False, I get rid of the system prompt, but since Yes is the default - the Form is closed with all design changes saved!! not good!! Any suggestion?? Regards borge The User sh From Gustav at cactus.dk Tue Apr 10 04:12:27 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 10 Apr 2007 11:12:27 +0200 Subject: [AccessD] Suppress System Dialog when closing DataSheet Form Message-ID: Hi Borge Couldn't you just create a master form which you copy to the name you currently use, then modify it as described. When finished, close and save (as you have to do now), then delete the modified form. Another option is to write-protect the database file, thus any design change cannot be saved. Of course, neither can any other change - like writing to local temp tables - be saved. As will any bloating be history. /gustav >>> pcs at azizaz.com 10-04-2007 06:50 >>> Hi, I need help with the following: I am opening a form called frmDisplay in design mode from code that has opened an ado recordset frmDisplay has 100 text controls named TextControl1, TextControl2, .. TextControl100 that's all... no code behind form After opening the Form I set the name of the textcontrols to the name of the fields in the ado recordset; next I set the recordsource of the now named textcontrols to the fields in the ado recordset; then I set the recordset of frmDisplay to the ado recordset; and I open the Form is Datasheet mode.... So far so good....I can see the ado recordset as a 'table', resizing columns etc. .... any unused textcontrols are still named TextControl(n) .... all is good! My problem comes when I am closing frmDisplay using the datasheet's close control. I want to suppress the Access System prompt: "The Form has been changed etc. do you want to save the changes?" Yes(default) - No - Cancel The User should just be able to close the Form ..... I've tried to cancel the closing of the Form on the UnLoad event - in order to gain programmatic control of the close process, but the system prompt has already kicked in by then.... If I set warnings to False, I get rid of the system prompt, but since Yes is the default - the Form is closed with all design changes saved!! not good!! Any suggestion?? Regards borge From jwcolby at colbyconsulting.com Tue Apr 10 06:31:10 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 10 Apr 2007 07:31:10 -0400 Subject: [AccessD] Case management and external files In-Reply-To: <008101c77b07$07394610$8abea8c0@XPS> References: <000301c77ae0$ef9634d0$8abea8c0@XPS> <461AA077.8000302@shaw.ca> <008101c77b07$07394610$8abea8c0@XPS> Message-ID: <000901c77b63$bdcc9ab0$657aa8c0@m6805> Jim, They should be thinking of a document scanner / archive. DIS, my insurance client, scans all of their paperwork and has a completely paperless system. The scanned paperwork is assigned a claim number to link it back to the claim. They take paperwork as it comes in the door and scans it (manually, but it does have a document feeder). It is not totally integrated, unfortunately the archive system cannot be easily manipulated by my call center software but it still works a treat. This system has a "remote access" kind of thing where users remote in from their desk (the system is inside of their building) to access / view documents. Not cheap at somewhere south of 20K but given the cost of my time to build the call center software, cost of storage for the paper etc. DIS still thinks it is reasonable. Plus, they can generate PDF files of all the docs in a case and mail it (DVDs) to interested parties. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, April 09, 2007 8:27 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Case management and external files Marty, <> Definitely a thought.. This will be for a medicals claims system. <> Got that well in hand already. Main worry is all these external files. The end users are non-computer literate folks, so I need everything to be as automatic as possible. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 09, 2007 4:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Case management and external files One option, you might want to look at, are some of the more popular legal case management solutions. These are in the $200-300 range. The enterprise editions store info in SQL Server. You should have a basic series file numbering system to start with based on some sort of taxonomy. Look at TimeMatters, Legal Files, Billing Matters, and PracticeMaster, Amicus Attorney Both PracticeMaster and TimeMatters work with Outlook through MAPI and SMTP. http://www.abanet.org/tech/ltrc/ http://www.abanet.org/tech/ltrc/charts/casemanagementcomparison.html http://www.timematters.com/products/timematters/ Jim Dettman wrote: >Greetings All, > > Question: anyone done work with case management and external files >(i.e medical records, faxes, Word Docs, etc)? I know it's always best >to leave them external, but beyond that: > >a. Any best practices you've found for linking them to a given case - i.e. >do you tag them or place them in a per claim specific directory? > >b. How do you handle inbound faxes? Any recommendations on software? > >c. What about e-mails with attachments? Manual operation to cut/save >the attachment or something more automatic? > > Any insights would be helpful. > >Thanks, >Jim > > -- Marty Connelly Victoria, B.C. Canada -- 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 markamatte at hotmail.com Tue Apr 10 10:31:28 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 10 Apr 2007 15:31:28 +0000 Subject: [AccessD] Suppress System Dialog when closing DataSheet Form In-Reply-To: <20070410145051.CRP23482@dommail.onthenet.com.au> Message-ID: Borge, Could you use: DoCmd.Close acForm, "form1", acSaveNo to close the form? Thanks, Mark A. Matte >From: >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problemsolving > >CC: pcs at azizaz.com >Subject: [AccessD] Suppress System Dialog when closing DataSheet Form >Date: Tue, 10 Apr 2007 14:50:51 +1000 (EST) > >Hi, > >I need help with the following: > >I am opening a form called frmDisplay in design mode from >code that has opened an ado recordset > >frmDisplay has 100 text controls named >TextControl1, >TextControl2, >.. >TextControl100 > >that's all... no code behind form > >After opening the Form I set the name of the textcontrols to >the name of the fields in the ado recordset; >next I set the recordsource of the now named textcontrols to >the fields in the ado recordset; >then I set the recordset of frmDisplay to the ado recordset; >and I open the Form is Datasheet mode.... > >So far so good....I can see the ado recordset as a 'table', >resizing columns etc. .... any unused textcontrols are still >named TextControl(n) .... all is good! > >My problem comes when I am closing frmDisplay using the >datasheet's close control. > >I want to suppress the Access System prompt: > >"The Form has been changed etc. do you want to save the >changes?" Yes(default) - No - Cancel > >The User should just be able to close the Form ..... > >I've tried to cancel the closing of the Form on the UnLoad >event - in order to gain programmatic control of the close >process, but the system prompt has already kicked in by >then.... If I set warnings to False, I get rid of the >system prompt, but since Yes is the default - the Form is >closed with all design changes saved!! not good!! > >Any suggestion?? > >Regards >borge > > >The User sh >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN is giving away a trip to Vegas to see Elton John.? Enter to win today. http://msnconcertcontest.com?icid-nceltontagline From jwcolby at colbyconsulting.com Tue Apr 10 10:36:52 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 10 Apr 2007 11:36:52 -0400 Subject: [AccessD] Suppress System Dialog when closing DataSheet Form In-Reply-To: References: <20070410145051.CRP23482@dommail.onthenet.com.au> Message-ID: <000601c77b86$11558580$657aa8c0@m6805> Yes, but you will have to disable the close button in the upper left of the form (the X), then build a close button that runs that code. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, April 10, 2007 11:31 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Suppress System Dialog when closing DataSheet Form Borge, Could you use: DoCmd.Close acForm, "form1", acSaveNo to close the form? Thanks, Mark A. Matte >From: >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problemsolving > >CC: pcs at azizaz.com >Subject: [AccessD] Suppress System Dialog when closing DataSheet Form >Date: Tue, 10 Apr 2007 14:50:51 +1000 (EST) > >Hi, > >I need help with the following: > >I am opening a form called frmDisplay in design mode from code that has >opened an ado recordset > >frmDisplay has 100 text controls named >TextControl1, >TextControl2, >.. >TextControl100 > >that's all... no code behind form > >After opening the Form I set the name of the textcontrols to the name >of the fields in the ado recordset; next I set the recordsource of the >now named textcontrols to the fields in the ado recordset; then I set >the recordset of frmDisplay to the ado recordset; and I open the Form >is Datasheet mode.... > >So far so good....I can see the ado recordset as a 'table', resizing >columns etc. .... any unused textcontrols are still named >TextControl(n) .... all is good! > >My problem comes when I am closing frmDisplay using the datasheet's >close control. > >I want to suppress the Access System prompt: > >"The Form has been changed etc. do you want to save the changes?" >Yes(default) - No - Cancel > >The User should just be able to close the Form ..... > >I've tried to cancel the closing of the Form on the UnLoad event - in >order to gain programmatic control of the close process, but the system >prompt has already kicked in by then.... If I set warnings to False, I >get rid of the system prompt, but since Yes is the default - the Form >is closed with all design changes saved!! not good!! > >Any suggestion?? > >Regards >borge > > >The User sh >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN is giving away a trip to Vegas to see Elton John. Enter to win today. http://msnconcertcontest.com?icid-nceltontagline From reuben at gfconsultants.com Tue Apr 10 10:46:23 2007 From: reuben at gfconsultants.com (Reuben Cummings) Date: Tue, 10 Apr 2007 11:46:23 -0400 Subject: [AccessD] Error Handler failing - A2K Message-ID: Recently, in some apps, the error handlers do not seem to be working properly. For example, one that I am fighting right now is a line like this...(this is a extremely simple version of the function) ==================================================== On Error GoTo No_beuDBAGetProp beuDBAGetProp = db.Properties(strProp) Exit_beuDBAGetProp: Set db = Nothing Exit Function No_beuDBAGetProp: On Error GoTo Err_beuDBAGetProp If beuDBACreateProp(db, strProp) = True Then Resume 0 Else Resume Exit_beuDBAGetProp End If ==================================================== So when the code tries to retreive the property and it doesn't exist it should goto the No_.. line and start the routine to create the property. However, it just pops up the standard Access error dialog and stops the code from running. I have the same problem in a relinking function where I check for a table in the BE... On Error Resume Next Set rst = db.OpenRecordset(conLinkTable) Whether the link is good or not it should continue to the next line. Again, in this case, it stops the code and will not continue. What's going on? Reuben Cummings GFC, LLC 812.523.1017 From carbonnb at gmail.com Tue Apr 10 11:20:05 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 10 Apr 2007 12:20:05 -0400 Subject: [AccessD] Error Handler failing - A2K In-Reply-To: References: Message-ID: On 4/10/07, Reuben Cummings wrote: > Recently, in some apps, the error handlers do not seem to be working > properly. > What's going on? In the VBE Tools|Options... General Tab You should have Break on Unhandled Errors selected and not Break on All Errors, as I suspect you have. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From jwcolby at colbyconsulting.com Tue Apr 10 12:15:54 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 10 Apr 2007 13:15:54 -0400 Subject: [AccessD] Error Handler failing - A2K In-Reply-To: References: Message-ID: <000e01c77b93$e6bc0840$657aa8c0@m6805> This is probably a runtime SYNTAX error. I would guess that you need to use a set statement. Set beuDBAGetProp = db.Properties(strProp) Or... The property being returned is not the correct type defined in the property statement - returning a long when the property is expecting to return a currency, something like that. Or... Do a decompile / compile . Compact / repair. Or... Jump up and down on one foot, muttering incantations to the right subset of the Access gods, promising never to try anything too complex with Access again... ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings Sent: Tuesday, April 10, 2007 11:46 AM To: AccessD Subject: [AccessD] Error Handler failing - A2K Recently, in some apps, the error handlers do not seem to be working properly. For example, one that I am fighting right now is a line like this...(this is a extremely simple version of the function) ==================================================== On Error GoTo No_beuDBAGetProp beuDBAGetProp = db.Properties(strProp) Exit_beuDBAGetProp: Set db = Nothing Exit Function No_beuDBAGetProp: On Error GoTo Err_beuDBAGetProp If beuDBACreateProp(db, strProp) = True Then Resume 0 Else Resume Exit_beuDBAGetProp End If ==================================================== So when the code tries to retreive the property and it doesn't exist it should goto the No_.. line and start the routine to create the property. However, it just pops up the standard Access error dialog and stops the code from running. I have the same problem in a relinking function where I check for a table in the BE... On Error Resume Next Set rst = db.OpenRecordset(conLinkTable) Whether the link is good or not it should continue to the next line. Again, in this case, it stops the code and will not continue. What's going on? Reuben Cummings GFC, LLC 812.523.1017 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Apr 10 12:17:10 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 10 Apr 2007 13:17:10 -0400 Subject: [AccessD] Error Handler failing - A2K In-Reply-To: References: Message-ID: <000f01c77b94$13964560$657aa8c0@m6805> Good one! But why suddenly? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, April 10, 2007 12:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error Handler failing - A2K On 4/10/07, Reuben Cummings wrote: > Recently, in some apps, the error handlers do not seem to be working > properly. > What's going on? In the VBE Tools|Options... General Tab You should have Break on Unhandled Errors selected and not Break on All Errors, as I suspect you have. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Tue Apr 10 12:18:07 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 10 Apr 2007 17:18:07 +0000 Subject: [AccessD] Emails getting Returned In-Reply-To: Message-ID: I've replied to 3 messages from AccessD today. 2 of the were kicked back. No reason given. below is the text of the email: "This is an automatically generated Delivery Status Notification. Delivery to the following recipients failed. accessd at databaseadvisors.com" Just wanted to let someone know. Thanks, Mark A. Matte >From: "Bryan Carbonnell" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Error Handler failing - A2K >Date: Tue, 10 Apr 2007 12:20:05 -0400 > >On 4/10/07, Reuben Cummings wrote: > > Recently, in some apps, the error handlers do not seem to be working > > properly. > > > > > What's going on? > >In the VBE > >Tools|Options... >General Tab > >You should have Break on Unhandled Errors selected and not Break on >All Errors, as I suspect you have. > > >-- >Bryan Carbonnell - carbonnb at gmail.com >Life's journey is not to arrive at the grave safely in a well >preserved body, but rather to skid in sideways, totally worn out, >shouting "What a great ride!" >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The average US Credit Score is 675. The cost to see yours: $0 by Experian. http://www.freecreditreport.com/pm/default.aspx?sc=660600&bcd=EMAILFOOTERAVERAGE From reuben at gfconsultants.com Tue Apr 10 13:00:47 2007 From: reuben at gfconsultants.com (Reuben Cummings) Date: Tue, 10 Apr 2007 14:00:47 -0400 Subject: [AccessD] Error Handler failing - A2K In-Reply-To: <000e01c77b93$e6bc0840$657aa8c0@m6805> Message-ID: > Or... Jump up and down on one foot, muttering incantations to the right > subset of the Access gods, promising never to try anything too > complex with > Access again... I think this is my best option... This is all code that has run flawlessly for years. I have decompile/compiled/compacted and imported everything to a new db and tried all that stuff again. Sometimes I have problems - sometimes I don't. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of JWColby > Sent: Tuesday, April 10, 2007 1:16 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Error Handler failing - A2K > > > This is probably a runtime SYNTAX error. I would guess that you > need to use > a set statement. > > Set beuDBAGetProp = db.Properties(strProp) > > Or... The property being returned is not the correct type defined in the > property statement - returning a long when the property is expecting to > return a currency, something like that. > > Or... Do a decompile / compile . Compact / repair. > > Or... Jump up and down on one foot, muttering incantations to the right > subset of the Access gods, promising never to try anything too > complex with > Access again... > > ;-) > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings > Sent: Tuesday, April 10, 2007 11:46 AM > To: AccessD > Subject: [AccessD] Error Handler failing - A2K > > Recently, in some apps, the error handlers do not seem to be working > properly. > > For example, one that I am fighting right now is a line like > this...(this is > a extremely simple version of the function) > > ==================================================== > On Error GoTo No_beuDBAGetProp > beuDBAGetProp = db.Properties(strProp) > > Exit_beuDBAGetProp: > Set db = Nothing > Exit Function > No_beuDBAGetProp: > On Error GoTo Err_beuDBAGetProp > If beuDBACreateProp(db, strProp) = True Then > Resume 0 > Else > Resume Exit_beuDBAGetProp > End If > ==================================================== > > So when the code tries to retreive the property and it doesn't exist it > should goto the No_.. line and start the routine to create the property. > However, it just pops up the standard Access error dialog and > stops the code > from running. > > I have the same problem in a relinking function where I check for > a table in > the BE... > On Error Resume Next > Set rst = db.OpenRecordset(conLinkTable) > > Whether the link is good or not it should continue to the next > line. Again, > in this case, it stops the code and will not continue. > > What's going on? > > Reuben Cummings > GFC, LLC > 812.523.1017 > > > > > -- > 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 reuben at gfconsultants.com Tue Apr 10 13:00:46 2007 From: reuben at gfconsultants.com (Reuben Cummings) Date: Tue, 10 Apr 2007 14:00:46 -0400 Subject: [AccessD] Error Handler failing - A2K In-Reply-To: Message-ID: Good idea, but unfortunately not it. Also, this is extremely intermittent - after writing the email neither error occurred in the same db that caused me to write the email. The one thing that may be in common on the apps that this occurs in is that they are being worked on on a different (newer) computer and then I am bringing them back to mine to finalize the updates and create the exe for distribution. In the normal course of me working on them I am finding these error problems. I'll have to investigate exactly what files I have problems with and when and where they were worked on. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bryan > Carbonnell > Sent: Tuesday, April 10, 2007 12:20 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Error Handler failing - A2K > > > On 4/10/07, Reuben Cummings wrote: > > Recently, in some apps, the error handlers do not seem to be working > > properly. > > > > > What's going on? > > In the VBE > > Tools|Options... > General Tab > > You should have Break on Unhandled Errors selected and not Break on > All Errors, as I suspect you have. > > > -- > Bryan Carbonnell - carbonnb at gmail.com > Life's journey is not to arrive at the grave safely in a well > preserved body, but rather to skid in sideways, totally worn out, > shouting "What a great ride!" > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From carbonnb at gmail.com Tue Apr 10 13:10:41 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 10 Apr 2007 14:10:41 -0400 Subject: [AccessD] Error Handler failing - A2K In-Reply-To: <000f01c77b94$13964560$657aa8c0@m6805> References: <000f01c77b94$13964560$657aa8c0@m6805> Message-ID: On 4/10/07, JWColby wrote: > Good one! But why suddenly? Someone got somewhere they shouldn't? -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From carbonnb at gmail.com Tue Apr 10 13:12:33 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 10 Apr 2007 14:12:33 -0400 Subject: [AccessD] Error Handler failing - A2K In-Reply-To: References: Message-ID: On 4/10/07, Reuben Cummings wrote: > Good idea, but unfortunately not it. Also, this is extremely intermittent - > after writing the email neither error occurred in the same db that caused me > to write the email. > > The one thing that may be in common on the apps that this occurs in is that > they are being worked on on a different (newer) computer and then I am > bringing them back to mine to finalize the updates and create the exe for > distribution. > > In the normal course of me working on them I am finding these error > problems. > > I'll have to investigate exactly what files I have problems with and when > and where they were worked on. First place to check is Jet SP levels. I ran into all sorts of weird problems with A2K and Jet SP levels a while back (ok, a few years ago). All it took was ignoring IT and upgrading the workstations to Jet SP6 (IIRC), which is what my development machine was at. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From cfoust at infostatsystems.com Tue Apr 10 13:13:15 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Apr 2007 11:13:15 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D01289580@ddi-01.DDI.local> References: <0JG100L1REXIDTG0@l-daemon> <59A61174B1F5B54B97FD4ADDE71E7D01289580@ddi-01.DDI.local> Message-ID: If you're writing C#, of course! LOL We do use CodeSmith, primarily to autogen Nunit tests and some of our basic stuff in data entities, unless we need to custom build them. I hand build Nunit tests for business rules ... And hand build the business rules as well. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Monday, April 09, 2007 7:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Hmmm, Sounds very close to www.nettiers.com Definitely worth a look for those using VS 2005. cheers Michael M Eeek! How on earth would I do that?? I can explain that we use a data tier that abstracts the actual data structures by building "entity" classes that implement a typeddataset for that data entity and interface classes that define what the data providers will expose for the entity. The entity/typeddataset can address and manipulate a single table or multiple related tables simultaneously. We use an OleDbProvider project that houses the SQL (in XML files) and code classes specific to a related group of tables and their children. The entity classes call into the data provider classes, so the code to do a particular thing (i.e., get the next ID number for a particular table for a particular set of parameters) is in a single location. We build "business rules" into the entity classes that take care of things like returning an exception if a record is being deleted and there are related records that need to be deleted or reassigned. We also use them to cascade changes/deletions/insertions to tables where it can't be done automatically. For instance, when we create a new Well record, the data tier automatically creates and initial wellBore record and doesn't allow the user to delete that wellbore except by deleting the well. Someday, if I ever find the time, I'm going to try modelling this in Access! Any questions?? LOL Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Tue Apr 10 13:15:40 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 10 Apr 2007 14:15:40 -0400 Subject: [AccessD] Emails getting Returned In-Reply-To: References: Message-ID: On 4/10/07, Mark A Matte wrote: > I've replied to 3 messages from AccessD today. 2 of the were kicked back. > No reason given. below is the text of the email: > > "This is an automatically generated Delivery Status Notification. > > Delivery to the following recipients failed. > > accessd at databaseadvisors.com" > > Just wanted to let someone know. In addition to the request I sent off list, which e-mail address did you try to send from? -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From reuben at gfconsultants.com Tue Apr 10 13:29:45 2007 From: reuben at gfconsultants.com (Reuben Cummings) Date: Tue, 10 Apr 2007 14:29:45 -0400 Subject: [AccessD] Error Handler failing - A2K In-Reply-To: Message-ID: I have Jet version 4.0.8618.0 which is in the Windows XP SP2 and Security Bulletin MS04-014 release. This is a later version than is included with Jet SP 8.0 I hate computers. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bryan > Carbonnell > Sent: Tuesday, April 10, 2007 2:13 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Error Handler failing - A2K > > > On 4/10/07, Reuben Cummings wrote: > > Good idea, but unfortunately not it. Also, this is extremely > intermittent - > > after writing the email neither error occurred in the same db > that caused me > > to write the email. > > > > The one thing that may be in common on the apps that this > occurs in is that > > they are being worked on on a different (newer) computer and then I am > > bringing them back to mine to finalize the updates and create > the exe for > > distribution. > > > > In the normal course of me working on them I am finding these error > > problems. > > > > I'll have to investigate exactly what files I have problems > with and when > > and where they were worked on. > > First place to check is Jet SP levels. > > I ran into all sorts of weird problems with A2K and Jet SP levels a > while back (ok, a few years ago). > > All it took was ignoring IT and upgrading the workstations to Jet SP6 > (IIRC), which is what my development machine was at. > > -- > Bryan Carbonnell - carbonnb at gmail.com > Life's journey is not to arrive at the grave safely in a well > preserved body, but rather to skid in sideways, totally worn out, > shouting "What a great ride!" > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From carbonnb at gmail.com Tue Apr 10 14:56:27 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 10 Apr 2007 15:56:27 -0400 Subject: [AccessD] Emails getting Returned In-Reply-To: References: Message-ID: On 4/10/07, Mark A Matte wrote: > I've replied to 3 messages from AccessD today. 2 of the were kicked back. > No reason given. below is the text of the email: > > "This is an automatically generated Delivery Status Notification. > > Delivery to the following recipients failed. > > accessd at databaseadvisors.com" > > Just wanted to let someone know. Mark, After looking at the attachments you sent, it appears that some Hotmail servers are on sorbs.net DNSBL. In english that means that some Hotmail servers are on one of the Spam Blacklists that was implemented this past weekend to help and aleviate the spam problem on DBAs server. The reason I say it's some, is because at least one of your posts made it to the list. At this point, all I can suggest is that when you get the rejection, resend. It will probably go out on a different server. I, apparently, have to do some more looking at the server config. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From markamatte at hotmail.com Tue Apr 10 15:13:17 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 10 Apr 2007 20:13:17 +0000 Subject: [AccessD] Emails getting Returned In-Reply-To: Message-ID: Thanks Bryan...4th try???? >From: "Bryan Carbonnell" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Emails getting Returned >Date: Tue, 10 Apr 2007 15:56:27 -0400 > >On 4/10/07, Mark A Matte wrote: > > I've replied to 3 messages from AccessD today. 2 of the were kicked >back. > > No reason given. below is the text of the email: > > > > "This is an automatically generated Delivery Status Notification. > > > > Delivery to the following recipients failed. > > > > accessd at databaseadvisors.com" > > > > Just wanted to let someone know. > >Mark, > >After looking at the attachments you sent, it appears that some >Hotmail servers are on sorbs.net DNSBL. > >In english that means that some Hotmail servers are on one of the Spam >Blacklists that was implemented this past weekend to help and aleviate >the spam problem on DBAs server. > >The reason I say it's some, is because at least one of your posts made >it to the list. > >At this point, all I can suggest is that when you get the rejection, >resend. It will probably go out on a different server. > >I, apparently, have to do some more looking at the server config. > >-- >Bryan Carbonnell - carbonnb at gmail.com >Life's journey is not to arrive at the grave safely in a well >preserved body, but rather to skid in sideways, totally worn out, >shouting "What a great ride!" >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Can?t afford to quit your job? ? Earn your AS, BS, or MS degree online in 1 year. http://www.classesusa.com/clickcount.cfm?id=866145&goto=http%3A%2F%2Fwww.classesusa.com%2Ffeaturedschools%2Fonlinedegreesmp%2Fform-dyn1.html%3Fsplovr%3D866143 From jimdettman at verizon.net Tue Apr 10 15:55:43 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 10 Apr 2007 16:55:43 -0400 Subject: [AccessD] Emails getting Returned In-Reply-To: References: Message-ID: <000e01c77bb2$9b606750$8abea8c0@XPS> Mark, I've had a couple of those to. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, April 10, 2007 1:18 PM To: accessd at databaseadvisors.com Subject: [AccessD] Emails getting Returned I've replied to 3 messages from AccessD today. 2 of the were kicked back. No reason given. below is the text of the email: "This is an automatically generated Delivery Status Notification. Delivery to the following recipients failed. accessd at databaseadvisors.com" Just wanted to let someone know. Thanks, Mark A. Matte >From: "Bryan Carbonnell" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Error Handler failing - A2K >Date: Tue, 10 Apr 2007 12:20:05 -0400 > >On 4/10/07, Reuben Cummings wrote: > > Recently, in some apps, the error handlers do not seem to be working > > properly. > > > > > What's going on? > >In the VBE > >Tools|Options... >General Tab > >You should have Break on Unhandled Errors selected and not Break on >All Errors, as I suspect you have. > > >-- >Bryan Carbonnell - carbonnb at gmail.com >Life's journey is not to arrive at the grave safely in a well >preserved body, but rather to skid in sideways, totally worn out, >shouting "What a great ride!" >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The average US Credit Score is 675. The cost to see yours: $0 by Experian. http://www.freecreditreport.com/pm/default.aspx?sc=660600&bcd=EMAILFOOTERAVE RAGE -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Tue Apr 10 19:11:25 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 10 Apr 2007 20:11:25 -0400 Subject: [AccessD] Emails getting Returned In-Reply-To: <000e01c77bb2$9b606750$8abea8c0@XPS> References: <000e01c77bb2$9b606750$8abea8c0@XPS> Message-ID: On 4/10/07, Jim Dettman wrote: > I've had a couple of those to. I've disabled the blacklist that was blocking the Hotmail servers. I also went through the log file and it was also blocking verizon. So hopefully we are good to go. If not please let me know at listmaster at databaseadvisors.com AND bryan at carbonnell.ca -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From ssharkins at setel.com Wed Apr 11 10:18:03 2007 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 11 Apr 2007 11:18:03 -0400 Subject: [AccessD] Reader problem: memo field complains when entering Word text Message-ID: <00d701c77c4c$9b3f8ae0$05b62ad1@SusanOne> A reader is trying to cut and paste text from a Word document into an Access memo field. When the text is over 255 characters, the Memo field rejects the entry. I ran a quick test for myself and did _not_ run into this problem. I've checked microsoft's support sites and not found anything. Any help? The best I can come up with is a corrupted table. Susan H. From cfoust at infostatsystems.com Wed Apr 11 10:22:21 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 11 Apr 2007 08:22:21 -0700 Subject: [AccessD] Reader problem: memo field complains when entering Wordtext In-Reply-To: <00d701c77c4c$9b3f8ae0$05b62ad1@SusanOne> References: <00d701c77c4c$9b3f8ae0$05b62ad1@SusanOne> Message-ID: Tell all, Susan. What versions of Word and Access is this person using? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, April 11, 2007 8:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Reader problem: memo field complains when entering Wordtext A reader is trying to cut and paste text from a Word document into an Access memo field. When the text is over 255 characters, the Memo field rejects the entry. I ran a quick test for myself and did _not_ run into this problem. I've checked microsoft's support sites and not found anything. Any help? The best I can come up with is a corrupted table. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Wed Apr 11 10:28:55 2007 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 11 Apr 2007 10:28:55 -0500 Subject: [AccessD] Reader problem: memo field complains when entering Word text In-Reply-To: <00d701c77c4c$9b3f8ae0$05b62ad1@SusanOne> References: <00d701c77c4c$9b3f8ae0$05b62ad1@SusanOne> Message-ID: I wonder if the problem memo field being pasted into is part of a query result set? Perhaps the query would only allow the limit of a text field in a memo field while the table itself would allow the larger size? Just a guess. You could create a query over your test table and try that maybe. GK On 4/11/07, Susan Harkins wrote: > A reader is trying to cut and paste text from a Word document into an Access > memo field. When the text is over 255 characters, the Memo field rejects the > entry. I ran a quick test for myself and did _not_ run into this problem. > I've checked microsoft's support sites and not found anything. > > Any help? The best I can come up with is a corrupted table. > > Susan H. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From lmrazek at lcm-res.com Wed Apr 11 10:36:10 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Wed, 11 Apr 2007 10:36:10 -0500 Subject: [AccessD] Barcoding Printing In-Reply-To: References: <00d701c77c4c$9b3f8ae0$05b62ad1@SusanOne> Message-ID: <01eb01c77c4f$226f0430$046fa8c0@lcmdv8000> Hi: I'm in the process of developing a simple application that has to print out EAN 128 format barcodes. Does anyone have any recommendations of plugins, activex components or fonts that are reliable? Thanks in advance. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 From ssharkins at setel.com Wed Apr 11 10:37:53 2007 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 11 Apr 2007 11:37:53 -0400 Subject: [AccessD] Reader problem: memo field complains when enteringWord text In-Reply-To: References: <00d701c77c4c$9b3f8ae0$05b62ad1@SusanOne> Message-ID: <00eb01c77c4f$5f20bc70$05b62ad1@SusanOne> Tried it, worked fine. Thank you for trying -- would you like to play again? ;) Susan H. I wonder if the problem memo field being pasted into is part of a query result set? Perhaps the query would only allow the limit of a text field in a memo field while the table itself would allow the larger size? Just a guess. You could create a query over your test table and try that maybe. GK On 4/11/07, Susan Harkins wrote: > A reader is trying to cut and paste text from a Word document into an > Access memo field. When the text is over 255 characters, the Memo > field rejects the entry. I ran a quick test for myself and did _not_ run into this problem. > I've checked microsoft's support sites and not found anything. > From rockysmolin at bchacc.com Wed Apr 11 10:38:51 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 11 Apr 2007 08:38:51 -0700 Subject: [AccessD] Reader problem: memo field complains when enteringWord text In-Reply-To: Message-ID: <003101c77c4f$819896b0$0201a8c0@HAL9005> I'd have them email the back end to you and try it yourself. Or use Remote Assistance to look at the field. It certainly sounds like they're trying to paste into a Text field not a memo. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Wednesday, April 11, 2007 8:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Reader problem: memo field complains when enteringWord text I wonder if the problem memo field being pasted into is part of a query result set? Perhaps the query would only allow the limit of a text field in a memo field while the table itself would allow the larger size? Just a guess. You could create a query over your test table and try that maybe. GK On 4/11/07, Susan Harkins wrote: > A reader is trying to cut and paste text from a Word document into an > Access memo field. When the text is over 255 characters, the Memo > field rejects the entry. I ran a quick test for myself and did _not_ run into this problem. > I've checked microsoft's support sites and not found anything. > > Any help? The best I can come up with is a corrupted table. > > Susan H. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.2.0/756 - Release Date: 4/10/2007 10:44 PM From ssharkins at setel.com Wed Apr 11 10:39:54 2007 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 11 Apr 2007 11:39:54 -0400 Subject: [AccessD] Reader problem: memo field complains when enteringWordtext In-Reply-To: References: <00d701c77c4c$9b3f8ae0$05b62ad1@SusanOne> Message-ID: <00f101c77c4f$a7b24fd0$05b62ad1@SusanOne> I didn't ask, but I'll find out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, April 11, 2007 11:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Reader problem: memo field complains when enteringWordtext Tell all, Susan. What versions of Word and Access is this person using? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, April 11, 2007 8:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Reader problem: memo field complains when entering Wordtext A reader is trying to cut and paste text from a Word document into an Access memo field. When the text is over 255 characters, the Memo field rejects the entry. I ran a quick test for myself and did _not_ run into this problem. I've checked microsoft's support sites and not found anything. Any help? The best I can come up with is a corrupted table. Susan H. -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.26/751 - Release Date: 4/7/2007 10:57 PM From DElam at jenkens.com Wed Apr 11 10:42:18 2007 From: DElam at jenkens.com (Elam, Debbie) Date: Wed, 11 Apr 2007 10:42:18 -0500 Subject: [AccessD] Reader problem: memo field complains when entering Word text Message-ID: <573E90481C9F004C9E598D3A5A9DCDA001D185@jgexch1.jenkens.com> Can she verify that it is any chunk of word text greater than 255 characters and any memo field? There could be something specific about either one that is causing the problem. If she verifies that it happens every time (I would even test a new database with a new table.) then it becomes an Access engine issue. Otherwise it is likely corruption hiding somewhere. Debbie -----Original Message----- From: Susan Harkins [mailto:ssharkins at setel.com] Sent: Wednesday, April 11, 2007 10:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Reader problem: memo field complains when entering Word text A reader is trying to cut and paste text from a Word document into an Access memo field. When the text is over 255 characters, the Memo field rejects the entry. I ran a quick test for myself and did _not_ run into this problem. I've checked microsoft's support sites and not found anything. Any help? The best I can come up with is a corrupted table. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at setel.com Wed Apr 11 10:50:58 2007 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 11 Apr 2007 11:50:58 -0400 Subject: [AccessD] Reader problem: memo field complains whenenteringWord text In-Reply-To: <003101c77c4f$819896b0$0201a8c0@HAL9005> References: <003101c77c4f$819896b0$0201a8c0@HAL9005> Message-ID: <00f401c77c51$377777c0$05b62ad1@SusanOne> Rocky, I agree, but she insists that the field is a Memo field. That's why I thought I'd ask if anyone knew of a specific problem between Word and Access. Susan H. I'd have them email the back end to you and try it yourself. Or use Remote Assistance to look at the field. It certainly sounds like they're trying to paste into a Text field not a memo. From ssharkins at setel.com Wed Apr 11 10:52:10 2007 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 11 Apr 2007 11:52:10 -0400 Subject: [AccessD] Reader problem: memo field complains when enteringWord text In-Reply-To: <573E90481C9F004C9E598D3A5A9DCDA001D185@jgexch1.jenkens.com> References: <573E90481C9F004C9E598D3A5A9DCDA001D185@jgexch1.jenkens.com> Message-ID: <00f501c77c51$5e192590$05b62ad1@SusanOne> Can she verify that it is any chunk of word text greater than 255 characters and any memo field? There could be something specific about either one that is causing the problem. If she verifies that it happens every time (I would even test a new database with a new table.) then it becomes an Access engine issue. Otherwise it is likely corruption hiding somewhere. ============Yes, on the 255 character issue. However, she hadn't tried manually entering the text (typing new text herself), so she was going to try that to see what happened. Susan H. From bill_patten at earthlink.net Wed Apr 11 11:12:50 2007 From: bill_patten at earthlink.net (Bill Patten) Date: Wed, 11 Apr 2007 09:12:50 -0700 Subject: [AccessD] Barcoding Printing In-Reply-To: <01eb01c77c4f$226f0430$046fa8c0@lcmdv8000> References: <00d701c77c4c$9b3f8ae0$05b62ad1@SusanOne> <01eb01c77c4f$226f0430$046fa8c0@lcmdv8000> Message-ID: Larry, I have been testing LabelGo 2 from Bokai. (http://ww.bokai.com The have a demo you can use to see if it will do what you want. I have tested it in a report as an invoice number and also on an inventory report so that the users can scan each item on the report and it seems to work fine. The licensing is a little confusing but I checked with them and the developer license will allow you to distribute it as long as the user can't develop their own forms etc. About $300 I'm waiting for an answer from my client before implementation but feel pretty good about it. Bill ----- Original Message ----- From: "Lawrence Mrazek" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 11, 2007 8:36 AM Subject: [AccessD] Barcoding Printing > Hi: > > I'm in the process of developing a simple application that has to print > out > EAN 128 format barcodes. > > Does anyone have any recommendations of plugins, activex components or > fonts > that are reliable? > > Thanks in advance. > > Larry Mrazek > LCM Research, Inc. > www.lcm-res.com > lmrazek at lcm-res.com > ph. 314-432-5886 > mobile: 314-496-1645 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ewaldt at gdls.com Wed Apr 11 11:48:04 2007 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Wed, 11 Apr 2007 12:48:04 -0400 Subject: [AccessD] acCmdExport Question In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C222E082@xlivmbx35.aig.com> Message-ID: I have a form with 29 combo boxes (the user's choices limit the data displayed by new ADO recordsets' being created) and 43 fields. Using the simple command "DoCmd.RunCommand acCmdExport", to export the displayed recordset to Excel, I get 72 columns! How can I control this to NOT give the combo box data? VBA Help doesn't tell me anything about acCmdExport, unfortunately; maybe there's a way to state just what is to be exported? TIA, Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems (586) 825-4838 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From jimdettman at verizon.net Wed Apr 11 12:27:34 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 11 Apr 2007 13:27:34 -0400 Subject: [AccessD] RTF control for Access? Message-ID: <002201c77c5e$b2a3fc90$8abea8c0@XPS> All, Has anyone had good success with any of the RTF controls out there for Access? In the past, I've always been loath to use any non-native controls because of the lack of functionality in Access's Active-X interface. I've gotten the gig with the case management thing and I'm going to need a RTF control that can do the following: 1. Different fonts and sizes. 2. Different font colors. 3. Ability to bold and italicize. 4. Ability to high light in color. 5. Ability to spell check 6. Ability to insert pre-defined text (ala AutoCorrect, type a few characters and a string is inserted in place of). The last three items are critical and I cannot do without them. I really don't want to use Word via OLE because of the overhead. I have checked out FMS, inc's RTF control, but it doesn't do #6 from what I can see. Thoughts, comments, recommendations welcome... TIA, Jim. From dwaters at usinternet.com Wed Apr 11 12:42:19 2007 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 11 Apr 2007 12:42:19 -0500 Subject: [AccessD] acCmdExport Question In-Reply-To: References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C222E082@xlivmbx35.aig.com> Message-ID: <000c01c77c60$c0c0e480$0200a8c0@danwaters> Hi Tom, You need to create a query (or in code, a SELECT FROM WHERE string) that has the columns and data you want moved to the spreadsheet, and use that query's name or the string in the Export command. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Wednesday, April 11, 2007 11:48 AM To: accessd at databaseadvisors.com Subject: [AccessD] acCmdExport Question I have a form with 29 combo boxes (the user's choices limit the data displayed by new ADO recordsets' being created) and 43 fields. Using the simple command "DoCmd.RunCommand acCmdExport", to export the displayed recordset to Excel, I get 72 columns! How can I control this to NOT give the combo box data? VBA Help doesn't tell me anything about acCmdExport, unfortunately; maybe there's a way to state just what is to be exported? TIA, Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems (586) 825-4838 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Apr 11 12:44:42 2007 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 11 Apr 2007 12:44:42 -0500 Subject: [AccessD] RTF control for Access? In-Reply-To: <002201c77c5e$b2a3fc90$8abea8c0@XPS> References: <002201c77c5e$b2a3fc90$8abea8c0@XPS> Message-ID: <000d01c77c61$1679a010$0200a8c0@danwaters> Hi Jim, Somewhere I read that the memo field in Access 2007 has formatting capabilities - perhaps like the FMS Memo control. Good Luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, April 11, 2007 12:28 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] RTF control for Access? All, Has anyone had good success with any of the RTF controls out there for Access? In the past, I've always been loath to use any non-native controls because of the lack of functionality in Access's Active-X interface. I've gotten the gig with the case management thing and I'm going to need a RTF control that can do the following: 1. Different fonts and sizes. 2. Different font colors. 3. Ability to bold and italicize. 4. Ability to high light in color. 5. Ability to spell check 6. Ability to insert pre-defined text (ala AutoCorrect, type a few characters and a string is inserted in place of). The last three items are critical and I cannot do without them. I really don't want to use Word via OLE because of the overhead. I have checked out FMS, inc's RTF control, but it doesn't do #6 from what I can see. Thoughts, comments, recommendations welcome... TIA, Jim. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at setel.com Wed Apr 11 12:46:43 2007 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 11 Apr 2007 13:46:43 -0400 Subject: [AccessD] RTF control for Access? In-Reply-To: <002201c77c5e$b2a3fc90$8abea8c0@XPS> References: <002201c77c5e$b2a3fc90$8abea8c0@XPS> Message-ID: <011601c77c61$5ebe7300$05b62ad1@SusanOne> Are they willing to upgrade to 2007? I haven't checked it out myself, but there's supposed to be a new and improved RTF control in 2007 -- might be worth looking into. Susan H. All, Has anyone had good success with any of the RTF controls out there for Access? In the past, I've always been loath to use any non-native controls because of the lack of functionality in Access's Active-X interface. I've gotten the gig with the case management thing and I'm going to need a RTF control that can do the following: 1. Different fonts and sizes. 2. Different font colors. 3. Ability to bold and italicize. 4. Ability to high light in color. 5. Ability to spell check 6. Ability to insert pre-defined text (ala AutoCorrect, type a few characters and a string is inserted in place of). The last three items are critical and I cannot do without them. I really don't want to use Word via OLE because of the overhead. I have checked out FMS, inc's RTF control, but it doesn't do #6 from what I can see. Thoughts, comments, recommendations welcome... TIA, Jim. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.26/751 - Release Date: 4/7/2007 10:57 PM From markamatte at hotmail.com Wed Apr 11 12:50:12 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 11 Apr 2007 17:50:12 +0000 Subject: [AccessD] RTF control for Access? In-Reply-To: <002201c77c5e$b2a3fc90$8abea8c0@XPS> Message-ID: If you can use different approaches for each of your line numbers... >5. Ability to spell check How about: RunCommand acCmdSpelling Haven't used it since 97...not sure if it is still an option. Thanks, Mark A. Matte >From: "Jim Dettman" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: [AccessD] RTF control for Access? >Date: Wed, 11 Apr 2007 13:27:34 -0400 > >All, > > Has anyone had good success with any of the RTF controls out there for >Access? In the past, I've always been loath to use any non-native controls >because of the lack of functionality in Access's Active-X interface. > > I've gotten the gig with the case management thing and I'm going to need >a >RTF control that can do the following: > >1. Different fonts and sizes. >2. Different font colors. >3. Ability to bold and italicize. >4. Ability to high light in color. >5. Ability to spell check >6. Ability to insert pre-defined text (ala AutoCorrect, type a few >characters and a string is inserted in place of). > > The last three items are critical and I cannot do without them. I >really >don't want to use Word via OLE because of the overhead. I have checked out >FMS, inc's RTF control, but it doesn't do #6 from what I can see. > > Thoughts, comments, recommendations welcome... > >TIA, >Jim. >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The average US Credit Score is 675. The cost to see yours: $0 by Experian. http://www.freecreditreport.com/pm/default.aspx?sc=660600&bcd=EMAILFOOTERAVERAGE From Gustav at cactus.dk Wed Apr 11 12:53:23 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 11 Apr 2007 19:53:23 +0200 Subject: [AccessD] RTF control for Access? Message-ID: Hi Jim #6 is more like a word processor feature, not a feature of a Rich Text control. However, #5 can be performed by at least A2007, was is not for a nasty bug: http://www.eggheadcafe.com/software/aspnet/29653342/spell-check-problems-in-a.aspx That may be solved. Further, note that the Rich Text control in A2007 is HTML-based while the standard MS Rich Text ocx is RTF-based. I once noticed this word processor style ocx which - at a price - could be used for your purpose: http://www.spellchecksoftware.com/aboutspe.htm but I have not worked with it myself; I've always used the simple MS Rich Text ocx. /gustav >>> jimdettman at verizon.net 11-04-2007 19:27 >>> All, Has anyone had good success with any of the RTF controls out there for Access? In the past, I've always been loath to use any non-native controls because of the lack of functionality in Access's Active-X interface. I've gotten the gig with the case management thing and I'm going to need a RTF control that can do the following: 1. Different fonts and sizes. 2. Different font colors. 3. Ability to bold and italicize. 4. Ability to high light in color. 5. Ability to spell check 6. Ability to insert pre-defined text (ala AutoCorrect, type a few characters and a string is inserted in place of). The last three items are critical and I cannot do without them. I really don't want to use Word via OLE because of the overhead. I have checked out FMS, inc's RTF control, but it doesn't do #6 from what I can see. Thoughts, comments, recommendations welcome... TIA, Jim. From wdhindman at dejpolsystems.com Wed Apr 11 19:32:00 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 11 Apr 2007 20:32:00 -0400 Subject: [AccessD] RTF control for Access? References: <002201c77c5e$b2a3fc90$8abea8c0@XPS> Message-ID: <002701c77c99$fcbe7810$7d7d6c4c@JISREGISTRATION.local> Jim ...I've used Lebans rtf.ocx (www.lebans.com) in several apps now and am really pleased with it's reliability, simplicity, and avoidance of versioning issues ...although Items 5 & 6 are not native, there are ready solutions to do them in Access without another ocx ...dl the install and samples from his site and take a look, its all free and lebans writes solid code that won't screw with you ...plus he readily answers support/design questions about it on the ms.access.public news group. William Hindman ----- Original Message ----- From: "Jim Dettman" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 11, 2007 1:27 PM Subject: [AccessD] RTF control for Access? > All, > > Has anyone had good success with any of the RTF controls out there for > Access? In the past, I've always been loath to use any non-native > controls > because of the lack of functionality in Access's Active-X interface. > > I've gotten the gig with the case management thing and I'm going to need a > RTF control that can do the following: > > 1. Different fonts and sizes. > 2. Different font colors. > 3. Ability to bold and italicize. > 4. Ability to high light in color. > 5. Ability to spell check > 6. Ability to insert pre-defined text (ala AutoCorrect, type a few > characters and a string is inserted in place of). > > The last three items are critical and I cannot do without them. I really > don't want to use Word via OLE because of the overhead. I have checked > out > FMS, inc's RTF control, but it doesn't do #6 from what I can see. > > Thoughts, comments, recommendations welcome... > > TIA, > Jim. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Wed Apr 11 19:38:37 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 11 Apr 2007 20:38:37 -0400 Subject: [AccessD] Barcoding Printing References: <00d701c77c4c$9b3f8ae0$05b62ad1@SusanOne> <01eb01c77c4f$226f0430$046fa8c0@lcmdv8000> Message-ID: <002b01c77c9a$e9492040$7d7d6c4c@JISREGISTRATION.local> Larry ...after some trial and error I settled on IDAutomation's barcode fonts in some ticketing and security apps http://www.idautomation.com/ ...their products come with solid Access sample apps/code and they're responsive to questions from newbies to barcoding ...I've used several different scanners on these fonts and have had zero problems with reading them. William Hindman ----- Original Message ----- From: "Lawrence Mrazek" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 11, 2007 11:36 AM Subject: [AccessD] Barcoding Printing > Hi: > > I'm in the process of developing a simple application that has to print > out > EAN 128 format barcodes. > > Does anyone have any recommendations of plugins, activex components or > fonts > that are reliable? > > Thanks in advance. > > Larry Mrazek > LCM Research, Inc. > www.lcm-res.com > lmrazek at lcm-res.com > ph. 314-432-5886 > mobile: 314-496-1645 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Wed Apr 11 20:02:22 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 11 Apr 2007 21:02:22 -0400 Subject: [AccessD] Reader problem: memo field complains when entering Wordtext References: <00d701c77c4c$9b3f8ae0$05b62ad1@SusanOne> Message-ID: <000301c77c9e$3ad91250$7d7d6c4c@JISREGISTRATION.local> ...it could be that your reader is using a query with the Unique Values property set to yes and a memo field included ...if so there is, iirc, an MS KB on the bug somewhere ...the Unique Values results in a comparison of the memo fields using text boxes ...you get no error, just the first 255 characters ...basically you have to run one query without the memo field and then use it as a source for another query with the memo field from the table itself included. William Hindman ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 11, 2007 11:18 AM Subject: [AccessD] Reader problem: memo field complains when entering Wordtext >A reader is trying to cut and paste text from a Word document into an >Access > memo field. When the text is over 255 characters, the Memo field rejects > the > entry. I ran a quick test for myself and did _not_ run into this problem. > I've checked microsoft's support sites and not found anything. > > Any help? The best I can come up with is a corrupted table. > > Susan H. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at setel.com Wed Apr 11 20:31:25 2007 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 11 Apr 2007 21:31:25 -0400 Subject: [AccessD] Reader problem: memo field complains when enteringWordtext In-Reply-To: <000301c77c9e$3ad91250$7d7d6c4c@JISREGISTRATION.local> References: <00d701c77c4c$9b3f8ae0$05b62ad1@SusanOne> <000301c77c9e$3ad91250$7d7d6c4c@JISREGISTRATION.local> Message-ID: <002f01c77ca2$4d20f460$7334fad1@SusanOne> Turned out that she had forgotten about a log table -- and that table's field wasn't a Memo. :( I did suggest that to her first thing, but of course, because she'd forgotten about that table, she didn't remember to check it until much later in the day. I do crap lik that myself. Susan h. ...it could be that your reader is using a query with the Unique Values property set to yes and a memo field included ...if so there is, iirc, an MS KB on the bug somewhere ...the Unique Values results in a comparison of the memo fields using text boxes ...you get no error, just the first 255 characters ...basically you have to run one query without the memo field and then use it as a source for another query with the memo field from the table itself included. From lmrazek at lcm-res.com Thu Apr 12 08:42:07 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Thu, 12 Apr 2007 08:42:07 -0500 Subject: [AccessD] Barcoding Printing In-Reply-To: <002b01c77c9a$e9492040$7d7d6c4c@JISREGISTRATION.local> References: <00d701c77c4c$9b3f8ae0$05b62ad1@SusanOne><01eb01c77c4f$226f0430$046fa8c0@lcmdv8000> <002b01c77c9a$e9492040$7d7d6c4c@JISREGISTRATION.local> Message-ID: <012201c77d08$5e497030$046fa8c0@lcmdv8000> Thanks William & Bill P.: I've also been looking at the Idautomation tools, as they seem reasonable and their demos work. Good to know that someone else is using their stuff. Thanks for your input. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, April 11, 2007 7:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Barcoding Printing Larry ...after some trial and error I settled on IDAutomation's barcode fonts in some ticketing and security apps http://www.idautomation.com/ ...their products come with solid Access sample apps/code and they're responsive to questions from newbies to barcoding ...I've used several different scanners on these fonts and have had zero problems with reading them. William Hindman ----- Original Message ----- From: "Lawrence Mrazek" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 11, 2007 11:36 AM Subject: [AccessD] Barcoding Printing > Hi: > > I'm in the process of developing a simple application that has to print > out > EAN 128 format barcodes. > > Does anyone have any recommendations of plugins, activex components or > fonts > that are reliable? > > Thanks in advance. > > Larry Mrazek > LCM Research, Inc. > www.lcm-res.com > lmrazek at lcm-res.com > ph. 314-432-5886 > mobile: 314-496-1645 > > > -- > 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 cfoust at infostatsystems.com Thu Apr 12 11:33:14 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 12 Apr 2007 09:33:14 -0700 Subject: [AccessD] Activity? Message-ID: Haven't seen any activity today. What's going on? Charlotte Foust From bill_patten at earthlink.net Thu Apr 12 11:46:27 2007 From: bill_patten at earthlink.net (Bill Patten) Date: Thu, 12 Apr 2007 09:46:27 -0700 Subject: [AccessD] Activity? In-Reply-To: References: Message-ID: <205EA4453EDB4F4DBFBEC3D64DFA1AF1@BPCS> Hi Charlotte, Just us lurkers today I guess. Bill ----- Original Message ----- From: "Charlotte Foust" To: Sent: Thursday, April 12, 2007 9:33 AM Subject: [AccessD] Activity? > Haven't seen any activity today. What's going on? > > Charlotte Foust > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Thu Apr 12 11:49:31 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 12 Apr 2007 18:49:31 +0200 Subject: [AccessD] Activity? Message-ID: Hi Charlotte Got Office 2007 installed - and now fighting with A2007 and that nasty over-it-all pane ... controls and menus are everywhere - took me a while to locate Access Options juxtaposed to a Close button just for fun. What did they drink? And at the down right corner - in the status bar - now is a full set of buttons for change between views of queries! Oh my ... Still struggling to find out how to get rid of the "Add new field" column in tables' data(!) view. This will take a while, I can feel. /gustav >>> cfoust at infostatsystems.com 12-04-2007 18:33 >>> Haven't seen any activity today. What's going on? Charlotte Foust -- From jimdettman at verizon.net Thu Apr 12 11:43:26 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 12 Apr 2007 12:43:26 -0400 Subject: [AccessD] RTF control for Access? In-Reply-To: <011601c77c61$5ebe7300$05b62ad1@SusanOne> References: <002201c77c5e$b2a3fc90$8abea8c0@XPS> <011601c77c61$5ebe7300$05b62ad1@SusanOne> Message-ID: <013301c77d21$b20b0d50$1493a8c0@LaptopII> Susan, <> There is nothing in place as of yet, so that would not be a problem. <> Was aware of that, but haven't found any docs on it as yet. I'll have to install 2007 and see what it's like. I'll let you know what its like Thanks, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, April 11, 2007 1:47 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] RTF control for Access? Are they willing to upgrade to 2007? I haven't checked it out myself, but there's supposed to be a new and improved RTF control in 2007 -- might be worth looking into. Susan H. All, Has anyone had good success with any of the RTF controls out there for Access? In the past, I've always been loath to use any non-native controls because of the lack of functionality in Access's Active-X interface. I've gotten the gig with the case management thing and I'm going to need a RTF control that can do the following: 1. Different fonts and sizes. 2. Different font colors. 3. Ability to bold and italicize. 4. Ability to high light in color. 5. Ability to spell check 6. Ability to insert pre-defined text (ala AutoCorrect, type a few characters and a string is inserted in place of). The last three items are critical and I cannot do without them. I really don't want to use Word via OLE because of the overhead. I have checked out FMS, inc's RTF control, but it doesn't do #6 from what I can see. Thoughts, comments, recommendations welcome... TIA, Jim. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.26/751 - Release Date: 4/7/2007 10:57 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Thu Apr 12 11:53:13 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 12 Apr 2007 12:53:13 -0400 Subject: [AccessD] RTF control for Access? In-Reply-To: References: Message-ID: <013401c77d23$10066390$1493a8c0@LaptopII> Gustav, <<#6 is more like a word processor feature, not a feature of a Rich Text control.>> yeah, that's is going to be the rub I think. The nursing staff is pretty adamant about having it. A lot of the reports they generate will include some canned text, so the ability to insert text at a specific point is pretty important to them. Right now, they are using Word to do all the reports. It may be that I'll need to bite the bullet and use in-place activation with Word to get what I need. <<#5 can be performed by at least A2007, was is not for a nasty>> Very nice to know; Thanks! I need to get a2007 loaded up and check this out. <> That's very encouraging; if there is one out there then there is probably more. The price doesn't bother me; I just want it to *work*, which is why I was looking for some "hands on" recommendations. This control will be a fundamental part of the app. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, April 11, 2007 1:53 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] RTF control for Access? Hi Jim #6 is more like a word processor feature, not a feature of a Rich Text control. However, #5 can be performed by at least A2007, was is not for a nasty bug: http://www.eggheadcafe.com/software/aspnet/29653342/spell-check-problems-in- a.aspx That may be solved. Further, note that the Rich Text control in A2007 is HTML-based while the standard MS Rich Text ocx is RTF-based. I once noticed this word processor style ocx which - at a price - could be used for your purpose: http://www.spellchecksoftware.com/aboutspe.htm but I have not worked with it myself; I've always used the simple MS Rich Text ocx. /gustav >>> jimdettman at verizon.net 11-04-2007 19:27 >>> All, Has anyone had good success with any of the RTF controls out there for Access? In the past, I've always been loath to use any non-native controls because of the lack of functionality in Access's Active-X interface. I've gotten the gig with the case management thing and I'm going to need a RTF control that can do the following: 1. Different fonts and sizes. 2. Different font colors. 3. Ability to bold and italicize. 4. Ability to high light in color. 5. Ability to spell check 6. Ability to insert pre-defined text (ala AutoCorrect, type a few characters and a string is inserted in place of). The last three items are critical and I cannot do without them. I really don't want to use Word via OLE because of the overhead. I have checked out FMS, inc's RTF control, but it doesn't do #6 from what I can see. Thoughts, comments, recommendations welcome... TIA, Jim. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Apr 12 11:57:42 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 12 Apr 2007 09:57:42 -0700 Subject: [AccessD] Activity? In-Reply-To: References: Message-ID: Martin's book is a good intro. One of the (many) things I hate about this version of Office is that the options that used to be at the bottom of the tools menus are now tucked away behind an options button at the bottom of the pane that drops down from the IMO non-intuitive round office button in the upper left. The download that Marty posted nearly a month ago helps too. http://office.microsoft.com/search/redir.aspx?AssetID=AM101757761033 Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, April 12, 2007 9:50 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Activity? Hi Charlotte Got Office 2007 installed - and now fighting with A2007 and that nasty over-it-all pane ... controls and menus are everywhere - took me a while to locate Access Options juxtaposed to a Close button just for fun. What did they drink? And at the down right corner - in the status bar - now is a full set of buttons for change between views of queries! Oh my ... Still struggling to find out how to get rid of the "Add new field" column in tables' data(!) view. This will take a while, I can feel. /gustav >>> cfoust at infostatsystems.com 12-04-2007 18:33 >>> Haven't seen any activity today. What's going on? Charlotte Foust -- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Thu Apr 12 11:54:03 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 12 Apr 2007 12:54:03 -0400 Subject: [AccessD] RTF control for Access? In-Reply-To: <002701c77c99$fcbe7810$7d7d6c4c@JISREGISTRATION.local> References: <002201c77c5e$b2a3fc90$8abea8c0@XPS> <002701c77c99$fcbe7810$7d7d6c4c@JISREGISTRATION.local> Message-ID: <014201c77d23$2db989d0$1493a8c0@LaptopII> William, Thanks, I'll check it out. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, April 11, 2007 8:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] RTF control for Access? Jim ...I've used Lebans rtf.ocx (www.lebans.com) in several apps now and am really pleased with it's reliability, simplicity, and avoidance of versioning issues ...although Items 5 & 6 are not native, there are ready solutions to do them in Access without another ocx ...dl the install and samples from his site and take a look, its all free and lebans writes solid code that won't screw with you ...plus he readily answers support/design questions about it on the ms.access.public news group. William Hindman ----- Original Message ----- From: "Jim Dettman" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 11, 2007 1:27 PM Subject: [AccessD] RTF control for Access? > All, > > Has anyone had good success with any of the RTF controls out there for > Access? In the past, I've always been loath to use any non-native > controls > because of the lack of functionality in Access's Active-X interface. > > I've gotten the gig with the case management thing and I'm going to need a > RTF control that can do the following: > > 1. Different fonts and sizes. > 2. Different font colors. > 3. Ability to bold and italicize. > 4. Ability to high light in color. > 5. Ability to spell check > 6. Ability to insert pre-defined text (ala AutoCorrect, type a few > characters and a string is inserted in place of). > > The last three items are critical and I cannot do without them. I really > don't want to use Word via OLE because of the overhead. I have checked > out > FMS, inc's RTF control, but it doesn't do #6 from what I can see. > > Thoughts, comments, recommendations welcome... > > TIA, > Jim. > -- > 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 ssharkins at setel.com Thu Apr 12 12:31:17 2007 From: ssharkins at setel.com (Susan Harkins) Date: Thu, 12 Apr 2007 13:31:17 -0400 Subject: [AccessD] HEY Martin! (RE: RTF control for Access?) In-Reply-To: <013301c77d21$b20b0d50$1493a8c0@LaptopII> References: <002201c77c5e$b2a3fc90$8abea8c0@XPS><011601c77c61$5ebe7300$05b62ad1@SusanOne> <013301c77d21$b20b0d50$1493a8c0@LaptopII> Message-ID: <002a01c77d28$61bf9da0$f334fad1@SusanOne> Martin's probably the one to ask -- I know he's worked extensively with Access 2007. Susan H. Susan, <> There is nothing in place as of yet, so that would not be a problem. <> Was aware of that, but haven't found any docs on it as yet. I'll have to install 2007 and see what it's like. I'll let you know what its like From mwp.reid at qub.ac.uk Thu Apr 12 13:00:58 2007 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 12 Apr 2007 19:00:58 +0100 Subject: [AccessD] HEY Martin! (RE: RTF control for Access?) References: <002201c77c5e$b2a3fc90$8abea8c0@XPS><011601c77c61$5ebe7300$05b62ad1@SusanOne><013301c77d21$b20b0d50$1493a8c0@LaptopII> <002a01c77d28$61bf9da0$f334fad1@SusanOne> Message-ID: 2007 has a rich text . Works well but only with the new Access 2007 file type and is a field property when creating the table for memo Datatypes. I believe it stores the text as HTML. Its main limit is its an Access 2007 tool. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Susan Harkins Sent: Thu 12/04/2007 18:31 To: 'Access Developers discussion and problem solving' Subject: [AccessD] HEY Martin! (RE: RTF control for Access?) Martin's probably the one to ask -- I know he's worked extensively with Access 2007. Susan H. Susan, <> There is nothing in place as of yet, so that would not be a problem. <> Was aware of that, but haven't found any docs on it as yet. I'll have to install 2007 and see what it's like. I'll let you know what its like -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Donald.A.McGillivray at sprint.com Thu Apr 12 15:58:51 2007 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Thu, 12 Apr 2007 15:58:51 -0500 Subject: [AccessD] Access 2002 to Access 2007 compatibility Message-ID: Hello, All I've been involved with a little project on the side that was developed using Access 2003. The program is very simple - just a front end with few reports and a UI to pass criteria to them for viewing. It is not being deployed as a runtime. The folks I've been working with have been asked by a potential customer whether the program will function as-is under an Access 2007 environment. Neither I nor my associates intend to upgrade to 2007 soon, so we can't easily experiment with this to be sure. If the new Access is like its predecessors, I presume there may be some "gotchas" with such an implementation. Specific experiences, areas of concern, or suggestions other resources for study would be greatly appreciated. TIA Don McGillivray From bheid at sc.rr.com Thu Apr 12 16:10:49 2007 From: bheid at sc.rr.com (Bobby Heid) Date: Thu, 12 Apr 2007 17:10:49 -0400 Subject: [AccessD] RTF control for Access? In-Reply-To: <013401c77d23$10066390$1493a8c0@LaptopII> References: <013401c77d23$10066390$1493a8c0@LaptopII> Message-ID: <000601c77d47$0be75b10$2c01a8c0@bhxp> We once did an app in VB where we could insert "place holder fields" into the text by dragging and dropping a node or double-clicking a node from a tree view control. This was used later to generate a kind of mail merge document where we replaced the field(s) with as value. You might could do something like this, but insert text. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, April 12, 2007 12:53 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] RTF control for Access? Gustav, <<#6 is more like a word processor feature, not a feature of a Rich Text control.>> yeah, that's is going to be the rub I think. The nursing staff is pretty adamant about having it. A lot of the reports they generate will include some canned text, so the ability to insert text at a specific point is pretty important to them. Right now, they are using Word to do all the reports. It may be that I'll need to bite the bullet and use in-place activation with Word to get what I need. From joeget at vgernet.net Thu Apr 12 18:46:37 2007 From: joeget at vgernet.net (John Eget) Date: Thu, 12 Apr 2007 19:46:37 -0400 Subject: [AccessD] Access 2002 to Access 2007 compatibility References: Message-ID: <005801c77d5c$ea10c7e0$f0c2f63f@JOHN> all of my upgrades have worked with minimal issues John Eget ----- Original Message ----- From: "McGillivray, Don [IT]" To: "Access Developers discussion and problem solving" Sent: Thursday, April 12, 2007 4:58 PM Subject: [AccessD] Access 2002 to Access 2007 compatibility > Hello, All > > I've been involved with a little project on the side that was developed > using Access 2003. The program is very simple - just a front end with few > reports and a UI to pass criteria to them for viewing. It is not being > deployed as a runtime. The folks I've been working with have been asked > by a potential customer whether the program will function as-is under an > Access 2007 environment. Neither I nor my associates intend to upgrade to > 2007 soon, so we can't easily experiment with this to be sure. If the new > Access is like its predecessors, I presume there may be some "gotchas" > with such an implementation. > > Specific experiences, areas of concern, or suggestions other resources for > study would be greatly appreciated. > > TIA > > Don McGillivray > > > > -- > 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 Apr 12 20:48:22 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 13 Apr 2007 11:48:22 +1000 Subject: [AccessD] Access 2002 to Access 2007 compatibility In-Reply-To: <005801c77d5c$ea10c7e0$f0c2f63f@JOHN> References: , <005801c77d5c$ea10c7e0$f0c2f63f@JOHN> Message-ID: <461F6E06.29796.3260E44F@stuart.lexacorp.com.pg> ----- Original Message ----- From: "McGillivray, Don [IT]" Sent: Thursday, April 12, 2007 4:58 PM Subject: [AccessD] Access 2002 to Access 2007 compatibility > I've been involved with a little project on the side that was developed > using Access 2003. The program is very simple - just a front end with few > reports and a UI to pass criteria to them for viewing. It is not being > deployed as a runtime. The folks I've been working with have been asked > by a potential customer whether the program will function as-is under an > Access 2007 environment. Neither I nor my associates intend to upgrade to > 2007 soon, so we can't easily experiment with this to be sure. If the new > Access is like its predecessors, I presume there may be some "gotchas" > with such an implementation. > > Specific experiences, areas of concern, or suggestions other resources for > study would be greatly appreciated. > Check out http://www.allenbrowne.com/Access2007.html for a list of the good, the bad and the ugly. From prodevmg at yahoo.com Thu Apr 12 22:14:11 2007 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 12 Apr 2007 20:14:11 -0700 (PDT) Subject: [AccessD] Open report from remote db Message-ID: <917134.1031.qm@web33115.mail.mud.yahoo.com> Can you open a report in one database from another database? I know how to get the data from a query or table in another database with... "SELECT * FROM TABLE/QUERYMAME IN 'C:\MYDB.MDB'" Any help? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html From mmattys at rochester.rr.com Thu Apr 12 22:23:10 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Thu, 12 Apr 2007 23:23:10 -0400 Subject: [AccessD] Open report from remote db References: <917134.1031.qm@web33115.mail.mud.yahoo.com> Message-ID: <000901c77d7b$11e1d250$0302a8c0@Laptop> Hi Lonnie, Set a ref to that mdb and you should be able to 'see' it to call it. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: Lonnie Johnson To: AccessD solving' Sent: Thursday, April 12, 2007 11:14 PM Subject: [AccessD] Open report from remote db Can you open a report in one database from another database? I know how to get the data from a query or table in another database with... "SELECT * FROM TABLE/QUERYMAME IN 'C:\MYDB.MDB'" Any help? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Apr 12 22:29:49 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 12 Apr 2007 23:29:49 -0400 Subject: [AccessD] Open report from remote db In-Reply-To: <917134.1031.qm@web33115.mail.mud.yahoo.com> References: <917134.1031.qm@web33115.mail.mud.yahoo.com> Message-ID: <00c201c77d7b$ff103490$657aa8c0@m6805> Lonnie, There are a couple of options - automation and referencing. Automation means the same thing that it does in Excel or Word, creating an instance of the remote database and manipulating it to cause it to open the report. That is rather ugly because it is difficult to keep the manipulated database from displaying itself in the process of manipulating it, i.e. it wants to "open". If the remote database has an autoexec or an autoform then that will try to execute / open. I am no expert in automation of Access databases so there may in fact be methods to get around these issues. Referencing means creating a reference to the database so that you can run code inside of the database. Having done that, you can then create public functions that take a report name as a parameter and then opens that report. Since the data for the report is inside of the database (or linked to it anyway) this works nicely. Unfortunately references can get messy depending on the circumstance. As you can see, there are ways to do this and which you choose will depend on your circumstances. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Thursday, April 12, 2007 11:14 PM To: AccessD solving' Subject: [AccessD] Open report from remote db Can you open a report in one database from another database? I know how to get the data from a query or table in another database with... "SELECT * FROM TABLE/QUERYMAME IN 'C:\MYDB.MDB'" Any help? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. ____________________________________________________________________________ ________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Fri Apr 13 01:46:32 2007 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 13 Apr 2007 07:46:32 +0100 Subject: [AccessD] Access 2002 to Access 2007 compatibility References: , <005801c77d5c$ea10c7e0$f0c2f63f@JOHN> <461F6E06.29796.3260E44F@stuart.lexacorp.com.pg> Message-ID: Stuart If you want to zip it up and forward to me I can check it for you. But if its a basic report I don't think there will be any issues. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Stuart McLachlan Sent: Fri 13/04/2007 02:48 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2002 to Access 2007 compatibility ----- Original Message ----- From: "McGillivray, Don [IT]" Sent: Thursday, April 12, 2007 4:58 PM Subject: [AccessD] Access 2002 to Access 2007 compatibility > I've been involved with a little project on the side that was developed > using Access 2003. The program is very simple - just a front end with few > reports and a UI to pass criteria to them for viewing. It is not being > deployed as a runtime. The folks I've been working with have been asked > by a potential customer whether the program will function as-is under an > Access 2007 environment. Neither I nor my associates intend to upgrade to > 2007 soon, so we can't easily experiment with this to be sure. If the new > Access is like its predecessors, I presume there may be some "gotchas" > with such an implementation. > > Specific experiences, areas of concern, or suggestions other resources for > study would be greatly appreciated. > Check out http://www.allenbrowne.com/Access2007.html for a list of the good, the bad and the ugly. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Apr 13 03:55:32 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 13 Apr 2007 10:55:32 +0200 Subject: [AccessD] Access 2007 woe (was: Activity?) Message-ID: Hi Charlotte Yes, that's what I mean - options, menus, strange buttons, panes, etc. are all over. Marty's link seems to be very useful solving this. The link from Stuart (thanks) gave me this: Modify schema (Datasheet) On by default, so users can add, delete, and rename fields in Datasheet view. Can disable: Office Button | Access Options | Current Database | Enable Design Changes in Datasheet View. /gustav >>> cfoust at infostatsystems.com 12-04-2007 18:57 >>> Martin's book is a good intro. One of the (many) things I hate about this version of Office is that the options that used to be at the bottom of the tools menus are now tucked away behind an options button at the bottom of the pane that drops down from the IMO non-intuitive round office button in the upper left. The download that Marty posted nearly a month ago helps too. http://office.microsoft.com/search/redir.aspx?AssetID=AM101757761033 Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, April 12, 2007 9:50 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Activity? Hi Charlotte Got Office 2007 installed - and now fighting with A2007 and that nasty over-it-all pane ... controls and menus are everywhere - took me a while to locate Access Options juxtaposed to a Close button just for fun. What did they drink? And at the down right corner - in the status bar - now is a full set of buttons for change between views of queries! Oh my ... Still struggling to find out how to get rid of the "Add new field" column in tables' data(!) view. This will take a while, I can feel. /gustav >>> cfoust at infostatsystems.com 12-04-2007 18:33 >>> Haven't seen any activity today. What's going on? Charlotte Foust From Gustav at cactus.dk Fri Apr 13 08:36:01 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 13 Apr 2007 15:36:01 +0200 Subject: [AccessD] OT: Friday (humour) Message-ID: ** Low Priority ** Hi all, quiet day again. A good marriage lasts forever - a bad marriage feels so. /gustav From andy at minstersystems.co.uk Fri Apr 13 10:17:06 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 13 Apr 2007 15:17:06 +0000 Subject: [AccessD] OT: Friday (humour) Message-ID: <20070413141710.8D8182B6B85@smtp.nildram.co.uk> Ah well, as we're so quiet try this. Go to Google maps, select Get Directions, enter London to New York. Enjoy the trip but watch out for no 37. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: [AccessD] OT: Friday (humour) Date: 13/04/07 13:41 ** Low Priority ** Hi all, quiet day again. A good marriage lasts forever - a bad marriage feels so. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From Gustav at cactus.dk Fri Apr 13 09:33:07 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 13 Apr 2007 16:33:07 +0200 Subject: [AccessD] OT: Friday (humour) Message-ID: Hi Andy Just bring your swim suit and you'll be kept busy for the weekend! /gustav >>> andy at minstersystems.co.uk 13-04-2007 17:17 >>> Ah well, as we're so quiet try this. Go to Google maps, select Get Directions, enter London to New York. Enjoy the trip but watch out for no 37. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: [AccessD] OT: Friday (humour) Date: 13/04/07 13:41 ** Low Priority ** Hi all, quiet day again. A good marriage lasts forever - a bad marriage feels so. /gustav From accessd at shaw.ca Fri Apr 13 09:46:12 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 13 Apr 2007 07:46:12 -0700 Subject: [AccessD] OT: Friday (humourly but good SQL fun) In-Reply-To: <20070413141710.8D8182B6B85@smtp.nildram.co.uk> Message-ID: <0JGF00JUXY6AHU11@l-daemon> OT Friday: Tired of those plain MS SQL DBs... try this: http://msdn2.microsoft.com/en-us/library/bb245675.aspx ...and... http://www.sqlserverbible.com/ordbms.htm Jim From andy at minstersystems.co.uk Fri Apr 13 11:06:04 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 13 Apr 2007 16:06:04 +0000 Subject: [AccessD] OT: Friday (humourly but good SQL fun) Message-ID: <20070413150609.39B2A4C269@smtp.nildram.co.uk> Swimming the Atlantic suddenly looks like child's play. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] OT: Friday (humourly but good SQL fun) Date: 13/04/07 14:52 OT Friday: Tired of those plain MS SQL DBs... try this: http://msdn2.microsoft.com/en-us/library/bb245675.aspx ....and... http://www.sqlserverbible.com/ordbms.htm Jim ________________________________________________ Message sent using UebiMiau 2.7.2 From Gustav at cactus.dk Fri Apr 13 10:21:33 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 13 Apr 2007 17:21:33 +0200 Subject: [AccessD] OT: Friday (humourly but good SQL fun) Message-ID: Hi Andy Yes. It could be the next challenge for the guy who recently swam the Amazonas downstream - in 66 days! /gustav >>> andy at minstersystems.co.uk 13-04-2007 18:06 >>> Swimming the Atlantic suddenly looks like child's play. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] OT: Friday (humourly but good SQL fun) Date: 13/04/07 14:52 OT Friday: Tired of those plain MS SQL DBs... try this: http://msdn2.microsoft.com/en-us/library/bb245675.aspx ....and... http://www.sqlserverbible.com/ordbms.htm Jim From shamil at users.mns.ru Fri Apr 13 11:57:47 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 13 Apr 2007 20:57:47 +0400 Subject: [AccessD] OT: Friday (humour) In-Reply-To: Message-ID: <001201c77dec$dd073760$6501a8c0@nant> Hi Gustav, It's Friday, the *13th* today. Everybody are fighting with *malicious* alien software? My 0.02 kopeks for Friday humor - the following is a translated from Russian anecdote: Here is what we learn from the Hollywood films: 1. During any kind of investigation a policemen at least one time visits a strip-club. 2. Foreigners prefer to speak English even if they talk to each other. 3. To rescue from a pursuit it is always possible to hide in a crowd of a passing by parade. For sure there will be suitable parade to do that 4. On every bed there is an L-shaped blanket closing a man up to a belt, and a woman - up to a chin. 5. The best detective is always discharged of work or he/she is given 48 hours to finish investigation. 6. Everyone can land a plane. 7. A ventilation system of any building is the best place to hide, nobody will try to search for you there you there, but using it you can reach any part of a building. 8. Tour Eiffel in Paris is visible from EACH window. 9. Any bomb with clockwork is additionally equipped by the indicator with large red figures for everybody to see what time remains before explosion. 10. It's not necessary for Nazis officers to know German language, it is enough for them to speak English with German accent. 11. There is no illumination system in kitchens. To get a light in kitchen at night time it is enough to open a door of a refrigerator. 12. Having remained alone to spend the night in a dark and gloomy building and having heard a suspicious sound, the heroine(actress) goes to check what is happening, having put on her most magnificent and seductive linen. 13. Collided cars always blow up and burn. 14. Medieval and even primitive inhabitants always have shining, magnificent hair and magnificent teeth. 15. If you have got surrounded by more than one opponent, there anyway will be just one attacking you, and the others at this time will be making menacing body movements. 16. Even if a car goes on a flat and a straight road, the steering wheel has to be twisted furiously here and there. 17. Any lock can be opened by a paper clip, hairpin or a credit card. Exception is the case when a fire begins in the house where a small child is locked. 18. Lipstick is not getting erased, even if a heroine (actress) takes a shower or dives with an aqualung. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 13, 2007 5:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday (humour) Importance: Low ** Low Priority ** Hi all, quiet day again. A good marriage lasts forever - a bad marriage feels so. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From drboz at pacbell.net Fri Apr 13 12:08:47 2007 From: drboz at pacbell.net (Don Bozarth) Date: Fri, 13 Apr 2007 10:08:47 -0700 Subject: [AccessD] OT: Friday (humour) References: <001201c77dec$dd073760$6501a8c0@nant> Message-ID: <001a01c77dee$687a4340$6601a8c0@don> Add to your list the fact that the hero/heroine don't seem to mind walking around in darkened rooms when there's something bad in there. Don B. ----- Original Message ----- From: "Shamil Salakhetdinov" To: "'Access Developers discussion and problem solving'" Sent: Friday, April 13, 2007 9:57 AM Subject: Re: [AccessD] OT: Friday (humour) > Hi Gustav, > > It's Friday, the *13th* today. Everybody are fighting with *malicious* > alien > software? > > My 0.02 kopeks for Friday humor - the following is a translated from > Russian > anecdote: > > Here is what we learn from the Hollywood films: > 1. During any kind of investigation a policemen at least one time visits a > strip-club. > 2. Foreigners prefer to speak English even if they talk to each other. > 3. To rescue from a pursuit it is always possible to hide in a crowd of a > passing by parade. For sure there will be suitable parade to do that > 4. On every bed there is an L-shaped blanket closing a man up to a belt, > and > a woman - up to a chin. > 5. The best detective is always discharged of work or he/she is given 48 > hours to finish investigation. > 6. Everyone can land a plane. > 7. A ventilation system of any building is the best place to hide, nobody > will try to search for you there you there, but using it you can reach any > part of a building. > 8. Tour Eiffel in Paris is visible from EACH window. > 9. Any bomb with clockwork is additionally equipped by the indicator with > large red figures for everybody to see what time remains before explosion. > 10. It's not necessary for Nazis officers to know German language, it is > enough for them to speak English with German accent. > 11. There is no illumination system in kitchens. To get a light in kitchen > at night time it is enough to open a door of a refrigerator. > 12. Having remained alone to spend the night in a dark and gloomy building > and having heard a suspicious sound, the heroine(actress) goes to check > what > is happening, having put on her most magnificent and seductive linen. > 13. Collided cars always blow up and burn. > 14. Medieval and even primitive inhabitants always have shining, > magnificent > hair and magnificent teeth. > 15. If you have got surrounded by more than one opponent, there anyway > will > be just one attacking you, and the others at this time will be making > menacing body movements. > 16. Even if a car goes on a flat and a straight road, the steering wheel > has > to be twisted furiously here and there. > 17. Any lock can be opened by a paper clip, hairpin or a credit card. > Exception is the case when a fire begins in the house where a small child > is > locked. > 18. Lipstick is not getting erased, even if a heroine (actress) takes a > shower or dives with an aqualung. > > -- > Shamil > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Friday, April 13, 2007 5:36 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] OT: Friday (humour) > Importance: Low > > ** Low Priority ** > > Hi all, quiet day again. > > A good marriage lasts forever - a bad marriage feels so. > > /gustav > > > -- > 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 Donald.A.McGillivray at sprint.com Fri Apr 13 12:09:51 2007 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Fri, 13 Apr 2007 12:09:51 -0500 Subject: [AccessD] Access 2002 to Access 2007 compatibility In-Reply-To: References: , <005801c77d5c$ea10c7e0$f0c2f63f@JOHN><461F6E06.29796.3260E44F@stuart.lexacorp.com.pg> Message-ID: Thanks to all for the offers, input, and expertise. This should be enough to allow me to ease their fears. Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Thursday, April 12, 2007 11:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2002 to Access 2007 compatibility Stuart If you want to zip it up and forward to me I can check it for you. But if its a basic report I don't think there will be any issues. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Stuart McLachlan Sent: Fri 13/04/2007 02:48 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2002 to Access 2007 compatibility ----- Original Message ----- From: "McGillivray, Don [IT]" Sent: Thursday, April 12, 2007 4:58 PM Subject: [AccessD] Access 2002 to Access 2007 compatibility > I've been involved with a little project on the side that was developed > using Access 2003. The program is very simple - just a front end with few > reports and a UI to pass criteria to them for viewing. It is not being > deployed as a runtime. The folks I've been working with have been asked > by a potential customer whether the program will function as-is under an > Access 2007 environment. Neither I nor my associates intend to upgrade to > 2007 soon, so we can't easily experiment with this to be sure. If the new > Access is like its predecessors, I presume there may be some "gotchas" > with such an implementation. > > Specific experiences, areas of concern, or suggestions other resources for > study would be greatly appreciated. > Check out http://www.allenbrowne.com/Access2007.html for a list of the good, the bad and the ugly. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Apr 13 12:19:09 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 13 Apr 2007 19:19:09 +0200 Subject: [AccessD] OT: Friday (humour) Message-ID: Hi Shamil That's right, I forgot that ... remember the old virus "Friday 13th"?. Scary indeed. Also, add to the list: Cowboys newer sh.t. /gustav >>> shamil at users.mns.ru 13-04-2007 18:57 >>> Hi Gustav, It's Friday, the *13th* today. Everybody are fighting with *malicious* alien software? My 0.02 kopeks for Friday humor - the following is a translated from Russian anecdote: Here is what we learn from the Hollywood films: 1. During any kind of investigation a policemen at least one time visits a strip-club. 2. Foreigners prefer to speak English even if they talk to each other. 3. To rescue from a pursuit it is always possible to hide in a crowd of a passing by parade. For sure there will be suitable parade to do that 4. On every bed there is an L-shaped blanket closing a man up to a belt, and a woman - up to a chin. 5. The best detective is always discharged of work or he/she is given 48 hours to finish investigation. 6. Everyone can land a plane. 7. A ventilation system of any building is the best place to hide, nobody will try to search for you there you there, but using it you can reach any part of a building. 8. Tour Eiffel in Paris is visible from EACH window. 9. Any bomb with clockwork is additionally equipped by the indicator with large red figures for everybody to see what time remains before explosion. 10. It's not necessary for Nazis officers to know German language, it is enough for them to speak English with German accent. 11. There is no illumination system in kitchens. To get a light in kitchen at night time it is enough to open a door of a refrigerator. 12. Having remained alone to spend the night in a dark and gloomy building and having heard a suspicious sound, the heroine(actress) goes to check what is happening, having put on her most magnificent and seductive linen. 13. Collided cars always blow up and burn. 14. Medieval and even primitive inhabitants always have shining, magnificent hair and magnificent teeth. 15. If you have got surrounded by more than one opponent, there anyway will be just one attacking you, and the others at this time will be making menacing body movements. 16. Even if a car goes on a flat and a straight road, the steering wheel has to be twisted furiously here and there. 17. Any lock can be opened by a paper clip, hairpin or a credit card. Exception is the case when a fire begins in the house where a small child is locked. 18. Lipstick is not getting erased, even if a heroine (actress) takes a shower or dives with an aqualung. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 13, 2007 5:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday (humour) Importance: Low ** Low Priority ** Hi all, quiet day again. A good marriage lasts forever - a bad marriage feels so. /gustav From dwaters at usinternet.com Fri Apr 13 12:20:47 2007 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 13 Apr 2007 12:20:47 -0500 Subject: [AccessD] OT: Friday (humour) In-Reply-To: <001201c77dec$dd073760$6501a8c0@nant> References: <001201c77dec$dd073760$6501a8c0@nant> Message-ID: <002e01c77df0$14b6dd20$0200a8c0@danwaters> Well - I just learned a lot about Hollywood movies!! Thanks Shamil! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, April 13, 2007 11:58 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (humour) Hi Gustav, It's Friday, the *13th* today. Everybody are fighting with *malicious* alien software? My 0.02 kopeks for Friday humor - the following is a translated from Russian anecdote: Here is what we learn from the Hollywood films: 1. During any kind of investigation a policemen at least one time visits a strip-club. 2. Foreigners prefer to speak English even if they talk to each other. 3. To rescue from a pursuit it is always possible to hide in a crowd of a passing by parade. For sure there will be suitable parade to do that 4. On every bed there is an L-shaped blanket closing a man up to a belt, and a woman - up to a chin. 5. The best detective is always discharged of work or he/she is given 48 hours to finish investigation. 6. Everyone can land a plane. 7. A ventilation system of any building is the best place to hide, nobody will try to search for you there you there, but using it you can reach any part of a building. 8. Tour Eiffel in Paris is visible from EACH window. 9. Any bomb with clockwork is additionally equipped by the indicator with large red figures for everybody to see what time remains before explosion. 10. It's not necessary for Nazis officers to know German language, it is enough for them to speak English with German accent. 11. There is no illumination system in kitchens. To get a light in kitchen at night time it is enough to open a door of a refrigerator. 12. Having remained alone to spend the night in a dark and gloomy building and having heard a suspicious sound, the heroine(actress) goes to check what is happening, having put on her most magnificent and seductive linen. 13. Collided cars always blow up and burn. 14. Medieval and even primitive inhabitants always have shining, magnificent hair and magnificent teeth. 15. If you have got surrounded by more than one opponent, there anyway will be just one attacking you, and the others at this time will be making menacing body movements. 16. Even if a car goes on a flat and a straight road, the steering wheel has to be twisted furiously here and there. 17. Any lock can be opened by a paper clip, hairpin or a credit card. Exception is the case when a fire begins in the house where a small child is locked. 18. Lipstick is not getting erased, even if a heroine (actress) takes a shower or dives with an aqualung. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 13, 2007 5:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday (humour) Importance: Low ** Low Priority ** Hi all, quiet day again. A good marriage lasts forever - a bad marriage feels so. /gustav -- 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 andy at minstersystems.co.uk Fri Apr 13 13:52:14 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 13 Apr 2007 19:52:14 +0100 Subject: [AccessD] OT: Friday (humour) In-Reply-To: <001201c77dec$dd073760$6501a8c0@nant> Message-ID: <01d301c77dfc$da8b6eb0$9898d355@minster33c3r25> Great stuff Shamil, thanks. And SO true. Andy > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Shamil Salakhetdinov > Sent: 13 April 2007 17:58 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: Friday (humour) > > > Hi Gustav, > > It's Friday, the *13th* today. Everybody are fighting with > *malicious* alien software? > > My 0.02 kopeks for Friday humor - the following is a > translated from Russian > anecdote: > > Here is what we learn from the Hollywood films: > 1. During any kind of investigation a policemen at least one > time visits a strip-club. > 2. Foreigners prefer to speak English even if they talk to > each other. 3. To rescue from a pursuit it is always possible > to hide in a crowd of a passing by parade. For sure there > will be suitable parade to do that > 4. On every bed there is an L-shaped blanket closing a man up > to a belt, and a woman - up to a chin. > 5. The best detective is always discharged of work or he/she > is given 48 hours to finish investigation. > 6. Everyone can land a plane. > 7. A ventilation system of any building is the best place to > hide, nobody will try to search for you there you there, but > using it you can reach any part of a building. > 8. Tour Eiffel in Paris is visible from EACH window. > 9. Any bomb with clockwork is additionally equipped by the > indicator with large red figures for everybody to see what > time remains before explosion. > 10. It's not necessary for Nazis officers to know German > language, it is enough for them to speak English with German > accent. 11. There is no illumination system in kitchens. To > get a light in kitchen at night time it is enough to open a > door of a refrigerator. > 12. Having remained alone to spend the night in a dark and > gloomy building and having heard a suspicious sound, the > heroine(actress) goes to check what is happening, having put > on her most magnificent and seductive linen. > 13. Collided cars always blow up and burn. > 14. Medieval and even primitive inhabitants always have > shining, magnificent hair and magnificent teeth. > 15. If you have got surrounded by more than one opponent, > there anyway will be just one attacking you, and the others > at this time will be making menacing body movements. > 16. Even if a car goes on a flat and a straight road, the > steering wheel has to be twisted furiously here and there. > 17. Any lock can be opened by a paper clip, hairpin or a > credit card. Exception is the case when a fire begins in the > house where a small child is locked. > 18. Lipstick is not getting erased, even if a heroine > (actress) takes a shower or dives with an aqualung. > > -- > Shamil > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Gustav Brock > Sent: Friday, April 13, 2007 5:36 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] OT: Friday (humour) > Importance: Low > > ** Low Priority ** > > Hi all, quiet day again. > > A good marriage lasts forever - a bad marriage feels so. > > /gustav > > > -- > 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 rockysmolin at bchacc.com Fri Apr 13 14:52:52 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 13 Apr 2007 12:52:52 -0700 Subject: [AccessD] OT: Friday (humour) In-Reply-To: <001201c77dec$dd073760$6501a8c0@nant> Message-ID: <016701c77e05$52d73400$0201a8c0@HAL9005> Do Russians have the 'Unlucky Friday the 13th' superstition? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, April 13, 2007 9:58 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (humour) Hi Gustav, It's Friday, the *13th* today. Everybody are fighting with *malicious* alien software? My 0.02 kopeks for Friday humor - the following is a translated from Russian anecdote: Here is what we learn from the Hollywood films: 1. During any kind of investigation a policemen at least one time visits a strip-club. 2. Foreigners prefer to speak English even if they talk to each other. 3. To rescue from a pursuit it is always possible to hide in a crowd of a passing by parade. For sure there will be suitable parade to do that 4. On every bed there is an L-shaped blanket closing a man up to a belt, and a woman - up to a chin. 5. The best detective is always discharged of work or he/she is given 48 hours to finish investigation. 6. Everyone can land a plane. 7. A ventilation system of any building is the best place to hide, nobody will try to search for you there you there, but using it you can reach any part of a building. 8. Tour Eiffel in Paris is visible from EACH window. 9. Any bomb with clockwork is additionally equipped by the indicator with large red figures for everybody to see what time remains before explosion. 10. It's not necessary for Nazis officers to know German language, it is enough for them to speak English with German accent. 11. There is no illumination system in kitchens. To get a light in kitchen at night time it is enough to open a door of a refrigerator. 12. Having remained alone to spend the night in a dark and gloomy building and having heard a suspicious sound, the heroine(actress) goes to check what is happening, having put on her most magnificent and seductive linen. 13. Collided cars always blow up and burn. 14. Medieval and even primitive inhabitants always have shining, magnificent hair and magnificent teeth. 15. If you have got surrounded by more than one opponent, there anyway will be just one attacking you, and the others at this time will be making menacing body movements. 16. Even if a car goes on a flat and a straight road, the steering wheel has to be twisted furiously here and there. 17. Any lock can be opened by a paper clip, hairpin or a credit card. Exception is the case when a fire begins in the house where a small child is locked. 18. Lipstick is not getting erased, even if a heroine (actress) takes a shower or dives with an aqualung. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 13, 2007 5:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday (humour) Importance: Low ** Low Priority ** Hi all, quiet day again. A good marriage lasts forever - a bad marriage feels so. /gustav -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.4.0/759 - Release Date: 4/12/2007 7:58 PM From mwp.reid at qub.ac.uk Fri Apr 13 15:21:24 2007 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 13 Apr 2007 21:21:24 +0100 Subject: [AccessD] OT: Friday (humour) References: <016701c77e05$52d73400$0201a8c0@HAL9005> Message-ID: Just to finish this off My Uncle, Sean was in the Merchant Navy. In the 1960s of the coast of Africa he was killed. His mate was asked to go up a chair to paint a mast. His mate refused as it was Friday 13th. My Uncle went up, rope broke and he was killed. True story. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Rocky Smolin at Beach Access Software Sent: Fri 13/04/2007 20:52 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (humour) Do Russians have the 'Unlucky Friday the 13th' superstition? Rocky From shamil at users.mns.ru Fri Apr 13 16:15:35 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 14 Apr 2007 01:15:35 +0400 Subject: [AccessD] OT: Friday (humour) In-Reply-To: <016701c77e05$52d73400$0201a8c0@HAL9005> Message-ID: <000b01c77e10$e0bfc830$6501a8c0@nant> Rocky, No, there is no 'Unlucky Friday the 13th' superstition here - I have got known about it after I started to talk to Western colleagues via Internet... Unlucky/heavy day is considered to be Monday here, every Monday :) And Monday, 13th is considered especially heavy/unlucky... There is a very famous here Soviet times' comedy movie and a soundtrack to this movie is a song about "Unlucky Island" having these words: "Whatever they (inhabitants of Unlucky Island) do - it doesn't work well, it looks like they were born on Monday..." -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, April 13, 2007 11:53 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (humour) Do Russians have the 'Unlucky Friday the 13th' superstition? Rocky <<< tail skipped >>> From rockysmolin at bchacc.com Fri Apr 13 18:16:04 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 13 Apr 2007 16:16:04 -0700 Subject: [AccessD] OT: Friday (humour) In-Reply-To: <000b01c77e10$e0bfc830$6501a8c0@nant> Message-ID: <019d01c77e21$b5a4b780$0201a8c0@HAL9005> OK I kind of forgot it was OT Friday so I can post a link to an op-ed piece that my 17 y.o. got published in the San Diego Union Tribune today? It's just shameless boasting but as they say - easier to ask forgiveness than permission. Hard to keep a proud Dad at bay, you know - http://www.signonsandiego.com/uniontrib/20070413/news_lz1e13sutton.html Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, April 13, 2007 2:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (humour) Rocky, No, there is no 'Unlucky Friday the 13th' superstition here - I have got known about it after I started to talk to Western colleagues via Internet... Unlucky/heavy day is considered to be Monday here, every Monday :) And Monday, 13th is considered especially heavy/unlucky... There is a very famous here Soviet times' comedy movie and a soundtrack to this movie is a song about "Unlucky Island" having these words: "Whatever they (inhabitants of Unlucky Island) do - it doesn't work well, it looks like they were born on Monday..." -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, April 13, 2007 11:53 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (humour) Do Russians have the 'Unlucky Friday the 13th' superstition? Rocky <<< tail skipped >>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.4.0/759 - Release Date: 4/12/2007 7:58 PM From prodevmg at yahoo.com Sun Apr 15 20:01:43 2007 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Sun, 15 Apr 2007 18:01:43 -0700 (PDT) Subject: [AccessD] Open report from remote db Message-ID: <701922.48730.qm@web33110.mail.mud.yahoo.com> Thanks for the tip. I have set a reference but do "see it" as you say. I may need a little more hand holding. Never had to do this before. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Thursday, April 12, 2007 10:23:10 PM Subject: Re: [AccessD] Open report from remote db Hi Lonnie, Set a ref to that mdb and you should be able to 'see' it to call it. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: Lonnie Johnson To: AccessD solving' Sent: Thursday, April 12, 2007 11:14 PM Subject: [AccessD] Open report from remote db Can you open a report in one database from another database? I know how to get the data from a query or table in another database with... "SELECT * FROM TABLE/QUERYMAME IN 'C:\MYDB.MDB'" Any help? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html -- 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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From mmattys at rochester.rr.com Sun Apr 15 21:23:16 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Sun, 15 Apr 2007 22:23:16 -0400 Subject: [AccessD] Open report from remote db References: <701922.48730.qm@web33110.mail.mud.yahoo.com> Message-ID: <001101c77fce$322f7530$0302a8c0@Laptop> Alright, Lonnie. I think the simplest method would be to create a public function in the referenced database that tells the report to open. Then it doesn't matter where you call it from, it just pops up. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: Lonnie Johnson To: Access Developers discussion and problem solving Sent: Sunday, April 15, 2007 9:01 PM Subject: Re: [AccessD] Open report from remote db Thanks for the tip. I have set a reference but do "see it" as you say. I may need a little more hand holding. Never had to do this before. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Thursday, April 12, 2007 10:23:10 PM Subject: Re: [AccessD] Open report from remote db Hi Lonnie, Set a ref to that mdb and you should be able to 'see' it to call it. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: Lonnie Johnson To: AccessD solving' Sent: Thursday, April 12, 2007 11:14 PM Subject: [AccessD] Open report from remote db Can you open a report in one database from another database? I know how to get the data from a query or table in another database with... "SELECT * FROM TABLE/QUERYMAME IN 'C:\MYDB.MDB'" Any help? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html -- 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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Elizabeth.J.Doering at wellsfargo.com Mon Apr 16 07:47:25 2007 From: Elizabeth.J.Doering at wellsfargo.com (Elizabeth.J.Doering at wellsfargo.com) Date: Mon, 16 Apr 2007 07:47:25 -0500 Subject: [AccessD] OT: Friday (humour) References: <019d01c77e21$b5a4b780$0201a8c0@HAL9005> Message-ID: <1C2084FD2472124AB1812A5476EA3B7A015A05D6@msgswbmnmsp04.wellsfargo.com> Wow. Dad is justly proud. Liz Liz Doering 612.667.2447 "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, April 13, 2007 6:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (humour) OK I kind of forgot it was OT Friday so I can post a link to an op-ed piece that my 17 y.o. got published in the San Diego Union Tribune today? It's just shameless boasting but as they say - easier to ask forgiveness than permission. Hard to keep a proud Dad at bay, you know - http://www.signonsandiego.com/uniontrib/20070413/news_lz1e13sutton.html Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, April 13, 2007 2:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (humour) Rocky, No, there is no 'Unlucky Friday the 13th' superstition here - I have got known about it after I started to talk to Western colleagues via Internet... Unlucky/heavy day is considered to be Monday here, every Monday :) And Monday, 13th is considered especially heavy/unlucky... There is a very famous here Soviet times' comedy movie and a soundtrack to this movie is a song about "Unlucky Island" having these words: "Whatever they (inhabitants of Unlucky Island) do - it doesn't work well, it looks like they were born on Monday..." -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, April 13, 2007 11:53 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (humour) Do Russians have the 'Unlucky Friday the 13th' superstition? Rocky <<< tail skipped >>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.4.0/759 - Release Date: 4/12/2007 7:58 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Mon Apr 16 08:09:42 2007 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Mon, 16 Apr 2007 06:09:42 -0700 (PDT) Subject: [AccessD] Open report from remote db Message-ID: <905309.89689.qm@web33110.mail.mud.yahoo.com> Thanks. I guess I should have been more revealing. I have been asked to create a process by which the user can type in a database path and name into one field and a report name in another field, click a button and that report opens. So I will be adding references to the main database dynamically and through code and retrieving the report. It sounds like a pain but it's what they want. They are bent on certain conveniences like not having to open another database. Does that help? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Sunday, April 15, 2007 9:23:16 PM Subject: Re: [AccessD] Open report from remote db Alright, Lonnie. I think the simplest method would be to create a public function in the referenced database that tells the report to open. Then it doesn't matter where you call it from, it just pops up. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: Lonnie Johnson To: Access Developers discussion and problem solving Sent: Sunday, April 15, 2007 9:01 PM Subject: Re: [AccessD] Open report from remote db Thanks for the tip. I have set a reference but do "see it" as you say. I may need a little more hand holding. Never had to do this before. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Thursday, April 12, 2007 10:23:10 PM Subject: Re: [AccessD] Open report from remote db Hi Lonnie, Set a ref to that mdb and you should be able to 'see' it to call it. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: Lonnie Johnson To: AccessD solving' Sent: Thursday, April 12, 2007 11:14 PM Subject: [AccessD] Open report from remote db Can you open a report in one database from another database? I know how to get the data from a query or table in another database with... "SELECT * FROM TABLE/QUERYMAME IN 'C:\MYDB.MDB'" Any help? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html -- 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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From adtp at airtelbroadband.in Mon Apr 16 09:19:22 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Mon, 16 Apr 2007 19:49:22 +0530 Subject: [AccessD] Open report from remote db References: <917134.1031.qm@web33115.mail.mud.yahoo.com> Message-ID: <009f01c78032$5b555e70$0357a27a@pcadt> Lonnie, Two alternatives are available as follows, for viewing / printing reports & forms belonging to external db: (a) Library reference to external db: (i) In local db, set up library reference named "External" to the external db and then call subroutines & functions belonging to external db by using the qualifier "External." (ii) In the code modules of external db, care is to be taken to use CodeDb & CodeProject in lieu of CurrentDb & CurrentProject respectively, wherever occurring. (iii) Automatic setting up of correct reference to external db can be ensured programmatically, through code in start-up form of local db. (b) Access automation: Activate the external db via automation and toggle respective visibilities of local & external db's appropriately, for user convenience. Two of my sample db's mentioned below, might be of interest to you: (a) ExternalDbAsLibraryRef (b) ExternalDbAutomation Both samples are available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Lonnie Johnson To: AccessD solving' Sent: Friday, April 13, 2007 08:44 Subject: [AccessD] Open report from remote db Can you open a report in one database from another database? I know how to get the data from a query or table in another database with... "SELECT * FROM TABLE/QUERYMAME IN 'C:\MYDB.MDB'" Any help? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us From mwp.reid at qub.ac.uk Mon Apr 16 09:21:49 2007 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Mon, 16 Apr 2007 15:21:49 +0100 Subject: [AccessD] OT Excel References: <905309.89689.qm@web33110.mail.mud.yahoo.com> Message-ID: I have a member of staff who is in real need of some expert Excel help. They are also a mature studend and close to deadline re an Excel project as part of their MA. I dont know enough to help her. Would anyone with good Excel expereince care to volunteer??? You can contact me of line. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From mmattys at rochester.rr.com Mon Apr 16 10:55:43 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Mon, 16 Apr 2007 11:55:43 -0400 Subject: [AccessD] Open report from remote db References: <905309.89689.qm@web33110.mail.mud.yahoo.com> Message-ID: <006401c7803f$b1cac760$0302a8c0@Laptop> Hi Lonnie, While I haven't looked at A.D.'s implementations, my guess is that they're sufficient to answer all of your questions. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: Lonnie Johnson To: Access Developers discussion and problem solving Sent: Monday, April 16, 2007 9:09 AM Subject: Re: [AccessD] Open report from remote db Thanks. I guess I should have been more revealing. I have been asked to create a process by which the user can type in a database path and name into one field and a report name in another field, click a button and that report opens. So I will be adding references to the main database dynamically and through code and retrieving the report. It sounds like a pain but it's what they want. They are bent on certain conveniences like not having to open another database. Does that help? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Sunday, April 15, 2007 9:23:16 PM Subject: Re: [AccessD] Open report from remote db Alright, Lonnie. I think the simplest method would be to create a public function in the referenced database that tells the report to open. Then it doesn't matter where you call it from, it just pops up. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: Lonnie Johnson To: Access Developers discussion and problem solving Sent: Sunday, April 15, 2007 9:01 PM Subject: Re: [AccessD] Open report from remote db Thanks for the tip. I have set a reference but do "see it" as you say. I may need a little more hand holding. Never had to do this before. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Thursday, April 12, 2007 10:23:10 PM Subject: Re: [AccessD] Open report from remote db Hi Lonnie, Set a ref to that mdb and you should be able to 'see' it to call it. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: Lonnie Johnson To: AccessD solving' Sent: Thursday, April 12, 2007 11:14 PM Subject: [AccessD] Open report from remote db Can you open a report in one database from another database? I know how to get the data from a query or table in another database with... "SELECT * FROM TABLE/QUERYMAME IN 'C:\MYDB.MDB'" Any help? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html -- 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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at verizon.net Mon Apr 16 11:40:56 2007 From: mikedorism at verizon.net (Doris Manning) Date: Mon, 16 Apr 2007 12:40:56 -0400 Subject: [AccessD] OT -- Transfer Rich Text to SQL Server Message-ID: <001301c78046$02391570$2f01a8c0@Kermit> Does anyone on this list happen to know how to take a rich text formatted cell from Excel and transfer that to SQL Server? Doris Manning Database Administrator Hargrove Inc. From John.Clark at niagaracounty.com Mon Apr 16 13:44:49 2007 From: John.Clark at niagaracounty.com (John Clark) Date: Mon, 16 Apr 2007 14:44:49 -0400 Subject: [AccessD] Getting info from a single record table In-Reply-To: <019d01c77e21$b5a4b780$0201a8c0@HAL9005> References: <000b01c77e10$e0bfc830$6501a8c0@nant> <019d01c77e21$b5a4b780$0201a8c0@HAL9005> Message-ID: <46238BDD.167F.006B.0@niagaracounty.com> Years ago, I created a small program to track mileage of workers. There are a bunch of things I'd have done differently, but they are very pleased w/it. The bad thing though is that I couldn't figure out how to change the mileage rate, on the fly, so I hard coded it. So, I have had to go in and alter this rate, every quarter, if it changes. This wasn't too awfully bad, but they didn't notify me, the last couple of times, until we were well into the quarter, and they had already keyed in a bunch of the entries. The calculation is done at the time of entry, so the allowances were off, and I had to run a quick update query to fix the old amounts. This is one of the things I would do differently, and I may change it to compare the date w/a table of dates and rates, but this immediate question will be relevant for that too. I would like to, for now at least, install a one-record table, to hold the rate in it. I would have a very small form...basically a pop-up type form...that would hold the rate. There would be no nav. buttons, so they are stuck on the one record only. But...finally, we're at my question...how do I reference this record? Example: Currently: [AmtOwed] = [Miles] * .485 Would like: [AmtOwed] = [Miles] * [tblMileageRate]![CurRate] Make sense? I hope! John W. Clark From markamatte at hotmail.com Mon Apr 16 14:03:24 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 16 Apr 2007 19:03:24 +0000 Subject: [AccessD] Getting info from a single record table In-Reply-To: <46238BDD.167F.006B.0@niagaracounty.com> Message-ID: John, I do something similar. I use a dlookup...and then give them a form with an unbound field and a button to change it. On this form they enter the new (in your case) milage...and I use a SQL statement behing the button to write over my singe record. This way the don't have the chance to enter additional records in the table. The Dlookup is then used in all of my calculations. Hope this helps... Thanks, Mark A. Matte >From: "John Clark" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: [AccessD] Getting info from a single record table >Date: Mon, 16 Apr 2007 14:44:49 -0400 > >Years ago, I created a small program to track mileage of workers. There are >a bunch of things I'd have done differently, but they are very pleased >w/it. The bad thing though is that I couldn't figure out how to change the >mileage rate, on the fly, so I hard coded it. So, I have had to go in and >alter this rate, every quarter, if it changes. > >This wasn't too awfully bad, but they didn't notify me, the last couple of >times, until we were well into the quarter, and they had already keyed in a >bunch of the entries. The calculation is done at the time of entry, so the >allowances were off, and I had to run a quick update query to fix the old >amounts. This is one of the things I would do differently, and I may change >it to compare the date w/a table of dates and rates, but this immediate >question will be relevant for that too. > >I would like to, for now at least, install a one-record table, to hold the >rate in it. I would have a very small form...basically a pop-up type >form...that would hold the rate. There would be no nav. buttons, so they >are stuck on the one record only. But...finally, we're at my question...how >do I reference this record? > >Example: > >Currently: [AmtOwed] = [Miles] * .485 > >Would like: [AmtOwed] = [Miles] * [tblMileageRate]![CurRate] > >Make sense? I hope! > >John W. Clark > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Exercise your brain! Try Flexicon. http://games.msn.com/en/flexicon/default.htm?icid=flexicon_hmemailtaglineapril07 From martyconnelly at shaw.ca Mon Apr 16 14:03:56 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 16 Apr 2007 12:03:56 -0700 Subject: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 but just in IE In-Reply-To: <001301c78046$02391570$2f01a8c0@Kermit> References: <001301c78046$02391570$2f01a8c0@Kermit> Message-ID: <4623C89C.8000209@shaw.ca> Just a heads up. You may want to upgrade to XML 6.0 in the future even just for the security fixes, never mind the new WSC XML standards introduced. MS are going to push out an IE specific kill-bit for MSXML4 in October 2007. http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill-bit-ed.aspx MSXML6 is included in Vista by default and MSXML 6.0 SP 1 is available for download for supported downlevel platforms from http://www.microsoft.com/downloads/details.aspx?FamilyID=d21c292c-368b-4ce1-9dab-3e9827b70604&displaylang=en MSXML 6.0 will be the means whereby support for new versions of XPath 2.0 and XSLT 2.0 make their way into the Visual Studio and Microsoft programming language environments, along with the brand new XQuery 1.0. However one thing to check, MSXML 6.0 has removed support for XDR schemas but not XSD schemas. MSXML 4.0 will still be available via programming references * MSXML 3.0 has shipped with every supported Windows OS, so Microsoft professes to be "committed to keeping MSXML3 robust and stable but won't be adding any functional improvements." * MSXML 4.0 will be killed off some time between October and December of 2007, via a "kill bit" that applies only to Internet Explorer. The upshot of this change is that applications will no longer be able to create MSXML4 objects in that browser. Applications based on programming languages, such as C++, are not aware of this kill bit and will continue to work with MSXML4. For a list of changes introduced from MSXML4 and MSXML6, plus migration topics, see the blog entry entitled "Upgrading to MSXML 6.0." MS are going to push out an IE specific kill-bit for MSXML4 in October. More information here: http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill-bit-ed.aspx http://msdn2.microsoft.com/en-us/library/ms753751.aspx http://msdn2.microsoft.com/en-us/library/ms764692.aspx MS Notes. MSXML6 - Should be your first choice. This is the MSXML version that will be carried forward. MSXML6 shipped with Vista and we are working on getting this in downlevel OS Service Packs MSXML3 ? This has the advantage of having shipped with every supported OS . We are committed to keeping MSXML3 robust and stable but won?t be adding any functional improvements. MSXML4 - This is in maintenance mode with a very high bar for fixes approaching End of Life. MSXML 5 ? Exclusively meant for Office. Do not take any dependencies on it. -- Marty Connelly Victoria, B.C. Canada From bheid at sc.rr.com Mon Apr 16 14:15:10 2007 From: bheid at sc.rr.com (Bobby Heid) Date: Mon, 16 Apr 2007 15:15:10 -0400 Subject: [AccessD] Getting info from a single record table In-Reply-To: <46238BDD.167F.006B.0@niagaracounty.com> References: <000b01c77e10$e0bfc830$6501a8c0@nant> <019d01c77e21$b5a4b780$0201a8c0@HAL9005> <46238BDD.167F.006B.0@niagaracounty.com> Message-ID: <001201c7805b$8ee26750$2c01a8c0@bhxp> John, I'd probably load the rate value from the table via code at the start-up of the form that uses it and put it in a module-level variable. Allow the user to change the rate by loading the value from the database into a text field, then let the user change it, then update the database with the new value. 'load the data dim mdRate as double dim rs as recordset dim db as database dim strSQL as string strSQL="SELECT Rate from RateTable;" set db=currentdb() set rs=db.openrecordset(strSQL,dbopensnapshot) mdRate=rs(0) rs.close set rs=nothing db.close set db=nothing 'And use it like: [AmtOwed] = [Miles] * mdRate Note that this is air code, but it should get you started. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: Monday, April 16, 2007 2:45 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Getting info from a single record table Years ago, I created a small program to track mileage of workers. There are a bunch of things I'd have done differently, but they are very pleased w/it. The bad thing though is that I couldn't figure out how to change the mileage rate, on the fly, so I hard coded it. So, I have had to go in and alter this rate, every quarter, if it changes. This wasn't too awfully bad, but they didn't notify me, the last couple of times, until we were well into the quarter, and they had already keyed in a bunch of the entries. The calculation is done at the time of entry, so the allowances were off, and I had to run a quick update query to fix the old amounts. This is one of the things I would do differently, and I may change it to compare the date w/a table of dates and rates, but this immediate question will be relevant for that too. I would like to, for now at least, install a one-record table, to hold the rate in it. I would have a very small form...basically a pop-up type form...that would hold the rate. There would be no nav. buttons, so they are stuck on the one record only. But...finally, we're at my question...how do I reference this record? Example: Currently: [AmtOwed] = [Miles] * .485 Would like: [AmtOwed] = [Miles] * [tblMileageRate]![CurRate] Make sense? I hope! John W. Clark From martyconnelly at shaw.ca Mon Apr 16 14:13:30 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 16 Apr 2007 12:13:30 -0700 Subject: [AccessD] OT Excel In-Reply-To: References: <905309.89689.qm@web33110.mail.mud.yahoo.com> Message-ID: <4623CADA.2010000@shaw.ca> Here is a useful active Excel-L mailing list and archive http://peach.ease.lsoft.com/archives/excel-l.html Martin Reid wrote: >I have a member of staff who is in real need of some expert Excel help. They are also a mature studend and close to deadline re an Excel project as part of their MA. I dont know enough to help her. Would anyone with good Excel expereince care to volunteer??? > >You can contact me of line. > >Martin > >Martin WP Reid >Training and Assessment Unit >Riddle Hall >Belfast > >tel: 02890 974477 > > -- Marty Connelly Victoria, B.C. Canada From Jim.Hale at FleetPride.com Mon Apr 16 14:31:23 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 16 Apr 2007 14:31:23 -0500 Subject: [AccessD] Open report from remote db Message-ID: A number of years ago when I first started running Access queries from inside Excel I found that I was unable to run queries with functions in the database for criteria. I was told this was a limitation of VBA (I was using office 97). Ever since then I have gotten around this by using sub queries which get the criteria from a table, ie a pure sql solution. This thread has me wondering if it is possible to use Access functions within queries executed from within Excel by using different referencing? Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Monday, April 16, 2007 9:19 AM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] Open report from remote db Lonnie, Two alternatives are available as follows, for viewing / printing reports & forms belonging to external db: (a) Library reference to external db: (i) In local db, set up library reference named "External" to the external db and then call subroutines & functions belonging to external db by using the qualifier "External." (ii) In the code modules of external db, care is to be taken to use CodeDb & CodeProject in lieu of CurrentDb & CurrentProject respectively, wherever occurring. (iii) Automatic setting up of correct reference to external db can be ensured programmatically, through code in start-up form of local db. (b) Access automation: Activate the external db via automation and toggle respective visibilities of local & external db's appropriately, for user convenience. Two of my sample db's mentioned below, might be of interest to you: (a) ExternalDbAsLibraryRef (b) ExternalDbAutomation Both samples are available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From accessd at shaw.ca Mon Apr 16 14:53:13 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 16 Apr 2007 12:53:13 -0700 Subject: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 but just in IE In-Reply-To: <4623C89C.8000209@shaw.ca> Message-ID: <0JGL00LMWWDKVK18@l-daemon> Hi Marty: Excellent research as always. Does this mean that there will be 2 versions of XML, MS's and everyone else's? AJAX is enough of an issue. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 16, 2007 12:04 PM To: Access Developers discussion and problem solving Subject: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 but just in IE Just a heads up. You may want to upgrade to XML 6.0 in the future even just for the security fixes, never mind the new WSC XML standards introduced. MS are going to push out an IE specific kill-bit for MSXML4 in October 2007. http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill- bit-ed.aspx MSXML6 is included in Vista by default and MSXML 6.0 SP 1 is available for download for supported downlevel platforms from http://www.microsoft.com/downloads/details.aspx?FamilyID=d21c292c-368b-4ce1- 9dab-3e9827b70604&displaylang=en MSXML 6.0 will be the means whereby support for new versions of XPath 2.0 and XSLT 2.0 make their way into the Visual Studio and Microsoft programming language environments, along with the brand new XQuery 1.0. However one thing to check, MSXML 6.0 has removed support for XDR schemas but not XSD schemas. MSXML 4.0 will still be available via programming references * MSXML 3.0 has shipped with every supported Windows OS, so Microsoft professes to be "committed to keeping MSXML3 robust and stable but won't be adding any functional improvements." * MSXML 4.0 will be killed off some time between October and December of 2007, via a "kill bit" that applies only to Internet Explorer. The upshot of this change is that applications will no longer be able to create MSXML4 objects in that browser. Applications based on programming languages, such as C++, are not aware of this kill bit and will continue to work with MSXML4. For a list of changes introduced from MSXML4 and MSXML6, plus migration topics, see the blog entry entitled "Upgrading to MSXML 6.0." MS are going to push out an IE specific kill-bit for MSXML4 in October. More information here: http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill- bit-ed.aspx http://msdn2.microsoft.com/en-us/library/ms753751.aspx http://msdn2.microsoft.com/en-us/library/ms764692.aspx MS Notes. MSXML6 - Should be your first choice. This is the MSXML version that will be carried forward. MSXML6 shipped with Vista and we are working on getting this in downlevel OS Service Packs MSXML3 - This has the advantage of having shipped with every supported OS . We are committed to keeping MSXML3 robust and stable but won't be adding any functional improvements. MSXML4 - This is in maintenance mode with a very high bar for fixes approaching End of Life. MSXML 5 - Exclusively meant for Office. Do not take any dependencies on it. -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Apr 16 16:56:33 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 16 Apr 2007 17:56:33 -0400 Subject: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 but just in IE In-Reply-To: <0JGL00LMWWDKVK18@l-daemon> References: <4623C89C.8000209@shaw.ca> <0JGL00LMWWDKVK18@l-daemon> Message-ID: <000001c78072$191b8710$8abea8c0@XPS> I loved this part: "# re: MSXML4 is going to be kill bit-ed Saturday, March 17, 2007 9:18 PM by XmlTeam To amplify Umut's point a bit -- The point of killbitting MSXML4 is to encourage people to migrate to MSXML6 so that they have a solid foundation going forward. There are no plans for an MSXML7, so this isn't something we're going to ask you to do all over again in a couple of years." Uh, yeah right... Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, April 16, 2007 3:53 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 but just in IE Hi Marty: Excellent research as always. Does this mean that there will be 2 versions of XML, MS's and everyone else's? AJAX is enough of an issue. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 16, 2007 12:04 PM To: Access Developers discussion and problem solving Subject: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 but just in IE Just a heads up. You may want to upgrade to XML 6.0 in the future even just for the security fixes, never mind the new WSC XML standards introduced. MS are going to push out an IE specific kill-bit for MSXML4 in October 2007. http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill- bit-ed.aspx MSXML6 is included in Vista by default and MSXML 6.0 SP 1 is available for download for supported downlevel platforms from http://www.microsoft.com/downloads/details.aspx?FamilyID=d21c292c-368b-4ce1- 9dab-3e9827b70604&displaylang=en MSXML 6.0 will be the means whereby support for new versions of XPath 2.0 and XSLT 2.0 make their way into the Visual Studio and Microsoft programming language environments, along with the brand new XQuery 1.0. However one thing to check, MSXML 6.0 has removed support for XDR schemas but not XSD schemas. MSXML 4.0 will still be available via programming references * MSXML 3.0 has shipped with every supported Windows OS, so Microsoft professes to be "committed to keeping MSXML3 robust and stable but won't be adding any functional improvements." * MSXML 4.0 will be killed off some time between October and December of 2007, via a "kill bit" that applies only to Internet Explorer. The upshot of this change is that applications will no longer be able to create MSXML4 objects in that browser. Applications based on programming languages, such as C++, are not aware of this kill bit and will continue to work with MSXML4. For a list of changes introduced from MSXML4 and MSXML6, plus migration topics, see the blog entry entitled "Upgrading to MSXML 6.0." MS are going to push out an IE specific kill-bit for MSXML4 in October. More information here: http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill- bit-ed.aspx http://msdn2.microsoft.com/en-us/library/ms753751.aspx http://msdn2.microsoft.com/en-us/library/ms764692.aspx MS Notes. MSXML6 - Should be your first choice. This is the MSXML version that will be carried forward. MSXML6 shipped with Vista and we are working on getting this in downlevel OS Service Packs MSXML3 - This has the advantage of having shipped with every supported OS . We are committed to keeping MSXML3 robust and stable but won't be adding any functional improvements. MSXML4 - This is in maintenance mode with a very high bar for fixes approaching End of Life. MSXML 5 - Exclusively meant for Office. Do not take any dependencies on it. -- Marty Connelly Victoria, B.C. Canada -- 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 Mon Apr 16 17:09:05 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 17 Apr 2007 08:09:05 +1000 Subject: [AccessD] Getting info from a single record table In-Reply-To: <46238BDD.167F.006B.0@niagaracounty.com> References: <000b01c77e10$e0bfc830$6501a8c0@nant>, <019d01c77e21$b5a4b780$0201a8c0@HAL9005>, <46238BDD.167F.006B.0@niagaracounty.com> Message-ID: <4623F401.17816.2E6C23D@stuart.lexacorp.com.pg> On 16 Apr 2007 at 14:44, John Clark wrote: > stuck on the one record only. But...finally, we're at my question...how do I > reference this record? > > Example: > > Currently: [AmtOwed] = [Miles] * .485 > > Would like: [AmtOwed] = [Miles] * [tblMileageRate]![CurRate] You would use DLookup("CurRate","tblMIleageRate"). Problem is there are several situations where Access can't handle this - notably in CrossTab queries. One solution is to use STATIC functions. They've been discussed several times here in the past, search the archives for a discussion of the benefits. Here's how I would approach your problem. [AmtOwed] = [Miles] * CurRate() ....... Static Function CurRate() As Curency Dim store As Long If store = 0 Then store = DLookup("CurRate", "tblMileageRate") End If CurRate = store End Function First time you use the function, it does the lookup, from then on, it doesn't need to so is a lot faster - important if you use the rate over many rows in a query. If you want to be able to change the rate during a session then you need to expand the function: Static Function CurRate(Option Rate as Currency = -1 ) As Curency Dim store As Currency If Rate <> -1 then CurrentDB.Execute "Update tblMileageRate Set CurRate = " & Rate store = Rate End If If store = 0 Then store = DLookup("CurRate", "tblMileageRate") End If CurRate = store End Function Now "CurRate 0.485" will set the rate, "CurRate()" willl return the rate. -- Stuart From fuller.artful at gmail.com Mon Apr 16 17:17:33 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 16 Apr 2007 18:17:33 -0400 Subject: [AccessD] Getting info from a single record table In-Reply-To: <001201c7805b$8ee26750$2c01a8c0@bhxp> References: <000b01c77e10$e0bfc830$6501a8c0@nant> <019d01c77e21$b5a4b780$0201a8c0@HAL9005> <46238BDD.167F.006B.0@niagaracounty.com> <001201c7805b$8ee26750$2c01a8c0@bhxp> Message-ID: <29f585dd0704161517s6e490c16u9ba085a7e6e19107@mail.gmail.com> I think a DLookup is simpler: Me.Control = Dlookup("Rate", "MyTable"). hth, Arthur On 4/16/07, Bobby Heid wrote: > > John, > > I'd probably load the rate value from the table via code at the start-up > of > the form that uses it and put it in a module-level variable. Allow the > user > to change the rate by loading the value from the database into a text > field, > then let the user change it, then update the database with the new value. > > > 'load the data > dim mdRate as double > dim rs as recordset > dim db as database > dim strSQL as string > > strSQL="SELECT Rate from RateTable;" > set db=currentdb() > set rs=db.openrecordset(strSQL,dbopensnapshot) > mdRate=rs(0) > rs.close > set rs=nothing > db.close > set db=nothing > > > > 'And use it like: > [AmtOwed] = [Miles] * mdRate > > > Note that this is air code, but it should get you started. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark > Sent: Monday, April 16, 2007 2:45 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Getting info from a single record table > > Years ago, I created a small program to track mileage of workers. There > are > a bunch of things I'd have done differently, but they are very pleased > w/it. > The bad thing though is that I couldn't figure out how to change the > mileage > rate, on the fly, so I hard coded it. So, I have had to go in and alter > this > rate, every quarter, if it changes. > > This wasn't too awfully bad, but they didn't notify me, the last couple of > times, until we were well into the quarter, and they had already keyed in > a > bunch of the entries. The calculation is done at the time of entry, so > the > allowances were off, and I had to run a quick update query to fix the old > amounts. This is one of the things I would do differently, and I may > change > it to compare the date w/a table of dates and rates, but this immediate > question will be relevant for that too. > > I would like to, for now at least, install a one-record table, to hold the > rate in it. I would have a very small form...basically a pop-up type > form...that would hold the rate. There would be no nav. buttons, so they > are > stuck on the one record only. But...finally, we're at my question...how do > I > reference this record? > > Example: > > Currently: [AmtOwed] = [Miles] * .485 > > Would like: [AmtOwed] = [Miles] * [tblMileageRate]![CurRate] > > Make sense? I hope! > > John W. Clark > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dwaters at usinternet.com Mon Apr 16 18:03:55 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 16 Apr 2007 18:03:55 -0500 Subject: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 but just in IE XML 4.0 to be kill bitted in Oct 2007 but just in IE In-Reply-To: <000001c78072$191b8710$8abea8c0@XPS> References: <4623C89C.8000209@shaw.ca> <0JGL00LMWWDKVK18@l-daemon> <000001c78072$191b8710$8abea8c0@XPS> Message-ID: <004301c7807b$82833c80$0200a8c0@danwaters> How do you upgrade to MSXML 6.0? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, April 16, 2007 4:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 but just in IE XML 4.0 to be kill bitted in Oct 2007 but just in IE I loved this part: "# re: MSXML4 is going to be kill bit-ed Saturday, March 17, 2007 9:18 PM by XmlTeam To amplify Umut's point a bit -- The point of killbitting MSXML4 is to encourage people to migrate to MSXML6 so that they have a solid foundation going forward. There are no plans for an MSXML7, so this isn't something we're going to ask you to do all over again in a couple of years." Uh, yeah right... Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, April 16, 2007 3:53 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 but just in IE Hi Marty: Excellent research as always. Does this mean that there will be 2 versions of XML, MS's and everyone else's? AJAX is enough of an issue. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 16, 2007 12:04 PM To: Access Developers discussion and problem solving Subject: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 but just in IE Just a heads up. You may want to upgrade to XML 6.0 in the future even just for the security fixes, never mind the new WSC XML standards introduced. MS are going to push out an IE specific kill-bit for MSXML4 in October 2007. http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill- bit-ed.aspx MSXML6 is included in Vista by default and MSXML 6.0 SP 1 is available for download for supported downlevel platforms from http://www.microsoft.com/downloads/details.aspx?FamilyID=d21c292c-368b-4ce1- 9dab-3e9827b70604&displaylang=en MSXML 6.0 will be the means whereby support for new versions of XPath 2.0 and XSLT 2.0 make their way into the Visual Studio and Microsoft programming language environments, along with the brand new XQuery 1.0. However one thing to check, MSXML 6.0 has removed support for XDR schemas but not XSD schemas. MSXML 4.0 will still be available via programming references * MSXML 3.0 has shipped with every supported Windows OS, so Microsoft professes to be "committed to keeping MSXML3 robust and stable but won't be adding any functional improvements." * MSXML 4.0 will be killed off some time between October and December of 2007, via a "kill bit" that applies only to Internet Explorer. The upshot of this change is that applications will no longer be able to create MSXML4 objects in that browser. Applications based on programming languages, such as C++, are not aware of this kill bit and will continue to work with MSXML4. For a list of changes introduced from MSXML4 and MSXML6, plus migration topics, see the blog entry entitled "Upgrading to MSXML 6.0." MS are going to push out an IE specific kill-bit for MSXML4 in October. More information here: http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill- bit-ed.aspx http://msdn2.microsoft.com/en-us/library/ms753751.aspx http://msdn2.microsoft.com/en-us/library/ms764692.aspx MS Notes. MSXML6 - Should be your first choice. This is the MSXML version that will be carried forward. MSXML6 shipped with Vista and we are working on getting this in downlevel OS Service Packs MSXML3 - This has the advantage of having shipped with every supported OS . We are committed to keeping MSXML3 robust and stable but won't be adding any functional improvements. MSXML4 - This is in maintenance mode with a very high bar for fixes approaching End of Life. MSXML 5 - Exclusively meant for Office. Do not take any dependencies on it. -- Marty Connelly Victoria, B.C. Canada -- 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 From bheid at sc.rr.com Mon Apr 16 18:21:21 2007 From: bheid at sc.rr.com (Bobby Heid) Date: Mon, 16 Apr 2007 19:21:21 -0400 Subject: [AccessD] Getting info from a single record table In-Reply-To: <29f585dd0704161517s6e490c16u9ba085a7e6e19107@mail.gmail.com> References: <000b01c77e10$e0bfc830$6501a8c0@nant> <019d01c77e21$b5a4b780$0201a8c0@HAL9005> <46238BDD.167F.006B.0@niagaracounty.com> <001201c7805b$8ee26750$2c01a8c0@bhxp> <29f585dd0704161517s6e490c16u9ba085a7e6e19107@mail.gmail.com> Message-ID: <000f01c7807d$f1db7ff0$2c01a8c0@bhxp> I agree it would be simpler, but I have tried to get away from dlookup and the like because it opens another connection to the database. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, April 16, 2007 6:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting info from a single record table I think a DLookup is simpler: Me.Control = Dlookup("Rate", "MyTable"). hth, Arthur On 4/16/07, Bobby Heid wrote: > > John, > > I'd probably load the rate value from the table via code at the start-up > of > the form that uses it and put it in a module-level variable. Allow the > user > to change the rate by loading the value from the database into a text > field, > then let the user change it, then update the database with the new value. > > > 'load the data > dim mdRate as double > dim rs as recordset > dim db as database > dim strSQL as string > > strSQL="SELECT Rate from RateTable;" > set db=currentdb() > set rs=db.openrecordset(strSQL,dbopensnapshot) > mdRate=rs(0) > rs.close > set rs=nothing > db.close > set db=nothing > > > > 'And use it like: > [AmtOwed] = [Miles] * mdRate > > > Note that this is air code, but it should get you started. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark > Sent: Monday, April 16, 2007 2:45 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Getting info from a single record table > > Years ago, I created a small program to track mileage of workers. There > are > a bunch of things I'd have done differently, but they are very pleased > w/it. > The bad thing though is that I couldn't figure out how to change the > mileage > rate, on the fly, so I hard coded it. So, I have had to go in and alter > this > rate, every quarter, if it changes. > > This wasn't too awfully bad, but they didn't notify me, the last couple of > times, until we were well into the quarter, and they had already keyed in > a > bunch of the entries. The calculation is done at the time of entry, so > the > allowances were off, and I had to run a quick update query to fix the old > amounts. This is one of the things I would do differently, and I may > change > it to compare the date w/a table of dates and rates, but this immediate > question will be relevant for that too. > > I would like to, for now at least, install a one-record table, to hold the > rate in it. I would have a very small form...basically a pop-up type > form...that would hold the rate. There would be no nav. buttons, so they > are > stuck on the one record only. But...finally, we're at my question...how do > I > reference this record? > > Example: > > Currently: [AmtOwed] = [Miles] * .485 > > Would like: [AmtOwed] = [Miles] * [tblMileageRate]![CurRate] > > Make sense? I hope! > > John W. Clark > > > -- > 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 martyconnelly at shaw.ca Mon Apr 16 20:20:07 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 16 Apr 2007 18:20:07 -0700 Subject: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 but just in IE XML 4.0 to be kill bitted in Oct 2007 but just in IE In-Reply-To: <004301c7807b$82833c80$0200a8c0@danwaters> References: <4623C89C.8000209@shaw.ca> <0JGL00LMWWDKVK18@l-daemon> <000001c78072$191b8710$8abea8c0@XPS> <004301c7807b$82833c80$0200a8c0@danwaters> Message-ID: <462420C7.90104@shaw.ca> It is preinstalled on Vista and with SQL 2005 SP2 otherwise msi file. some older bits maynot work like XDR schemas You need for XPath 2.0 and XSLT 2.0 and new upgrades to XQuery 1.0 http://tinyurl.com/33borw http://www.microsoft.com/downloads/details.aspx?FamilyID=d21c292c-368b-4ce1-9dab-3e9827b70604&displaylang=en Dan Waters wrote: >How do you upgrade to MSXML 6.0? > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman >Sent: Monday, April 16, 2007 4:57 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct >2007 but just in IE XML 4.0 to be kill bitted in Oct 2007 but just in IE > > > I loved this part: > >"# re: MSXML4 is going to be kill bit-ed >Saturday, March 17, 2007 9:18 PM by XmlTeam >To amplify Umut's point a bit -- The point of killbitting MSXML4 is to >encourage people to migrate to MSXML6 so that they have a solid foundation >going forward. There are no plans for an MSXML7, so this isn't something >we're going to ask you to do all over again in a couple of years." > > Uh, yeah right... > >Jim. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence >Sent: Monday, April 16, 2007 3:53 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct >2007 but just in IE > >Hi Marty: > >Excellent research as always. > >Does this mean that there will be 2 versions of XML, MS's and everyone >else's? AJAX is enough of an issue. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Monday, April 16, 2007 12:04 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 >but just in IE > >Just a heads up. You may want to upgrade to XML 6.0 in the future >even just for the security fixes, never mind the new WSC XML standards >introduced. > >MS are going to push out an IE specific kill-bit for MSXML4 in October 2007. > >http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill- >bit-ed.aspx > >MSXML6 is included in Vista by default and MSXML 6.0 SP 1 is available for >download for supported downlevel platforms from >http://www.microsoft.com/downloads/details.aspx?FamilyID=d21c292c-368b-4ce1- >9dab-3e9827b70604&displaylang=en > >MSXML 6.0 will be the means whereby support for new versions >of XPath 2.0 and XSLT 2.0 make their way into the Visual Studio and >Microsoft programming language environments, along with the brand new >XQuery 1.0. > >However one thing to check, MSXML 6.0 has removed support for XDR schemas >but not XSD schemas. > >MSXML 4.0 will still be available via programming references > >* MSXML 3.0 has shipped with every supported Windows OS, >so Microsoft professes to be "committed to keeping MSXML3 robust and >stable but won't be adding any functional improvements." > >* MSXML 4.0 will be killed off some time between October and December of >2007, >via a "kill bit" that applies only to Internet Explorer. The upshot of >this change is that >applications will no longer be able to create MSXML4 objects in that >browser. >Applications based on programming languages, such as C++, are not aware >of this kill bit >and will continue to work with MSXML4. For a list of changes introduced >from MSXML4 and >MSXML6, plus migration topics, see the blog entry entitled "Upgrading to >MSXML 6.0." > >MS are going to push out an IE specific kill-bit for MSXML4 in October. >More information here: > >http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill- >bit-ed.aspx > >http://msdn2.microsoft.com/en-us/library/ms753751.aspx >http://msdn2.microsoft.com/en-us/library/ms764692.aspx > > >MS Notes. > >MSXML6 - Should be your first choice. This is the MSXML >version that will be carried forward. MSXML6 shipped with Vista and we >are working >on getting this in downlevel OS Service Packs > >MSXML3 - This has the advantage of having shipped with every supported OS . >We are committed to keeping MSXML3 robust and stable but >won't be adding any functional improvements. > >MSXML4 - This is in maintenance mode with a very high bar for fixes >approaching End of Life. > >MSXML 5 - Exclusively meant for Office. Do not take any dependencies on it. > > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Mon Apr 16 20:49:15 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 16 Apr 2007 18:49:15 -0700 Subject: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 but just in IE In-Reply-To: <0JGL00LMWWDKVK18@l-daemon> References: <0JGL00LMWWDKVK18@l-daemon> Message-ID: <4624279B.1010305@shaw.ca> There are many XML DOM parsers aside from Microsoft's not to mention SAX parsers. However AJAX with MS IE, uses an XMLHTTP Active X to grab files. XML is based on a series of WSC standards that are being released on a yearly basis. like XSLT 2.0 or XPATH 2.0. SQL 2005 SP2 installs XML 6.0 also Microsoft .NET Framework 3.0, Microsoft Visual Studio 2005, and Windows SharePoint Services 3.0. To get around crossbrowser problems using say Mozilla, you can use JavaScript methods that have been around prior to AJAX. One I use is Sarissa. A lot of these libraries are available for AJAX. A cross-browser ECMAScript lib that helps with browser incompatibilities in XMLHttpRequest/XML/XSLT/XPath along with some with some useful utility methods. Just extract sarrissa.js https://sourceforge.net/projects/sarissa/ How to use http://www.yourhtmlsource.com/javascript/ajax.html#crossbrowser A really simple cross browser java script /* creates an XMLHttpRequest instance */ function createXmlHttpRequestObject() { // will store the reference to the XMLHttpRequest object var xmlHttp; // this should work for all browsers except IE6 and older try { // try to create XMLHttpRequest object xmlHttp = new XMLHttpRequest(); } catch(e) { // assume IE6 or older var XmlHttpVersions = new Array("MSXML2.XMLHTTP.6.0", "MSXML2.XMLHTTP.5.0", "MSXML2.XMLHTTP.4.0", "MSXML2.XMLHTTP.3.0", "MSXML2.XMLHTTP", "Microsoft.XMLHTTP"); // try every prog id until one works for (var i=0; iHi Marty: > >Excellent research as always. > >Does this mean that there will be 2 versions of XML, MS's and everyone >else's? AJAX is enough of an issue. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Monday, April 16, 2007 12:04 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 >but just in IE > >Just a heads up. You may want to upgrade to XML 6.0 in the future >even just for the security fixes, never mind the new WSC XML standards >introduced. > >MS are going to push out an IE specific kill-bit for MSXML4 in October 2007. > >http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill- >bit-ed.aspx > >MSXML6 is included in Vista by default and MSXML 6.0 SP 1 is available for >download for supported downlevel platforms from >http://www.microsoft.com/downloads/details.aspx?FamilyID=d21c292c-368b-4ce1- >9dab-3e9827b70604&displaylang=en > >MSXML 6.0 will be the means whereby support for new versions >of XPath 2.0 and XSLT 2.0 make their way into the Visual Studio and >Microsoft programming language environments, along with the brand new >XQuery 1.0. > >However one thing to check, MSXML 6.0 has removed support for XDR schemas >but not XSD schemas. > >MSXML 4.0 will still be available via programming references > >* MSXML 3.0 has shipped with every supported Windows OS, >so Microsoft professes to be "committed to keeping MSXML3 robust and >stable but won't be adding any functional improvements." > >* MSXML 4.0 will be killed off some time between October and December of >2007, >via a "kill bit" that applies only to Internet Explorer. The upshot of >this change is that >applications will no longer be able to create MSXML4 objects in that >browser. >Applications based on programming languages, such as C++, are not aware >of this kill bit >and will continue to work with MSXML4. For a list of changes introduced >from MSXML4 and >MSXML6, plus migration topics, see the blog entry entitled "Upgrading to >MSXML 6.0." > >MS are going to push out an IE specific kill-bit for MSXML4 in October. >More information here: > >http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill- >bit-ed.aspx > >http://msdn2.microsoft.com/en-us/library/ms753751.aspx >http://msdn2.microsoft.com/en-us/library/ms764692.aspx > > >MS Notes. > >MSXML6 - Should be your first choice. This is the MSXML >version that will be carried forward. MSXML6 shipped with Vista and we >are working >on getting this in downlevel OS Service Packs > >MSXML3 - This has the advantage of having shipped with every supported OS . >We are committed to keeping MSXML3 robust and stable but >won't be adding any functional improvements. > >MSXML4 - This is in maintenance mode with a very high bar for fixes >approaching End of Life. > >MSXML 5 - Exclusively meant for Office. Do not take any dependencies on it. > > > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at colbyconsulting.com Mon Apr 16 20:55:57 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 16 Apr 2007 21:55:57 -0400 Subject: [AccessD] Open report from remote db In-Reply-To: References: Message-ID: <000801c78093$8cb44240$657aa8c0@m6805> Jim, The issue it appears is one of scope. Queries running in an access environment can see code inside of that container. It cannot see functions inside of the excel spreadsheet. To my knowledge, while you can reference the Excel libraries, you cannot reference code modules inside of spreadsheets or workbooks (from within Access), nor code inside of documents (word, from inside of Access). That makes Access unique within office as a container that can contain referencable code. IOW, I BELIEVE that you can reference an Access MDA from any of the other office applications - Word, Excel, PowerPoint, and of course, Access. However you cannot reference modules inside of a workbook from word, PowerPoint etc, nor can you reference code inside of word documents from inside of Excel, PowerPoint etc. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, April 16, 2007 3:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Open report from remote db A number of years ago when I first started running Access queries from inside Excel I found that I was unable to run queries with functions in the database for criteria. I was told this was a limitation of VBA (I was using office 97). Ever since then I have gotten around this by using sub queries which get the criteria from a table, ie a pure sql solution. This thread has me wondering if it is possible to use Access functions within queries executed from within Excel by using different referencing? Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Monday, April 16, 2007 9:19 AM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] Open report from remote db Lonnie, Two alternatives are available as follows, for viewing / printing reports & forms belonging to external db: (a) Library reference to external db: (i) In local db, set up library reference named "External" to the external db and then call subroutines & functions belonging to external db by using the qualifier "External." (ii) In the code modules of external db, care is to be taken to use CodeDb & CodeProject in lieu of CurrentDb & CurrentProject respectively, wherever occurring. (iii) Automatic setting up of correct reference to external db can be ensured programmatically, through code in start-up form of local db. (b) Access automation: Activate the external db via automation and toggle respective visibilities of local & external db's appropriately, for user convenience. Two of my sample db's mentioned below, might be of interest to you: (a) ExternalDbAsLibraryRef (b) ExternalDbAutomation Both samples are available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Apr 17 03:03:26 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 17 Apr 2007 10:03:26 +0200 Subject: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 but just in IE Message-ID: Thanks Marty, very useful. I've wondered several times what all these versions were for and which one to use. And recently I noticed 5.0 on my machine which I now understand origins from an Office install. /gustav >>> martyconnelly at shaw.ca 16-04-2007 21:03 >>> Just a heads up. You may want to upgrade to XML 6.0 in the future even just for the security fixes, never mind the new WSC XML standards introduced. MS are going to push out an IE specific kill-bit for MSXML4 in October 2007. http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill-bit-ed.aspx MSXML6 is included in Vista by default and MSXML 6.0 SP 1 is available for download for supported downlevel platforms from http://www.microsoft.com/downloads/details.aspx?FamilyID=d21c292c-368b-4ce1-9dab-3e9827b70604&displaylang=en MSXML 6.0 will be the means whereby support for new versions of XPath 2.0 and XSLT 2.0 make their way into the Visual Studio and Microsoft programming language environments, along with the brand new XQuery 1.0. However one thing to check, MSXML 6.0 has removed support for XDR schemas but not XSD schemas. MSXML 4.0 will still be available via programming references * MSXML 3.0 has shipped with every supported Windows OS, so Microsoft professes to be "committed to keeping MSXML3 robust and stable but won't be adding any functional improvements." * MSXML 4.0 will be killed off some time between October and December of 2007, via a "kill bit" that applies only to Internet Explorer. The upshot of this change is that applications will no longer be able to create MSXML4 objects in that browser. Applications based on programming languages, such as C++, are not aware of this kill bit and will continue to work with MSXML4. For a list of changes introduced from MSXML4 and MSXML6, plus migration topics, see the blog entry entitled "Upgrading to MSXML 6.0." MS are going to push out an IE specific kill-bit for MSXML4 in October. More information here: http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill-bit-ed.aspx http://msdn2.microsoft.com/en-us/library/ms753751.aspx http://msdn2.microsoft.com/en-us/library/ms764692.aspx MS Notes. MSXML6 - Should be your first choice. This is the MSXML version that will be carried forward. MSXML6 shipped with Vista and we are working on getting this in downlevel OS Service Packs MSXML3 * This has the advantage of having shipped with every supported OS . We are committed to keeping MSXML3 robust and stable but won't be adding any functional improvements. MSXML4 - This is in maintenance mode with a very high bar for fixes approaching End of Life. MSXML 5 * Exclusively meant for Office. Do not take any dependencies on it. -- Marty Connelly Victoria, B.C. Canada From John.Clark at niagaracounty.com Tue Apr 17 09:26:47 2007 From: John.Clark at niagaracounty.com (John Clark) Date: Tue, 17 Apr 2007 10:26:47 -0400 Subject: [AccessD] Getting info from a single record table In-Reply-To: <000f01c7807d$f1db7ff0$2c01a8c0@bhxp> References: <000b01c77e10$e0bfc830$6501a8c0@nant> <019d01c77e21$b5a4b780$0201a8c0@HAL9005> <46238BDD.167F.006B.0@niagaracounty.com> <001201c7805b$8ee26750$2c01a8c0@bhxp> <29f585dd0704161517s6e490c16u9ba085a7e6e19107@mail.gmail.com> <000f01c7807d$f1db7ff0$2c01a8c0@bhxp> Message-ID: <4624A0E6.167F.006B.0@niagaracounty.com> Well, I thank you all. I am going to look into both of these solutions, and see which one is for me...it'll be the one I have lease trouble with ;o) I'll post again to let you know how it turns out. John W. Clark >>> "Bobby Heid" 4/16/2007 7:21 PM >>> I agree it would be simpler, but I have tried to get away from dlookup and the like because it opens another connection to the database. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, April 16, 2007 6:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting info from a single record table I think a DLookup is simpler: Me.Control = Dlookup("Rate", "MyTable"). hth, Arthur On 4/16/07, Bobby Heid wrote: > > John, > > I'd probably load the rate value from the table via code at the start-up > of > the form that uses it and put it in a module-level variable. Allow the > user > to change the rate by loading the value from the database into a text > field, > then let the user change it, then update the database with the new value. > > > 'load the data > dim mdRate as double > dim rs as recordset > dim db as database > dim strSQL as string > > strSQL="SELECT Rate from RateTable;" > set db=currentdb() > set rs=db.openrecordset(strSQL,dbopensnapshot) > mdRate=rs(0) > rs.close > set rs=nothing > db.close > set db=nothing > > > > 'And use it like: > [AmtOwed] = [Miles] * mdRate > > > Note that this is air code, but it should get you started. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark > Sent: Monday, April 16, 2007 2:45 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Getting info from a single record table > > Years ago, I created a small program to track mileage of workers. There > are > a bunch of things I'd have done differently, but they are very pleased > w/it. > The bad thing though is that I couldn't figure out how to change the > mileage > rate, on the fly, so I hard coded it. So, I have had to go in and alter > this > rate, every quarter, if it changes. > > This wasn't too awfully bad, but they didn't notify me, the last couple of > times, until we were well into the quarter, and they had already keyed in > a > bunch of the entries. The calculation is done at the time of entry, so > the > allowances were off, and I had to run a quick update query to fix the old > amounts. This is one of the things I would do differently, and I may > change > it to compare the date w/a table of dates and rates, but this immediate > question will be relevant for that too. > > I would like to, for now at least, install a one-record table, to hold the > rate in it. I would have a very small form...basically a pop-up type > form...that would hold the rate. There would be no nav. buttons, so they > are > stuck on the one record only. But...finally, we're at my question...how do > I > reference this record? > > Example: > > Currently: [AmtOwed] = [Miles] * .485 > > Would like: [AmtOwed] = [Miles] * [tblMileageRate]![CurRate] > > Make sense? I hope! > > John W. Clark > > > -- > 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 From dwaters at usinternet.com Tue Apr 17 10:08:48 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 17 Apr 2007 10:08:48 -0500 Subject: [AccessD] Getting info from a single record table In-Reply-To: <4624A0E6.167F.006B.0@niagaracounty.com> References: <000b01c77e10$e0bfc830$6501a8c0@nant><019d01c77e21$b5a4b780$0201a8c0@HAL9005><46238BDD.167F.006B.0@niagaracounty.com><001201c7805b$8ee26750$2c01a8c0@bhxp><29f585dd0704161517s6e490c16u9ba085a7e6e19107@mail.gmail.com><000f01c7807d$f1db7ff0$2c01a8c0@bhxp> <4624A0E6.167F.006B.0@niagaracounty.com> Message-ID: <001c01c78102$4cf9b760$0200a8c0@danwaters> John, It looks like your rate information won't change often. You could copy the table from the BE to the FE when the FE opens, and then use DLookup without creating a new connection. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: Tuesday, April 17, 2007 9:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Getting info from a single record table Well, I thank you all. I am going to look into both of these solutions, and see which one is for me...it'll be the one I have lease trouble with ;o) I'll post again to let you know how it turns out. John W. Clark >>> "Bobby Heid" 4/16/2007 7:21 PM >>> I agree it would be simpler, but I have tried to get away from dlookup and the like because it opens another connection to the database. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, April 16, 2007 6:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting info from a single record table I think a DLookup is simpler: Me.Control = Dlookup("Rate", "MyTable"). hth, Arthur On 4/16/07, Bobby Heid wrote: > > John, > > I'd probably load the rate value from the table via code at the start-up > of > the form that uses it and put it in a module-level variable. Allow the > user > to change the rate by loading the value from the database into a text > field, > then let the user change it, then update the database with the new value. > > > 'load the data > dim mdRate as double > dim rs as recordset > dim db as database > dim strSQL as string > > strSQL="SELECT Rate from RateTable;" > set db=currentdb() > set rs=db.openrecordset(strSQL,dbopensnapshot) > mdRate=rs(0) > rs.close > set rs=nothing > db.close > set db=nothing > > > > 'And use it like: > [AmtOwed] = [Miles] * mdRate > > > Note that this is air code, but it should get you started. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark > Sent: Monday, April 16, 2007 2:45 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Getting info from a single record table > > Years ago, I created a small program to track mileage of workers. There > are > a bunch of things I'd have done differently, but they are very pleased > w/it. > The bad thing though is that I couldn't figure out how to change the > mileage > rate, on the fly, so I hard coded it. So, I have had to go in and alter > this > rate, every quarter, if it changes. > > This wasn't too awfully bad, but they didn't notify me, the last couple of > times, until we were well into the quarter, and they had already keyed in > a > bunch of the entries. The calculation is done at the time of entry, so > the > allowances were off, and I had to run a quick update query to fix the old > amounts. This is one of the things I would do differently, and I may > change > it to compare the date w/a table of dates and rates, but this immediate > question will be relevant for that too. > > I would like to, for now at least, install a one-record table, to hold the > rate in it. I would have a very small form...basically a pop-up type > form...that would hold the rate. There would be no nav. buttons, so they > are > stuck on the one record only. But...finally, we're at my question...how do > I > reference this record? > > Example: > > Currently: [AmtOwed] = [Miles] * .485 > > Would like: [AmtOwed] = [Miles] * [tblMileageRate]![CurRate] > > Make sense? I hope! > > John W. Clark > > > -- > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Tue Apr 17 10:33:01 2007 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 17 Apr 2007 10:33:01 -0500 Subject: [AccessD] Getting info from a single record table In-Reply-To: References: Message-ID: <200704171535.l3HFZj39029645@databaseadvisors.com> John, I would do a table with the effective date range for the mileage rate. You do a quick select for the date of the entry to see where it falls in the range and get the rate for it. Now, it is fixed forever, and you also have the history of the rate. It is a good fix, and not just a Band-Aid. Robert At 10:09 AM 4/17/2007, you wrote: >Message: 1 >Date: Mon, 16 Apr 2007 14:44:49 -0400 >From: "John Clark" >Subject: [AccessD] Getting info from a single record table >To: "'Access Developers discussion and problem solving'" > >Message-ID: <46238BDD.167F.006B.0 at niagaracounty.com> >Content-Type: text/plain; charset=US-ASCII > >Years ago, I created a small program to track mileage of workers. >There are a bunch of things I'd have done differently, but they are >very pleased w/it. The bad thing though is that I couldn't figure >out how to change the mileage rate, on the fly, so I hard coded it. >So, I have had to go in and alter this rate, every quarter, if it changes. > >This wasn't too awfully bad, but they didn't notify me, the last >couple of times, until we were well into the quarter, and they had >already keyed in a bunch of the entries. The calculation is done at >the time of entry, so the allowances were off, and I had to run a >quick update query to fix the old amounts. This is one of the things >I would do differently, and I may change it to compare the date w/a >table of dates and rates, but this immediate question will be >relevant for that too. > >I would like to, for now at least, install a one-record table, to >hold the rate in it. I would have a very small form...basically a >pop-up type form...that would hold the rate. There would be no nav. >buttons, so they are stuck on the one record only. But...finally, >we're at my question...how do I reference this record? > >Example: > >Currently: [AmtOwed] = [Miles] * .485 > >Would like: [AmtOwed] = [Miles] * [tblMileageRate]![CurRate] > >Make sense? I hope! > >John W. Clark From Lambert.Heenan at AIG.com Tue Apr 17 10:52:10 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 17 Apr 2007 11:52:10 -0400 Subject: [AccessD] Open report from remote db Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C20606EB3F@xlivmbx35.aig.com> Lonnie, Rather than get involved in adding references dynamically (can you even do that in an MDE file?) I would still go down the 'set a reference to the other database' route. With luck you will get away with setting references to *all* the other databases in the one central app. that fires off the reports. In each of the other apps. Define a public function, each with a prefix unique to the database it resides in (to avoid duplicate definition issues), and the function will take a string parameter which will be the name of the report. Then your central app. can call the function and produce the report. The down side of all those references is that you may get conflicts with code routines having the same name. As long as all the references are at the bottom of the pile you should get away with it. If that's a no-go, then another alternative is open to you. As they seem to have accepted the notion of selecting the "other" database and a report in it before clicking the magic button, why not just spawn the other database, passing in the name of the report to run? You can do this with the /cmd command line switch, and you could use the /x switch to run a macro which in turn calls a function that produces the report and then exits the spawned database. HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Monday, April 16, 2007 9:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Open report from remote db Thanks. I guess I should have been more revealing. I have been asked to create a process by which the user can type in a database path and name into one field and a report name in another field, click a button and that report opens. So I will be adding references to the main database dynamically and through code and retrieving the report. It sounds like a pain but it's what they want. They are bent on certain conveniences like not having to open another database. Does that help? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Sunday, April 15, 2007 9:23:16 PM Subject: Re: [AccessD] Open report from remote db Alright, Lonnie. I think the simplest method would be to create a public function in the referenced database that tells the report to open. Then it doesn't matter where you call it from, it just pops up. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: Lonnie Johnson To: Access Developers discussion and problem solving Sent: Sunday, April 15, 2007 9:01 PM Subject: Re: [AccessD] Open report from remote db Thanks for the tip. I have set a reference but do "see it" as you say. I may need a little more hand holding. Never had to do this before. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Thursday, April 12, 2007 10:23:10 PM Subject: Re: [AccessD] Open report from remote db Hi Lonnie, Set a ref to that mdb and you should be able to 'see' it to call it. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: Lonnie Johnson To: AccessD solving' Sent: Thursday, April 12, 2007 11:14 PM Subject: [AccessD] Open report from remote db Can you open a report in one database from another database? I know how to get the data from a query or table in another database with... "SELECT * FROM TABLE/QUERYMAME IN 'C:\MYDB.MDB'" Any help? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. ____________________________________________________________________________ ________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html -- 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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Tue Apr 17 10:58:28 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 17 Apr 2007 10:58:28 -0500 Subject: [AccessD] Open report from remote db Message-ID: My experience certainly seems to bear out what you say, thanks Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 16, 2007 8:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Open report from remote db Jim, The issue it appears is one of scope. Queries running in an access environment can see code inside of that container. It cannot see functions inside of the excel spreadsheet. To my knowledge, while you can reference the Excel libraries, you cannot reference code modules inside of spreadsheets or workbooks (from within Access), nor code inside of documents (word, from inside of Access). That makes Access unique within office as a container that can contain referencable code. IOW, I BELIEVE that you can reference an Access MDA from any of the other office applications - Word, Excel, PowerPoint, and of course, Access. However you cannot reference modules inside of a workbook from word, PowerPoint etc, nor can you reference code inside of word documents from inside of Excel, PowerPoint etc. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, April 16, 2007 3:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Open report from remote db A number of years ago when I first started running Access queries from inside Excel I found that I was unable to run queries with functions in the database for criteria. I was told this was a limitation of VBA (I was using office 97). Ever since then I have gotten around this by using sub queries which get the criteria from a table, ie a pure sql solution. This thread has me wondering if it is possible to use Access functions within queries executed from within Excel by using different referencing? Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Monday, April 16, 2007 9:19 AM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] Open report from remote db Lonnie, Two alternatives are available as follows, for viewing / printing reports & forms belonging to external db: (a) Library reference to external db: (i) In local db, set up library reference named "External" to the external db and then call subroutines & functions belonging to external db by using the qualifier "External." (ii) In the code modules of external db, care is to be taken to use CodeDb & CodeProject in lieu of CurrentDb & CurrentProject respectively, wherever occurring. (iii) Automatic setting up of correct reference to external db can be ensured programmatically, through code in start-up form of local db. (b) Access automation: Activate the external db via automation and toggle respective visibilities of local & external db's appropriately, for user convenience. Two of my sample db's mentioned below, might be of interest to you: (a) ExternalDbAsLibraryRef (b) ExternalDbAutomation Both samples are available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- 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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From fhtapia at gmail.com Tue Apr 17 14:18:16 2007 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 17 Apr 2007 12:18:16 -0700 Subject: [AccessD] Getting the Top 3 Records of every n Message-ID: I know how to do this in Sql Server, but have been thinking it over on how to do this via the QBE grid in Access... The situation is there is a list like so Bob 100 Bob 090 Bob 050 Bob 010 Bill 250 Bill 100 Bill 070 Bill 050 Jim etc... What is required, is that they want to be able to obtain the top 3 records for each customer ie, Top 3 records sorted in descending order by the qty. Thanks guys -- -Francisco http://sqlthis.blogspot.com | Tsql and More... From mmmtbig at bellsouth.net Tue Apr 17 14:37:07 2007 From: mmmtbig at bellsouth.net (Myke Myers) Date: Tue, 17 Apr 2007 15:37:07 -0400 Subject: [AccessD] Image Thumbnails in Continuous Forms Message-ID: <013301c78127$c8d1d190$6501a8c0@TBIG1> Has anyone found a viable way to display thumbnails for linked (external) images in a continous form in Access 2003? TIA, Myke The Better Information Group From tuxedoman888 at gmail.com Tue Apr 17 16:09:40 2007 From: tuxedoman888 at gmail.com (Billy Pang) Date: Tue, 17 Apr 2007 14:09:40 -0700 Subject: [AccessD] how to change form default view via VBA Message-ID: <7c8826480704171409k15c32868k416604591952359a@mail.gmail.com> Hello: Is it possible to change the default view of a form in MS Access using VBA? I would like to have the user toggle between the datasheet view and the form view using a button thanks in advance Billy -- Billy Pang http://dbnotes.blogspot.com/ "Once the game is over, the King and the pawn go back in the same box." - Italian proverb From rockysmolin at bchacc.com Tue Apr 17 17:18:03 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 17 Apr 2007 15:18:03 -0700 Subject: [AccessD] how to change form default view via VBA In-Reply-To: <7c8826480704171409k15c32868k416604591952359a@mail.gmail.com> Message-ID: <009901c7813e$4485e6d0$0501a8c0@HAL9005> I just had to do this. OK, it's not exactly what you're looking for but it's a work-around, yes? You make the form a sub form and change the source object. I have two subforms - one's a continuous form, one's a datasheet form. This is the code behind a command button on the main form to toggle the sub-form. If Me.subfrmPODetail.SourceObject = "subfrmPODetail" Then Me.subfrmPODetail.SourceObject = "subfrmPODetailDatasheet" Else Me.subfrmPODetail.SourceObject = "subfrmPODetail" End If Me.subfrmPODetail.Requery HTH Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Billy Pang Sent: Tuesday, April 17, 2007 2:10 PM To: Access Developers discussion and problem solving Subject: [AccessD] how to change form default view via VBA Hello: Is it possible to change the default view of a form in MS Access using VBA? I would like to have the user toggle between the datasheet view and the form view using a button thanks in advance Billy -- Billy Pang http://dbnotes.blogspot.com/ "Once the game is over, the King and the pawn go back in the same box." - Italian proverb -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.0/763 - Release Date: 4/16/2007 5:53 PM From stuart at lexacorp.com.pg Tue Apr 17 17:32:27 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 18 Apr 2007 08:32:27 +1000 Subject: [AccessD] how to change form default view via VBA In-Reply-To: <7c8826480704171409k15c32868k416604591952359a@mail.gmail.com> References: <7c8826480704171409k15c32868k416604591952359a@mail.gmail.com> Message-ID: <46254AFB.19017.822807B@stuart.lexacorp.com.pg> On 17 Apr 2007 at 14:09, Billy Pang wrote: > Hello: > > Is it possible to change the default view of a form in MS Access using VBA? > I would like to have the user toggle between the datasheet view and the form > view using a button Easy enough to go from Form View to Datasheet view with a button which invokes DoCmd.DoMenuItem..... Trouble is that the button is not visible in Datasheet view so the user can't change back. -- Stuart From stuart at lexacorp.com.pg Tue Apr 17 17:36:40 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 18 Apr 2007 08:36:40 +1000 Subject: [AccessD] how to change form default view via VBA In-Reply-To: <7c8826480704171409k15c32868k416604591952359a@mail.gmail.com> References: <7c8826480704171409k15c32868k416604591952359a@mail.gmail.com> Message-ID: <46254BF8.31804.8265B8B@stuart.lexacorp.com.pg> Easy enough to go from Form View to Datasheet view with a button which invokes DoCmd.DoMenuItem..... But it's better to use DoCmd.RunCommand acCmdDatasheetView :-) -- Stuart From tuxedoman888 at gmail.com Tue Apr 17 19:35:33 2007 From: tuxedoman888 at gmail.com (Billy Pang) Date: Tue, 17 Apr 2007 17:35:33 -0700 Subject: [AccessD] how to change form default view via VBA In-Reply-To: <009901c7813e$4485e6d0$0501a8c0@HAL9005> References: <7c8826480704171409k15c32868k416604591952359a@mail.gmail.com> <009901c7813e$4485e6d0$0501a8c0@HAL9005> Message-ID: <7c8826480704171735q745035a3nb9ce195a7c36d095@mail.gmail.com> thanks Rocky. On 4/17/07, Rocky Smolin at Beach Access Software wrote: > > I just had to do this. OK, it's not exactly what you're looking for but > it's a work-around, yes? You make the form a sub form and change the > source > object. I have two subforms - one's a continuous form, one's a datasheet > form. > > This is the code behind a command button on the main form to toggle the > sub-form. > > If Me.subfrmPODetail.SourceObject = "subfrmPODetail" Then > Me.subfrmPODetail.SourceObject = "subfrmPODetailDatasheet" > Else > Me.subfrmPODetail.SourceObject = "subfrmPODetail" > End If > Me.subfrmPODetail.Requery > > HTH > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Billy Pang > Sent: Tuesday, April 17, 2007 2:10 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] how to change form default view via VBA > > Hello: > > Is it possible to change the default view of a form in MS Access using > VBA? > I would like to have the user toggle between the datasheet view and the > form > view using a button > > thanks in advance > > Billy > > -- > Billy Pang > http://dbnotes.blogspot.com/ > "Once the game is over, the King and the pawn go back in the same box." - > Italian proverb > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.446 / Virus Database: 269.5.0/763 - Release Date: 4/16/2007 > 5:53 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Billy Pang http://dbnotes.blogspot.com/ "Once the game is over, the King and the pawn go back in the same box." - Italian proverb From tuxedoman888 at gmail.com Tue Apr 17 19:37:52 2007 From: tuxedoman888 at gmail.com (Billy Pang) Date: Tue, 17 Apr 2007 17:37:52 -0700 Subject: [AccessD] how to change form default view via VBA In-Reply-To: <46254BF8.31804.8265B8B@stuart.lexacorp.com.pg> References: <7c8826480704171409k15c32868k416604591952359a@mail.gmail.com> <46254BF8.31804.8265B8B@stuart.lexacorp.com.pg> Message-ID: <7c8826480704171737y336b64d7we2a462b39df6625f@mail.gmail.com> thanks Stuart. however, when i run docmd.runcommand accmddatasheetview opens up the current form selected from the database window, which may or may not be the target form. On 4/17/07, Stuart McLachlan wrote: > > > Easy enough to go from Form View to Datasheet view with a button which > invokes DoCmd.DoMenuItem..... > > > But it's better to use DoCmd.RunCommand acCmdDatasheetView > > :-) > > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Billy Pang http://dbnotes.blogspot.com/ "Once the game is over, the King and the pawn go back in the same box." - Italian proverb From rockysmolin at bchacc.com Tue Apr 17 19:47:39 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 17 Apr 2007 17:47:39 -0700 Subject: [AccessD] WinZip Courier Message-ID: <00d601c78153$2ad4db50$0501a8c0@HAL9005> OT but hopefully useful information: Just tried a new service from WinZip called WinZip Courier (http://www.winzip.com/wzcourier.htm). It gets around the email attachment size limitation by allowing you to upload large files and then notify recipients where they can download the files. It works. Pretty cool. I had an occasion last week to need a back end from a client. It was 100MB+ and they had no clue how to FTP. This would have solved the problem. Rocky From rockysmolin at bchacc.com Tue Apr 17 22:44:38 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 17 Apr 2007 20:44:38 -0700 Subject: [AccessD] [dba-OT] WinZip Courier In-Reply-To: <44ef7a350704171947j7f2f126aif484a51ea2c6f6f2@mail.gmail.com> Message-ID: <011601c7816b$e4232220$0501a8c0@HAL9005> I sent 3 MP3s to the band which I had transposed they keys on and copied myself. I got an email with links to the files. Worked real slick. Rocky -----Original Message----- From: dba-ot-bounces at databaseadvisors.com [mailto:dba-ot-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Tuesday, April 17, 2007 7:47 PM To: dba-ot at databaseadvisors.com Cc: Access Developers discussion and problem solving Subject: Re: [dba-OT] WinZip Courier Rocky, So it's an FTP service of sorts. If it isn't an FTP download, then it could be useful indeed. At Printron, for example, I cannot connect via FTP to any site because of security and proxies. Steve Erbach On 4/17/07, Rocky Smolin at Beach Access Software wrote: > OT but hopefully useful information: > > Just tried a new service from WinZip called WinZip Courier > (http://www.winzip.com/wzcourier.htm). It gets around the email > attachment size limitation by allowing you to upload large files and > then notify recipients where they can download the files. It works. > Pretty cool. I had an occasion last week to need a back end from a > client. It was 100MB+ and they had no clue how to FTP. This would have solved the problem. > > Rocky > > _______________________________________________ dba-OT mailing list dba-OT at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-ot Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM From adtp at hotmail.com Tue Apr 17 23:56:34 2007 From: adtp at hotmail.com (A.D.TEJPAL) Date: Wed, 18 Apr 2007 10:26:34 +0530 Subject: [AccessD] Image Thumbnails in Continuous Forms References: <013301c78127$c8d1d190$6501a8c0@TBIG1> Message-ID: Myke, Apparently, you wish to display externally stored images via image control (avoiding OLE field, to prevent bloat). My sample db named ImageManager might be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. This sample db uses image control, assigning relevant file paths to its picture property. User can browse & select the image files in target folder and their paths get stored programmatically in access table. Apart from covering display of images via slide shows (manual advance or automatic advance as desired), the sample also demonstrates display of images in thumbnail view, in continuous form style (it is a simulated continuous form). You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Myke Myers To: 'Access Developers discussion and problem solving' Sent: Wednesday, April 18, 2007 01:07 Subject: [AccessD] Image Thumbnails in Continuous Forms Has anyone found a viable way to display thumbnails for linked (external) images in a continous form in Access 2003? TIA, Myke The Better Information Group From adtp at hotmail.com Wed Apr 18 01:21:25 2007 From: adtp at hotmail.com (A.D.TEJPAL) Date: Wed, 18 Apr 2007 11:51:25 +0530 Subject: [AccessD] how to change form default view via VBA References: <7c8826480704171409k15c32868k416604591952359a@mail.gmail.com> Message-ID: Billy, Sample public subroutine named P_ToggleView(), in form's module, as given below, should enable you to toggle the view between datasheet & normal form as desired. You can call this routine from double click event of various controls. Whenever the user dbl-clicks any of the controls (in form view) or any of the columns (in datasheet view), the existing view will change-over to the other one. If you wish to toggle the view of target form (named F_Test) by clicking a button on another form (named F_Test_02), the routine in module of form F_Test can be called via click event of command button on form F_Test_02. While doing so, care is to be taken to first select form F_Test as shown in the sample code below, for module of form F_Test_02. Note - When toggling views, it is often desirable to simultaneously take care of column widths (in datasheet view) and settings for scroll bars & dividing lines, as shown in the sample code below. Best wishes, A.D.Tejpal --------------- Code module of form F_Test (ID, SDate, Product & Qty are names of controls on the form) ================================= Public Sub P_ToggleView() ' Toggles between Form & Datasheet views ' Check current view and change accordingly ' Value of 2 stands for Datasheet view If Me.CurrentView = 2 Then ' Change to Form view DoCmd.RunCommand acCmdFormView ' Remove scroll bars & dividing lines Me.ScrollBars = 0 ' Neither Me.DividingLines = False Else ' Change to Datasheet view DoCmd.RunCommand acCmdDatasheetView ' Adjust column widths in datasheet view ID.ColumnWidth = 1500 ' (A) SDate.ColumnWidth = 2000 ' (B) Product.ColumnWidth = 3000 ' (C) Qty.ColumnWidth = 1550 ' (D) ' Restore scroll bars & dividing lines Me.ScrollBars = 3 ' Both Me.DividingLines = True End If End Sub ================================= Code module of form F_Test_02 ================================= Private Sub CmdToggleView_Click() DoCmd.SelectObject acForm, "F_Test", False Forms("F_Test").P_ToggleView End Sub ================================= ----- Original Message ----- From: Billy Pang To: Access Developers discussion and problem solving Sent: Wednesday, April 18, 2007 02:39 Subject: [AccessD] how to change form default view via VBA Hello: Is it possible to change the default view of a form in MS Access using VBA? I would like to have the user toggle between the datasheet view and the form view using a button thanks in advance Billy From Gustav at cactus.dk Wed Apr 18 03:07:27 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 18 Apr 2007 10:07:27 +0200 Subject: [AccessD] how to change form default view via VBA Message-ID: Hi Billy I think I would move the form into a subform, then you can have your button to control the view on the main form. /gustav >>> tuxedoman888 at gmail.com 17-04-2007 23:09 >>> Hello: Is it possible to change the default view of a form in MS Access using VBA? I would like to have the user toggle between the datasheet view and the form view using a button thanks in advance Billy From pcs at azizaz.com Wed Apr 18 09:29:39 2007 From: pcs at azizaz.com (Borge Hansen, Professional Computer Systems) Date: Thu, 19 Apr 2007 00:29:39 +1000 Subject: [AccessD] Assistance Required - Web Development Message-ID: <038701c781c6$001e4540$fa10a8c0@Albatross> Hi, I don't know if this is breaching netiquette - if so I ask to be excused... Any one interested, please take contact directly. I am in need of assistance with the development of a web interface for the following features: - Secure Login - Update of Personal Details - Event Registration including Payment (Credit Card) over secure line with Read and Write to SQL Server 2005 Background: Event Management System Access 2003 In production since 1993 - in Access since 1999 Currently the Backend is being upsized to SQL Server2005 Regards borge pcs at azizaz.com From bheid at sc.rr.com Wed Apr 18 09:31:31 2007 From: bheid at sc.rr.com (Bobby Heid) Date: Wed, 18 Apr 2007 10:31:31 -0400 Subject: [AccessD] [dba-OT] WinZip Courier In-Reply-To: <011601c7816b$e4232220$0501a8c0@HAL9005> References: <44ef7a350704171947j7f2f126aif484a51ea2c6f6f2@mail.gmail.com> <011601c7816b$e4232220$0501a8c0@HAL9005> Message-ID: <001d01c781c6$432626f0$2c01a8c0@bhxp> I got an email from WinZip about this. How much does it cost? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 17, 2007 11:45 PM To: dba-ot at databaseadvisors.com Cc: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier I sent 3 MP3s to the band which I had transposed they keys on and copied myself. I got an email with links to the files. Worked real slick. Rocky -----Original Message----- From: dba-ot-bounces at databaseadvisors.com [mailto:dba-ot-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Tuesday, April 17, 2007 7:47 PM To: dba-ot at databaseadvisors.com Cc: Access Developers discussion and problem solving Subject: Re: [dba-OT] WinZip Courier Rocky, So it's an FTP service of sorts. If it isn't an FTP download, then it could be useful indeed. At Printron, for example, I cannot connect via FTP to any site because of security and proxies. Steve Erbach On 4/17/07, Rocky Smolin at Beach Access Software wrote: > OT but hopefully useful information: > > Just tried a new service from WinZip called WinZip Courier > (http://www.winzip.com/wzcourier.htm). It gets around the email > attachment size limitation by allowing you to upload large files and > then notify recipients where they can download the files. It works. > Pretty cool. I had an occasion last week to need a back end from a > client. It was 100MB+ and they had no clue how to FTP. This would have solved the problem. > > Rocky > > _______________________________________________ dba-OT mailing list dba-OT at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-ot Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lmrazek at lcm-res.com Wed Apr 18 09:57:28 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Wed, 18 Apr 2007 09:57:28 -0500 Subject: [AccessD] Best / Safest method of connecting to a dbase IV table via Access XP In-Reply-To: <038701c781c6$001e4540$fa10a8c0@Albatross> References: <038701c781c6$001e4540$fa10a8c0@Albatross> Message-ID: <036501c781c9$e3103bd0$046fa8c0@lcmdv8000> Hi Folks: (Using Access XP/2002 Runtime) I have a project that will require me to connect to a dbase table periodically to scan for changes / additions. Since I will never write to this table, I'm wondering what is the best/safest technique to use when reading the table? I can link to the table fine via the native linked tables method in Access. I'm primarily concerned with not messing up the dbase table! Thanks in advance. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 From rockysmolin at bchacc.com Wed Apr 18 10:05:03 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 18 Apr 2007 08:05:03 -0700 Subject: [AccessD] [dba-OT] WinZip Courier In-Reply-To: <001d01c781c6$432626f0$2c01a8c0@bhxp> Message-ID: <002301c781ca$f1d60360$0501a8c0@HAL9005> There's a monthly charge after your 45 day trial. Bt there's a Courier Light version which is free but won't handle as big an upload. IIRC, the light version would be adequate for most of my purposes. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, April 18, 2007 7:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier I got an email from WinZip about this. How much does it cost? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 17, 2007 11:45 PM To: dba-ot at databaseadvisors.com Cc: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier I sent 3 MP3s to the band which I had transposed they keys on and copied myself. I got an email with links to the files. Worked real slick. Rocky -----Original Message----- From: dba-ot-bounces at databaseadvisors.com [mailto:dba-ot-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Tuesday, April 17, 2007 7:47 PM To: dba-ot at databaseadvisors.com Cc: Access Developers discussion and problem solving Subject: Re: [dba-OT] WinZip Courier Rocky, So it's an FTP service of sorts. If it isn't an FTP download, then it could be useful indeed. At Printron, for example, I cannot connect via FTP to any site because of security and proxies. Steve Erbach On 4/17/07, Rocky Smolin at Beach Access Software wrote: > OT but hopefully useful information: > > Just tried a new service from WinZip called WinZip Courier > (http://www.winzip.com/wzcourier.htm). It gets around the email > attachment size limitation by allowing you to upload large files and > then notify recipients where they can download the files. It works. > Pretty cool. I had an occasion last week to need a back end from a > client. It was 100MB+ and they had no clue how to FTP. This would > have solved the problem. > > Rocky > > _______________________________________________ dba-OT mailing list dba-OT at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-ot Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM From accessd at shaw.ca Wed Apr 18 10:40:11 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 18 Apr 2007 08:40:11 -0700 Subject: [AccessD] [dba-OT] WinZip Courier In-Reply-To: <002301c781ca$f1d60360$0501a8c0@HAL9005> Message-ID: <0JGP00E9P9ZM4X20@l-daemon> Hi Rocky: If you want to send any file, using a similar method and it is still free check out http://sendspace.com Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 18, 2007 8:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier There's a monthly charge after your 45 day trial. Bt there's a Courier Light version which is free but won't handle as big an upload. IIRC, the light version would be adequate for most of my purposes. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, April 18, 2007 7:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier I got an email from WinZip about this. How much does it cost? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 17, 2007 11:45 PM To: dba-ot at databaseadvisors.com Cc: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier I sent 3 MP3s to the band which I had transposed they keys on and copied myself. I got an email with links to the files. Worked real slick. Rocky -----Original Message----- From: dba-ot-bounces at databaseadvisors.com [mailto:dba-ot-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Tuesday, April 17, 2007 7:47 PM To: dba-ot at databaseadvisors.com Cc: Access Developers discussion and problem solving Subject: Re: [dba-OT] WinZip Courier Rocky, So it's an FTP service of sorts. If it isn't an FTP download, then it could be useful indeed. At Printron, for example, I cannot connect via FTP to any site because of security and proxies. Steve Erbach On 4/17/07, Rocky Smolin at Beach Access Software wrote: > OT but hopefully useful information: > > Just tried a new service from WinZip called WinZip Courier > (http://www.winzip.com/wzcourier.htm). It gets around the email > attachment size limitation by allowing you to upload large files and > then notify recipients where they can download the files. It works. > Pretty cool. I had an occasion last week to need a back end from a > client. It was 100MB+ and they had no clue how to FTP. This would > have solved the problem. > > Rocky > > _______________________________________________ dba-OT mailing list dba-OT at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-ot Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at sc.rr.com Wed Apr 18 11:09:10 2007 From: bheid at sc.rr.com (Bobby Heid) Date: Wed, 18 Apr 2007 12:09:10 -0400 Subject: [AccessD] [dba-OT] WinZip Courier In-Reply-To: <002301c781ca$f1d60360$0501a8c0@HAL9005> References: <001d01c781c6$432626f0$2c01a8c0@bhxp> <002301c781ca$f1d60360$0501a8c0@HAL9005> Message-ID: <003901c781d3$e6e1f8c0$2c01a8c0@bhxp> Thanks Rocky. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 18, 2007 11:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier There's a monthly charge after your 45 day trial. Bt there's a Courier Light version which is free but won't handle as big an upload. IIRC, the light version would be adequate for most of my purposes. Rocky From rockysmolin at bchacc.com Wed Apr 18 11:41:21 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 18 Apr 2007 09:41:21 -0700 Subject: [AccessD] [dba-OT] WinZip Courier In-Reply-To: <0JGP00E9P9ZM4X20@l-daemon> Message-ID: <004201c781d8$660d86b0$0501a8c0@HAL9005> Service looks pretty much identical to WinZip's. But I never heard of them. They been around long? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, April 18, 2007 8:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier Hi Rocky: If you want to send any file, using a similar method and it is still free check out http://sendspace.com Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 18, 2007 8:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier There's a monthly charge after your 45 day trial. Bt there's a Courier Light version which is free but won't handle as big an upload. IIRC, the light version would be adequate for most of my purposes. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, April 18, 2007 7:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier I got an email from WinZip about this. How much does it cost? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 17, 2007 11:45 PM To: dba-ot at databaseadvisors.com Cc: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier I sent 3 MP3s to the band which I had transposed they keys on and copied myself. I got an email with links to the files. Worked real slick. Rocky -----Original Message----- From: dba-ot-bounces at databaseadvisors.com [mailto:dba-ot-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Tuesday, April 17, 2007 7:47 PM To: dba-ot at databaseadvisors.com Cc: Access Developers discussion and problem solving Subject: Re: [dba-OT] WinZip Courier Rocky, So it's an FTP service of sorts. If it isn't an FTP download, then it could be useful indeed. At Printron, for example, I cannot connect via FTP to any site because of security and proxies. Steve Erbach On 4/17/07, Rocky Smolin at Beach Access Software wrote: > OT but hopefully useful information: > > Just tried a new service from WinZip called WinZip Courier > (http://www.winzip.com/wzcourier.htm). It gets around the email > attachment size limitation by allowing you to upload large files and > then notify recipients where they can download the files. It works. > Pretty cool. I had an occasion last week to need a back end from a > client. It was 100MB+ and they had no clue how to FTP. This would > have solved the problem. > > Rocky > > _______________________________________________ dba-OT mailing list dba-OT at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-ot Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM From mmmtbig at bellsouth.net Wed Apr 18 13:01:38 2007 From: mmmtbig at bellsouth.net (Myke Myers) Date: Wed, 18 Apr 2007 14:01:38 -0400 Subject: [AccessD] Image Thumbnails in Continuous Forms In-Reply-To: References: <013301c78127$c8d1d190$6501a8c0@TBIG1> Message-ID: <014401c781e3$a628a7b0$6501a8c0@TBIG1> A.D.: Thanks for the example. I think I can adapt it to my app. If I understand your simulated continuous form design, I would need 10 identical subforms with different names if I wanted to display 10 records per page. Is that correct? Thanks, Myke -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Wednesday, April 18, 2007 12:57 AM To: Access Developers discussion and problem solving Cc: ADT Subject: Re: [AccessD] Image Thumbnails in Continuous Forms Myke, Apparently, you wish to display externally stored images via image control (avoiding OLE field, to prevent bloat). My sample db named ImageManager might be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. This sample db uses image control, assigning relevant file paths to its picture property. User can browse & select the image files in target folder and their paths get stored programmatically in access table. Apart from covering display of images via slide shows (manual advance or automatic advance as desired), the sample also demonstrates display of images in thumbnail view, in continuous form style (it is a simulated continuous form). You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Myke Myers To: 'Access Developers discussion and problem solving' Sent: Wednesday, April 18, 2007 01:07 Subject: [AccessD] Image Thumbnails in Continuous Forms Has anyone found a viable way to display thumbnails for linked (external) images in a continous form in Access 2003? TIA, Myke The Better Information Group -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Apr 18 13:28:39 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 18 Apr 2007 11:28:39 -0700 Subject: [AccessD] [dba-OT] WinZip Courier In-Reply-To: <004201c781d8$660d86b0$0501a8c0@HAL9005> Message-ID: <0JGP00EHNHSDYU00@l-daemon> Hi Rocky: I have not idea. It was one the daughters' discoveries... they know all the latest technologies and try to keep their Dad current. I would have also suggested YouSendIt (http://www.yousendit.com) but similar to the WinZip version it is time sensitive. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 18, 2007 9:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier Service looks pretty much identical to WinZip's. But I never heard of them. They been around long? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, April 18, 2007 8:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier Hi Rocky: If you want to send any file, using a similar method and it is still free check out http://sendspace.com Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 18, 2007 8:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier There's a monthly charge after your 45 day trial. Bt there's a Courier Light version which is free but won't handle as big an upload. IIRC, the light version would be adequate for most of my purposes. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, April 18, 2007 7:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier I got an email from WinZip about this. How much does it cost? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 17, 2007 11:45 PM To: dba-ot at databaseadvisors.com Cc: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier I sent 3 MP3s to the band which I had transposed they keys on and copied myself. I got an email with links to the files. Worked real slick. Rocky -----Original Message----- From: dba-ot-bounces at databaseadvisors.com [mailto:dba-ot-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Tuesday, April 17, 2007 7:47 PM To: dba-ot at databaseadvisors.com Cc: Access Developers discussion and problem solving Subject: Re: [dba-OT] WinZip Courier Rocky, So it's an FTP service of sorts. If it isn't an FTP download, then it could be useful indeed. At Printron, for example, I cannot connect via FTP to any site because of security and proxies. Steve Erbach On 4/17/07, Rocky Smolin at Beach Access Software wrote: > OT but hopefully useful information: > > Just tried a new service from WinZip called WinZip Courier > (http://www.winzip.com/wzcourier.htm). It gets around the email > attachment size limitation by allowing you to upload large files and > then notify recipients where they can download the files. It works. > Pretty cool. I had an occasion last week to need a back end from a > client. It was 100MB+ and they had no clue how to FTP. This would > have solved the problem. > > Rocky > > _______________________________________________ dba-OT mailing list dba-OT at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-ot Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Apr 18 14:09:54 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 18 Apr 2007 12:09:54 -0700 Subject: [AccessD] [dba-OT] WinZip Courier In-Reply-To: <0JGP00EHNHSDYU00@l-daemon> Message-ID: <006101c781ed$26073fb0$0501a8c0@HAL9005> Yousendit is the engine behind the WinZip Courier service. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, April 18, 2007 11:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier Hi Rocky: I have not idea. It was one the daughters' discoveries... they know all the latest technologies and try to keep their Dad current. I would have also suggested YouSendIt (http://www.yousendit.com) but similar to the WinZip version it is time sensitive. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 18, 2007 9:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier Service looks pretty much identical to WinZip's. But I never heard of them. They been around long? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, April 18, 2007 8:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier Hi Rocky: If you want to send any file, using a similar method and it is still free check out http://sendspace.com Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 18, 2007 8:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier There's a monthly charge after your 45 day trial. Bt there's a Courier Light version which is free but won't handle as big an upload. IIRC, the light version would be adequate for most of my purposes. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, April 18, 2007 7:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier I got an email from WinZip about this. How much does it cost? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 17, 2007 11:45 PM To: dba-ot at databaseadvisors.com Cc: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier I sent 3 MP3s to the band which I had transposed they keys on and copied myself. I got an email with links to the files. Worked real slick. Rocky -----Original Message----- From: dba-ot-bounces at databaseadvisors.com [mailto:dba-ot-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Tuesday, April 17, 2007 7:47 PM To: dba-ot at databaseadvisors.com Cc: Access Developers discussion and problem solving Subject: Re: [dba-OT] WinZip Courier Rocky, So it's an FTP service of sorts. If it isn't an FTP download, then it could be useful indeed. At Printron, for example, I cannot connect via FTP to any site because of security and proxies. Steve Erbach On 4/17/07, Rocky Smolin at Beach Access Software wrote: > OT but hopefully useful information: > > Just tried a new service from WinZip called WinZip Courier > (http://www.winzip.com/wzcourier.htm). It gets around the email > attachment size limitation by allowing you to upload large files and > then notify recipients where they can download the files. It works. > Pretty cool. I had an occasion last week to need a back end from a > client. It was 100MB+ and they had no clue how to FTP. This would > have solved the problem. > > Rocky > > _______________________________________________ dba-OT mailing list dba-OT at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-ot Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM From rl_stewart at highstream.net Wed Apr 18 14:53:11 2007 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 18 Apr 2007 14:53:11 -0500 Subject: [AccessD] Assistance Required - Web Development In-Reply-To: References: Message-ID: <200704181958.l3IJwV5x027680@databaseadvisors.com> Borge, I might be interested in helping you with this. I think i already have everything in place but the credit card portion of it. And that really depends on the API for the service you plan on using. Robert At 12:00 PM 4/18/2007, you wrote: >Date: Thu, 19 Apr 2007 00:29:39 +1000 >From: "Borge Hansen, Professional Computer Systems" >Subject: [AccessD] Assistance Required - Web Development >To: "Access Developers discussion and problem solving" > >Message-ID: <038701c781c6$001e4540$fa10a8c0 at Albatross> >Content-Type: text/plain; charset="iso-8859-1" > >Hi, > >I don't know if this is breaching netiquette - if so I ask to be excused... > >Any one interested, please take contact directly. > >I am in need of assistance with the development of a web interface >for the following features: >- Secure Login >- Update of Personal Details >- Event Registration including Payment (Credit Card) over secure line >with Read and Write to SQL Server 2005 > >Background: >Event Management System >Access 2003 >In production since 1993 - in Access since 1999 > >Currently the Backend is being upsized to SQL Server2005 > > >Regards >borge >pcs at azizaz.com From jengross at gte.net Wed Apr 18 15:47:25 2007 From: jengross at gte.net (Jennifer Gross) Date: Wed, 18 Apr 2007 13:47:25 -0700 Subject: [AccessD] A2K --> SQL 2005 - Licensing Message-ID: <017701c781fa$cc78bba0$6501a8c0@jefferson> Hi All, If I link from A2K to SQL 2005, but the table is not open/active within the Access database, am I still eating up one of the SQL Server licenses? Or, is it only when the user engages in a process that is actively using that SQL table that we are then considered using one of our SQL seats? We currently have a 20 user license for SQL Server and approximately 35 users of our Access database. I would like to tap into the SQL database for some information. Any help is greatly appreciated. Jennifer Gross databasics 2839 Shirley Drive Newbury Park, CA 91320-3068 office: (805) 480-1921 fax: (805) 499-0467 From askolits at ot.com Wed Apr 18 17:11:04 2007 From: askolits at ot.com (John Skolits) Date: Wed, 18 Apr 2007 18:11:04 -0400 Subject: [AccessD] My nemesis - ODBC Connections In-Reply-To: <017701c781fa$cc78bba0$6501a8c0@jefferson> Message-ID: <013801c78206$74dc0760$6501a8c0@LaptopXP> I've been having ODBC issues with SqlServer for, what seems to be, forever. On different servers, different PCs, different OS. This week has been particularly bad. It could have something to do with some updates my customer is putting on his server, but even so, it's an issue that had bugged me for years. Maybe someone can shed some light on this. Access 2K and SQLServer 2000: What seems to happen is when I develop an app on my PC and relink to SQLServer using Accces, my app works fine. When I give it to others, sometimes the app works and sometime it gives me an ODBC error. Usually after the error, it comes up with the SQL Server login box and the after entering login info. It's fine. If they restart, same issue. But it's very inconsistent. I can then go back and relink again on my PC and give it to them again. Sometimes that actually fixes it, yet I didn't do anything different than I did before. I initially link using a DSN Filename, but after linking my guess is the DSN file is no longer used since I can usually install the app on a new PC without putting the DSN on their PC. When I look at the linked table's properties it shows the connection string without the DSN name. Which makes sense since it's not using the DSN for a connection, but the imbedded string instead. Does all this make sense. Can someone explain what's going on? Why I'm having all these problems? Is there a fix?? Help!!!! John Skolits From adtp at airtelbroadband.in Wed Apr 18 23:14:01 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Thu, 19 Apr 2007 09:44:01 +0530 Subject: [AccessD] Image Thumbnails in Continuous Forms References: <013301c78127$c8d1d190$6501a8c0@TBIG1> <014401c781e3$a628a7b0$6501a8c0@TBIG1> Message-ID: <00cf01c7823a$eac6f550$3f57a27a@pcadt> Yes Myke! Your presumption is correct. A.D.Tejpal --------------- ----- Original Message ----- From: Myke Myers To: 'Access Developers discussion and problem solving' Cc: 'ADT' Sent: Wednesday, April 18, 2007 23:31 Subject: Re: [AccessD] Image Thumbnails in Continuous Forms A.D.: Thanks for the example. I think I can adapt it to my app. If I understand your simulated continuous form design, I would need 10 identical subforms with different names if I wanted to display 10 records per page. Is that correct? Thanks, Myke -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Wednesday, April 18, 2007 12:57 AM To: Access Developers discussion and problem solving Cc: ADT Subject: Re: [AccessD] Image Thumbnails in Continuous Forms Myke, Apparently, you wish to display externally stored images via image control (avoiding OLE field, to prevent bloat). My sample db named ImageManager might be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. This sample db uses image control, assigning relevant file paths to its picture property. User can browse & select the image files in target folder and their paths get stored programmatically in access table. Apart from covering display of images via slide shows (manual advance or automatic advance as desired), the sample also demonstrates display of images in thumbnail view, in continuous form style (it is a simulated continuous form). You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Myke Myers To: 'Access Developers discussion and problem solving' Sent: Wednesday, April 18, 2007 01:07 Subject: [AccessD] Image Thumbnails in Continuous Forms Has anyone found a viable way to display thumbnails for linked (external) images in a continous form in Access 2003? TIA, Myke The Better Information Group From R.Griffiths at bury.gov.uk Thu Apr 19 05:49:38 2007 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Thu, 19 Apr 2007 11:49:38 +0100 Subject: [AccessD] Re-query 2nd combo on subform Message-ID: <200704191035.l3JAZQx15157@smarthost.yourcomms.net> Hi Access 97 It's been a long time since I've posted here - still take a regular look, even though I concentrate on .net these days. A combination of time without Access and lack of time to play around myself..... but I have someone asking my advice. Scenario.....timesheet screen... header record with continuous subform details. Two combo's on the subform....the second of which needs to be re-queried based on the value in combo 1. This is actioned on the after-update event of combo1. The undesired result is that on previous records in the subform combo 2 is cleared out when combo 1 is re-queried (if the list id different say to the current record). I'm sure I've been here before......but can't get the solution...so all you active MS Accessers..... any clues?? Thanks in advance Richard Griffiths 0161 253 5169 Software Developer From rockysmolin at bchacc.com Thu Apr 19 07:40:43 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 19 Apr 2007 05:40:43 -0700 Subject: [AccessD] Re-query 2nd combo on subform In-Reply-To: <200704191035.l3JAZQx15157@smarthost.yourcomms.net> Message-ID: <001001c7827f$f24823e0$0501a8c0@HAL9005> In the After Update event of Combo1 are you requerying Combo2? What's the row source for Combo2? Does it include the value of Combo1? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Thursday, April 19, 2007 3:50 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Re-query 2nd combo on subform Hi Access 97 It's been a long time since I've posted here - still take a regular look, even though I concentrate on .net these days. A combination of time without Access and lack of time to play around myself..... but I have someone asking my advice. Scenario.....timesheet screen... header record with continuous subform details. Two combo's on the subform....the second of which needs to be re-queried based on the value in combo 1. This is actioned on the after-update event of combo1. The undesired result is that on previous records in the subform combo 2 is cleared out when combo 1 is re-queried (if the list id different say to the current record). I'm sure I've been here before......but can't get the solution...so all you active MS Accessers..... any clues?? Thanks in advance Richard Griffiths 0161 253 5169 Software Developer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.2/766 - Release Date: 4/18/2007 7:39 AM From R.Griffiths at bury.gov.uk Thu Apr 19 08:57:08 2007 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Thu, 19 Apr 2007 14:57:08 +0100 Subject: [AccessD] Re-query 2nd combo on subform In-Reply-To: <001001c7827f$f24823e0$0501a8c0@HAL9005> References: <200704191035.l3JAZQx15157@smarthost.yourcomms.net> <001001c7827f$f24823e0$0501a8c0@HAL9005> Message-ID: <200704191349.l3JDnsx07252@smarthost.yourcomms.net> Yes combo 2 has a query source that references combo 1 e.g. combo 1 - Activity Code... Combo 2 sub-Activity Code When you select Activity code you want combo 2 to list all sub-activities for that main activity code -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: 19 April 2007 13:41 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Re-query 2nd combo on subform In the After Update event of Combo1 are you requerying Combo2? What's the row source for Combo2? Does it include the value of Combo1? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Thursday, April 19, 2007 3:50 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Re-query 2nd combo on subform Hi Access 97 It's been a long time since I've posted here - still take a regular look, even though I concentrate on .net these days. A combination of time without Access and lack of time to play around myself..... but I have someone asking my advice. Scenario.....timesheet screen... header record with continuous subform details. Two combo's on the subform....the second of which needs to be re-queried based on the value in combo 1. This is actioned on the after-update event of combo1. The undesired result is that on previous records in the subform combo 2 is cleared out when combo 1 is re-queried (if the list id different say to the current record). I'm sure I've been here before......but can't get the solution...so all you active MS Accessers..... any clues?? Thanks in advance Richard Griffiths 0161 253 5169 Software Developer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.2/766 - Release Date: 4/18/2007 7:39 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Thu Apr 19 09:34:39 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 19 Apr 2007 14:34:39 +0000 Subject: [AccessD] Re-query 2nd combo on subform In-Reply-To: <001001c7827f$f24823e0$0501a8c0@HAL9005> Message-ID: Is it because it is on a continuous form? >From: "Rocky Smolin at Beach Access Software" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Re-query 2nd combo on subform >Date: Thu, 19 Apr 2007 05:40:43 -0700 > >In the After Update event of Combo1 are you requerying Combo2? What's the >row source for Combo2? Does it include the value of Combo1? > >Rocky > > > > > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, >Richard >Sent: Thursday, April 19, 2007 3:50 AM >To: AccessD at databaseadvisors.com >Subject: [AccessD] Re-query 2nd combo on subform > >Hi > >Access 97 > >It's been a long time since I've posted here - still take a regular look, >even though I concentrate on .net these days. >A combination of time without Access and lack of time to play around >myself..... but I have someone asking my advice. > >Scenario.....timesheet screen... > >header record with continuous subform details. >Two combo's on the subform....the second of which needs to be re-queried >based on the value in combo 1. >This is actioned on the after-update event of combo1. > >The undesired result is that on previous records in the subform combo 2 is >cleared out when combo 1 is re-queried (if the list id different say to the >current record). > >I'm sure I've been here before......but can't get the solution...so all you >active MS Accessers..... any clues?? > >Thanks in advance > > >Richard Griffiths >0161 253 5169 >Software Developer > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.446 / Virus Database: 269.5.2/766 - Release Date: 4/18/2007 >7:39 AM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Interest Rates NEAR 39yr LOWS! $430,000 Mortgage for $1,299/mo - Calculate new payment http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9632-19132&moid=14888 From andy at minstersystems.co.uk Thu Apr 19 10:46:00 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 19 Apr 2007 15:46:00 +0000 Subject: [AccessD] Re-query 2nd combo on subform Message-ID: <20070419144605.592A82B8B5C@smtp.nildram.co.uk> I understand the issue Richard, but sad to say have never found a satisfactory solution. If I understand you right it's when the field stored by combo2 is not the one displayed, typically the bound column is the 1st column with a zero width. Is that right? So as soon as you requery the combo then most records on the subform find themselves trying to display something which is no longer in the combo's recordset as it were. I'll be watching with interest for good ideas. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Re-query 2nd combo on subform Date: 19/04/07 14:08 Yes combo 2 has a query source that references combo 1 e.g. combo 1 - Activity Code... Combo 2 sub-Activity Code When you select Activity code you want combo 2 to list all sub-activities for that main activity code -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: 19 April 2007 13:41 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Re-query 2nd combo on subform In the After Update event of Combo1 are you requerying Combo2? What's the row source for Combo2? Does it include the value of Combo1? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Thursday, April 19, 2007 3:50 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Re-query 2nd combo on subform Hi Access 97 It's been a long time since I've posted here - still take a regular look, even though I concentrate on .net these days. A combination of time without Access and lack of time to play around myself..... but I have someone asking my advice. Scenario.....timesheet screen... header record with continuous subform details. Two combo's on the subform....the second of which needs to be re-queried based on the value in combo 1. This is actioned on the after-update event of combo1. The undesired result is that on previous records in the subform combo 2 is cleared out when combo 1 is re-queried (if the list id different say to the current record). I'm sure I've been here before......but can't get the solution...so all you active MS Accessers..... any clues?? Thanks in advance Richard Griffiths 0161 253 5169 Software Developer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.2/766 - Release Date: 4/18/2007 7:39 AM -- 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 ________________________________________________ Message sent using UebiMiau 2.7.2 From Elizabeth.J.Doering at wellsfargo.com Thu Apr 19 10:01:23 2007 From: Elizabeth.J.Doering at wellsfargo.com (Elizabeth.J.Doering at wellsfargo.com) Date: Thu, 19 Apr 2007 10:01:23 -0500 Subject: [AccessD] Re-query 2nd combo on subform References: <20070419144605.592A82B8B5C@smtp.nildram.co.uk> Message-ID: <1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com> The only way I've ever hear of is to display the actual value in a text box which is separate from the combo box. Sometimes this can include hiding most of the combo box most of the time. Liz Liz Doering elizabeth.j.doering at wellsfargo.com 612.667.2447 "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Thursday, April 19, 2007 10:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-query 2nd combo on subform I understand the issue Richard, but sad to say have never found a satisfactory solution. If I understand you right it's when the field stored by combo2 is not the one displayed, typically the bound column is the 1st column with a zero width. Is that right? So as soon as you requery the combo then most records on the subform find themselves trying to display something which is no longer in the combo's recordset as it were. I'll be watching with interest for good ideas. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Re-query 2nd combo on subform Date: 19/04/07 14:08 Yes combo 2 has a query source that references combo 1 e.g. combo 1 - Activity Code... Combo 2 sub-Activity Code When you select Activity code you want combo 2 to list all sub-activities for that main activity code -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: 19 April 2007 13:41 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Re-query 2nd combo on subform In the After Update event of Combo1 are you requerying Combo2? What's the row source for Combo2? Does it include the value of Combo1? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Thursday, April 19, 2007 3:50 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Re-query 2nd combo on subform Hi Access 97 It's been a long time since I've posted here - still take a regular look, even though I concentrate on .net these days. A combination of time without Access and lack of time to play around myself..... but I have someone asking my advice. Scenario.....timesheet screen... header record with continuous subform details. Two combo's on the subform....the second of which needs to be re-queried based on the value in combo 1. This is actioned on the after-update event of combo1. The undesired result is that on previous records in the subform combo 2 is cleared out when combo 1 is re-queried (if the list id different say to the current record). I'm sure I've been here before......but can't get the solution...so all you active MS Accessers..... any clues?? Thanks in advance Richard Griffiths 0161 253 5169 Software Developer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.2/766 - Release Date: 4/18/2007 7:39 AM -- 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 ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Thu Apr 19 11:30:50 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 19 Apr 2007 16:30:50 +0000 Subject: [AccessD] Re-query 2nd combo on subform Message-ID: <20070419153055.BC15C4C71C@smtp.nildram.co.uk> And I guess you'd have to get the value to display by a Dlookup or something, which might be pretty slow. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Re-query 2nd combo on subform Date: 19/04/07 15:05 The only way I've ever hear of is to display the actual value in a text box which is separate from the combo box. Sometimes this can include hiding most of the combo box most of the time. Liz Liz Doering elizabeth.j.doering at wellsfargo.com 612.667.2447 "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Thursday, April 19, 2007 10:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-query 2nd combo on subform I understand the issue Richard, but sad to say have never found a satisfactory solution. If I understand you right it's when the field stored by combo2 is not the one displayed, typically the bound column is the 1st column with a zero width. Is that right? So as soon as you requery the combo then most records on the subform find themselves trying to display something which is no longer in the combo's recordset as it were. I'll be watching with interest for good ideas. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Re-query 2nd combo on subform Date: 19/04/07 14:08 Yes combo 2 has a query source that references combo 1 e.g. combo 1 - Activity Code... Combo 2 sub-Activity Code When you select Activity code you want combo 2 to list all sub-activities for that main activity code -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: 19 April 2007 13:41 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Re-query 2nd combo on subform In the After Update event of Combo1 are you requerying Combo2? What's the row source for Combo2? Does it include the value of Combo1? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Thursday, April 19, 2007 3:50 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Re-query 2nd combo on subform Hi Access 97 It's been a long time since I've posted here - still take a regular look, even though I concentrate on .net these days. A combination of time without Access and lack of time to play around myself..... but I have someone asking my advice. Scenario.....timesheet screen... header record with continuous subform details. Two combo's on the subform....the second of which needs to be re-queried based on the value in combo 1. This is actioned on the after-update event of combo1. The undesired result is that on previous records in the subform combo 2 is cleared out when combo 1 is re-queried (if the list id different say to the current record). I'm sure I've been here before......but can't get the solution...so all you active MS Accessers..... any clues?? Thanks in advance Richard Griffiths 0161 253 5169 Software Developer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.2/766 - Release Date: 4/18/2007 7:39 AM -- 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 ________________________________________________ Message sent using UebiMiau 2.7.2 -- 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 ________________________________________________ Message sent using UebiMiau 2.7.2 From R.Griffiths at bury.gov.uk Thu Apr 19 10:31:37 2007 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Thu, 19 Apr 2007 16:31:37 +0100 Subject: [AccessD] Re-query 2nd combo on subform In-Reply-To: <1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com> References: <20070419144605.592A82B8B5C@smtp.nildram.co.uk> <1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com> Message-ID: <200704191517.l3JFHOx19027@smarthost.yourcomms.net> Hi Not sure if everyone's on the same track Combo 1 Combo 2 (sub-activity) A01 B02 C03 D04 A01 has sub-activities SA01, SA02, SA03 B01 has sub-activities SB01, SB02, SB03 C01 has sub-activities SC01, SC02, SB03 Line 1 in sub (continuous form) select... Combo 1 Combo 2 now shows (list) A01 SA01, SA02, SA03 Line 2 in sub (continuous form) select... Combo 1 Combo 2 now shows (list) A01 SA01, SA02, SA03 All okay so far but....... Line 3 in sub (continuous form) select B01...and Combo 1 Combo 2 now shows (list) B01 we want SB01, SB02, SB03 to show in combo 2 (which I think does work) but on line 1 and line 2 the second combo (whilst actually retaining the correct value behind the scenes now displays a blank combo box value. There is some logic here in that combo 2 has just been re-queried using the filter main code B01 (combo 1) on the current line - the values in the combo 2 on lines 1 and 2 cannot now find/map correctly as there record source is using B01 as the filter. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elizabeth.J.Doering at wellsfargo.com Sent: 19 April 2007 16:01 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Re-query 2nd combo on subform The only way I've ever hear of is to display the actual value in a text box which is separate from the combo box. Sometimes this can include hiding most of the combo box most of the time. Liz Liz Doering elizabeth.j.doering at wellsfargo.com 612.667.2447 "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Thursday, April 19, 2007 10:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-query 2nd combo on subform I understand the issue Richard, but sad to say have never found a satisfactory solution. If I understand you right it's when the field stored by combo2 is not the one displayed, typically the bound column is the 1st column with a zero width. Is that right? So as soon as you requery the combo then most records on the subform find themselves trying to display something which is no longer in the combo's recordset as it were. I'll be watching with interest for good ideas. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Re-query 2nd combo on subform Date: 19/04/07 14:08 Yes combo 2 has a query source that references combo 1 e.g. combo 1 - Activity Code... Combo 2 sub-Activity Code When you select Activity code you want combo 2 to list all sub-activities for that main activity code -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: 19 April 2007 13:41 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Re-query 2nd combo on subform In the After Update event of Combo1 are you requerying Combo2? What's the row source for Combo2? Does it include the value of Combo1? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Thursday, April 19, 2007 3:50 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Re-query 2nd combo on subform Hi Access 97 It's been a long time since I've posted here - still take a regular look, even though I concentrate on .net these days. A combination of time without Access and lack of time to play around myself..... but I have someone asking my advice. Scenario.....timesheet screen... header record with continuous subform details. Two combo's on the subform....the second of which needs to be re-queried based on the value in combo 1. This is actioned on the after-update event of combo1. The undesired result is that on previous records in the subform combo 2 is cleared out when combo 1 is re-queried (if the list id different say to the current record). I'm sure I've been here before......but can't get the solution...so all you active MS Accessers..... any clues?? Thanks in advance Richard Griffiths 0161 253 5169 Software Developer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.2/766 - Release Date: 4/18/2007 7:39 AM -- 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 ________________________________________________ Message sent using UebiMiau 2.7.2 -- 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 Jdemarco at hudsonhealthplan.org Thu Apr 19 10:38:59 2007 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Thu, 19 Apr 2007 11:38:59 -0400 Subject: [AccessD] XQuery in VB 6 In-Reply-To: <200704191517.l3JFHOx19027@smarthost.yourcomms.net> References: <20070419144605.592A82B8B5C@smtp.nildram.co.uk><1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com> <200704191517.l3JFHOx19027@smarthost.yourcomms.net> Message-ID: <0B8880A20E2CF24280FA60901E108FB05AB375@TTNEXCHSVR.hshhp.com> X-posted AccessD, VB Hello All, I've been absent for a while but an issue has just come up that I hope someone can help with. Does anyone have any VB 6 code that uses XQuery to return a set of nodes? I find plenty of XQuery examples that show the query and the returned nodes but no VB 6 implementation. Any short code snip will do. TIA, Jim DeMarco From cfoust at infostatsystems.com Thu Apr 19 10:53:58 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 19 Apr 2007 08:53:58 -0700 Subject: [AccessD] Re-query 2nd combo on subform In-Reply-To: <200704191517.l3JFHOx19027@smarthost.yourcomms.net> References: <20070419144605.592A82B8B5C@smtp.nildram.co.uk><1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com> <200704191517.l3JFHOx19027@smarthost.yourcomms.net> Message-ID: This is normal behavior in a continuous form with a combobox. The way I've always worked around it is to put a textbox behind the combobox and make the backstyle of the combo transaparent. Both controls are bound to the same field, but when the record is not current, the value from the textbox shows through. When the combo gets the focus, the textbox is automatically hidden. Would that work for you? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Thursday, April 19, 2007 8:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-query 2nd combo on subform Hi Not sure if everyone's on the same track Combo 1 Combo 2 (sub-activity) A01 B02 C03 D04 A01 has sub-activities SA01, SA02, SA03 B01 has sub-activities SB01, SB02, SB03 C01 has sub-activities SC01, SC02, SB03 Line 1 in sub (continuous form) select... Combo 1 Combo 2 now shows (list) A01 SA01, SA02, SA03 Line 2 in sub (continuous form) select... Combo 1 Combo 2 now shows (list) A01 SA01, SA02, SA03 All okay so far but....... Line 3 in sub (continuous form) select B01...and Combo 1 Combo 2 now shows (list) B01 we want SB01, SB02, SB03 to show in combo 2 (which I think does work) but on line 1 and line 2 the second combo (whilst actually retaining the correct value behind the scenes now displays a blank combo box value. There is some logic here in that combo 2 has just been re-queried using the filter main code B01 (combo 1) on the current line - the values in the combo 2 on lines 1 and 2 cannot now find/map correctly as there record source is using B01 as the filter. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elizabeth.J.Doering at wellsfargo.com Sent: 19 April 2007 16:01 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Re-query 2nd combo on subform The only way I've ever hear of is to display the actual value in a text box which is separate from the combo box. Sometimes this can include hiding most of the combo box most of the time. Liz Liz Doering elizabeth.j.doering at wellsfargo.com 612.667.2447 "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Thursday, April 19, 2007 10:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-query 2nd combo on subform I understand the issue Richard, but sad to say have never found a satisfactory solution. If I understand you right it's when the field stored by combo2 is not the one displayed, typically the bound column is the 1st column with a zero width. Is that right? So as soon as you requery the combo then most records on the subform find themselves trying to display something which is no longer in the combo's recordset as it were. I'll be watching with interest for good ideas. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Re-query 2nd combo on subform Date: 19/04/07 14:08 Yes combo 2 has a query source that references combo 1 e.g. combo 1 - Activity Code... Combo 2 sub-Activity Code When you select Activity code you want combo 2 to list all sub-activities for that main activity code -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: 19 April 2007 13:41 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Re-query 2nd combo on subform In the After Update event of Combo1 are you requerying Combo2? What's the row source for Combo2? Does it include the value of Combo1? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Thursday, April 19, 2007 3:50 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Re-query 2nd combo on subform Hi Access 97 It's been a long time since I've posted here - still take a regular look, even though I concentrate on .net these days. A combination of time without Access and lack of time to play around myself..... but I have someone asking my advice. Scenario.....timesheet screen... header record with continuous subform details. Two combo's on the subform....the second of which needs to be re-queried based on the value in combo 1. This is actioned on the after-update event of combo1. The undesired result is that on previous records in the subform combo 2 is cleared out when combo 1 is re-queried (if the list id different say to the current record). I'm sure I've been here before......but can't get the solution...so all you active MS Accessers..... any clues?? Thanks in advance Richard Griffiths 0161 253 5169 Software Developer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.2/766 - Release Date: 4/18/2007 7:39 AM -- 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 ________________________________________________ Message sent using UebiMiau 2.7.2 -- 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 From R.Griffiths at bury.gov.uk Thu Apr 19 11:59:59 2007 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Thu, 19 Apr 2007 17:59:59 +0100 Subject: [AccessD] Re-query 2nd combo on subform In-Reply-To: References: <20070419144605.592A82B8B5C@smtp.nildram.co.uk><1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com><200704191517.l3JFHOx19027@smarthost.yourcomms.net> Message-ID: <200704191645.l3JGjlx28877@smarthost.yourcomms.net> I'll give it a try, thanks to all -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: 19 April 2007 16:54 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-query 2nd combo on subform This is normal behavior in a continuous form with a combobox. The way I've always worked around it is to put a textbox behind the combobox and make the backstyle of the combo transaparent. Both controls are bound to the same field, but when the record is not current, the value from the textbox shows through. When the combo gets the focus, the textbox is automatically hidden. Would that work for you? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Thursday, April 19, 2007 8:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-query 2nd combo on subform Hi Not sure if everyone's on the same track Combo 1 Combo 2 (sub-activity) A01 B02 C03 D04 A01 has sub-activities SA01, SA02, SA03 B01 has sub-activities SB01, SB02, SB03 C01 has sub-activities SC01, SC02, SB03 Line 1 in sub (continuous form) select... Combo 1 Combo 2 now shows (list) A01 SA01, SA02, SA03 Line 2 in sub (continuous form) select... Combo 1 Combo 2 now shows (list) A01 SA01, SA02, SA03 All okay so far but....... Line 3 in sub (continuous form) select B01...and Combo 1 Combo 2 now shows (list) B01 we want SB01, SB02, SB03 to show in combo 2 (which I think does work) but on line 1 and line 2 the second combo (whilst actually retaining the correct value behind the scenes now displays a blank combo box value. There is some logic here in that combo 2 has just been re-queried using the filter main code B01 (combo 1) on the current line - the values in the combo 2 on lines 1 and 2 cannot now find/map correctly as there record source is using B01 as the filter. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elizabeth.J.Doering at wellsfargo.com Sent: 19 April 2007 16:01 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Re-query 2nd combo on subform The only way I've ever hear of is to display the actual value in a text box which is separate from the combo box. Sometimes this can include hiding most of the combo box most of the time. Liz Liz Doering elizabeth.j.doering at wellsfargo.com 612.667.2447 "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Thursday, April 19, 2007 10:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-query 2nd combo on subform I understand the issue Richard, but sad to say have never found a satisfactory solution. If I understand you right it's when the field stored by combo2 is not the one displayed, typically the bound column is the 1st column with a zero width. Is that right? So as soon as you requery the combo then most records on the subform find themselves trying to display something which is no longer in the combo's recordset as it were. I'll be watching with interest for good ideas. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Re-query 2nd combo on subform Date: 19/04/07 14:08 Yes combo 2 has a query source that references combo 1 e.g. combo 1 - Activity Code... Combo 2 sub-Activity Code When you select Activity code you want combo 2 to list all sub-activities for that main activity code -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: 19 April 2007 13:41 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Re-query 2nd combo on subform In the After Update event of Combo1 are you requerying Combo2? What's the row source for Combo2? Does it include the value of Combo1? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Thursday, April 19, 2007 3:50 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Re-query 2nd combo on subform Hi Access 97 It's been a long time since I've posted here - still take a regular look, even though I concentrate on .net these days. A combination of time without Access and lack of time to play around myself..... but I have someone asking my advice. Scenario.....timesheet screen... header record with continuous subform details. Two combo's on the subform....the second of which needs to be re-queried based on the value in combo 1. This is actioned on the after-update event of combo1. The undesired result is that on previous records in the subform combo 2 is cleared out when combo 1 is re-queried (if the list id different say to the current record). I'm sure I've been here before......but can't get the solution...so all you active MS Accessers..... any clues?? Thanks in advance Richard Griffiths 0161 253 5169 Software Developer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.2/766 - Release Date: 4/18/2007 7:39 AM -- 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 ________________________________________________ Message sent using UebiMiau 2.7.2 -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Apr 19 11:59:21 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 19 Apr 2007 09:59:21 -0700 Subject: [AccessD] XQuery in VB 6 In-Reply-To: <0B8880A20E2CF24280FA60901E108FB05AB375@TTNEXCHSVR.hshhp.com> References: <20070419144605.592A82B8B5C@smtp.nildram.co.uk> <1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com> <200704191517.l3JFHOx19027@smarthost.yourcomms.net> <0B8880A20E2CF24280FA60901E108FB05AB375@TTNEXCHSVR.hshhp.com> Message-ID: <46279FE9.6060806@shaw.ca> I have only used XQuery with SQL 2005 & VB.Net I have XPath examples in VBA Are you using XQuery or XPath? XPath is imbedded in both XSLT and XQuery. In those languages it serves the role of node-set identification (selection) XQuery example Dim sql_getbank As String = "SELECT Demographics.query('data(//BankName)') " _ & "FROM Store WHERE CustomerID = @CustomerID" XPath example Set oAdviserDetailsNode = oDOMDocument.documentElement 'use appropriate XPath expression to select nodes Set oNodeList = oAdviserDetailsNode.selectNodes("//BusinessDetails/*") Have a look at SQL Server 2005 XQuery and XML-DML - Part 2 By Alex Homer http://www.15seconds.com/issue/050811.htm Jim DeMarco wrote: >X-posted AccessD, VB > >Hello All, > >I've been absent for a while but an issue has just come up that I hope >someone can help with. > >Does anyone have any VB 6 code that uses XQuery to return a set of >nodes? I find plenty of XQuery examples that show the query and the >returned nodes but no VB 6 implementation. > >Any short code snip will do. > >TIA, > >Jim DeMarco > > > -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Thu Apr 19 12:10:41 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 19 Apr 2007 19:10:41 +0200 Subject: [AccessD] OLE DB provider, AddNew doesn't add record to MySQL table Message-ID: Hi all In A2003, if I try to add a record to a MySQL table via the OLE DB provider, nothing happens. No errors, it runs fine, but no record added. Any ideas why? Dim cnn As ADODB.Connection Dim rst As ADODB.Recordset Dim lngRow As Long Set cnn = New ADODB.Connection Set rst = New ADODB.Recordset cnn.ConnectionString = "Provider=MySQL Provider;Data Source=10.20.30.40;User ID=root;Password=password;Initial Catalog=TestDb;Mode=Read|Write" cnn.Open cnn.CursorLocation = adUseClient With rst .Open "Select * From tblSample", cnn, adOpenKeyset, adLockOptimistic For lngRow = 1 To lngRows .AddNew .Fields(1).Value = "Some text" .Update Next .Close End With Set rst = Nothing Set cnn = Nothing End Function If I link the table (via ODBC) and run an append query, records are appended as expected. /gustav From cfoust at infostatsystems.com Thu Apr 19 12:29:07 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 19 Apr 2007 10:29:07 -0700 Subject: [AccessD] OLE DB provider, AddNew doesn't add record to MySQL table In-Reply-To: References: Message-ID: Are you sure it shouldn't be adUseServer? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, April 19, 2007 10:11 AM To: accessd at databaseadvisors.com Subject: [AccessD] OLE DB provider, AddNew doesn't add record to MySQL table Hi all In A2003, if I try to add a record to a MySQL table via the OLE DB provider, nothing happens. No errors, it runs fine, but no record added. Any ideas why? Dim cnn As ADODB.Connection Dim rst As ADODB.Recordset Dim lngRow As Long Set cnn = New ADODB.Connection Set rst = New ADODB.Recordset cnn.ConnectionString = "Provider=MySQL Provider;Data Source=10.20.30.40;User ID=root;Password=password;Initial Catalog=TestDb;Mode=Read|Write" cnn.Open cnn.CursorLocation = adUseClient With rst .Open "Select * From tblSample", cnn, adOpenKeyset, adLockOptimistic For lngRow = 1 To lngRows .AddNew .Fields(1).Value = "Some text" .Update Next .Close End With Set rst = Nothing Set cnn = Nothing End Function If I link the table (via ODBC) and run an append query, records are appended as expected. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Apr 19 12:47:30 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 19 Apr 2007 10:47:30 -0700 Subject: [AccessD] OLE DB provider, AddNew doesn't add record to MySQL table In-Reply-To: References: Message-ID: <4627AB32.70004@shaw.ca> Could be cursor type or location. Try running an ODBC trace log works for other DB's too. http://dev.mysql.com/doc/refman/5.0/en/myodbc-configuration-trace.html or look through here http://dev.mysql.com/doc/refman/5.0/en/myodbc-connector.html Gustav Brock wrote: >Hi all > >In A2003, if I try to add a record to a MySQL table via the OLE DB provider, nothing happens. No errors, it runs fine, but no record added. >Any ideas why? > > Dim cnn As ADODB.Connection > Dim rst As ADODB.Recordset > > Dim lngRow As Long > > Set cnn = New ADODB.Connection > Set rst = New ADODB.Recordset > > cnn.ConnectionString = "Provider=MySQL Provider;Data Source=10.20.30.40;User ID=root;Password=password;Initial Catalog=TestDb;Mode=Read|Write" > cnn.Open > cnn.CursorLocation = adUseClient > > With rst > .Open "Select * From tblSample", cnn, adOpenKeyset, adLockOptimistic > For lngRow = 1 To lngRows > .AddNew > .Fields(1).Value = "Some text" > .Update > Next > .Close > End With > > Set rst = Nothing > Set cnn = Nothing > >End Function > >If I link the table (via ODBC) and run an append query, records are appended as expected. > >/gustav > > > > -- Marty Connelly Victoria, B.C. Canada From Jdemarco at hudsonhealthplan.org Thu Apr 19 13:18:24 2007 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Thu, 19 Apr 2007 14:18:24 -0400 Subject: [AccessD] XQuery in VB 6 In-Reply-To: <46279FE9.6060806@shaw.ca> References: <20070419144605.592A82B8B5C@smtp.nildram.co.uk><1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com><200704191517.l3JFHOx19027@smarthost.yourcomms.net><0B8880A20E2CF24280FA60901E108FB05AB375@TTNEXCHSVR.hshhp.com> <46279FE9.6060806@shaw.ca> Message-ID: <0B8880A20E2CF24280FA60901E108FB05AB399@TTNEXCHSVR.hshhp.com> Thanks Marty. I'll pass this on to my team. We're using XQuery but we're not strongly tied to it. I had mentioned XPath but I thought that was used to access one piece of data (or one related set of nodes out of a structure). We need to return select nodes based on criteria. Is this an accurate description of differences betweent the two do you think? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Thursday, April 19, 2007 12:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] XQuery in VB 6 I have only used XQuery with SQL 2005 & VB.Net I have XPath examples in VBA Are you using XQuery or XPath? XPath is imbedded in both XSLT and XQuery. In those languages it serves the role of node-set identification (selection) XQuery example Dim sql_getbank As String = "SELECT Demographics.query('data(//BankName)') " _ & "FROM Store WHERE CustomerID = @CustomerID" XPath example Set oAdviserDetailsNode = oDOMDocument.documentElement 'use appropriate XPath expression to select nodes Set oNodeList = oAdviserDetailsNode.selectNodes("//BusinessDetails/*") Have a look at SQL Server 2005 XQuery and XML-DML - Part 2 By Alex Homer http://www.15seconds.com/issue/050811.htm Jim DeMarco wrote: >X-posted AccessD, VB > >Hello All, > >I've been absent for a while but an issue has just come up that I hope >someone can help with. > >Does anyone have any VB 6 code that uses XQuery to return a set of >nodes? I find plenty of XQuery examples that show the query and the >returned nodes but no VB 6 implementation. > >Any short code snip will do. > >TIA, > >Jim DeMarco > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Apr 19 14:35:31 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 19 Apr 2007 12:35:31 -0700 Subject: [AccessD] OLE DB provider, AddNew doesn't add record to MySQL table In-Reply-To: Message-ID: <0JGR00EXCFJO4TU1@l-daemon> Hi Gustav: I did not know there were OLE DB drivers for MySQL that would run through Access... only ODBC drivers. There are a number of .Net examples but I do not believe they are cross-compatible. This may not be the case as I was working with such a configuration but it was about 4 or 5 years ago and things should have progressed since then. I have seen a configuration example... not tried. It shows "Provider=MySQL Provider" code looking like "Provider=MySQLProv". Below is a list of links to the latest software pieces: 1. MySQL - latest version from http://www.mysql.com/downloads 2. MySQLODBC (reqd for Access to MySQL) - http://www.mysql.com/downloads 3. MyOLEDB - http://www.mysql.com/downloads (should be MySQLProv.2.5) 4. WinMySQLAdmin - http://www.mysql.com/downloads 5. Access To MySQL - http://www.mysql.com/downloads/win32/myaccess2000_1_4.zip HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, April 19, 2007 10:11 AM To: accessd at databaseadvisors.com Subject: [AccessD] OLE DB provider, AddNew doesn't add record to MySQL table Hi all In A2003, if I try to add a record to a MySQL table via the OLE DB provider, nothing happens. No errors, it runs fine, but no record added. Any ideas why? Dim cnn As ADODB.Connection Dim rst As ADODB.Recordset Dim lngRow As Long Set cnn = New ADODB.Connection Set rst = New ADODB.Recordset cnn.ConnectionString = "Provider=MySQL Provider;Data Source=10.20.30.40;User ID=root;Password=password;Initial Catalog=TestDb;Mode=Read|Write" cnn.Open cnn.CursorLocation = adUseClient With rst .Open "Select * From tblSample", cnn, adOpenKeyset, adLockOptimistic For lngRow = 1 To lngRows .AddNew .Fields(1).Value = "Some text" .Update Next .Close End With Set rst = Nothing Set cnn = Nothing End Function If I link the table (via ODBC) and run an append query, records are appended as expected. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tuxedoman888 at gmail.com Thu Apr 19 17:50:52 2007 From: tuxedoman888 at gmail.com (Billy Pang) Date: Thu, 19 Apr 2007 15:50:52 -0700 Subject: [AccessD] how to change form default view via VBA In-Reply-To: References: Message-ID: <7c8826480704191550g2ee34130n25cd62ab02ef85ba@mail.gmail.com> thanks Gustav. I'll give this a shot. On 4/18/07, Gustav Brock wrote: > > Hi Billy > > I think I would move the form into a subform, then you can have your > button to control the view on the main form. > > /gustav > > >>> tuxedoman888 at gmail.com 17-04-2007 23:09 >>> > Hello: > > Is it possible to change the default view of a form in MS Access using > VBA? > I would like to have the user toggle between the datasheet view and the > form view using a button > > thanks in advance > > Billy > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Billy Pang http://dbnotes.blogspot.com/ "Once the game is over, the King and the pawn go back in the same box." - Italian proverb From tuxedoman888 at gmail.com Thu Apr 19 17:51:41 2007 From: tuxedoman888 at gmail.com (Billy Pang) Date: Thu, 19 Apr 2007 15:51:41 -0700 Subject: [AccessD] how to change form default view via VBA In-Reply-To: References: <7c8826480704171409k15c32868k416604591952359a@mail.gmail.com> Message-ID: <7c8826480704191551j4b7c4673ic61e5477b9738758@mail.gmail.com> thanks A.D.. I'll give this a shot. On 4/17/07, A.D.TEJPAL wrote: > > Billy, > > Sample public subroutine named P_ToggleView(), in form's module, as > given below, should enable you to toggle the view between datasheet & normal > form as desired. > > You can call this routine from double click event of various controls. > Whenever the user dbl-clicks any of the controls (in form view) or any of > the columns (in datasheet view), the existing view will change-over to the > other one. > > If you wish to toggle the view of target form (named F_Test) by > clicking a button on another form (named F_Test_02), the routine in module > of form F_Test can be called via click event of command button on form > F_Test_02. While doing so, care is to be taken to first select form F_Test > as shown in the sample code below, for module of form F_Test_02. > > Note - When toggling views, it is often desirable to simultaneously > take care of column widths (in datasheet view) and settings for scroll bars > & dividing lines, as shown in the sample code below. > > Best wishes, > A.D.Tejpal > --------------- > > Code module of form F_Test > (ID, SDate, Product & Qty are > names of controls on the form) > ================================= > Public Sub P_ToggleView() > ' Toggles between Form & Datasheet views > > ' Check current view and change accordingly > ' Value of 2 stands for Datasheet view > If Me.CurrentView = 2 Then > ' Change to Form view > DoCmd.RunCommand acCmdFormView > > ' Remove scroll bars & dividing lines > Me.ScrollBars = 0 ' Neither > Me.DividingLines = False > Else > ' Change to Datasheet view > DoCmd.RunCommand acCmdDatasheetView > > ' Adjust column widths in datasheet view > ID.ColumnWidth = 1500 ' (A) > SDate.ColumnWidth = 2000 ' (B) > Product.ColumnWidth = 3000 ' (C) > Qty.ColumnWidth = 1550 ' (D) > > ' Restore scroll bars & dividing lines > Me.ScrollBars = 3 ' Both > Me.DividingLines = True > End If > End Sub > ================================= > > Code module of form F_Test_02 > ================================= > Private Sub CmdToggleView_Click() > DoCmd.SelectObject acForm, "F_Test", False > Forms("F_Test").P_ToggleView > End Sub > ================================= > > ----- Original Message ----- > From: Billy Pang > To: Access Developers discussion and problem solving > Sent: Wednesday, April 18, 2007 02:39 > Subject: [AccessD] how to change form default view via VBA > > > Hello: > > Is it possible to change the default view of a form in MS Access using > VBA? > > I would like to have the user toggle between the datasheet view and the > form view using a button > > thanks in advance > > Billy > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Billy Pang http://dbnotes.blogspot.com/ "Once the game is over, the King and the pawn go back in the same box." - Italian proverb From tuxedoman888 at gmail.com Thu Apr 19 17:59:41 2007 From: tuxedoman888 at gmail.com (Billy Pang) Date: Thu, 19 Apr 2007 15:59:41 -0700 Subject: [AccessD] My nemesis - ODBC Connections In-Reply-To: <013801c78206$74dc0760$6501a8c0@LaptopXP> References: <017701c781fa$cc78bba0$6501a8c0@jefferson> <013801c78206$74dc0760$6501a8c0@LaptopXP> Message-ID: <7c8826480704191559t9352ff1s9d61d15bdb42cfd1@mail.gmail.com> how often does the odbc error message come up? what does the error message say? because login box pops up, if possible, i'd use profiler or server side traces to monitor the logins and logouts. if there is invalid login attempts made by the application, maybe the connection info is being drop upon reestablishing the db connection. On 4/18/07, John Skolits wrote: > > I've been having ODBC issues with SqlServer for, what seems to be, > forever. > On different servers, different PCs, different OS. This week has been > particularly bad. It could have something to do with some updates my > customer is putting on his server, but even so, it's an issue that had > bugged me for years. Maybe someone can shed some light on this. > > Access 2K and SQLServer 2000: > > What seems to happen is when I develop an app on my PC and relink to > SQLServer using Accces, my app works fine. When I give it to others, > sometimes the app works and sometime it gives me an ODBC error. Usually > after the error, it comes up with the SQL Server login box and the after > entering login info. It's fine. If they restart, same issue. But it's very > inconsistent. I can then go back and relink again on my PC and give it to > them again. Sometimes that actually fixes it, yet I didn't do anything > different than I did before. > > I initially link using a DSN Filename, but after linking my guess is the > DSN > file is no longer used since I can usually install the app on a new PC > without putting the DSN on their PC. When I look at the linked table's > properties it shows the connection string without the DSN name. Which > makes > sense since it's not using the DSN for a connection, but the imbedded > string > instead. > > Does all this make sense. Can someone explain what's going on? Why I'm > having all these problems? Is there a fix?? Help!!!! > > John Skolits > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Billy Pang http://dbnotes.blogspot.com/ "Once the game is over, the King and the pawn go back in the same box." - Italian proverb From martyconnelly at shaw.ca Thu Apr 19 19:55:50 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 19 Apr 2007 17:55:50 -0700 Subject: [AccessD] XQuery in VB 6 In-Reply-To: <0B8880A20E2CF24280FA60901E108FB05AB399@TTNEXCHSVR.hshhp.com> References: <20070419144605.592A82B8B5C@smtp.nildram.co.uk> <1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com> <200704191517.l3JFHOx19027@smarthost.yourcomms.net> <0B8880A20E2CF24280FA60901E108FB05AB375@TTNEXCHSVR.hshhp.com> <46279FE9.6060806@shaw.ca> <0B8880A20E2CF24280FA60901E108FB05AB399@TTNEXCHSVR.hshhp.com> Message-ID: <46280F96.2040800@shaw.ca> As long as you are clear that XQuery now runs in SQL 2005 only. Using XQuery to manage XML with SQL Server 2005, you can create a table or a stored XML document in an xml datatype Maybe you can run from a Stored Procedure not sure. Microsoft originally included XQuery in the .NET framework for use with client-side XML processing. They have since removed it from the .NET framework and kept XQuery native only to the SQL Server environment. The reasons for this vary from being more secure to better performance by having it at the SQL Server level. The .NET framework does still include XML client-side parsing capability through the use of the Systems.XML namespace, however. this namespace includes Xpath 2.0, a language for locating and extracting parts of an XML document. XQuery can also use Xpath expressions. Xpath 1.0, 2.0 is also available with XML 4.0 and XML 6.0 standalone parsers I'll post a couple of XPath VBA examples. Jim DeMarco wrote: >Thanks Marty. I'll pass this on to my team. > >We're using XQuery but we're not strongly tied to it. I had mentioned >XPath but I thought that was used to access one piece of data (or one >related set of nodes out of a structure). We need to return select >nodes based on criteria. Is this an accurate description of differences >betweent the two do you think? > > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Thursday, April 19, 2007 12:59 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] XQuery in VB 6 > >I have only used XQuery with SQL 2005 & VB.Net I have XPath examples in >VBA > >Are you using XQuery or XPath? > > XPath is imbedded in both XSLT and XQuery. In those languages it serves >the role of node-set identification (selection) > >XQuery example > >Dim sql_getbank As String = "SELECT >Demographics.query('data(//BankName)') " _ > > & "FROM Store WHERE CustomerID = @CustomerID" > > >XPath example > > Set oAdviserDetailsNode = oDOMDocument.documentElement > 'use appropriate XPath expression to select nodes > Set oNodeList = >oAdviserDetailsNode.selectNodes("//BusinessDetails/*") > >Have a look at >SQL Server 2005 XQuery and XML-DML - Part 2 By Alex Homer > >http://www.15seconds.com/issue/050811.htm > > >Jim DeMarco wrote: > > > >>X-posted AccessD, VB >> >>Hello All, >> >>I've been absent for a while but an issue has just come up that I hope >>someone can help with. >> >>Does anyone have any VB 6 code that uses XQuery to return a set of >>nodes? I find plenty of XQuery examples that show the query and the >>returned nodes but no VB 6 implementation. >> >>Any short code snip will do. >> >>TIA, >> >>Jim DeMarco >> >> >> >> >> > >-- >Marty Connelly >Victoria, B.C. >Canada > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Thu Apr 19 19:59:22 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 19 Apr 2007 17:59:22 -0700 Subject: [AccessD] XQuery in VB 6 In-Reply-To: <0B8880A20E2CF24280FA60901E108FB05AB399@TTNEXCHSVR.hshhp.com> References: <20070419144605.592A82B8B5C@smtp.nildram.co.uk> <1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com> <200704191517.l3JFHOx19027@smarthost.yourcomms.net> <0B8880A20E2CF24280FA60901E108FB05AB375@TTNEXCHSVR.hshhp.com> <46279FE9.6060806@shaw.ca> <0B8880A20E2CF24280FA60901E108FB05AB399@TTNEXCHSVR.hshhp.com> Message-ID: <4628106A.60007@shaw.ca> 'criteria grab all books with price >20 Dim mcolRate As Collection Sub testxmlinventory() http://cairocafe.blogspot.com/2006/09/xpath-intro.html http://msdn2.microsoft.com/en-us/library/ms256086.aspx Set mcolRate = New Collection GrabXMLFile ("C:\Access files\xmlfiles\inventory.xml") Debug.Print "mcol " & mcolRate(1) End Sub Public Function GrabXMLFile(ByRef AdviserXML As String) 'On Error GoTo ErrorHandler 'needs reference set to XML 4.0 and maybe ADO 2.8 Dim oDOMDocument As MSXML2.DOMDocument40 Dim oNodeList As IXMLDOMNodeList Dim oAdviserDetailsNode As IXMLDOMNode Dim oLowestLevelNode As IXMLDOMElement Dim oNode As IXMLDOMNode Dim objXMLDOMNamedNodeMap As IXMLDOMNamedNodeMap Dim xPError As IXMLDOMParseError Dim Mydb As Database Dim myrs As ADODB.Recordset Dim sTempValue As String Dim i As Long Set oDOMDocument = New MSXML2.DOMDocument40 oDOMDocument.async = False oDOMDocument.validateOnParse = True 'you may want to parse for errors oDOMDocument.resolveExternals = False oDOMDocument.preserveWhiteSpace = True 'use if xml disk file If Not oDOMDocument.Load(AdviserXML) Then MsgBox ("XML File error") Set xPError = oDOMDocument.parseError DOMParseError xPError End If Set oAdviserDetailsNode = oDOMDocument.documentElement Debug.Print oDOMDocument.xml 'use appropriate XPath expression to select nodes ' Set oNodeList = oAdviserDetailsNode.selectNodes("Envelope/Cube/Cube/@*") ' Set oNodeList = oAdviserDetailsNode.selectNodes("/bookstore/book/price") Set oNodeList = oAdviserDetailsNode.selectNodes("/bookstore/book[price>20]/price") Debug.Print "Length = " & oNodeList.length i = 0 For Each oNode In oNodeList i = i + 1 Debug.Print "*" & oNode.Text & " " & oNode.nodeName & "*" Select Case oNode.nodeName Case "price" 'This path is used to store a variable on the collection On Error Resume Next sTempValue = oNode.nodeName & CStr(i) mcolRate.Remove sTempValue mcolRate.Add oNode.Text, sTempValue Debug.Print sTempValue & " price " & oNode.Text On Error GoTo ErrorHandler End Select Next Set oNodeList = Nothing Set oDOMDocument = Nothing Set oAdviserDetailsNode = Nothing Set objXMLDOMNamedNodeMap = Nothing Exit Function ErrorHandler: ' Call NewError.Raise(Err.Number, Err.Source, Err.Description) End Function inventory.xml Joe Bob Trenton Literary Review Honorable Mention 12 Mary Bob Selected Short Stories of Mary Bob Britney Bob 55 2.50 Toni Bob B.A. Ph.D. Pulitzer Still in Trenton Trenton Forever 6.50

It was a dark and stormy night.

But then all nights in Trenton seem dark and stormy to someone who has gone through what I have.

Trenton misery
Who's Who in Trenton Robert Bob
Jim DeMarco wrote: >Thanks Marty. I'll pass this on to my team. > >We're using XQuery but we're not strongly tied to it. I had mentioned >XPath but I thought that was used to access one piece of data (or one >related set of nodes out of a structure). We need to return select >nodes based on criteria. Is this an accurate description of differences >betweent the two do you think? > > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Thursday, April 19, 2007 12:59 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] XQuery in VB 6 > >I have only used XQuery with SQL 2005 & VB.Net I have XPath examples in >VBA > >Are you using XQuery or XPath? > > XPath is imbedded in both XSLT and XQuery. In those languages it serves >the role of node-set identification (selection) > >XQuery example > >Dim sql_getbank As String = "SELECT >Demographics.query('data(//BankName)') " _ > > & "FROM Store WHERE CustomerID = @CustomerID" > > >XPath example > > Set oAdviserDetailsNode = oDOMDocument.documentElement > 'use appropriate XPath expression to select nodes > Set oNodeList = >oAdviserDetailsNode.selectNodes("//BusinessDetails/*") > >Have a look at >SQL Server 2005 XQuery and XML-DML - Part 2 By Alex Homer > >http://www.15seconds.com/issue/050811.htm > > >Jim DeMarco wrote: > > > >>X-posted AccessD, VB >> >>Hello All, >> >>I've been absent for a while but an issue has just come up that I hope >>someone can help with. >> >>Does anyone have any VB 6 code that uses XQuery to return a set of >>nodes? I find plenty of XQuery examples that show the query and the >>returned nodes but no VB 6 implementation. >> >>Any short code snip will do. >> >>TIA, >> >>Jim DeMarco >> >> >> >> >> -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Thu Apr 19 20:02:34 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 19 Apr 2007 18:02:34 -0700 Subject: [AccessD] XQuery in VB 6 In-Reply-To: <0B8880A20E2CF24280FA60901E108FB05AB399@TTNEXCHSVR.hshhp.com> References: <20070419144605.592A82B8B5C@smtp.nildram.co.uk> <1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com> <200704191517.l3JFHOx19027@smarthost.yourcomms.net> <0B8880A20E2CF24280FA60901E108FB05AB375@TTNEXCHSVR.hshhp.com> <46279FE9.6060806@shaw.ca> <0B8880A20E2CF24280FA60901E108FB05AB399@TTNEXCHSVR.hshhp.com> Message-ID: <4628112A.6080702@shaw.ca> Option Compare Database Option Explicit Dim mcolRate As Collection Sub testxml() Set mcolRate = New Collection 'find daily US dollar fixed rate vs Euro from Euro Central Bank ' via XPath GrabXMLFile ("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml") Debug.Print mcolRate("USD") MsgBox "US Euro Rate ECB " & mcolRate("USD") End Sub Public Function GrabXMLFile(ByRef AdviserXML As String) 'http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html 'Base currency is Euro so will have to do a conversion for USD 'Note the link for other pages with sources for XML etc. 'http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml 'On Error GoTo ErrorHandler 'needs reference set to XML 4.0 and maybe ADO 2.8 Dim oDOMDocument As MSXML2.DOMDocument40 Dim oNodeList As IXMLDOMNodeList Dim oAdviserDetailsNode As IXMLDOMNode Dim oLowestLevelNode As IXMLDOMElement Dim oNode As IXMLDOMNode Dim objXMLDOMNamedNodeMap As IXMLDOMNamedNodeMap Dim xPError As IXMLDOMParseError Dim Mydb As Database Dim myrs As ADODB.Recordset Dim sTempValue As String Set oDOMDocument = New MSXML2.DOMDocument40 oDOMDocument.async = False oDOMDocument.validateOnParse = True 'you may want to parse for errors oDOMDocument.resolveExternals = False oDOMDocument.preserveWhiteSpace = True 'use if xml disk file If Not oDOMDocument.Load(AdviserXML) Then MsgBox ("XML File error") Set xPError = oDOMDocument.parseError DOMParseError xPError End If Set oAdviserDetailsNode = oDOMDocument.documentElement Debug.Print oDOMDocument.xml 'use appropriate XPath expression to select nodes ' Set oNodeList = oAdviserDetailsNode.selectNodes("Envelope/Cube/Cube/@*") Set oNodeList = oAdviserDetailsNode.selectNodes("//@*") Debug.Print oNodeList.length For Each oNode In oNodeList ' Debug.Print "*" & oNode.Text; oNode.nodeName & "*" Select Case oNode.nodeName Case "currency" sTempValue = oNode.Text Case "rate" 'This path is used to store a variable on the collection On Error Resume Next mcolRate.Remove sTempValue mcolRate.Add oNode.Text, sTempValue Debug.Print sTempValue & " rate " & oNode.Text On Error GoTo ErrorHandler End Select Next Set oNodeList = Nothing Set oDOMDocument = Nothing Set oAdviserDetailsNode = Nothing Set objXMLDOMNamedNodeMap = Nothing Exit Function ErrorHandler: ' Call NewError.Raise(Err.Number, Err.Source, Err.Description) End Function Sub DOMParseError(xPE As IXMLDOMParseError) ' The document failed to load. Dim strErrText As String ' Obtain the ParseError object With xPE strErrText = "Your XML Document failed to load" & _ "due the following error." & vbCrLf & _ "Error #: " & .errorCode & ": " & xPE.reason & _ "Line #: " & .Line & vbCrLf & _ "Line Position: " & .linepos & vbCrLf & _ "Position In File: " & .filepos & vbCrLf & _ "Source Text: " & .srcText & vbCrLf & _ "Document URL: " & .url End With Debug.Print strErrText Dim s As String Dim r As String Dim i As Long s = "" For i = 1 To xPE.linepos - 1 s = s & " " Next r = "XML Error loading " & xPE.url & " * " & xPE.reason Debug.Print r 'show character postion of error; tired of counting chars in xml file If (xPE.Line > 0) Then r = "at line " & xPE.Line & ", character " & xPE.linepos & vbCrLf & _ xPE.srcText & vbCrLf & s & "^" End If Debug.Print r MsgBox strErrText, vbExclamation End Sub Jim DeMarco wrote: >Thanks Marty. I'll pass this on to my team. > >We're using XQuery but we're not strongly tied to it. I had mentioned >XPath but I thought that was used to access one piece of data (or one >related set of nodes out of a structure). We need to return select >nodes based on criteria. Is this an accurate description of differences >betweent the two do you think? > > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Thursday, April 19, 2007 12:59 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] XQuery in VB 6 > >I have only used XQuery with SQL 2005 & VB.Net I have XPath examples in >VBA > >Are you using XQuery or XPath? > > XPath is imbedded in both XSLT and XQuery. In those languages it serves >the role of node-set identification (selection) > >XQuery example > >Dim sql_getbank As String = "SELECT >Demographics.query('data(//BankName)') " _ > > & "FROM Store WHERE CustomerID = @CustomerID" > > >XPath example > > Set oAdviserDetailsNode = oDOMDocument.documentElement > 'use appropriate XPath expression to select nodes > Set oNodeList = >oAdviserDetailsNode.selectNodes("//BusinessDetails/*") > >Have a look at >SQL Server 2005 XQuery and XML-DML - Part 2 By Alex Homer > >http://www.15seconds.com/issue/050811.htm > > >Jim DeMarco wrote: > > > >>X-posted AccessD, VB >> >>Hello All, >> >>I've been absent for a while but an issue has just come up that I hope >>someone can help with. >> >>Does anyone have any VB 6 code that uses XQuery to return a set of >>nodes? I find plenty of XQuery examples that show the query and the >>returned nodes but no VB 6 implementation. >> >>Any short code snip will do. >> >>TIA, >> >>Jim DeMarco >> >> -- Marty Connelly Victoria, B.C. Canada From viner at EUnet.yu Fri Apr 20 01:42:21 2007 From: viner at EUnet.yu (Ervin Brindza) Date: Fri, 20 Apr 2007 08:42:21 +0200 Subject: [AccessD] XQuery in VB 6 References: <20070419144605.592A82B8B5C@smtp.nildram.co.uk><1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com><200704191517.l3JFHOx19027@smarthost.yourcomms.net><0B8880A20E2CF24280FA60901E108FB05AB375@TTNEXCHSVR.hshhp.com><46279FE9.6060806@shaw.ca><0B8880A20E2CF24280FA60901E108FB05AB399@TTNEXCHSVR.hshhp.com> <4628112A.6080702@shaw.ca> Message-ID: <017901c78317$1fa6f3b0$0100a8c0@RazvojErvin> Marty, when will be your MVP announcement? Regards, Ervin ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Friday, April 20, 2007 3:02 AM Subject: Re: [AccessD] XQuery in VB 6 > Option Compare Database > Option Explicit > > Dim mcolRate As Collection > Sub testxml() > Set mcolRate = New Collection > 'find daily US dollar fixed rate vs Euro from Euro Central Bank > ' via XPath > > GrabXMLFile ("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml") > > Debug.Print mcolRate("USD") > MsgBox "US Euro Rate ECB " & mcolRate("USD") > End Sub > Public Function GrabXMLFile(ByRef AdviserXML As String) > 'http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html > > 'Base currency is Euro so will have to do a conversion for USD > 'Note the link for other pages with sources for XML etc. > > 'http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml > 'On Error GoTo ErrorHandler > 'needs reference set to XML 4.0 and maybe ADO 2.8 > Dim oDOMDocument As MSXML2.DOMDocument40 > Dim oNodeList As IXMLDOMNodeList > Dim oAdviserDetailsNode As IXMLDOMNode > Dim oLowestLevelNode As IXMLDOMElement > Dim oNode As IXMLDOMNode > Dim objXMLDOMNamedNodeMap As IXMLDOMNamedNodeMap > Dim xPError As IXMLDOMParseError > Dim Mydb As Database > Dim myrs As ADODB.Recordset > Dim sTempValue As String > > Set oDOMDocument = New MSXML2.DOMDocument40 > > oDOMDocument.async = False > oDOMDocument.validateOnParse = True 'you may want to parse for errors > oDOMDocument.resolveExternals = False > oDOMDocument.preserveWhiteSpace = True > > 'use if xml disk file > If Not oDOMDocument.Load(AdviserXML) Then > MsgBox ("XML File error") > Set xPError = oDOMDocument.parseError > DOMParseError xPError > > End If > Set oAdviserDetailsNode = oDOMDocument.documentElement > Debug.Print oDOMDocument.xml > > 'use appropriate XPath expression to select nodes > > ' Set oNodeList = > oAdviserDetailsNode.selectNodes("Envelope/Cube/Cube/@*") > Set oNodeList = oAdviserDetailsNode.selectNodes("//@*") > > Debug.Print oNodeList.length > > For Each oNode In oNodeList > > ' Debug.Print "*" & oNode.Text; oNode.nodeName & "*" > > Select Case oNode.nodeName > Case "currency" > sTempValue = oNode.Text > > Case "rate" > 'This path is used to store a variable on the collection > On Error Resume Next > mcolRate.Remove sTempValue > mcolRate.Add oNode.Text, sTempValue > Debug.Print sTempValue & " rate " & oNode.Text > On Error GoTo ErrorHandler > > End Select > > Next > Set oNodeList = Nothing > Set oDOMDocument = Nothing > Set oAdviserDetailsNode = Nothing > Set objXMLDOMNamedNodeMap = Nothing > Exit Function > > ErrorHandler: > > ' Call NewError.Raise(Err.Number, Err.Source, Err.Description) > > End Function > Sub DOMParseError(xPE As IXMLDOMParseError) > > ' The document failed to load. > Dim strErrText As String > ' Obtain the ParseError object > With xPE > strErrText = "Your XML Document failed to load" & _ > "due the following error." & vbCrLf & _ > "Error #: " & .errorCode & ": " & xPE.reason & _ > "Line #: " & .Line & vbCrLf & _ > "Line Position: " & .linepos & vbCrLf & _ > "Position In File: " & .filepos & vbCrLf & _ > "Source Text: " & .srcText & vbCrLf & _ > "Document URL: " & .url > End With > Debug.Print strErrText > > Dim s As String > Dim r As String > Dim i As Long > > s = "" > For i = 1 To xPE.linepos - 1 > s = s & " " > Next > r = "XML Error loading " & xPE.url & " * " & xPE.reason > Debug.Print r > 'show character postion of error; tired of counting chars in xml file > If (xPE.Line > 0) Then > r = "at line " & xPE.Line & ", character " & xPE.linepos & vbCrLf & _ > xPE.srcText & vbCrLf & s & "^" > End If > Debug.Print r > MsgBox strErrText, vbExclamation > End Sub > > > Jim DeMarco wrote: > >>Thanks Marty. I'll pass this on to my team. >> >>We're using XQuery but we're not strongly tied to it. I had mentioned >>XPath but I thought that was used to access one piece of data (or one >>related set of nodes out of a structure). We need to return select >>nodes based on criteria. Is this an accurate description of differences >>betweent the two do you think? >> >> >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >>Sent: Thursday, April 19, 2007 12:59 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] XQuery in VB 6 >> >>I have only used XQuery with SQL 2005 & VB.Net I have XPath examples in >>VBA >> >>Are you using XQuery or XPath? >> >> XPath is imbedded in both XSLT and XQuery. In those languages it serves >>the role of node-set identification (selection) >> >>XQuery example >> >>Dim sql_getbank As String = "SELECT >>Demographics.query('data(//BankName)') " _ >> >> & "FROM Store WHERE CustomerID = @CustomerID" >> >> >>XPath example >> >> Set oAdviserDetailsNode = oDOMDocument.documentElement >> 'use appropriate XPath expression to select nodes >> Set oNodeList = >>oAdviserDetailsNode.selectNodes("//BusinessDetails/*") >> >>Have a look at >>SQL Server 2005 XQuery and XML-DML - Part 2 By Alex Homer >> >>http://www.15seconds.com/issue/050811.htm >> >> >>Jim DeMarco wrote: >> >> >> >>>X-posted AccessD, VB >>> >>>Hello All, >>> >>>I've been absent for a while but an issue has just come up that I hope >>>someone can help with. >>> >>>Does anyone have any VB 6 code that uses XQuery to return a set of >>>nodes? I find plenty of XQuery examples that show the query and the >>>returned nodes but no VB 6 implementation. >>> >>>Any short code snip will do. >>> >>>TIA, >>> >>>Jim DeMarco >>> >>> > -- > Marty Connelly > Victoria, B.C. > Canada > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > Internal Virus Database is out-of-date. > Checked by AVG Free Edition. > Version: 7.5.446 / Virus Database: 268.18.24/742 - Release Date: 4/1/2007 > 8:49 PM > > From paul.hartland at fsmail.net Fri Apr 20 05:14:30 2007 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 20 Apr 2007 12:14:30 +0200 (CEST) Subject: [AccessD] Getting Top Records From A Query Message-ID: <18541384.2128831177064070874.JavaMail.www@wwinf3102> To all, Not quite sure how to put this but I have the following example result set from a query: LaptopNamesOwnerUserNameMaxOfLastUsed ADDERRAYATKINSONJOHNCLEGG15/02/2007 10:30:14 ADDERRAYATKINSONANDREWNORRIDGE02/02/2007 12:01:29 ADDERRAYATKINSONIANNEWCOMBE05/12/2006 12:50:01 ADDERRAYATKINSONJIMMYWILSON30/09/2006 12:01:47 ADDERRAYATKINSONRICHARDMASKERY30/08/2006 12:53:11 ADDERRAYATKINSONBRIANTHOMAS23/07/2006 14:33:47 ADDERRAYATKINSONBRIANTHOMAS.12/05/2006 12:57:59 ALBANIATERRYJONESJOHNCLEGG20/09/2006 12:41:40 ALBANIATERRYJONESLYLEBARRAS20/09/2006 10:43:37 ALBANIATERRYJONESKAITSANG21/08/2006 11:33:10 What I need to end up with is this: Query1LaptopNamesOwnerUserNameMaxOfLastUsed ADDERRAYATKINSONJOHNCLEGG15/02/2007 10:30:14 ALBANIATERRYJONESJOHNCLEGG20/09/2006 12:41:40 i.e the maximum date....I am sure there has been a solution to this on here before, but I can seem to find it.. Thanks in advance for any help on this.. Paul Hartland Paul Hartland paul.hartland at fsmail.net 07730 523179 From paul.hartland at fsmail.net Fri Apr 20 05:25:36 2007 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 20 Apr 2007 12:25:36 +0200 (CEST) Subject: [AccessD] Getting Top Values Again - Sorry about last email Message-ID: <14636301.8571177064736316.JavaMail.www@wwinf3002> To all, Not quite sure how to put this but I have the following example result set from a query: LaptopNamesOwnerUserNameMaxOfLastUsed ADDER RAYATKINSON JOHNCLEGG 15/02/2007 10:30:14 ADDER RAYATKINSON ANDREWNORRIDGE 02/02/2007 12:01:29 ADDER RAYATKINSON IANNEWCOMBE 05/12/2006 12:50:01 ADDER RAYATKINSON JIMMYWILSON 30/09/2006 12:01:47 ADDER RAYATKINSON RICHARDMASKERY 30/08/2006 12:53:11 ADDER RAYATKINSON BRIANTHOMAS 23/07/2006 14:33:47 ADDER RAYATKINSON BRIANTHOMAS 12/05/2006 12:57:59 ALBANIA TERRYJONES JOHNCLEGG 20/09/2006 12:41:40 ALBANIA TERRYJONES LYLEBARRAS 20/09/2006 10:43:37 ALBANIATERRYJONESKAITSANG21/08/2006 11:33:10 What I need to end up with is this: ADDER RAYATKINSON JOHNCLEGG 15/02/2007 10:30:14 ALBANIA TERRYJONES JOHNCLEGG 20/09/2006 12:41:40 i.e the maximum date....I am sure there has been a solution to this on here before, but I can seem to find it.. Thanks in advance for any help on this.. Paul Hartland paul.hartland at fsmail.net 07730 523179 From mwp.reid at qub.ac.uk Fri Apr 20 05:22:32 2007 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 20 Apr 2007 11:22:32 +0100 Subject: [AccessD] OT InfoPath References: <18541384.2128831177064070874.JavaMail.www@wwinf3102> Message-ID: Anyone any experience with Infopath. I have an InfoPath form connecting to SQL Server 2005. I have the form working as I want it in that it does the insert to the back end. I want to add a new section to the form that dosnt get inserted but does return data in response to a parameter entered into a text box on the form. I do however want one text box value from this group to be inserted with the rest of the form. The idea is that a member of staff will enter a student number into the text box and this will populate the section with the personal details on the student. I want to add the student number inot the Insert. The second part of the form is a call logger. That bit is done. I am not (for those with experience) using a web service for this. I do intend to move the conenction to an EndPoint SQL Server 2005 web service once i understand how they work properly. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From Gustav at cactus.dk Fri Apr 20 05:44:26 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 20 Apr 2007 12:44:26 +0200 Subject: [AccessD] Getting the Top 3 Records of every n Message-ID: Hi Francisco Did you ever get a solution to this? If not, look the archive: http://databaseadvisors.com/mailman/htdig/accessd/2003-May/006636.html /gustav >>> fhtapia at gmail.com 17-04-2007 21:18 >>> I know how to do this in Sql Server, but have been thinking it over on how to do this via the QBE grid in Access... The situation is there is a list like so Bob 100 Bob 090 Bob 050 Bob 010 Bill 250 Bill 100 Bill 070 Bill 050 Jim etc... What is required, is that they want to be able to obtain the top 3 records for each customer ie, Top 3 records sorted in descending order by the qty. Thanks guys -- -Francisco http://sqlthis.blogspot.com | Tsql and More... From Gustav at cactus.dk Fri Apr 20 05:49:27 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 20 Apr 2007 12:49:27 +0200 Subject: [AccessD] Getting Top Values Again - Sorry about last email Message-ID: Hi Paul Look here for a method that you should be able to tweak: http://databaseadvisors.com/mailman/htdig/accessd/2006-May/043938.html /gustav >>> paul.hartland at fsmail.net 20-04-2007 12:25 >>> To all, Not quite sure how to put this but I have the following example result set from a query: LaptopNamesOwnerUserNameMaxOfLastUsed ADDER RAYATKINSON JOHNCLEGG 15/02/2007 10:30:14 ADDER RAYATKINSON ANDREWNORRIDGE 02/02/2007 12:01:29 ADDER RAYATKINSON IANNEWCOMBE 05/12/2006 12:50:01 ADDER RAYATKINSON JIMMYWILSON 30/09/2006 12:01:47 ADDER RAYATKINSON RICHARDMASKERY 30/08/2006 12:53:11 ADDER RAYATKINSON BRIANTHOMAS 23/07/2006 14:33:47 ADDER RAYATKINSON BRIANTHOMAS 12/05/2006 12:57:59 ALBANIA TERRYJONES JOHNCLEGG 20/09/2006 12:41:40 ALBANIA TERRYJONES LYLEBARRAS 20/09/2006 10:43:37 ALBANIATERRYJONESKAITSANG21/08/2006 11:33:10 What I need to end up with is this: ADDER RAYATKINSON JOHNCLEGG 15/02/2007 10:30:14 ALBANIA TERRYJONES JOHNCLEGG 20/09/2006 12:41:40 i.e the maximum date....I am sure there has been a solution to this on here before, but I can seem to find it.. Thanks in advance for any help on this.. Paul Hartland paul.hartland at fsmail.net 07730 523179 From Gustav at cactus.dk Fri Apr 20 07:05:35 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 20 Apr 2007 14:05:35 +0200 Subject: [AccessD] XQuery in VB 6 Message-ID: Hi Marty Thanks! Great example. Seems to work fine even with XML 3.0. /gustav >>> martyconnelly at shaw.ca 20-04-2007 03:02 >>> Option Compare Database Option Explicit Dim mcolRate As Collection Sub testxml() Set mcolRate = New Collection 'find daily US dollar fixed rate vs Euro from Euro Central Bank ' via XPath GrabXMLFile ("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml") Debug.Print mcolRate("USD") MsgBox "US Euro Rate ECB " & mcolRate("USD") End Sub Public Function GrabXMLFile(ByRef AdviserXML As String) 'http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html 'Base currency is Euro so will have to do a conversion for USD 'Note the link for other pages with sources for XML etc. 'http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml 'On Error GoTo ErrorHandler 'needs reference set to XML 4.0 and maybe ADO 2.8 Dim oDOMDocument As MSXML2.DOMDocument40 Dim oNodeList As IXMLDOMNodeList Dim oAdviserDetailsNode As IXMLDOMNode Dim oLowestLevelNode As IXMLDOMElement Dim oNode As IXMLDOMNode Dim objXMLDOMNamedNodeMap As IXMLDOMNamedNodeMap Dim xPError As IXMLDOMParseError Dim Mydb As Database Dim myrs As ADODB.Recordset Dim sTempValue As String Set oDOMDocument = New MSXML2.DOMDocument40 oDOMDocument.async = False oDOMDocument.validateOnParse = True 'you may want to parse for errors oDOMDocument.resolveExternals = False oDOMDocument.preserveWhiteSpace = True 'use if xml disk file If Not oDOMDocument.Load(AdviserXML) Then MsgBox ("XML File error") Set xPError = oDOMDocument.parseError DOMParseError xPError End If Set oAdviserDetailsNode = oDOMDocument.documentElement Debug.Print oDOMDocument.xml 'use appropriate XPath expression to select nodes ' Set oNodeList = oAdviserDetailsNode.selectNodes("Envelope/Cube/Cube/@*") Set oNodeList = oAdviserDetailsNode.selectNodes("//@*") Debug.Print oNodeList.length For Each oNode In oNodeList ' Debug.Print "*" & oNode.Text; oNode.nodeName & "*" Select Case oNode.nodeName Case "currency" sTempValue = oNode.Text Case "rate" 'This path is used to store a variable on the collection On Error Resume Next mcolRate.Remove sTempValue mcolRate.Add oNode.Text, sTempValue Debug.Print sTempValue & " rate " & oNode.Text On Error GoTo ErrorHandler End Select Next Set oNodeList = Nothing Set oDOMDocument = Nothing Set oAdviserDetailsNode = Nothing Set objXMLDOMNamedNodeMap = Nothing Exit Function ErrorHandler: ' Call NewError.Raise(Err.Number, Err.Source, Err.Description) End Function Sub DOMParseError(xPE As IXMLDOMParseError) ' The document failed to load. Dim strErrText As String ' Obtain the ParseError object With xPE strErrText = "Your XML Document failed to load" & _ "due the following error." & vbCrLf & _ "Error #: " & .errorCode & ": " & xPE.reason & _ "Line #: " & .Line & vbCrLf & _ "Line Position: " & .linepos & vbCrLf & _ "Position In File: " & .filepos & vbCrLf & _ "Source Text: " & .srcText & vbCrLf & _ "Document URL: " & .url End With Debug.Print strErrText Dim s As String Dim r As String Dim i As Long s = "" For i = 1 To xPE.linepos - 1 s = s & " " Next r = "XML Error loading " & xPE.url & " * " & xPE.reason Debug.Print r 'show character postion of error; tired of counting chars in xml file If (xPE.Line > 0) Then r = "at line " & xPE.Line & ", character " & xPE.linepos & vbCrLf & _ xPE.srcText & vbCrLf & s & "^" End If Debug.Print r MsgBox strErrText, vbExclamation End Sub From Gustav at cactus.dk Fri Apr 20 07:16:12 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 20 Apr 2007 14:16:12 +0200 Subject: [AccessD] OLE DB provider, AddNew doesn't add record to MySQL table Message-ID: Hi Charlotte No, but if I do so, error 80040e23 is raised ... about a row that is deleted or is waiting to be deleted. /gustav >>> cfoust at infostatsystems.com 19-04-2007 19:29 >>> Are you sure it shouldn't be adUseServer? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, April 19, 2007 10:11 AM To: accessd at databaseadvisors.com Subject: [AccessD] OLE DB provider, AddNew doesn't add record to MySQL table Hi all In A2003, if I try to add a record to a MySQL table via the OLE DB provider, nothing happens. No errors, it runs fine, but no record added. Any ideas why? Dim cnn As ADODB.Connection Dim rst As ADODB.Recordset Dim lngRow As Long Set cnn = New ADODB.Connection Set rst = New ADODB.Recordset cnn.ConnectionString = "Provider=MySQL Provider;Data Source=10.20.30.40;User ID=root;Password=password;Initial Catalog=TestDb;Mode=Read|Write" cnn.Open cnn.CursorLocation = adUseClient With rst .Open "Select * From tblSample", cnn, adOpenKeyset, adLockOptimistic For lngRow = 1 To lngRows .AddNew .Fields(1).Value = "Some text" .Update Next .Close End With Set rst = Nothing Set cnn = Nothing End Function If I link the table (via ODBC) and run an append query, records are appended as expected. /gustav From rockysmolin at bchacc.com Fri Apr 20 08:14:18 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 20 Apr 2007 06:14:18 -0700 Subject: [AccessD] System Won't Recognize .exe Message-ID: <003301c7834d$cde55df0$0501a8c0@HAL9005> Dear List(s): I sent a setup.exe file created by Wise to my distributor in Taiwan. On her system it does no seem to want to execute the file but gives her the dialog box asking for the program to open this type of file. It is treating the exe file like a file without an association. Has anyone ever seen this and know what to do about it? MTIA Rocky From Gustav at cactus.dk Fri Apr 20 08:22:47 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 20 Apr 2007 15:22:47 +0200 Subject: [AccessD] OLE DB provider, AddNew doesn't add record to MySQL table Message-ID: Hi Marty Tried that, but no trace at all. The OLE DB provider seems to bypass the ODBC driver. /gustav >>> martyconnelly at shaw.ca 19-04-2007 19:47 >>> Could be cursor type or location. Try running an ODBC trace log works for other DB's too. http://dev.mysql.com/doc/refman/5.0/en/myodbc-configuration-trace.html or look through here http://dev.mysql.com/doc/refman/5.0/en/myodbc-connector.html Gustav Brock wrote: >Hi all > >In A2003, if I try to add a record to a MySQL table via the OLE DB provider, nothing happens. No errors, it runs fine, but no record added. >Any ideas why? > > Dim cnn As ADODB.Connection > Dim rst As ADODB.Recordset > > Dim lngRow As Long > > Set cnn = New ADODB.Connection > Set rst = New ADODB.Recordset > > cnn.ConnectionString = "Provider=MySQL Provider;Data Source=10.20.30.40;User ID=root;Password=password;Initial Catalog=TestDb;Mode=Read|Write" > cnn.Open > cnn.CursorLocation = adUseClient > > With rst > .Open "Select * From tblSample", cnn, adOpenKeyset, adLockOptimistic > For lngRow = 1 To lngRows > .AddNew > .Fields(1).Value = "Some text" > .Update > Next > .Close > End With > > Set rst = Nothing > Set cnn = Nothing > >End Function > >If I link the table (via ODBC) and run an append query, records are appended as expected. > >/gustav > > > > -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Fri Apr 20 09:02:57 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 20 Apr 2007 16:02:57 +0200 Subject: [AccessD] OLE DB provider, AddNew doesn't add record to MySQL table Message-ID: Hi Jim Sorry, I forgot to mention that this provider is non-MySQL stuff. It is for download here: http://luggle.com/~sean I better address my question to the author ... /gustav >>> accessd at shaw.ca 19-04-2007 21:35 >>> Hi Gustav: I did not know there were OLE DB drivers for MySQL that would run through Access... only ODBC drivers. There are a number of .Net examples but I do not believe they are cross-compatible. This may not be the case as I was working with such a configuration but it was about 4 or 5 years ago and things should have progressed since then. I have seen a configuration example... not tried. It shows "Provider=MySQL Provider" code looking like "Provider=MySQLProv". Below is a list of links to the latest software pieces: 1. MySQL - latest version from http://www.mysql.com/downloads 2. MySQLODBC (reqd for Access to MySQL) - http://www.mysql.com/downloads 3. MyOLEDB - http://www.mysql.com/downloads (should be MySQLProv.2.5) 4. WinMySQLAdmin - http://www.mysql.com/downloads 5. Access To MySQL - http://www.mysql.com/downloads/win32/myaccess2000_1_4.zip HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, April 19, 2007 10:11 AM To: accessd at databaseadvisors.com Subject: [AccessD] OLE DB provider, AddNew doesn't add record to MySQL table Hi all In A2003, if I try to add a record to a MySQL table via the OLE DB provider, nothing happens. No errors, it runs fine, but no record added. Any ideas why? Dim cnn As ADODB.Connection Dim rst As ADODB.Recordset Dim lngRow As Long Set cnn = New ADODB.Connection Set rst = New ADODB.Recordset cnn.ConnectionString = "Provider=MySQL Provider;Data Source=10.20.30.40;User ID=root;Password=password;Initial Catalog=TestDb;Mode=Read|Write" cnn.Open cnn.CursorLocation = adUseClient With rst .Open "Select * From tblSample", cnn, adOpenKeyset, adLockOptimistic For lngRow = 1 To lngRows .AddNew .Fields(1).Value = "Some text" .Update Next .Close End With Set rst = Nothing Set cnn = Nothing End Function If I link the table (via ODBC) and run an append query, records are appended as expected. /gustav From jwcolby at colbyconsulting.com Fri Apr 20 09:48:44 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 20 Apr 2007 10:48:44 -0400 Subject: [AccessD] getting data out of an internet page Message-ID: <000b01c7835a$ff6bd220$657aa8c0@m6805> My internet phone bill comes with a neatly laid out list of phone calls. AFAICT it is not a table however. I am wondering if there is a way to "extract" that data into a spreadsheet or table (other than building a programmed parser). John W. Colby Colby Consulting www.ColbyConsulting.com From dwaters at usinternet.com Fri Apr 20 10:05:49 2007 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 20 Apr 2007 10:05:49 -0500 Subject: [AccessD] getting data out of an internet page In-Reply-To: <000b01c7835a$ff6bd220$657aa8c0@m6805> References: <000b01c7835a$ff6bd220$657aa8c0@m6805> Message-ID: <001801c7835d$622fb780$0200a8c0@danwaters> Hi John, To do this manually, you can right-click on the data area, then select 'Export to Excel' in the menu list. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, April 20, 2007 9:49 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] getting data out of an internet page My internet phone bill comes with a neatly laid out list of phone calls. AFAICT it is not a table however. I am wondering if there is a way to "extract" that data into a spreadsheet or table (other than building a programmed parser). John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rlavsa at tigg.com Fri Apr 20 10:10:06 2007 From: rlavsa at tigg.com (Richard Lavsa) Date: Fri, 20 Apr 2007 11:10:06 -0400 Subject: [AccessD] getting data out of an internet page In-Reply-To: <000b01c7835a$ff6bd220$657aa8c0@m6805> References: <000b01c7835a$ff6bd220$657aa8c0@m6805> Message-ID: Just to do it quick and dirty I've done the following.. I've had some luck doing this via the simple highlight what you want to copy, then Copy and then Paste directly into Excel. I've also had to depending on how it was formatted highlight, then copy and past into Word then convert the text into a table... Like I said.. Quick and dirty.. But it works most of the time.. Rich -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, April 20, 2007 10:49 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] getting data out of an internet page My internet phone bill comes with a neatly laid out list of phone calls. AFAICT it is not a table however. I am wondering if there is a way to "extract" that data into a spreadsheet or table (other than building a programmed parser). John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com CONFIDENTIALITY NOTICE: The information contained in this transmission may be confidential or privileged, and is intended solely for the entity or individual to whom it is addressed. If you are not the intended recipient, please be advised that any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you received this transmission in error, please contact the sender at TIGG Corporation immediately by replying to this email and deleting it from your computer. From ebarro at verizon.net Fri Apr 20 10:18:53 2007 From: ebarro at verizon.net (Eric Barro) Date: Fri, 20 Apr 2007 08:18:53 -0700 Subject: [AccessD] getting data out of an internet page In-Reply-To: Message-ID: <0JGS00537YJMR3A7@vms040.mailsrvcs.net> And if you do it this way you need to do a Paste Special and then specify Text. Otherwise the data is all in one cell... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Richard Lavsa Sent: Friday, April 20, 2007 8:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] getting data out of an internet page Just to do it quick and dirty I've done the following.. I've had some luck doing this via the simple highlight what you want to copy, then Copy and then Paste directly into Excel. I've also had to depending on how it was formatted highlight, then copy and past into Word then convert the text into a table... Like I said.. Quick and dirty.. But it works most of the time.. Rich -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, April 20, 2007 10:49 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] getting data out of an internet page My internet phone bill comes with a neatly laid out list of phone calls. AFAICT it is not a table however. I am wondering if there is a way to "extract" that data into a spreadsheet or table (other than building a programmed parser). John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com CONFIDENTIALITY NOTICE: The information contained in this transmission may be confidential or privileged, and is intended solely for the entity or individual to whom it is addressed. If you are not the intended recipient, please be advised that any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you received this transmission in error, please contact the sender at TIGG Corporation immediately by replying to this email and deleting it from your computer. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.5/769 - Release Date: 4/19/2007 5:56 PM From fhtapia at gmail.com Fri Apr 20 10:36:18 2007 From: fhtapia at gmail.com (Francisco Tapia) Date: Fri, 20 Apr 2007 08:36:18 -0700 Subject: [AccessD] Getting the Top 3 Records of every n In-Reply-To: References: Message-ID: Gustav, It was actually pretty simple, I received this from another colleague SELECT CustomerID, OrderDate FROM Orders WHERE OrderID In (SELECT TOP 3 OrderID FROM Orders O WHERE O.CustomerID = Orders.CustomerID ORDER BY OrderDate Desc) ORDER BY CustomerID, OrderDate DESC; which actually does what I needed. -- Francisco On 4/20/07, Gustav Brock wrote: > > Hi Francisco > > Did you ever get a solution to this? > If not, look the archive: > > http://databaseadvisors.com/mailman/htdig/accessd/2003-May/006636.html > > /gustav > > >>> fhtapia at gmail.com 17-04-2007 21:18 >>> > I know how to do this in Sql Server, but have been thinking it over on how > to do this via the QBE grid in Access... > > > The situation is there is a list like so > > Bob 100 > Bob 090 > Bob 050 > Bob 010 > Bill 250 > Bill 100 > Bill 070 > Bill 050 > Jim etc... > > > What is required, is that they want to be able to obtain the top 3 records > for each customer ie, Top 3 records sorted in descending order by the qty. > > Thanks guys > > -- > -Francisco > http://sqlthis.blogspot.com | Tsql and More... > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://sqlthis.blogspot.com | Tsql and More... From jwcolby at colbyconsulting.com Fri Apr 20 10:47:23 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 20 Apr 2007 11:47:23 -0400 Subject: [AccessD] Getting the Top 3 Records of every n In-Reply-To: References: Message-ID: <002a01c78363$30ed5690$657aa8c0@m6805> Yes, I ran into this as well and it is the select query in the IN() clause that is the key. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Friday, April 20, 2007 11:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting the Top 3 Records of every n Gustav, It was actually pretty simple, I received this from another colleague SELECT CustomerID, OrderDate FROM Orders WHERE OrderID In (SELECT TOP 3 OrderID FROM Orders O WHERE O.CustomerID = Orders.CustomerID ORDER BY OrderDate Desc) ORDER BY CustomerID, OrderDate DESC; which actually does what I needed. -- Francisco On 4/20/07, Gustav Brock wrote: > > Hi Francisco > > Did you ever get a solution to this? > If not, look the archive: > > http://databaseadvisors.com/mailman/htdig/accessd/2003-May/006636.html > > /gustav > > >>> fhtapia at gmail.com 17-04-2007 21:18 >>> > I know how to do this in Sql Server, but have been thinking it over on > how to do this via the QBE grid in Access... > > > The situation is there is a list like so > > Bob 100 > Bob 090 > Bob 050 > Bob 010 > Bill 250 > Bill 100 > Bill 070 > Bill 050 > Jim etc... > > > What is required, is that they want to be able to obtain the top 3 > records for each customer ie, Top 3 records sorted in descending order by the qty. > > Thanks guys > > -- > -Francisco > http://sqlthis.blogspot.com | Tsql and More... > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://sqlthis.blogspot.com | Tsql and More... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Apr 20 11:17:37 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 20 Apr 2007 18:17:37 +0200 Subject: [AccessD] Currency statistics (was: XQuery in VB 6) Message-ID: Hi Marty et al Oh my, did that URL to the site of the European Cental Bank point to a wealth of statistics from the "Statistical Data Warehouse": http://sdw.ecb.int/browse.do?currentNodeId=2018779 Note that everything can be exported to XML so also if you need some real sample data, this is an excellent source. Also, the speed of that site is amazing. /gustav >>> martyconnelly at shaw.ca 20-04-2007 03:02 >>> http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html From CFraase at officeimagesinc.com Fri Apr 20 11:40:24 2007 From: CFraase at officeimagesinc.com (Cindy Fraase) Date: Fri, 20 Apr 2007 12:40:24 -0400 Subject: [AccessD] Excel Automation problem In-Reply-To: <200702042226.l14MQdO04505@databaseadvisors.com> References: <200702042226.l14MQdO04505@databaseadvisors.com> Message-ID: Hi all, I'm really mystified as to what is happening. The following line of code works fine on my machine, but fails with this error on another. Both machines are running Access 2003 and all of the references match. The database is in Access 2002-3 format. It's located on the server, so I'm running exactly the same database as he is. I've created an Excel sheet via automation and am filling it with data here. The line is: objSheet2.Range("A2").CopyFromRecordset rsSalary The error message I get is: 430 Class does not support Automation or does not support expected interface. Any insights would be greatly appreciated! Thanks, Cindy Cynthia Fraase Asst. Controller Direct: 678-325-3251 Cell: 770-318-0628 Fax: 770-641-2656 www.officeimagesinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Sunday, February 04, 2007 5:27 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2003:Determining Background colour of the desktop Stuart Work of genius - well done and thanks Darren ------------------ -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Friday, 2 February 2007 9:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003:Determining Background colour of the desktop On 2 Feb 2007 at 8:47, Darren DICK wrote: > Does anyone know how to determine the background colour of the desktop? > > I have a form I want to set its background colour to match Look up "System Color Constants" in VBA Help (remember to omit the "u" ) Specifically "vbDesktop 0x80000001 Desktop color " So set the Detail Backcolor property to &H80000001 or to -2147483647 -- Stuart -- 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 mmattys at rochester.rr.com Fri Apr 20 11:47:34 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 20 Apr 2007 12:47:34 -0400 Subject: [AccessD] Excel Automation problem References: <200702042226.l14MQdO04505@databaseadvisors.com> Message-ID: <00e201c7836b$998ef250$0302a8c0@Laptop> The problem may be that Access keeps putting your references out of order. You'd need to make sure that DAO36 is ahead of ADO## Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Cindy Fraase" To: "Access Developers discussion and problem solving" Sent: Friday, April 20, 2007 12:40 PM Subject: [AccessD] Excel Automation problem > Hi all, > I'm really mystified as to what is happening. The following line of code > works fine on my machine, but fails with this error on another. Both > machines are running Access 2003 and all of the references match. The > database is in Access 2002-3 format. It's located on the server, so I'm > running exactly the same database as he is. > > I've created an Excel sheet via automation and am filling it with data > here. > > The line is: > > objSheet2.Range("A2").CopyFromRecordset rsSalary > > The error message I get is: > 430 Class does not support Automation or does not support expected > interface. > > Any insights would be greatly appreciated! > > Thanks, > Cindy > > > > Cynthia Fraase > Asst. Controller > Direct: 678-325-3251 > Cell: 770-318-0628 > Fax: 770-641-2656 > > www.officeimagesinc.com From Gustav at cactus.dk Fri Apr 20 11:54:55 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 20 Apr 2007 18:54:55 +0200 Subject: [AccessD] Excel Automation problem Message-ID: Hi Cindy It could be an MDAC versions mis-match: http://search.msdn.microsoft.com/search/Default.aspx?brand=msdn&locale=en-us&query=430+Class+does+not+support+Automation+or+does+not+support+expected /gustav >>> CFraase at officeimagesinc.com 20-04-2007 18:40 >>> Hi all, I'm really mystified as to what is happening. The following line of code works fine on my machine, but fails with this error on another. Both machines are running Access 2003 and all of the references match. The database is in Access 2002-3 format. It's located on the server, so I'm running exactly the same database as he is. I've created an Excel sheet via automation and am filling it with data here. The line is: objSheet2.Range("A2").CopyFromRecordset rsSalary The error message I get is: 430 Class does not support Automation or does not support expected interface. Any insights would be greatly appreciated! Thanks, Cindy From lmrazek at lcm-res.com Fri Apr 20 12:06:56 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Fri, 20 Apr 2007 12:06:56 -0500 Subject: [AccessD] Joining tables from two different dbs In-Reply-To: <00e201c7836b$998ef250$0302a8c0@Laptop> References: <200702042226.l14MQdO04505@databaseadvisors.com> <00e201c7836b$998ef250$0302a8c0@Laptop> Message-ID: <009601c7836e$4e170080$046fa8c0@lcmdv8000> Hi: I have the following code to create a recordset from a dbase file: Dim cn As ADODB.Connection Dim rs As ADODB.Recordset Set cn = New ADODB.Connection Set rs = New ADODB.Recordset cn.Provider = "Microsoft.Jet.OLEDB.4.0" cn.ConnectionString = "Data Source=C:\DBASE Path;Extended Properties=dBASE IV;" cn.Open Set rs = cn.Execute("SELECT Production FROM dbaseTABLE where Production=133745 group by Production", , adLockReadOnly) cn.Close Set rs = Nothing Set cn = Nothing This works fine, connects to and reads the dBase table fine. However, I'd like to do a join to detect unmatched records in the dBase table. In this case, I'd be joining a local Access table to the dBase table ... Is this possible to do? Thanks in advance. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 From markamatte at hotmail.com Fri Apr 20 12:22:53 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 20 Apr 2007 17:22:53 +0000 Subject: [AccessD] Excel Automation problem In-Reply-To: <00e201c7836b$998ef250$0302a8c0@Laptop> Message-ID: This is the error very similar to when you have DAO36 selected but DAO3.51 is not on the machine at all. I have found that downloading DAO350.dll...registering it...and everything is fixed. Learned this after chasing down the error on 1 of 2 identical(so I thought) machines. The offending machine did not have 3.51 on it...I didn't have it checked in references...so I never looked to see if it was there. After putting it on the machine/registering...the error went away. There is a reference to it on MS site...but no explanation as to why it causes these errors, sometimes. Good Luck, Mark A. Matte >From: "Michael R Mattys" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Excel Automation problem >Date: Fri, 20 Apr 2007 12:47:34 -0400 > >The problem may be that Access keeps putting your >references out of order. You'd need to make sure that >DAO36 is ahead of ADO## > >Michael R. Mattys >MapPoint & Access Dev >www.mattysconsulting.com > >----- Original Message ----- >From: "Cindy Fraase" >To: "Access Developers discussion and problem solving" > >Sent: Friday, April 20, 2007 12:40 PM >Subject: [AccessD] Excel Automation problem > > > > Hi all, > > I'm really mystified as to what is happening. The following line of code > > works fine on my machine, but fails with this error on another. Both > > machines are running Access 2003 and all of the references match. The > > database is in Access 2002-3 format. It's located on the server, so I'm > > running exactly the same database as he is. > > > > I've created an Excel sheet via automation and am filling it with data > > here. > > > > The line is: > > > > objSheet2.Range("A2").CopyFromRecordset rsSalary > > > > The error message I get is: > > 430 Class does not support Automation or does not support expected > > interface. > > > > Any insights would be greatly appreciated! > > > > Thanks, > > Cindy > > > > > > > > Cynthia Fraase > > Asst. Controller > > Direct: 678-325-3251 > > Cell: 770-318-0628 > > Fax: 770-641-2656 > > > > www.officeimagesinc.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Don?t quit your job ? Take Classes Online and Earn your Degree in 1 year. Start Today! http://www.classesusa.com/clickcount.cfm?id=866146&goto=http%3A%2F%2Fwww.classesusa.com%2Ffeaturedschools%2Fonlinedegreesmp%2Fform-dyn1.html%3Fsplovr%3D866144 From markamatte at hotmail.com Fri Apr 20 12:30:34 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 20 Apr 2007 17:30:34 +0000 Subject: [AccessD] Getting Top Values Again - Sorry about last email In-Reply-To: <14636301.8571177064736316.JavaMail.www@wwinf3002> Message-ID: In looking at the set of data...all of the records seem to be in the same format except the last: ">ALBANIATERRYJONESKAITSANG21/08/2006 11:33:10" There are no spaces like the other records. If all of the records were in the same format...and it was impossible for the same machine to have the exact 2 date/times the same...you could strip out the machine name and the date...get max of date...and join back to the table to get the full name. Good Luck, Mark A. MAtte >From: paul.hartland at fsmail.net >Reply-To: Access Developers discussion and problem >solving >To: accessd >Subject: [AccessD] Getting Top Values Again - Sorry about last email >Date: Fri, 20 Apr 2007 12:25:36 +0200 (CEST) > >To all, > >Not quite sure how to put this but I have the following example result set >from a query: >LaptopNamesOwnerUserNameMaxOfLastUsed >ADDER RAYATKINSON JOHNCLEGG 15/02/2007 10:30:14 >ADDER RAYATKINSON ANDREWNORRIDGE 02/02/2007 12:01:29 >ADDER RAYATKINSON IANNEWCOMBE 05/12/2006 12:50:01 >ADDER RAYATKINSON JIMMYWILSON 30/09/2006 12:01:47 >ADDER RAYATKINSON RICHARDMASKERY 30/08/2006 12:53:11 >ADDER RAYATKINSON BRIANTHOMAS 23/07/2006 14:33:47 >ADDER RAYATKINSON BRIANTHOMAS 12/05/2006 12:57:59 >ALBANIA TERRYJONES JOHNCLEGG 20/09/2006 12:41:40 >ALBANIA TERRYJONES LYLEBARRAS 20/09/2006 10:43:37 >ALBANIATERRYJONESKAITSANG21/08/2006 11:33:10 > >What I need to end up with is this: > >ADDER RAYATKINSON JOHNCLEGG 15/02/2007 10:30:14 >ALBANIA TERRYJONES JOHNCLEGG 20/09/2006 12:41:40 > > > >i.e the maximum date....I am sure there has been a solution to this on here >before, but I can seem to find it.. > >Thanks in advance for any help on this.. > > > >Paul Hartland >paul.hartland at fsmail.net >07730 523179 >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Need a break? Find your escape route with Live Search Maps. http://maps.live.com/?icid=hmtag3 From CFraase at officeimagesinc.com Fri Apr 20 13:16:58 2007 From: CFraase at officeimagesinc.com (Cindy Fraase) Date: Fri, 20 Apr 2007 14:16:58 -0400 Subject: [AccessD] Excel Automation problem In-Reply-To: References: <00e201c7836b$998ef250$0302a8c0@Laptop> Message-ID: Thanks to everyone who answered! I'll let you all know if your suggestions work. Unfortunately, I have to wait for access to that machine to try them. I hope the reference order works - that's an easy fix! Cynthia Fraase Asst. Controller Direct: 678-325-3251 Cell: 770-318-0628 Fax: 770-641-2656 www.officeimagesinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, April 20, 2007 1:23 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Excel Automation problem This is the error very similar to when you have DAO36 selected but DAO3.51 is not on the machine at all. I have found that downloading DAO350.dll...registering it...and everything is fixed. Learned this after chasing down the error on 1 of 2 identical(so I thought) machines. The offending machine did not have 3.51 on it...I didn't have it checked in references...so I never looked to see if it was there. After putting it on the machine/registering...the error went away. There is a reference to it on MS site...but no explanation as to why it causes these errors, sometimes. Good Luck, Mark A. Matte From jwcolby at colbyconsulting.com Fri Apr 20 14:43:26 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 20 Apr 2007 15:43:26 -0400 Subject: [AccessD] using a dtsx in .Net Message-ID: <000a01c78384$2af74b80$657aa8c0@m6805> Guys, I am looking for a learning experience here. Using the import wizard in SQL Server 2005 I created a .dtsx file, and successfully imported the first of about 60 files using that from right inside of SQL Server's import wizard. It asks if you want to save at the very end which I did, and which created the aforementioned .dtsx file. Unfortunately that wizard does not allow you to use that file for another file. Even more unfortunately, the files in question are fixed width, and thus have no field info in the first line etc. Thus to use the wizard, I would have to respecify the names and widths of all 150 fields each and every time. Therefore... I am attempting to use the dtsx file in .Net to do the import. If I "open" that file, Visual studio is selected as the file to do the opening, and if I do so it opens and shows me a tabbed object. The first tab is a control flow, the next is a data flow, event handlers and package explorer. I can actually execute the entire thing from inside of Visual studio and imports that first file, creates the table, with the field names and field widths etc. Unfortunately, for some reason NVarChar was selected as the default when I created this thing back in SQL Server. I managed to change the table inside of SQL Server to just use VarChar. It was a few days ago and I don't really remember how. I do remember that the wizards that allow you to manipulate the table / field definitions very helpfully try and change the length from whatever value you currently have back to 50 if you change the data type from NVarChar to VarChar. Sometimes I think the world is just one big IDIOT MASS. Be that as it may, (back in Visual Studio) if I click on the data flow tab, it shows the source as the original file. First task is to change that to the name of the second file to be processed. If I click on the "source connection flat file" object in that tab down below the main screen, there is a connection string property which I can change to the next file name. The next issue now is that the data conversion object is pulling data out of an XML file which stubbornly insists that the destination data is NVarChar - with the correct field lengths. If I open the wizard, I can indeed edit this to change the datatype, but it insists on helpfully changing the field length from the correct values (carefully entered already) back to the standard 50. Sometimes I am absolutely CERTAIN that the entire world is one big IDIOT MASS. So here I am, trying to edit the data conversion object for 150 fields to change from NVarChar to VarChar, where with each field change the very helpful wizard insists on changing my field length back to 50. Sigh. Idiots, all of them. If I can get this edit done I believe I can use this thing to import the other 60 or so files. So am I stuck with doing this all over again? Is there even one microscopic particle of grey brain matter anywhere in the Microsoft campus? Is it just me and the rest of the world WANTS their carefully entered field lengths changed back to 50 if they need to change from NvarChar to VarChar (and if so why)? John W. Colby Colby Consulting www.ColbyConsulting.com From stuart at lexacorp.com.pg Fri Apr 20 17:50:15 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 21 Apr 2007 08:50:15 +1000 Subject: [AccessD] getting data out of an internet page In-Reply-To: <000b01c7835a$ff6bd220$657aa8c0@m6805> References: <000b01c7835a$ff6bd220$657aa8c0@m6805> Message-ID: <462943A7.21898.57F9DEA@stuart.lexacorp.com.pg> Try copying it then open Excel and "Paste Special - Text" followed by a "Data-Text to Columns". On 20 Apr 2007 at 10:48, JWColby wrote: > My internet phone bill comes with a neatly laid out list of phone calls. > AFAICT it is not a table however. I am wondering if there is a way to > "extract" that data into a spreadsheet or table (other than building a > programmed parser). > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart From wdhindman at dejpolsystems.com Fri Apr 20 22:00:54 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 20 Apr 2007 23:00:54 -0400 Subject: [AccessD] using a dtsx in .Net References: <000a01c78384$2af74b80$657aa8c0@m6805> Message-ID: <000201c783c1$478eb4d0$7d7d6c4c@jisshowsbs.local> ...no question at all JC, its just you ...hth :) William Hindman ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" ; ; "'Discussion of Hardware and Software issues'" Sent: Friday, April 20, 2007 3:43 PM Subject: [AccessD] using a dtsx in .Net > Guys, > > I am looking for a learning experience here. Using the import wizard in > SQL > Server 2005 I created a .dtsx file, and successfully imported the first of > about 60 files using that from right inside of SQL Server's import wizard. > It asks if you want to save at the very end which I did, and which created > the aforementioned .dtsx file. Unfortunately that wizard does not allow > you > to use that file for another file. Even more unfortunately, the files in > question are fixed width, and thus have no field info in the first line > etc. > Thus to use the wizard, I would have to respecify the names and widths of > all 150 fields each and every time. > > Therefore... I am attempting to use the dtsx file in .Net to do the > import. > If I "open" that file, Visual studio is selected as the file to do the > opening, and if I do so it opens and shows me a tabbed object. The first > tab is a control flow, the next is a data flow, event handlers and package > explorer. > > I can actually execute the entire thing from inside of Visual studio and > imports that first file, creates the table, with the field names and field > widths etc. Unfortunately, for some reason NVarChar was selected as the > default when I created this thing back in SQL Server. I managed to change > the table inside of SQL Server to just use VarChar. It was a few days ago > and I don't really remember how. I do remember that the wizards that > allow > you to manipulate the table / field definitions very helpfully try and > change the length from whatever value you currently have back to 50 if you > change the data type from NVarChar to VarChar. Sometimes I think the > world > is just one big IDIOT MASS. > > Be that as it may, (back in Visual Studio) if I click on the data flow > tab, > it shows the source as the original file. First task is to change that to > the name of the second file to be processed. If I click on the "source > connection flat file" object in that tab down below the main screen, there > is a connection string property which I can change to the next file name. > > The next issue now is that the data conversion object is pulling data out > of > an XML file which stubbornly insists that the destination data is > NVarChar - > with the correct field lengths. If I open the wizard, I can indeed edit > this to change the datatype, but it insists on helpfully changing the > field > length from the correct values (carefully entered already) back to the > standard 50. Sometimes I am absolutely CERTAIN that the entire world is > one > big IDIOT MASS. > > So here I am, trying to edit the data conversion object for 150 fields to > change from NVarChar to VarChar, where with each field change the very > helpful wizard insists on changing my field length back to 50. Sigh. > Idiots, all of them. If I can get this edit done I believe I can use this > thing to import the other 60 or so files. > > So am I stuck with doing this all over again? Is there even one > microscopic > particle of grey brain matter anywhere in the Microsoft campus? Is it > just > me and the rest of the world WANTS their carefully entered field lengths > changed back to 50 if they need to change from NvarChar to VarChar (and if > so why)? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Fri Apr 20 22:18:06 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 20 Apr 2007 23:18:06 -0400 Subject: [AccessD] Cool stuff - was RE: using a dtsx in .Net In-Reply-To: <000201c783c1$478eb4d0$7d7d6c4c@jisshowsbs.local> References: <000a01c78384$2af74b80$657aa8c0@m6805> <000201c783c1$478eb4d0$7d7d6c4c@jisshowsbs.local> Message-ID: <000501c783c3$aed0a840$657aa8c0@m6805> ROTFL. Yea, I kinda thought so. I have so little patience with ... uh... Stupidity. On another more positive note, I watched a virtual lab tonight - part of the Visual Studio 2005. This lab is "using worker threads in VB.Net to make your application more responsive to the user". It is really cool, but as it turns out, the demo they use is also exactly what I was looking for - a directory watcher which is a com object that can be used from VB6. Now to be honest, I don't do VB6 but it looks like this might also be usable from VBA. It is a referencable object that sources events, and may allow me to do directory watching from inside of Access - WITHOUT having to use a timer on a form. How cool would that be? VB.Net is really a cool thing; Too bad I don't understand it better. I have to say though that having done the class stuff I do in Access, I absolutely do understand everything they are talking about in this demo, I just don't understand all the syntax (couldn't write it myself). It is so strange though, just today I was looking for code to "watch a directory for files" and here it is. Even better, the lab counts towards getting the free copy of Visual Studio 2005. So much to learn, so little time. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, April 20, 2007 11:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] using a dtsx in .Net ...no question at all JC, its just you ...hth :) William Hindman From bheid at sc.rr.com Sat Apr 21 08:26:44 2007 From: bheid at sc.rr.com (Bobby Heid) Date: Sat, 21 Apr 2007 09:26:44 -0400 Subject: [AccessD] Cool stuff - was RE: using a dtsx in .Net In-Reply-To: <000501c783c3$aed0a840$657aa8c0@m6805> References: <000a01c78384$2af74b80$657aa8c0@m6805> <000201c783c1$478eb4d0$7d7d6c4c@jisshowsbs.local> <000501c783c3$aed0a840$657aa8c0@m6805> Message-ID: <001e01c78418$b4cace60$2c01a8c0@bhxp> >From my understanding, you should be able to use .Net stuff from VBA just as you would from VB6. I think there was an MSDN magazine article about this. I'll see what I can find. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, April 20, 2007 11:18 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Cool stuff - was RE: using a dtsx in .Net ROTFL. Yea, I kinda thought so. I have so little patience with ... uh... Stupidity. On another more positive note, I watched a virtual lab tonight - part of the Visual Studio 2005. This lab is "using worker threads in VB.Net to make your application more responsive to the user". It is really cool, but as it turns out, the demo they use is also exactly what I was looking for - a directory watcher which is a com object that can be used from VB6. Now to be honest, I don't do VB6 but it looks like this might also be usable from VBA. It is a referencable object that sources events, and may allow me to do directory watching from inside of Access - WITHOUT having to use a timer on a form. How cool would that be? VB.Net is really a cool thing; Too bad I don't understand it better. I have to say though that having done the class stuff I do in Access, I absolutely do understand everything they are talking about in this demo, I just don't understand all the syntax (couldn't write it myself). It is so strange though, just today I was looking for code to "watch a directory for files" and here it is. Even better, the lab counts towards getting the free copy of Visual Studio 2005. So much to learn, so little time. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, April 20, 2007 11:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] using a dtsx in .Net ...no question at all JC, its just you ...hth :) William Hindman -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at sc.rr.com Sat Apr 21 09:14:29 2007 From: bheid at sc.rr.com (Bobby Heid) Date: Sat, 21 Apr 2007 10:14:29 -0400 Subject: [AccessD] Cool stuff - was RE: using a dtsx in .Net In-Reply-To: <001e01c78418$b4cace60$2c01a8c0@bhxp> References: <000a01c78384$2af74b80$657aa8c0@m6805> <000201c783c1$478eb4d0$7d7d6c4c@jisshowsbs.local> <000501c783c3$aed0a840$657aa8c0@m6805> <001e01c78418$b4cace60$2c01a8c0@bhxp> Message-ID: <002301c7841f$60988790$2c01a8c0@bhxp> John, Here's one link (not MSDN Mag though) for calling .Net from VBA: http://msdn2.microsoft.com/en-us/library/aa140276(office.10).aspx And here's one going the other way: http://msdn2.microsoft.com/en-us/library/aa159913(office.11).aspx And that was a neat labcast. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Saturday, April 21, 2007 9:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Cool stuff - was RE: using a dtsx in .Net >From my understanding, you should be able to use .Net stuff from VBA just as you would from VB6. I think there was an MSDN magazine article about this. I'll see what I can find. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, April 20, 2007 11:18 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Cool stuff - was RE: using a dtsx in .Net ROTFL. Yea, I kinda thought so. I have so little patience with ... uh... Stupidity. On another more positive note, I watched a virtual lab tonight - part of the Visual Studio 2005. This lab is "using worker threads in VB.Net to make your application more responsive to the user". It is really cool, but as it turns out, the demo they use is also exactly what I was looking for - a directory watcher which is a com object that can be used from VB6. Now to be honest, I don't do VB6 but it looks like this might also be usable from VBA. It is a referencable object that sources events, and may allow me to do directory watching from inside of Access - WITHOUT having to use a timer on a form. How cool would that be? VB.Net is really a cool thing; Too bad I don't understand it better. I have to say though that having done the class stuff I do in Access, I absolutely do understand everything they are talking about in this demo, I just don't understand all the syntax (couldn't write it myself). It is so strange though, just today I was looking for code to "watch a directory for files" and here it is. Even better, the lab counts towards getting the free copy of Visual Studio 2005. So much to learn, so little time. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, April 20, 2007 11:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] using a dtsx in .Net ...no question at all JC, its just you ...hth :) William Hindman -- 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 martyconnelly at shaw.ca Sat Apr 21 12:31:17 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 21 Apr 2007 10:31:17 -0700 Subject: [AccessD] Cool stuff - was RE: using a dtsx in .Net In-Reply-To: <000501c783c3$aed0a840$657aa8c0@m6805> References: <000a01c78384$2af74b80$657aa8c0@m6805> <000201c783c1$478eb4d0$7d7d6c4c@jisshowsbs.local> <000501c783c3$aed0a840$657aa8c0@m6805> Message-ID: <462A4A65.3030303@shaw.ca> You could use these Visual Basic 6.0 File API Routines in VBA FindFirstChangeNotification: Randy Birch does a good job on error checking Might have to run in a hidden form Create a 'Watched' Folder http://vbnet.mvps.org/index.html?code/fileapi/watchedfolder.htm JWColby wrote: >ROTFL. Yea, I kinda thought so. > >I have so little patience with ... uh... Stupidity. > >On another more positive note, I watched a virtual lab tonight - part of the >Visual Studio 2005. This lab is "using worker threads in VB.Net to make >your application more responsive to the user". It is really cool, but as it >turns out, the demo they use is also exactly what I was looking for - a >directory watcher which is a com object that can be used from VB6. Now to >be honest, I don't do VB6 but it looks like this might also be usable from >VBA. It is a referencable object that sources events, and may allow me to >do directory watching from inside of Access - WITHOUT having to use a timer >on a form. How cool would that be? > >VB.Net is really a cool thing; Too bad I don't understand it better. I have >to say though that having done the class stuff I do in Access, I absolutely >do understand everything they are talking about in this demo, I just don't >understand all the syntax (couldn't write it myself). It is so strange >though, just today I was looking for code to "watch a directory for files" >and here it is. Even better, the lab counts towards getting the free copy >of Visual Studio 2005. > >So much to learn, so little time. > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at colbyconsulting.com Sat Apr 21 14:37:37 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 21 Apr 2007 15:37:37 -0400 Subject: [AccessD] Cool stuff - was RE: using a dtsx in .Net In-Reply-To: <462A4A65.3030303@shaw.ca> References: <000a01c78384$2af74b80$657aa8c0@m6805><000201c783c1$478eb4d0$7d7d6c4c@jisshowsbs.local><000501c783c3$aed0a840$657aa8c0@m6805> <462A4A65.3030303@shaw.ca> Message-ID: <003801c7844c$84d1a060$657aa8c0@m6805> Thanks for that. I just checked out this solution and while it does function, it appears to have some serious limitations, specifically that it can only monitor one directory, and apparently that it can pretty much do nothing else. The reason is that VBA is single threaded, and this code is a tight loop with a DoEvents to allow the appearance of normalcy. However it really doesn't allow anything else to function. I tried to make this a class so that I could then do two (or more) instances. The first instance starts up but the second instance is not allowed to instantiate, with a "the macro or validation rule prevents..." error thrown in the event of the text box that tries to set up the second instance. In essence it appears that this would work just fine in limited situations where you just want an application to monitor a directory, do something specific, then go right back to the monitor loop, however it may completely prevent a broader application from functioning after the loop is started. One of the things I am trying to do is to start slowly doing some VB.Net development. I have a handful of things that really don't "fit" Access as a development tool, e.g. running things as services. I am also doing a lot more stuff directly out in SQL Server 2005, and I want the ability to run a powerful programming language that more directly talks to SQL Server, and also does not require a copy of Access installed in order to operate. VB.Net will give me that if I can ever get it figured out (I just need the TIME!). The .Net code basically listens for EVENTS from a DotNet DiskWatcher object. I haven't gotten so far as to determine whether when wrapped as a COM object it can be used more than once from inside of Access. The Web Seminar left out the critical (written) instructions for compiling and registering the com object, though the instructions are in the video, so I am headed back to watch that portion of the video again. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Saturday, April 21, 2007 1:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Cool stuff - was RE: using a dtsx in .Net You could use these Visual Basic 6.0 File API Routines in VBA FindFirstChangeNotification: Randy Birch does a good job on error checking Might have to run in a hidden form Create a 'Watched' Folder http://vbnet.mvps.org/index.html?code/fileapi/watchedfolder.htm JWColby wrote: >ROTFL. Yea, I kinda thought so. > >I have so little patience with ... uh... Stupidity. > >On another more positive note, I watched a virtual lab tonight - part >of the Visual Studio 2005. This lab is "using worker threads in VB.Net >to make your application more responsive to the user". It is really >cool, but as it turns out, the demo they use is also exactly what I was >looking for - a directory watcher which is a com object that can be >used from VB6. Now to be honest, I don't do VB6 but it looks like this >might also be usable from VBA. It is a referencable object that >sources events, and may allow me to do directory watching from inside >of Access - WITHOUT having to use a timer on a form. How cool would that be? > >VB.Net is really a cool thing; Too bad I don't understand it better. I >have to say though that having done the class stuff I do in Access, I >absolutely do understand everything they are talking about in this >demo, I just don't understand all the syntax (couldn't write it >myself). It is so strange though, just today I was looking for code to "watch a directory for files" >and here it is. Even better, the lab counts towards getting the free >copy of Visual Studio 2005. > >So much to learn, so little time. > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Apr 21 15:19:03 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 21 Apr 2007 16:19:03 -0400 Subject: [AccessD] DirWatcher - was RE: Cool stuff - was RE: using a dtsx in .Net In-Reply-To: <003801c7844c$84d1a060$657aa8c0@m6805> References: <000a01c78384$2af74b80$657aa8c0@m6805><000201c783c1$478eb4d0$7d7d6c4c@jisshowsbs.local><000501c783c3$aed0a840$657aa8c0@m6805><462A4A65.3030303@shaw.ca> <003801c7844c$84d1a060$657aa8c0@m6805> Message-ID: <003901c78452$4e69cdd0$657aa8c0@m6805> Just an FYI, the dirwatcher com object from the webcast apparently can be used "simultaneously" from Access. I created a form with two text controls. Each text control creates an instance of the referenced com object and passes in whatever you type in as a directory. If you pass in an invalid dir name it errors, else it watches. I then created two empty directories and tested by creating new text files in each directory. The correct events fired and I was notified of the appearance of a file (and it's name) in the correct watched directory. And of course this does require a completely external "watcher widget" which has to be registered etc., at least for use in Access. WARNING... The COM object DELETES the file behind itself so it is NOT appropriate for use "as is", nor did I expect it to be, but it does function inside of VBA and it can do so multi-instanced. The following is the code in the test form that I created: Option Compare Database Option Explicit Dim WithEvents fDirWatcher1 As DropDirMonitor.DirWatcher Dim WithEvents fDirWatcher2 As DropDirMonitor.DirWatcher Private Sub fDirWatcher1_ProcessingFile(ByVal FileName As String) MsgBox "Watcher 1 fired: " & FileName End Sub Private Sub fDirWatcher2_ProcessingFile(ByVal FileName As String) MsgBox "watcher 2 fired: " & FileName End Sub Private Sub Form_Close() Set fDirWatcher1 = Nothing Set fDirWatcher2 = Nothing End Sub Private Sub Text0_AfterUpdate() Set fDirWatcher1 = New DropDirMonitor.DirWatcher fDirWatcher1.Init Text0.Value End Sub Private Sub Text2_AfterUpdate() Set fDirWatcher2 = New DropDirMonitor.DirWatcher fDirWatcher2.Init Text2.Value End Sub John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Saturday, April 21, 2007 3:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Cool stuff - was RE: using a dtsx in .Net Thanks for that. I just checked out this solution and while it does function, it appears to have some serious limitations, specifically that it can only monitor one directory, and apparently that it can pretty much do nothing else. The reason is that VBA is single threaded, and this code is a tight loop with a DoEvents to allow the appearance of normalcy. However it really doesn't allow anything else to function. I tried to make this a class so that I could then do two (or more) instances. The first instance starts up but the second instance is not allowed to instantiate, with a "the macro or validation rule prevents..." error thrown in the event of the text box that tries to set up the second instance. In essence it appears that this would work just fine in limited situations where you just want an application to monitor a directory, do something specific, then go right back to the monitor loop, however it may completely prevent a broader application from functioning after the loop is started. One of the things I am trying to do is to start slowly doing some VB.Net development. I have a handful of things that really don't "fit" Access as a development tool, e.g. running things as services. I am also doing a lot more stuff directly out in SQL Server 2005, and I want the ability to run a powerful programming language that more directly talks to SQL Server, and also does not require a copy of Access installed in order to operate. VB.Net will give me that if I can ever get it figured out (I just need the TIME!). The .Net code basically listens for EVENTS from a DotNet DiskWatcher object. I haven't gotten so far as to determine whether when wrapped as a COM object it can be used more than once from inside of Access. The Web Seminar left out the critical (written) instructions for compiling and registering the com object, though the instructions are in the video, so I am headed back to watch that portion of the video again. John W. Colby Colby Consulting www.ColbyConsulting.com From martyconnelly at shaw.ca Sat Apr 21 17:52:20 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 21 Apr 2007 15:52:20 -0700 Subject: [AccessD] DirWatcher - was RE: Cool stuff - was RE: using a dtsx in .Net In-Reply-To: <003901c78452$4e69cdd0$657aa8c0@m6805> References: <000a01c78384$2af74b80$657aa8c0@m6805> <000201c783c1$478eb4d0$7d7d6c4c@jisshowsbs.local> <000501c783c3$aed0a840$657aa8c0@m6805> <462A4A65.3030303@shaw.ca> <003801c7844c$84d1a060$657aa8c0@m6805> <003901c78452$4e69cdd0$657aa8c0@m6805> Message-ID: <462A95A4.3040901@shaw.ca> Just wondering, if you used this method to register the com class dll. It uses regasm and gacutil to remove any previously named dll and reinstalls in the registry. See : http://samples.gotdotnet.com/quickstart/howto/doc/Interop/Building_Samples_COM2NET.aspx the install batch file looks like this for your dll FX20Wrapper.dll regasm "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\system.windows.forms.dll" gacutil -u FX20Wrapper regasm /u "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" regasm /tlb "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" gacutil -i "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" To use Access set a reference to the tlb file that will be in a directory like below depending on where you installed the project. \VB2005\FX20Wrapper\bin\Release\FX20Wrapper.tlb The tlb will allow Access to see the class definitions and do a compile. JWColby wrote: >Just an FYI, the dirwatcher com object from the webcast apparently can be >used "simultaneously" from Access. I created a form with two text controls. >Each text control creates an instance of the referenced com object and >passes in whatever you type in as a directory. If you pass in an invalid >dir name it errors, else it watches. I then created two empty directories >and tested by creating new text files in each directory. The correct events >fired and I was notified of the appearance of a file (and it's name) in the >correct watched directory. > >And of course this does require a completely external "watcher widget" which >has to be registered etc., at least for use in Access. > >WARNING... The COM object DELETES the file behind itself so it is NOT >appropriate for use "as is", nor did I expect it to be, but it does function >inside of VBA and it can do so multi-instanced. > >The following is the code in the test form that I created: > >Option Compare Database >Option Explicit > >Dim WithEvents fDirWatcher1 As DropDirMonitor.DirWatcher >Dim WithEvents fDirWatcher2 As DropDirMonitor.DirWatcher > >Private Sub fDirWatcher1_ProcessingFile(ByVal FileName As String) > MsgBox "Watcher 1 fired: " & FileName >End Sub > >Private Sub fDirWatcher2_ProcessingFile(ByVal FileName As String) > MsgBox "watcher 2 fired: " & FileName >End Sub > >Private Sub Form_Close() > Set fDirWatcher1 = Nothing > Set fDirWatcher2 = Nothing >End Sub > >Private Sub Text0_AfterUpdate() > Set fDirWatcher1 = New DropDirMonitor.DirWatcher > fDirWatcher1.Init Text0.Value >End Sub > >Private Sub Text2_AfterUpdate() > Set fDirWatcher2 = New DropDirMonitor.DirWatcher > fDirWatcher2.Init Text2.Value >End Sub > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >Sent: Saturday, April 21, 2007 3:38 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Cool stuff - was RE: using a dtsx in .Net > >Thanks for that. I just checked out this solution and while it does >function, it appears to have some serious limitations, specifically that it >can only monitor one directory, and apparently that it can pretty much do >nothing else. The reason is that VBA is single threaded, and this code is a >tight loop with a DoEvents to allow the appearance of normalcy. However it >really doesn't allow anything else to function. I tried to make this a >class so that I could then do two (or more) instances. The first instance >starts up but the second instance is not allowed to instantiate, with a "the >macro or validation rule prevents..." error thrown in the event of the text >box that tries to set up the second instance. In essence it appears that >this would work just fine in limited situations where you just want an >application to monitor a directory, do something specific, then go right >back to the monitor loop, however it may completely prevent a broader >application from functioning after the loop is started. > >One of the things I am trying to do is to start slowly doing some VB.Net >development. I have a handful of things that really don't "fit" Access as a >development tool, e.g. running things as services. I am also doing a lot >more stuff directly out in SQL Server 2005, and I want the ability to run a >powerful programming language that more directly talks to SQL Server, and >also does not require a copy of Access installed in order to operate. >VB.Net will give me that if I can ever get it figured out (I just need the >TIME!). > >The .Net code basically listens for EVENTS from a DotNet DiskWatcher object. >I haven't gotten so far as to determine whether when wrapped as a COM object >it can be used more than once from inside of Access. The Web Seminar left >out the critical (written) instructions for compiling and registering the >com object, though the instructions are in the video, so I am headed back to >watch that portion of the video again. > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at colbyconsulting.com Sat Apr 21 18:22:36 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 21 Apr 2007 19:22:36 -0400 Subject: [AccessD] DirWatcher - was RE: Cool stuff - was RE: using a dtsx in .Net In-Reply-To: <462A95A4.3040901@shaw.ca> References: <000a01c78384$2af74b80$657aa8c0@m6805><000201c783c1$478eb4d0$7d7d6c4c@jisshowsbs.local><000501c783c3$aed0a840$657aa8c0@m6805> <462A4A65.3030303@shaw.ca><003801c7844c$84d1a060$657aa8c0@m6805><003901c78452$4e69cdd0$657aa8c0@m6805> <462A95A4.3040901@shaw.ca> Message-ID: <004201c7846b$f3047070$657aa8c0@m6805> Marty, I didn't have to do a register on this machine since it was the one that I created the VB.Net project on and the simple act of building it caused it to be registered. I will certainly look at that stuff if I need to do this on another machine (actually use this thing). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Saturday, April 21, 2007 6:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DirWatcher - was RE: Cool stuff - was RE: using a dtsx in .Net Just wondering, if you used this method to register the com class dll. It uses regasm and gacutil to remove any previously named dll and reinstalls in the registry. See : http://samples.gotdotnet.com/quickstart/howto/doc/Interop/Building_Samples_C OM2NET.aspx the install batch file looks like this for your dll FX20Wrapper.dll regasm "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\system.windows.forms.dll" gacutil -u FX20Wrapper regasm /u "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" regasm /tlb "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" gacutil -i "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" To use Access set a reference to the tlb file that will be in a directory like below depending on where you installed the project. \VB2005\FX20Wrapper\bin\Release\FX20Wrapper.tlb The tlb will allow Access to see the class definitions and do a compile. From ebarro at verizon.net Sat Apr 21 20:16:45 2007 From: ebarro at verizon.net (Eric Barro) Date: Sat, 21 Apr 2007 18:16:45 -0700 Subject: [AccessD] DirWatcher - was RE: Cool stuff - was RE: using a dtsx in .Net In-Reply-To: <004201c7846b$f3047070$657aa8c0@m6805> Message-ID: <0JGV007WDKVX266A@vms042.mailsrvcs.net> John, .Net takes care of registering any COM objects that you reference in your projects. If you look at the bin folder where your project was compiled it will contain an Interop.COMObject.dll file corresponding to the COMObject that you referenced. That's just one of the "beauties" of .Net. :) When you deploy the app to another machine all you need to do is to copy your application DLL and the Interop DLLs to make it work. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Saturday, April 21, 2007 4:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DirWatcher - was RE: Cool stuff - was RE: using a dtsx in .Net Marty, I didn't have to do a register on this machine since it was the one that I created the VB.Net project on and the simple act of building it caused it to be registered. I will certainly look at that stuff if I need to do this on another machine (actually use this thing). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Saturday, April 21, 2007 6:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DirWatcher - was RE: Cool stuff - was RE: using a dtsx in .Net Just wondering, if you used this method to register the com class dll. It uses regasm and gacutil to remove any previously named dll and reinstalls in the registry. See : http://samples.gotdotnet.com/quickstart/howto/doc/Interop/Building_Samples_C OM2NET.aspx the install batch file looks like this for your dll FX20Wrapper.dll regasm "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\system.windows.forms.dll" gacutil -u FX20Wrapper regasm /u "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" regasm /tlb "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" gacutil -i "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" To use Access set a reference to the tlb file that will be in a directory like below depending on where you installed the project. \VB2005\FX20Wrapper\bin\Release\FX20Wrapper.tlb The tlb will allow Access to see the class definitions and do a compile. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.6/770 - Release Date: 4/20/2007 6:43 PM From pcs at azizaz.com Sat Apr 21 20:31:06 2007 From: pcs at azizaz.com (Borge Hansen, Professional Computer Systems) Date: Sun, 22 Apr 2007 11:31:06 +1000 Subject: [AccessD] DirWatcher - was RE: Cool stuff - was RE: using adtsx in .Net References: <000a01c78384$2af74b80$657aa8c0@m6805><000201c783c1$478eb4d0$7d7d6c4c@jisshowsbs.local><000501c783c3$aed0a840$657aa8c0@m6805><462A4A65.3030303@shaw.ca><003801c7844c$84d1a060$657aa8c0@m6805><003901c78452$4e69cdd0$657aa8c0@m6805><462A95A4.3040901@shaw.ca> <004201c7846b$f3047070$657aa8c0@m6805> Message-ID: <04e401c7847d$e61da770$fa10a8c0@Albatross> Jon, I am reading the thread with great interest. I think a lot us hanging out in this forum are seeing the need of getting up to speed with .net and sql server etc. ... and wishing we had more time. if you have time, would you mind going through the steps involved for creating what you did. I understand there is a .net object - among the many thousands - you refer to as "DotNet DiskWatcher object". - What's the name? You write some .net code using this object that will monitor a Folder and alert you when things happens in the folder. What does the code look like. Then you write a "wrapper" so the .net code can be used in VB and more of interest in VBA. What does the wrapper code look like - the com object? Then there is the issue of registered the com object. Marty is writing about certain code for using this. What's the connection between the .dll file and .tlb file ? Is the .dll file the file that contains the com object. what's the function of the tlb file? You didn't need to register the com object as it gets registered on the machine you built the code on. You then used the com object in some vba code, copy of which you showed us, right? hmmm.... so much ... to get around to finding a 'easy' way to make .net functionality available in vba code Here's another link: Visual Basic Fusion: Best Practices to Use Visual Basic 6 and Visual Basic .NET Together http://msdn2.microsoft.com/en-us/library/ms364069(vs.80).aspx borge ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, April 22, 2007 9:22 AM Subject: Re: [AccessD] DirWatcher - was RE: Cool stuff - was RE: using adtsx in .Net Marty, I didn't have to do a register on this machine since it was the one that I created the VB.Net project on and the simple act of building it caused it to be registered. I will certainly look at that stuff if I need to do this on another machine (actually use this thing). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Saturday, April 21, 2007 6:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DirWatcher - was RE: Cool stuff - was RE: using a dtsx in .Net Just wondering, if you used this method to register the com class dll. It uses regasm and gacutil to remove any previously named dll and reinstalls in the registry. See : http://samples.gotdotnet.com/quickstart/howto/doc/Interop/Building_Samples_C OM2NET.aspx the install batch file looks like this for your dll FX20Wrapper.dll regasm "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\system.windows.forms.dll" gacutil -u FX20Wrapper regasm /u "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" regasm /tlb "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" gacutil -i "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" To use Access set a reference to the tlb file that will be in a directory like below depending on where you installed the project. \VB2005\FX20Wrapper\bin\Release\FX20Wrapper.tlb The tlb will allow Access to see the class definitions and do a compile. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.6/770 - Release Date: 4/20/2007 6:43 PM From jwcolby at colbyconsulting.com Sat Apr 21 23:29:34 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Sun, 22 Apr 2007 00:29:34 -0400 Subject: [AccessD] DirWatcher - was RE: Cool stuff - was RE: using adtsxin .Net In-Reply-To: <04e401c7847d$e61da770$fa10a8c0@Albatross> References: <000a01c78384$2af74b80$657aa8c0@m6805><000201c783c1$478eb4d0$7d7d6c4c@jisshowsbs.local><000501c783c3$aed0a840$657aa8c0@m6805><462A4A65.3030303@shaw.ca><003801c7844c$84d1a060$657aa8c0@m6805><003901c78452$4e69cdd0$657aa8c0@m6805><462A95A4.3040901@shaw.ca><004201c7846b$f3047070$657aa8c0@m6805> <04e401c7847d$e61da770$fa10a8c0@Albatross> Message-ID: <004301c78496$d4f90980$657aa8c0@m6805> Borge, This all started when I watched a webcast video from a series that MS is publishing. They all seemed aimed at nudging VB6 folks to start using VB.Net. I am not a VB6 person, perhaps unfortunately. Anyway, I found this webcast in the start page of Visual Studio, but in fact the email someone sent has the page to go to find these things. http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=103233340 8&EventCategory=3&culture=en-US&CountryCode=US Watch for wrap. I know NOTHING about this other than what I learned in the webcast. The webcast showed how to build a com object from DotNet to do this stuff. I watched it, I typed it all in and built it. I referenced it from Access, built a demo etc. and it worked (after I figured out one syntax error). How it worked I do not yet understand, in fact it is waaaay over my head. This is a classic case of "they went too far", i.e. they should have stopped at the diskwatcher but they did not, they wanted to show other (more advanced) cool stuff. Anyway, watch the video and see what you can get. I am now trying to lobotomize their COM widget to NOT do the extra cool stuff because it gets in the way of actually using the disk watcher as a simple diskwatcher. Basically they also read the contents of the files placed in the watched directory into memory and then pass that off to the using application as a parameter. IOW when you sink an event in Access (or VB6) you get the actual contents of the file in something - I think it is an array of strings but I am not sure. They also delete the file after they read it into this memory. I don't WANT either of these functionalities, I just want to be notified that there are files in the dir. Some of the files I am processing are multi-gigabyte text files. I sure as hell don't want this thing trying to read that into memory and pass it to my Access app thank you very much. I can go to the directory and open a text stream and do my own reading. I also don't want them deleting the file, I can do what I want with the file when I am finished processing it. But they had to be cool. Anyway, there you are. I am such a nubee that I will have to watch the video several times to even begin to understand the finer points of it. I have always been impressed with .Net, at least since version 2.0 came out. It is very powerful stuff, and yes, I am trying to get into it. I now actually have a use for it - if I could just find the year required to struggle up the learning curve. I think it is just a matter of keeping at it, day after day, week after week until it becomes familiar. Hard to do when you have way more Access work to do than you can ever get done which is where I am right now (not complaining though). BTW I posted the code (with one small syntax error) but it got caught in the email size filter and never made it through to the list. I will get back to you when I have this com object running the way I need it. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen, Professional Computer Systems Sent: Saturday, April 21, 2007 9:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DirWatcher - was RE: Cool stuff - was RE: using adtsxin .Net Jon, I am reading the thread with great interest. I think a lot us hanging out in this forum are seeing the need of getting up to speed with .net and sql server etc. ... and wishing we had more time. if you have time, would you mind going through the steps involved for creating what you did. I understand there is a .net object - among the many thousands - you refer to as "DotNet DiskWatcher object". - What's the name? You write some .net code using this object that will monitor a Folder and alert you when things happens in the folder. What does the code look like. Then you write a "wrapper" so the .net code can be used in VB and more of interest in VBA. What does the wrapper code look like - the com object? Then there is the issue of registered the com object. Marty is writing about certain code for using this. What's the connection between the .dll file and .tlb file ? Is the .dll file the file that contains the com object. what's the function of the tlb file? You didn't need to register the com object as it gets registered on the machine you built the code on. You then used the com object in some vba code, copy of which you showed us, right? hmmm.... so much ... to get around to finding a 'easy' way to make .net functionality available in vba code Here's another link: Visual Basic Fusion: Best Practices to Use Visual Basic 6 and Visual Basic .NET Together http://msdn2.microsoft.com/en-us/library/ms364069(vs.80).aspx borge From Gustav at cactus.dk Sun Apr 22 05:01:04 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 22 Apr 2007 12:01:04 +0200 Subject: [AccessD] Cool stuff - was RE: using a dtsx in .Net Message-ID: Hi John It's worse. It has only limited functionality. Quoting myself from 2002-02-19 where J?rgen had brought up how to use FindFirstChangeNotification: The problem I have with this is that it does not seem to be very accurate. If a bunch of small files are copied then the event fires only a couple of times; thus - for accurate purposes - it may be necessary to regard the event being fired when "something" has happened - then you have to investigate what this something is. Of course, if a file is dropped in the watched directory only once in a while, this is not necessary. Any suggestions from the API gurus are most welcome. No suggestions were posted, so somehow this task must be very difficult ... /gustav >>> jwcolby at colbyconsulting.com 21-04-2007 21:37 >>> Thanks for that. I just checked out this solution and while it does function, it appears to have some serious limitations, specifically that it can only monitor one directory, and apparently that it can pretty much do nothing else. The reason is that VBA is single threaded, and this code is a tight loop with a DoEvents to allow the appearance of normalcy. However it really doesn't allow anything else to function. I tried to make this a class so that I could then do two (or more) instances. The first instance starts up but the second instance is not allowed to instantiate, with a "the macro or validation rule prevents..." error thrown in the event of the text box that tries to set up the second instance. In essence it appears that this would work just fine in limited situations where you just want an application to monitor a directory, do something specific, then go right back to the monitor loop, however it may completely prevent a broader application from functioning after the loop is started. One of the things I am trying to do is to start slowly doing some VB.Net development. I have a handful of things that really don't "fit" Access as a development tool, e.g. running things as services. I am also doing a lot more stuff directly out in SQL Server 2005, and I want the ability to run a powerful programming language that more directly talks to SQL Server, and also does not require a copy of Access installed in order to operate. VB.Net will give me that if I can ever get it figured out (I just need the TIME!). The .Net code basically listens for EVENTS from a DotNet DiskWatcher object. I haven't gotten so far as to determine whether when wrapped as a COM object it can be used more than once from inside of Access. The Web Seminar left out the critical (written) instructions for compiling and registering the com object, though the instructions are in the video, so I am headed back to watch that portion of the video again. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Saturday, April 21, 2007 1:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Cool stuff - was RE: using a dtsx in .Net You could use these Visual Basic 6.0 File API Routines in VBA FindFirstChangeNotification: Randy Birch does a good job on error checking Might have to run in a hidden form Create a 'Watched' Folder http://vbnet.mvps.org/index.html?code/fileapi/watchedfolder.htm JWColby wrote: >ROTFL. Yea, I kinda thought so. > >I have so little patience with ... uh... Stupidity. > >On another more positive note, I watched a virtual lab tonight - part >of the Visual Studio 2005. This lab is "using worker threads in VB.Net >to make your application more responsive to the user". It is really >cool, but as it turns out, the demo they use is also exactly what I was >looking for - a directory watcher which is a com object that can be >used from VB6. Now to be honest, I don't do VB6 but it looks like this >might also be usable from VBA. It is a referencable object that >sources events, and may allow me to do directory watching from inside >of Access - WITHOUT having to use a timer on a form. How cool would that be? > >VB.Net is really a cool thing; Too bad I don't understand it better. I >have to say though that having done the class stuff I do in Access, I >absolutely do understand everything they are talking about in this >demo, I just don't understand all the syntax (couldn't write it >myself). It is so strange though, just today I was looking for code to "watch a directory for files" >and here it is. Even better, the lab counts towards getting the free >copy of Visual Studio 2005. > >So much to learn, so little time. > >John W. Colby >Colby Consulting >www.ColbyConsulting.com From Gustav at cactus.dk Sun Apr 22 05:23:57 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 22 Apr 2007 12:23:57 +0200 Subject: [AccessD] OLE DB provider, AddNew doesn't add record to MySQL table Message-ID: Hi Jim And so I did - the developer is now organised as Cherry City Software: http://cherrycitysoftware.com/CCS/Home/Default.aspx We never supported upadate/delete/add function on the fly. Instead, you have to use script or SP call to do that. We know it would be nice to that work. However, we are currently short of resources. Regards, Cherry City Software Support Team So no luck. You have to run an SQL "Insert Values" command. Not very fancy. /gustav >>> Gustav at cactus.dk 20-04-2007 16:02 >>> Hi Jim Sorry, I forgot to mention that this provider is non-MySQL stuff. It is for download here: http://luggle.com/~sean I better address my question to the author ... /gustav >>> accessd at shaw.ca 19-04-2007 21:35 >>> Hi Gustav: I did not know there were OLE DB drivers for MySQL that would run through Access... only ODBC drivers. There are a number of .Net examples but I do not believe they are cross-compatible. This may not be the case as I was working with such a configuration but it was about 4 or 5 years ago and things should have progressed since then. I have seen a configuration example... not tried. It shows "Provider=MySQL Provider" code looking like "Provider=MySQLProv". Below is a list of links to the latest software pieces: 1. MySQL - latest version from http://www.mysql.com/downloads 2. MySQLODBC (reqd for Access to MySQL) - http://www.mysql.com/downloads 3. MyOLEDB - http://www.mysql.com/downloads (should be MySQLProv.2.5) 4. WinMySQLAdmin - http://www.mysql.com/downloads 5. Access To MySQL - http://www.mysql.com/downloads/win32/myaccess2000_1_4.zip HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, April 19, 2007 10:11 AM To: accessd at databaseadvisors.com Subject: [AccessD] OLE DB provider, AddNew doesn't add record to MySQL table Hi all In A2003, if I try to add a record to a MySQL table via the OLE DB provider, nothing happens. No errors, it runs fine, but no record added. Any ideas why? Dim cnn As ADODB.Connection Dim rst As ADODB.Recordset Dim lngRow As Long Set cnn = New ADODB.Connection Set rst = New ADODB.Recordset cnn.ConnectionString = "Provider=MySQL Provider;Data Source=10.20.30.40;User ID=root;Password=password;Initial Catalog=TestDb;Mode=Read|Write" cnn.Open cnn.CursorLocation = adUseClient With rst .Open "Select * From tblSample", cnn, adOpenKeyset, adLockOptimistic For lngRow = 1 To lngRows .AddNew .Fields(1).Value = "Some text" .Update Next .Close End With Set rst = Nothing Set cnn = Nothing End Function If I link the table (via ODBC) and run an append query, records are appended as expected. /gustav From stuart at lexacorp.com.pg Sun Apr 22 06:25:21 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 22 Apr 2007 21:25:21 +1000 Subject: [AccessD] Cool stuff - was RE: using a dtsx in .Net In-Reply-To: References: Message-ID: <462B4621.24380.D594DA6@stuart.lexacorp.com.pg> On 22 Apr 2007 at 12:01, Gustav Brock wrote: > Hi John > > It's worse. It has only limited functionality. > Quoting myself from 2002-02-19 where J?rgen had brought up how to use > FindFirstChangeNotification: > > > The problem I have with this is that it does not seem to be very > accurate. If a bunch of small files are copied then the event fires only a > couple of times; That will happen especially if you are monitoring the FILE_NOTIFY_CHANGE_SIZE or the FILE_NOTIFY_CHANGE_LAST_WRITE events. (Probably the more common ones in practice) The operating system detects a change in file size only when the file is written to the disk. For operating systems that use extensive caching, detection occurs only when the cache is sufficiently flushed. The operating system detects a change to the last write-time only when the file is written to the disk -- Stuart From stuart at lexacorp.com.pg Sun Apr 22 06:27:32 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 22 Apr 2007 21:27:32 +1000 Subject: [AccessD] Cool stuff - was RE: using a dtsx in .Net In-Reply-To: References: Message-ID: <462B46A4.23315.D5B4C16@stuart.lexacorp.com.pg> > > >>> jwcolby at colbyconsulting.com 21-04-2007 21:37 >>> > Thanks for that. I just checked out this solution and while it does > function, it appears to have some serious limitations, specifically that it > can only monitor one directory, It will monitor a complete directory tree is you set the bWatchSubtree flag. -- Stuart From Gustav at cactus.dk Sun Apr 22 06:56:16 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 22 Apr 2007 13:56:16 +0200 Subject: [AccessD] Cool stuff - was RE: using a dtsx in .Net Message-ID: Hi Stuart Yes, that was the case. By second thought, it wouldn't take that much to load the list of files of the directory under observation into an array or collection at launch, then when "something happens" reread that list and pull out the new entries. /gustav >>> stuart at lexacorp.com.pg 22-04-2007 13:25 >>> On 22 Apr 2007 at 12:01, Gustav Brock wrote: > Hi John > > It's worse. It has only limited functionality. > Quoting myself from 2002-02-19 where J?rgen had brought up how to use > FindFirstChangeNotification: > > > The problem I have with this is that it does not seem to be very > accurate. If a bunch of small files are copied then the event fires only a > couple of times; That will happen especially if you are monitoring the FILE_NOTIFY_CHANGE_SIZE or the FILE_NOTIFY_CHANGE_LAST_WRITE events. (Probably the more common ones in practice) The operating system detects a change in file size only when the file is written to the disk. For operating systems that use extensive caching, detection occurs only when the cache is sufficiently flushed. The operating system detects a change to the last write-time only when the file is written to the disk -- Stuart From pcs at azizaz.com Sun Apr 22 08:39:26 2007 From: pcs at azizaz.com (Borge Hansen, Professional Computer Systems) Date: Sun, 22 Apr 2007 23:39:26 +1000 Subject: [AccessD] DirWatcher - was RE: Cool stuff - was RE: usingadtsxin .Net References: <000a01c78384$2af74b80$657aa8c0@m6805><000201c783c1$478eb4d0$7d7d6c4c@jisshowsbs.local><000501c783c3$aed0a840$657aa8c0@m6805><462A4A65.3030303@shaw.ca><003801c7844c$84d1a060$657aa8c0@m6805><003901c78452$4e69cdd0$657aa8c0@m6805><462A95A4.3040901@shaw.ca><004201c7846b$f3047070$657aa8c0@m6805><04e401c7847d$e61da770$fa10a8c0@Albatross> <004301c78496$d4f90980$657aa8c0@m6805> Message-ID: <050a01c784e3$a5bf78a0$fa10a8c0@Albatross> Jon, Thanks for taking the time to respond... This may be of interest : Access the File System with .NET Framework Classes from Visual Basic 6 http://msdn2.microsoft.com/en-us/library/ms364070(vs.80).aspx borge ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, April 22, 2007 2:29 PM Subject: Re: [AccessD] DirWatcher - was RE: Cool stuff - was RE: usingadtsxin .Net Borge, This all started when I watched a webcast video from a series that MS is publishing. They all seemed aimed at nudging VB6 folks to start using VB.Net. I am not a VB6 person, perhaps unfortunately. From rockysmolin at bchacc.com Sun Apr 22 14:44:39 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 22 Apr 2007 12:44:39 -0700 Subject: [AccessD] OT: Default BCC Message-ID: <004d01c78516$aab2ae80$0501a8c0@HAL9005> Dear List: Is there a way to default an email address into the BCC field in Outlook when you create a new message? TIA Rocky From stuart at lexacorp.com.pg Sun Apr 22 17:00:56 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 23 Apr 2007 08:00:56 +1000 Subject: [AccessD] OT: Default BCC In-Reply-To: <004d01c78516$aab2ae80$0501a8c0@HAL9005> References: <004d01c78516$aab2ae80$0501a8c0@HAL9005> Message-ID: <462BDB18.5046.F9F2FDE@stuart.lexacorp.com.pg> On 22 Apr 2007 at 12:44, Rocky Smolin at Beach Access wrote: > Is there a way to default an email address into the BCC field in Outlook > when you create a new message? Gues you'd have to create a VBA macro in Outlook and set the Item.BCC property in the Item_Send event Of course if you use Pegasus Mail, you can set it for each identity separately under the Sending Mail preferences :-) -- Stuart From rockysmolin at bchacc.com Sun Apr 22 17:23:42 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 22 Apr 2007 15:23:42 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: <462BDB18.5046.F9F2FDE@stuart.lexacorp.com.pg> Message-ID: <005501c7852c$e27fccb0$0501a8c0@HAL9005> Stuart: Well I cribbed this of the net: Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) Dim objMe As Recipient Set objMe = Item.Recipients.Add("bchacc at san.rr.com") objMe.Type = olBCC objMe.Resolve Set objMe = Nothing End Sub But don't have a clue how to implement it. Looks like I'll be learning something new this week. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, April 22, 2007 3:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC On 22 Apr 2007 at 12:44, Rocky Smolin at Beach Access wrote: > Is there a way to default an email address into the BCC field in > Outlook when you create a new message? Gues you'd have to create a VBA macro in Outlook and set the Item.BCC property in the Item_Send event Of course if you use Pegasus Mail, you can set it for each identity separately under the Sending Mail preferences :-) -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.6/770 - Release Date: 4/20/2007 6:43 PM From jwcolby at colbyconsulting.com Sun Apr 22 22:56:21 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Sun, 22 Apr 2007 23:56:21 -0400 Subject: [AccessD] using a saved SSIS with VB.Net Message-ID: <000301c7855b$5c12e9d0$657aa8c0@m6805> I saved an import spec from the import wizard in SQL Server 2005. I now need to use that import spec in VB.Net, but I need to modify it. I need to change the source file, make it an append instead of a make table / append, and I need to modify the datatype from NVarchar to varchar. Of course I can simply go back in to SQL Server and run the import wizard again, however this is a fixed width file which means recreating all of the field name / field width info a second time. Is it possible to just do these mods on the existing import spec or should I just bite the bullet and rebuild. I have ~ sixty more files to import into the table and I really don't want to do this 60 times. The last time I did this I actually built an Access app to create .csv files from the original fixed width files. It seems like the long way around the barn but then again I do not see how this wizard is really very useful in this case. Anyone? John W. Colby Colby Consulting www.ColbyConsulting.com From Gustav at cactus.dk Mon Apr 23 04:15:50 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 23 Apr 2007 11:15:50 +0200 Subject: [AccessD] using a saved SSIS with VB.Net Message-ID: Hi John I think that wizards are mostly for one-time or simple repeated tasks. However, do you remember my observation from last year: >> 2006-05-05 20:59 Subject: MySQL insert records When inserting records by a pass-through query from Access, I've found that reading the records off a text file using LOAD DATA INFILE '../data/test.txt' INTO TABLE tempload into an empty non-indexed table runs at about 50,000 records per second even using very modest hardware. This is way faster than any normal "Insert Into ... " I've tried. However, it's a bit clumsy first to have to write the data to a file. Any comments or suggestions? You should be able to do so if not from T-SQL then from Access, and then run a modifiable import and append query in SQL Server which reads the data from the MySQL table and appends them to the internal SQL Server table. But - as you have already done the mechanics for converting the fixed length records files to csv files - that route may be faster for you; at least it is proven. /gustav >>> jwcolby at colbyconsulting.com 23-04-2007 05:56 >>> I saved an import spec from the import wizard in SQL Server 2005. I now need to use that import spec in VB.Net, but I need to modify it. I need to change the source file, make it an append instead of a make table / append, and I need to modify the datatype from NVarchar to varchar. Of course I can simply go back in to SQL Server and run the import wizard again, however this is a fixed width file which means recreating all of the field name / field width info a second time. Is it possible to just do these mods on the existing import spec or should I just bite the bullet and rebuild. I have ~ sixty more files to import into the table and I really don't want to do this 60 times. The last time I did this I actually built an Access app to create .csv files from the original fixed width files. It seems like the long way around the barn but then again I do not see how this wizard is really very useful in this case. Anyone? John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Mon Apr 23 07:08:33 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 23 Apr 2007 08:08:33 -0400 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: References: Message-ID: <001401c785a0$1d855f50$657aa8c0@m6805> Yea, a code "preprocessor" just seems to be the answer. No one on these lists have ever proposed a good (non code) solution for this particular problem. The fixed width flat file just sucks as an import specification. It requires an external file to tell you the field names and field widths. Even once you know that it leaves you with data in the fields with spaces between the end of the data and the end of the field width, i.e. 'John' in a first name field 25 spaces wide is actually 'John '. Unless you strip off the spaces you end up with a HUGE database where indexes are huge and matches with external data are difficult. But it is what is used in the industry I am dealing with. Suck it up and move on I guess. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 23, 2007 5:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John I think that wizards are mostly for one-time or simple repeated tasks. However, do you remember my observation from last year: >> 2006-05-05 20:59 Subject: MySQL insert records When inserting records by a pass-through query from Access, I've found that reading the records off a text file using LOAD DATA INFILE '../data/test.txt' INTO TABLE tempload into an empty non-indexed table runs at about 50,000 records per second even using very modest hardware. This is way faster than any normal "Insert Into ... " I've tried. However, it's a bit clumsy first to have to write the data to a file. Any comments or suggestions? You should be able to do so if not from T-SQL then from Access, and then run a modifiable import and append query in SQL Server which reads the data from the MySQL table and appends them to the internal SQL Server table. But - as you have already done the mechanics for converting the fixed length records files to csv files - that route may be faster for you; at least it is proven. /gustav >>> jwcolby at colbyconsulting.com 23-04-2007 05:56 >>> I saved an import spec from the import wizard in SQL Server 2005. I now need to use that import spec in VB.Net, but I need to modify it. I need to change the source file, make it an append instead of a make table / append, and I need to modify the datatype from NVarchar to varchar. Of course I can simply go back in to SQL Server and run the import wizard again, however this is a fixed width file which means recreating all of the field name / field width info a second time. Is it possible to just do these mods on the existing import spec or should I just bite the bullet and rebuild. I have ~ sixty more files to import into the table and I really don't want to do this 60 times. The last time I did this I actually built an Access app to create .csv files from the original fixed width files. It seems like the long way around the barn but then again I do not see how this wizard is really very useful in this case. Anyone? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Mon Apr 23 07:16:13 2007 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Mon, 23 Apr 2007 08:16:13 -0400 Subject: [AccessD] XQuery in VB 6 In-Reply-To: <017901c78317$1fa6f3b0$0100a8c0@RazvojErvin> References: <20070419144605.592A82B8B5C@smtp.nildram.co.uk><1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com><200704191517.l3JFHOx19027@smarthost.yourcomms.net><0B8880A20E2CF24280FA60901E108FB05AB375@TTNEXCHSVR.hshhp.com><46279FE9.6060806@shaw.ca><0B8880A20E2CF24280FA60901E108FB05AB399@TTNEXCHSVR.hshhp.com><4628112A.6080702@shaw.ca> <017901c78317$1fa6f3b0$0100a8c0@RazvojErvin> Message-ID: <0B8880A20E2CF24280FA60901E108FB05AB442@TTNEXCHSVR.hshhp.com> I'll second that. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ervin Brindza Sent: Friday, April 20, 2007 2:42 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] XQuery in VB 6 Marty, when will be your MVP announcement? Regards, Ervin ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Friday, April 20, 2007 3:02 AM Subject: Re: [AccessD] XQuery in VB 6 > Option Compare Database > Option Explicit > > Dim mcolRate As Collection > Sub testxml() > Set mcolRate = New Collection > 'find daily US dollar fixed rate vs Euro from Euro Central Bank > ' via XPath > > GrabXMLFile ("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml") > > Debug.Print mcolRate("USD") > MsgBox "US Euro Rate ECB " & mcolRate("USD") > End Sub > Public Function GrabXMLFile(ByRef AdviserXML As String) > 'http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html > > 'Base currency is Euro so will have to do a conversion for USD > 'Note the link for other pages with sources for XML etc. > > 'http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml > 'On Error GoTo ErrorHandler > 'needs reference set to XML 4.0 and maybe ADO 2.8 > Dim oDOMDocument As MSXML2.DOMDocument40 > Dim oNodeList As IXMLDOMNodeList > Dim oAdviserDetailsNode As IXMLDOMNode > Dim oLowestLevelNode As IXMLDOMElement > Dim oNode As IXMLDOMNode > Dim objXMLDOMNamedNodeMap As IXMLDOMNamedNodeMap > Dim xPError As IXMLDOMParseError > Dim Mydb As Database > Dim myrs As ADODB.Recordset > Dim sTempValue As String > > Set oDOMDocument = New MSXML2.DOMDocument40 > > oDOMDocument.async = False > oDOMDocument.validateOnParse = True 'you may want to parse for errors > oDOMDocument.resolveExternals = False > oDOMDocument.preserveWhiteSpace = True > > 'use if xml disk file > If Not oDOMDocument.Load(AdviserXML) Then > MsgBox ("XML File error") > Set xPError = oDOMDocument.parseError > DOMParseError xPError > > End If > Set oAdviserDetailsNode = oDOMDocument.documentElement > Debug.Print oDOMDocument.xml > > 'use appropriate XPath expression to select nodes > > ' Set oNodeList = > oAdviserDetailsNode.selectNodes("Envelope/Cube/Cube/@*") > Set oNodeList = oAdviserDetailsNode.selectNodes("//@*") > > Debug.Print oNodeList.length > > For Each oNode In oNodeList > > ' Debug.Print "*" & oNode.Text; oNode.nodeName & "*" > > Select Case oNode.nodeName > Case "currency" > sTempValue = oNode.Text > > Case "rate" > 'This path is used to store a variable on the collection > On Error Resume Next > mcolRate.Remove sTempValue > mcolRate.Add oNode.Text, sTempValue > Debug.Print sTempValue & " rate " & oNode.Text > On Error GoTo ErrorHandler > > End Select > > Next > Set oNodeList = Nothing > Set oDOMDocument = Nothing > Set oAdviserDetailsNode = Nothing > Set objXMLDOMNamedNodeMap = Nothing > Exit Function > > ErrorHandler: > > ' Call NewError.Raise(Err.Number, Err.Source, Err.Description) > > End Function > Sub DOMParseError(xPE As IXMLDOMParseError) > > ' The document failed to load. > Dim strErrText As String > ' Obtain the ParseError object > With xPE > strErrText = "Your XML Document failed to load" & _ > "due the following error." & vbCrLf & _ > "Error #: " & .errorCode & ": " & xPE.reason & _ > "Line #: " & .Line & vbCrLf & _ > "Line Position: " & .linepos & vbCrLf & _ > "Position In File: " & .filepos & vbCrLf & _ > "Source Text: " & .srcText & vbCrLf & _ > "Document URL: " & .url > End With > Debug.Print strErrText > > Dim s As String > Dim r As String > Dim i As Long > > s = "" > For i = 1 To xPE.linepos - 1 > s = s & " " > Next > r = "XML Error loading " & xPE.url & " * " & xPE.reason > Debug.Print r > 'show character postion of error; tired of counting chars in xml file > If (xPE.Line > 0) Then > r = "at line " & xPE.Line & ", character " & xPE.linepos & vbCrLf & _ > xPE.srcText & vbCrLf & s & "^" > End If > Debug.Print r > MsgBox strErrText, vbExclamation > End Sub > > > Jim DeMarco wrote: > >>Thanks Marty. I'll pass this on to my team. >> >>We're using XQuery but we're not strongly tied to it. I had mentioned >>XPath but I thought that was used to access one piece of data (or one >>related set of nodes out of a structure). We need to return select >>nodes based on criteria. Is this an accurate description of differences >>betweent the two do you think? >> >> >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >>Sent: Thursday, April 19, 2007 12:59 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] XQuery in VB 6 >> >>I have only used XQuery with SQL 2005 & VB.Net I have XPath examples in >>VBA >> >>Are you using XQuery or XPath? >> >> XPath is imbedded in both XSLT and XQuery. In those languages it serves >>the role of node-set identification (selection) >> >>XQuery example >> >>Dim sql_getbank As String = "SELECT >>Demographics.query('data(//BankName)') " _ >> >> & "FROM Store WHERE CustomerID = @CustomerID" >> >> >>XPath example >> >> Set oAdviserDetailsNode = oDOMDocument.documentElement >> 'use appropriate XPath expression to select nodes >> Set oNodeList = >>oAdviserDetailsNode.selectNodes("//BusinessDetails/*") >> >>Have a look at >>SQL Server 2005 XQuery and XML-DML - Part 2 By Alex Homer >> >>http://www.15seconds.com/issue/050811.htm >> >> >>Jim DeMarco wrote: >> >> >> >>>X-posted AccessD, VB >>> >>>Hello All, >>> >>>I've been absent for a while but an issue has just come up that I hope >>>someone can help with. >>> >>>Does anyone have any VB 6 code that uses XQuery to return a set of >>>nodes? I find plenty of XQuery examples that show the query and the >>>returned nodes but no VB 6 implementation. >>> >>>Any short code snip will do. >>> >>>TIA, >>> >>>Jim DeMarco >>> >>> > -- > Marty Connelly > Victoria, B.C. > Canada > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > Internal Virus Database is out-of-date. > Checked by AVG Free Edition. > Version: 7.5.446 / Virus Database: 268.18.24/742 - Release Date: 4/1/2007 > 8:49 PM > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Mon Apr 23 10:10:43 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 23 Apr 2007 10:10:43 -0500 Subject: [AccessD] OT: Default BCC In-Reply-To: <004d01c78516$aab2ae80$0501a8c0@HAL9005> Message-ID: Probably easier to use a rule. (There's a rule wizard to help out). Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, April 22, 2007 2:45 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Default BCC Dear List: Is there a way to default an email address into the BCC field in Outlook when you create a new message? TIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Apr 23 11:01:39 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 23 Apr 2007 09:01:39 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: Message-ID: <008801c785c0$ae09a070$0501a8c0@HAL9005> That WOULD be easy. But I don't see a rule that governs outgoing addresses. Only sorting incoming mail. Am I missing it somewhere? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 8:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC Probably easier to use a rule. (There's a rule wizard to help out). Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, April 22, 2007 2:45 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Default BCC Dear List: Is there a way to default an email address into the BCC field in Outlook when you create a new message? TIA Rocky -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM From DWUTKA at Marlow.com Mon Apr 23 11:38:53 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 23 Apr 2007 11:38:53 -0500 Subject: [AccessD] OT: Default BCC In-Reply-To: <008801c785c0$ae09a070$0501a8c0@HAL9005> Message-ID: Okay, step by step using Outlook 2003. Click Tools --> Rules and Alerts Click New Rule Select 'Start from a blank rule' (not default selection) Under Step1, select Check messages after sending, click next. Click next again (you will be prompted again, click Yes) (Side note, this rule now applies to ALL email you send. The last Next and Yes skipped past conditions you may want to choose) Select 'CC the message to people or distribution list'. In the step 2 window, click the underlines 'people or distribution list' to select the address you want the copy sent too. Click Next, then Next again (this one skips the exceptions that you can apply to your rule) Click Finish All done! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 11:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC That WOULD be easy. But I don't see a rule that governs outgoing addresses. Only sorting incoming mail. Am I missing it somewhere? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 8:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC Probably easier to use a rule. (There's a rule wizard to help out). Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, April 22, 2007 2:45 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Default BCC Dear List: Is there a way to default an email address into the BCC field in Outlook when you create a new message? TIA Rocky -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Apr 23 11:50:41 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 23 Apr 2007 09:50:41 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: Message-ID: <00ac01c785c7$872fee80$0501a8c0@HAL9005> Almost there. The user who asked me for this wants to Bcc. The rule wizard seems to only allow CC. It's a law office and this person wants to Bcc her admin assistant. Is there a way to do Bcc? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 9:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC Okay, step by step using Outlook 2003. Click Tools --> Rules and Alerts Click New Rule Select 'Start from a blank rule' (not default selection) Under Step1, select Check messages after sending, click next. Click next again (you will be prompted again, click Yes) (Side note, this rule now applies to ALL email you send. The last Next and Yes skipped past conditions you may want to choose) Select 'CC the message to people or distribution list'. In the step 2 window, click the underlines 'people or distribution list' to select the address you want the copy sent too. Click Next, then Next again (this one skips the exceptions that you can apply to your rule) Click Finish All done! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 11:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC That WOULD be easy. But I don't see a rule that governs outgoing addresses. Only sorting incoming mail. Am I missing it somewhere? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 8:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC Probably easier to use a rule. (There's a rule wizard to help out). Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, April 22, 2007 2:45 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Default BCC Dear List: Is there a way to default an email address into the BCC field in Outlook when you create a new message? TIA Rocky -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM From cfoust at infostatsystems.com Mon Apr 23 11:56:45 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 23 Apr 2007 09:56:45 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: <00ac01c785c7$872fee80$0501a8c0@HAL9005> References: <00ac01c785c7$872fee80$0501a8c0@HAL9005> Message-ID: Wouldn't it be easier to just add a custom button to Outlook to pop the Admin Assistant into the Bcc for each email she wants to apply it to? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 9:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Almost there. The user who asked me for this wants to Bcc. The rule wizard seems to only allow CC. It's a law office and this person wants to Bcc her admin assistant. Is there a way to do Bcc? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 9:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC Okay, step by step using Outlook 2003. Click Tools --> Rules and Alerts Click New Rule Select 'Start from a blank rule' (not default selection) Under Step1, select Check messages after sending, click next. Click next again (you will be prompted again, click Yes) (Side note, this rule now applies to ALL email you send. The last Next and Yes skipped past conditions you may want to choose) Select 'CC the message to people or distribution list'. In the step 2 window, click the underlines 'people or distribution list' to select the address you want the copy sent too. Click Next, then Next again (this one skips the exceptions that you can apply to your rule) Click Finish All done! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 11:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC That WOULD be easy. But I don't see a rule that governs outgoing addresses. Only sorting incoming mail. Am I missing it somewhere? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 8:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC Probably easier to use a rule. (There's a rule wizard to help out). Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, April 22, 2007 2:45 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Default BCC Dear List: Is there a way to default an email address into the BCC field in Outlook when you create a new message? TIA Rocky -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Apr 23 12:17:24 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 23 Apr 2007 10:17:24 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: Message-ID: <00c101c785cb$42b4a9e0$0501a8c0@HAL9005> Charlotte: Too easy. But I couldn't figure out how to do it. Checked the Customize commands but didn't see anything obvious. How do you do that? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 23, 2007 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC Wouldn't it be easier to just add a custom button to Outlook to pop the Admin Assistant into the Bcc for each email she wants to apply it to? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 9:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Almost there. The user who asked me for this wants to Bcc. The rule wizard seems to only allow CC. It's a law office and this person wants to Bcc her admin assistant. Is there a way to do Bcc? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 9:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC Okay, step by step using Outlook 2003. Click Tools --> Rules and Alerts Click New Rule Select 'Start from a blank rule' (not default selection) Under Step1, select Check messages after sending, click next. Click next again (you will be prompted again, click Yes) (Side note, this rule now applies to ALL email you send. The last Next and Yes skipped past conditions you may want to choose) Select 'CC the message to people or distribution list'. In the step 2 window, click the underlines 'people or distribution list' to select the address you want the copy sent too. Click Next, then Next again (this one skips the exceptions that you can apply to your rule) Click Finish All done! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 11:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC That WOULD be easy. But I don't see a rule that governs outgoing addresses. Only sorting incoming mail. Am I missing it somewhere? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 8:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC Probably easier to use a rule. (There's a rule wizard to help out). Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, April 22, 2007 2:45 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Default BCC Dear List: Is there a way to default an email address into the BCC field in Outlook when you create a new message? TIA Rocky -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM From DWUTKA at Marlow.com Mon Apr 23 12:26:17 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 23 Apr 2007 12:26:17 -0500 Subject: [AccessD] OT: Default BCC In-Reply-To: <00ac01c785c7$872fee80$0501a8c0@HAL9005> Message-ID: Hmmmm, good point. Another option would be to have the lawyer link outlook to a folder in her assistants account (easier if on an Exchange server, if they are using .pst's, may not work), and use the move to folder action. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 11:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Almost there. The user who asked me for this wants to Bcc. The rule wizard seems to only allow CC. It's a law office and this person wants to Bcc her admin assistant. Is there a way to do Bcc? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 9:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC Okay, step by step using Outlook 2003. Click Tools --> Rules and Alerts Click New Rule Select 'Start from a blank rule' (not default selection) Under Step1, select Check messages after sending, click next. Click next again (you will be prompted again, click Yes) (Side note, this rule now applies to ALL email you send. The last Next and Yes skipped past conditions you may want to choose) Select 'CC the message to people or distribution list'. In the step 2 window, click the underlines 'people or distribution list' to select the address you want the copy sent too. Click Next, then Next again (this one skips the exceptions that you can apply to your rule) Click Finish All done! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 11:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC That WOULD be easy. But I don't see a rule that governs outgoing addresses. Only sorting incoming mail. Am I missing it somewhere? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 8:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC Probably easier to use a rule. (There's a rule wizard to help out). Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, April 22, 2007 2:45 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Default BCC Dear List: Is there a way to default an email address into the BCC field in Outlook when you create a new message? TIA Rocky -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Mon Apr 23 12:54:09 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 23 Apr 2007 18:54:09 +0100 Subject: [AccessD] OT: Default BCC In-Reply-To: <00ac01c785c7$872fee80$0501a8c0@HAL9005> Message-ID: <000001c785d0$66cea920$c9e1d355@minster33c3r25> Sorry if this is too simplistic, but she does have the View BCC option ticked doesn't she? -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: 23 April 2007 17:51 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: Default BCC > > > Almost there. The user who asked me for this wants to Bcc. > The rule wizard > seems to only allow CC. It's a law office and this person > wants to Bcc her > admin assistant. Is there a way to do Bcc? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: Monday, April 23, 2007 9:39 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Default BCC > > Okay, step by step using Outlook 2003. > > Click Tools --> Rules and Alerts > > Click New Rule > > Select 'Start from a blank rule' (not default selection) > > Under Step1, select Check messages after sending, click next. > > Click next again (you will be prompted again, click Yes) > > (Side note, this rule now applies to ALL email you send. The > last Next and Yes skipped past conditions you may want to choose) > > Select 'CC the message to people or distribution list'. > > In the step 2 window, click the underlines 'people or > distribution list' to select the address you want the copy sent too. > > Click Next, then Next again (this one skips the exceptions > that you can apply to your rule) > > Click Finish > > All done! > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Monday, April 23, 2007 11:02 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: Default BCC > > > That WOULD be easy. But I don't see a rule that governs > outgoing addresses. Only sorting incoming mail. Am I missing > it somewhere? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: Monday, April 23, 2007 8:11 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Default BCC > > Probably easier to use a rule. (There's a rule wizard to help out). > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Sunday, April 22, 2007 2:45 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] OT: Default BCC > > > > > Dear List: > > Is there a way to default an email address into the BCC field > in Outlook when you create a new message? > > TIA > > Rocky > > > > > > -- > 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 > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.463 / Virus Database: 269.5.9/773 - Release > Date: 4/22/2007 8:18 PM > > > -- > 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 > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.463 / Virus Database: 269.5.9/773 - Release > Date: 4/22/2007 8:18 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From rockysmolin at bchacc.com Mon Apr 23 13:01:13 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 23 Apr 2007 11:01:13 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: <000001c785d0$66cea920$c9e1d355@minster33c3r25> Message-ID: <00d601c785d1$621a5360$0501a8c0@HAL9005> Yes, but she has to insert her AA's email address manually on every email that goes to a client that she wants to copy the AA on. So she was looking for a way to have the AA's email automatically entered in the Bcc line on every email. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Monday, April 23, 2007 10:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Sorry if this is too simplistic, but she does have the View BCC option ticked doesn't she? -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: 23 April 2007 17:51 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: Default BCC > > > Almost there. The user who asked me for this wants to Bcc. > The rule wizard > seems to only allow CC. It's a law office and this person > wants to Bcc her > admin assistant. Is there a way to do Bcc? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: Monday, April 23, 2007 9:39 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Default BCC > > Okay, step by step using Outlook 2003. > > Click Tools --> Rules and Alerts > > Click New Rule > > Select 'Start from a blank rule' (not default selection) > > Under Step1, select Check messages after sending, click next. > > Click next again (you will be prompted again, click Yes) > > (Side note, this rule now applies to ALL email you send. The last > Next and Yes skipped past conditions you may want to choose) > > Select 'CC the message to people or distribution list'. > > In the step 2 window, click the underlines 'people or distribution > list' to select the address you want the copy sent too. > > Click Next, then Next again (this one skips the exceptions that you > can apply to your rule) > > Click Finish > > All done! > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin > at Beach Access Software > Sent: Monday, April 23, 2007 11:02 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: Default BCC > > > That WOULD be easy. But I don't see a rule that governs outgoing > addresses. Only sorting incoming mail. Am I missing it somewhere? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: Monday, April 23, 2007 8:11 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Default BCC > > Probably easier to use a rule. (There's a rule wizard to help out). > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin > at Beach Access Software > Sent: Sunday, April 22, 2007 2:45 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] OT: Default BCC > > > > > Dear List: > > Is there a way to default an email address into the BCC field in > Outlook when you create a new message? > > TIA > > Rocky > > > > > > -- > 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 > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.463 / Virus Database: 269.5.9/773 - Release > Date: 4/22/2007 8:18 PM > > > -- > 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 > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.463 / Virus Database: 269.5.9/773 - Release > Date: 4/22/2007 8:18 PM > > > -- > 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM From Chester_Kaup at kindermorgan.com Mon Apr 23 13:05:39 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 23 Apr 2007 13:05:39 -0500 Subject: [AccessD] Query returns only some results Message-ID: When I run the following query it returns results for only some patterns. An example is Pattern 111-1. Below the query is a listing of some of the data for Pattern 111-1. I have also tried min in place of first. I cannot seem to see why I am getting no results for this pattern. SELECT DISTINCT Daily_Appended_Audit.Pattern, First(Daily_Appended_Audit.Date) AS FirstOfDate FROM Daily_Appended_Audit WHERE (((Daily_Appended_Audit.[Inject Fluid])="Water") AND ((Daily_Appended_Audit.BWIPD)>0)) GROUP BY Daily_Appended_Audit.Pattern HAVING (((First(Daily_Appended_Audit.Date))>Date()-2)); qry First Date of Water Injection after Today Pattern Date 111-1 4/20/2006 111-1 4/21/2006 111-1 4/22/2006 111-1 4/23/2006 111-1 4/24/2006 111-1 4/25/2006 111-1 4/26/2006 111-1 4/27/2006 111-1 4/28/2006 111-1 4/29/2006 111-1 4/30/2006 111-1 5/1/2006 111-1 5/2/2006 111-1 5/3/2006 111-1 5/4/2006 111-1 5/5/2006 111-1 5/6/2006 111-1 5/7/2006 111-1 5/8/2006 111-1 5/9/2006 Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From Elizabeth.J.Doering at wellsfargo.com Mon Apr 23 13:09:33 2007 From: Elizabeth.J.Doering at wellsfargo.com (Elizabeth.J.Doering at wellsfargo.com) Date: Mon, 23 Apr 2007 13:09:33 -0500 Subject: [AccessD] OT: Default BCC References: <00ac01c785c7$872fee80$0501a8c0@HAL9005> Message-ID: <1C2084FD2472124AB1812A5476EA3B7A015F7DDB@msgswbmnmsp04.wellsfargo.com> There is an option in Rules to check messages after they are sent, and then send copy to another person. Does this help? Thanks, Liz Liz Doering elizabeth.j.doering at wellsfargo.com 612.667.2447 "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 11:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Almost there. The user who asked me for this wants to Bcc. The rule wizard seems to only allow CC. It's a law office and this person wants to Bcc her admin assistant. Is there a way to do Bcc? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 9:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC Okay, step by step using Outlook 2003. Click Tools --> Rules and Alerts Click New Rule Select 'Start from a blank rule' (not default selection) Under Step1, select Check messages after sending, click next. Click next again (you will be prompted again, click Yes) (Side note, this rule now applies to ALL email you send. The last Next and Yes skipped past conditions you may want to choose) Select 'CC the message to people or distribution list'. In the step 2 window, click the underlines 'people or distribution list' to select the address you want the copy sent too. Click Next, then Next again (this one skips the exceptions that you can apply to your rule) Click Finish All done! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 11:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC That WOULD be easy. But I don't see a rule that governs outgoing addresses. Only sorting incoming mail. Am I missing it somewhere? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 8:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC Probably easier to use a rule. (There's a rule wizard to help out). Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, April 22, 2007 2:45 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Default BCC Dear List: Is there a way to default an email address into the BCC field in Outlook when you create a new message? TIA Rocky -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Mon Apr 23 13:26:52 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 23 Apr 2007 13:26:52 -0500 Subject: [AccessD] Query returns only some results In-Reply-To: References: Message-ID: Problem solved! Field name in source table of Date is the problem. I should know that Date is not a good field name to use. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, April 23, 2007 1:06 PM To: Access Developers discussion and problem solving Subject: [AccessD] Query returns only some results When I run the following query it returns results for only some patterns. An example is Pattern 111-1. Below the query is a listing of some of the data for Pattern 111-1. I have also tried min in place of first. I cannot seem to see why I am getting no results for this pattern. SELECT DISTINCT Daily_Appended_Audit.Pattern, First(Daily_Appended_Audit.Date) AS FirstOfDate FROM Daily_Appended_Audit WHERE (((Daily_Appended_Audit.[Inject Fluid])="Water") AND ((Daily_Appended_Audit.BWIPD)>0)) GROUP BY Daily_Appended_Audit.Pattern HAVING (((First(Daily_Appended_Audit.Date))>Date()-2)); qry First Date of Water Injection after Today Pattern Date 111-1 4/20/2006 111-1 4/21/2006 111-1 4/22/2006 111-1 4/23/2006 111-1 4/24/2006 111-1 4/25/2006 111-1 4/26/2006 111-1 4/27/2006 111-1 4/28/2006 111-1 4/29/2006 111-1 4/30/2006 111-1 5/1/2006 111-1 5/2/2006 111-1 5/3/2006 111-1 5/4/2006 111-1 5/5/2006 111-1 5/6/2006 111-1 5/7/2006 111-1 5/8/2006 111-1 5/9/2006 Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Apr 23 16:58:57 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 23 Apr 2007 14:58:57 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: <00d601c785d1$621a5360$0501a8c0@HAL9005> References: <00d601c785d1$621a5360$0501a8c0@HAL9005> Message-ID: <462D2C21.5050209@shaw.ca> This site says you have to do through VBA code. or use third party add-in http://www.howto-outlook.com/faq/createbccrule.htm To automatically Bcc all outgoing messages. http://www.outlookcode.com/d/code/autobcc.htm Rocky Smolin at Beach Access Software wrote: >Yes, but she has to insert her AA's email address manually on every email >that goes to a client that she wants to copy the AA on. So she was looking >for a way to have the AA's email automatically entered in the Bcc line on >every email. > >Rocky > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Monday, April 23, 2007 10:54 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT: Default BCC > >Sorry if this is too simplistic, but she does have the View BCC option >ticked doesn't she? > >-- Andy Lacey >http://www.minstersystems.co.uk > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>Smolin at Beach Access Software >>Sent: 23 April 2007 17:51 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>Almost there. The user who asked me for this wants to Bcc. >>The rule wizard >>seems to only allow CC. It's a law office and this person >>wants to Bcc her >>admin assistant. Is there a way to do Bcc? >> >>Rocky >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 9:39 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Okay, step by step using Outlook 2003. >> >>Click Tools --> Rules and Alerts >> >>Click New Rule >> >>Select 'Start from a blank rule' (not default selection) >> >>Under Step1, select Check messages after sending, click next. >> >>Click next again (you will be prompted again, click Yes) >> >>(Side note, this rule now applies to ALL email you send. The last >>Next and Yes skipped past conditions you may want to choose) >> >>Select 'CC the message to people or distribution list'. >> >>In the step 2 window, click the underlines 'people or distribution >>list' to select the address you want the copy sent too. >> >>Click Next, then Next again (this one skips the exceptions that you >>can apply to your rule) >> >>Click Finish >> >>All done! >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Monday, April 23, 2007 11:02 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>That WOULD be easy. But I don't see a rule that governs outgoing >>addresses. Only sorting incoming mail. Am I missing it somewhere? >> >>Rocky >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 8:11 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Probably easier to use a rule. (There's a rule wizard to help out). >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Sunday, April 22, 2007 2:45 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] OT: Default BCC >> >> >> >> >>Dear List: >> >>Is there a way to default an email address into the BCC field in >>Outlook when you create a new message? >> >>TIA >> >>Rocky >> >> -- Marty Connelly Victoria, B.C. Canada From rockysmolin at bchacc.com Mon Apr 23 18:03:12 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 23 Apr 2007 16:03:12 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: <462D2C21.5050209@shaw.ca> Message-ID: <010201c785fb$92401ff0$0501a8c0@HAL9005> Marty: You know I found that site. And the code makes sense. But I've never put any code behind Outlook. Don't know how to get that code attached to the Item_Send event (if there is such a thing). Any hints on how to? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 23, 2007 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC This site says you have to do through VBA code. or use third party add-in http://www.howto-outlook.com/faq/createbccrule.htm To automatically Bcc all outgoing messages. http://www.outlookcode.com/d/code/autobcc.htm Rocky Smolin at Beach Access Software wrote: >Yes, but she has to insert her AA's email address manually on every >email that goes to a client that she wants to copy the AA on. So she >was looking for a way to have the AA's email automatically entered in >the Bcc line on every email. > >Rocky > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Monday, April 23, 2007 10:54 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT: Default BCC > >Sorry if this is too simplistic, but she does have the View BCC option >ticked doesn't she? > >-- Andy Lacey >http://www.minstersystems.co.uk > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>Smolin at Beach Access Software >>Sent: 23 April 2007 17:51 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>Almost there. The user who asked me for this wants to Bcc. >>The rule wizard >>seems to only allow CC. It's a law office and this person >>wants to Bcc her >>admin assistant. Is there a way to do Bcc? >> >>Rocky >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 9:39 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Okay, step by step using Outlook 2003. >> >>Click Tools --> Rules and Alerts >> >>Click New Rule >> >>Select 'Start from a blank rule' (not default selection) >> >>Under Step1, select Check messages after sending, click next. >> >>Click next again (you will be prompted again, click Yes) >> >>(Side note, this rule now applies to ALL email you send. The last >>Next and Yes skipped past conditions you may want to choose) >> >>Select 'CC the message to people or distribution list'. >> >>In the step 2 window, click the underlines 'people or distribution >>list' to select the address you want the copy sent too. >> >>Click Next, then Next again (this one skips the exceptions that you >>can apply to your rule) >> >>Click Finish >> >>All done! >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Monday, April 23, 2007 11:02 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>That WOULD be easy. But I don't see a rule that governs outgoing >>addresses. Only sorting incoming mail. Am I missing it somewhere? >> >>Rocky >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 8:11 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Probably easier to use a rule. (There's a rule wizard to help out). >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Sunday, April 22, 2007 2:45 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] OT: Default BCC >> >> >> >> >>Dear List: >> >>Is there a way to default an email address into the BCC field in >>Outlook when you create a new message? >> >>TIA >> >>Rocky >> >> -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM From jwcolby at colbyconsulting.com Mon Apr 23 18:13:05 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 23 Apr 2007 19:13:05 -0400 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: <001401c785a0$1d855f50$657aa8c0@m6805> References: <001401c785a0$1d855f50$657aa8c0@m6805> Message-ID: <000001c785fc$f3a4dff0$657aa8c0@m6805> Well, it took about three hours to build an Access VBA system to turn the fixed width file into a CSV with the leading / trailing spaces stripped off of every field. The code runs about 2.5 K records / second for the conversion portion. I name the CSV file with a fixed name and linked the file to Access, so once that is done I run a simple append query that pulls the data back out of the CSV and appends it into the SQL Server table. Unfortunately the append to SQL process is running at a little better than 500 records / second. I have to figure that out or this will take weeks. I have ~ 100 million records to convert so... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 23, 2007 8:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] using a saved SSIS with VB.Net Yea, a code "preprocessor" just seems to be the answer. No one on these lists have ever proposed a good (non code) solution for this particular problem. The fixed width flat file just sucks as an import specification. It requires an external file to tell you the field names and field widths. Even once you know that it leaves you with data in the fields with spaces between the end of the data and the end of the field width, i.e. 'John' in a first name field 25 spaces wide is actually 'John '. Unless you strip off the spaces you end up with a HUGE database where indexes are huge and matches with external data are difficult. But it is what is used in the industry I am dealing with. Suck it up and move on I guess. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 23, 2007 5:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John I think that wizards are mostly for one-time or simple repeated tasks. However, do you remember my observation from last year: >> 2006-05-05 20:59 Subject: MySQL insert records When inserting records by a pass-through query from Access, I've found that reading the records off a text file using LOAD DATA INFILE '../data/test.txt' INTO TABLE tempload into an empty non-indexed table runs at about 50,000 records per second even using very modest hardware. This is way faster than any normal "Insert Into ... " I've tried. However, it's a bit clumsy first to have to write the data to a file. Any comments or suggestions? You should be able to do so if not from T-SQL then from Access, and then run a modifiable import and append query in SQL Server which reads the data from the MySQL table and appends them to the internal SQL Server table. But - as you have already done the mechanics for converting the fixed length records files to csv files - that route may be faster for you; at least it is proven. /gustav >>> jwcolby at colbyconsulting.com 23-04-2007 05:56 >>> I saved an import spec from the import wizard in SQL Server 2005. I now need to use that import spec in VB.Net, but I need to modify it. I need to change the source file, make it an append instead of a make table / append, and I need to modify the datatype from NVarchar to varchar. Of course I can simply go back in to SQL Server and run the import wizard again, however this is a fixed width file which means recreating all of the field name / field width info a second time. Is it possible to just do these mods on the existing import spec or should I just bite the bullet and rebuild. I have ~ sixty more files to import into the table and I really don't want to do this 60 times. The last time I did this I actually built an Access app to create .csv files from the original fixed width files. It seems like the long way around the barn but then again I do not see how this wizard is really very useful in this case. Anyone? John W. Colby Colby Consulting www.ColbyConsulting.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 DWUTKA at Marlow.com Mon Apr 23 18:57:51 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 23 Apr 2007 18:57:51 -0500 Subject: [AccessD] OT: Default BCC In-Reply-To: <010201c785fb$92401ff0$0501a8c0@HAL9005> Message-ID: When you go into the code window, there is a 'ThisOutlookSession' object. Click that, and you should get a blank code page. Click the left drop down box in the code page and select Application. The right drop down will then have the ItemSend event. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 6:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Marty: You know I found that site. And the code makes sense. But I've never put any code behind Outlook. Don't know how to get that code attached to the Item_Send event (if there is such a thing). Any hints on how to? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 23, 2007 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC This site says you have to do through VBA code. or use third party add-in http://www.howto-outlook.com/faq/createbccrule.htm To automatically Bcc all outgoing messages. http://www.outlookcode.com/d/code/autobcc.htm Rocky Smolin at Beach Access Software wrote: >Yes, but she has to insert her AA's email address manually on every >email that goes to a client that she wants to copy the AA on. So she >was looking for a way to have the AA's email automatically entered in >the Bcc line on every email. > >Rocky > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Monday, April 23, 2007 10:54 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT: Default BCC > >Sorry if this is too simplistic, but she does have the View BCC option >ticked doesn't she? > >-- Andy Lacey >http://www.minstersystems.co.uk > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>Smolin at Beach Access Software >>Sent: 23 April 2007 17:51 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>Almost there. The user who asked me for this wants to Bcc. >>The rule wizard >>seems to only allow CC. It's a law office and this person >>wants to Bcc her >>admin assistant. Is there a way to do Bcc? >> >>Rocky >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 9:39 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Okay, step by step using Outlook 2003. >> >>Click Tools --> Rules and Alerts >> >>Click New Rule >> >>Select 'Start from a blank rule' (not default selection) >> >>Under Step1, select Check messages after sending, click next. >> >>Click next again (you will be prompted again, click Yes) >> >>(Side note, this rule now applies to ALL email you send. The last >>Next and Yes skipped past conditions you may want to choose) >> >>Select 'CC the message to people or distribution list'. >> >>In the step 2 window, click the underlines 'people or distribution >>list' to select the address you want the copy sent too. >> >>Click Next, then Next again (this one skips the exceptions that you >>can apply to your rule) >> >>Click Finish >> >>All done! >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Monday, April 23, 2007 11:02 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>That WOULD be easy. But I don't see a rule that governs outgoing >>addresses. Only sorting incoming mail. Am I missing it somewhere? >> >>Rocky >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 8:11 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Probably easier to use a rule. (There's a rule wizard to help out). >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Sunday, April 22, 2007 2:45 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] OT: Default BCC >> >> >> >> >>Dear List: >> >>Is there a way to default an email address into the BCC field in >>Outlook when you create a new message? >> >>TIA >> >>Rocky >> >> -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at sc.rr.com Mon Apr 23 19:01:27 2007 From: bheid at sc.rr.com (Bobby Heid) Date: Mon, 23 Apr 2007 20:01:27 -0400 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: <000001c785fc$f3a4dff0$657aa8c0@m6805> References: <001401c785a0$1d855f50$657aa8c0@m6805> <000001c785fc$f3a4dff0$657aa8c0@m6805> Message-ID: <004401c78603$b4fc5c90$2c01a8c0@bhxp> John, Check out FileHelpers 2.0 http://filehelpers.sourceforge.net/ and see if that will help you. Also, it sounds like BCP in SQL server would be a better candidate to get the data into SQL in a bulk manner. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 23, 2007 7:13 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] using a saved SSIS with VB.Net Well, it took about three hours to build an Access VBA system to turn the fixed width file into a CSV with the leading / trailing spaces stripped off of every field. The code runs about 2.5 K records / second for the conversion portion. I name the CSV file with a fixed name and linked the file to Access, so once that is done I run a simple append query that pulls the data back out of the CSV and appends it into the SQL Server table. Unfortunately the append to SQL process is running at a little better than 500 records / second. I have to figure that out or this will take weeks. I have ~ 100 million records to convert so... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 23, 2007 8:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] using a saved SSIS with VB.Net Yea, a code "preprocessor" just seems to be the answer. No one on these lists have ever proposed a good (non code) solution for this particular problem. The fixed width flat file just sucks as an import specification. It requires an external file to tell you the field names and field widths. Even once you know that it leaves you with data in the fields with spaces between the end of the data and the end of the field width, i.e. 'John' in a first name field 25 spaces wide is actually 'John '. Unless you strip off the spaces you end up with a HUGE database where indexes are huge and matches with external data are difficult. But it is what is used in the industry I am dealing with. Suck it up and move on I guess. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 23, 2007 5:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John I think that wizards are mostly for one-time or simple repeated tasks. However, do you remember my observation from last year: >> 2006-05-05 20:59 Subject: MySQL insert records When inserting records by a pass-through query from Access, I've found that reading the records off a text file using LOAD DATA INFILE '../data/test.txt' INTO TABLE tempload into an empty non-indexed table runs at about 50,000 records per second even using very modest hardware. This is way faster than any normal "Insert Into ... " I've tried. However, it's a bit clumsy first to have to write the data to a file. Any comments or suggestions? You should be able to do so if not from T-SQL then from Access, and then run a modifiable import and append query in SQL Server which reads the data from the MySQL table and appends them to the internal SQL Server table. But - as you have already done the mechanics for converting the fixed length records files to csv files - that route may be faster for you; at least it is proven. /gustav >>> jwcolby at colbyconsulting.com 23-04-2007 05:56 >>> I saved an import spec from the import wizard in SQL Server 2005. I now need to use that import spec in VB.Net, but I need to modify it. I need to change the source file, make it an append instead of a make table / append, and I need to modify the datatype from NVarchar to varchar. Of course I can simply go back in to SQL Server and run the import wizard again, however this is a fixed width file which means recreating all of the field name / field width info a second time. Is it possible to just do these mods on the existing import spec or should I just bite the bullet and rebuild. I have ~ sixty more files to import into the table and I really don't want to do this 60 times. The last time I did this I actually built an Access app to create .csv files from the original fixed width files. It seems like the long way around the barn but then again I do not see how this wizard is really very useful in this case. Anyone? John W. Colby Colby Consulting www.ColbyConsulting.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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Apr 23 19:01:00 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 23 Apr 2007 17:01:00 -0700 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: <000001c785fc$f3a4dff0$657aa8c0@m6805> References: <001401c785a0$1d855f50$657aa8c0@m6805> <000001c785fc$f3a4dff0$657aa8c0@m6805> Message-ID: Have you thought about leaving town with no forwarding address instead?? LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 23, 2007 4:13 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] using a saved SSIS with VB.Net Well, it took about three hours to build an Access VBA system to turn the fixed width file into a CSV with the leading / trailing spaces stripped off of every field. The code runs about 2.5 K records / second for the conversion portion. I name the CSV file with a fixed name and linked the file to Access, so once that is done I run a simple append query that pulls the data back out of the CSV and appends it into the SQL Server table. Unfortunately the append to SQL process is running at a little better than 500 records / second. I have to figure that out or this will take weeks. I have ~ 100 million records to convert so... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 23, 2007 8:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] using a saved SSIS with VB.Net Yea, a code "preprocessor" just seems to be the answer. No one on these lists have ever proposed a good (non code) solution for this particular problem. The fixed width flat file just sucks as an import specification. It requires an external file to tell you the field names and field widths. Even once you know that it leaves you with data in the fields with spaces between the end of the data and the end of the field width, i.e. 'John' in a first name field 25 spaces wide is actually 'John '. Unless you strip off the spaces you end up with a HUGE database where indexes are huge and matches with external data are difficult. But it is what is used in the industry I am dealing with. Suck it up and move on I guess. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 23, 2007 5:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John I think that wizards are mostly for one-time or simple repeated tasks. However, do you remember my observation from last year: >> 2006-05-05 20:59 Subject: MySQL insert records When inserting records by a pass-through query from Access, I've found that reading the records off a text file using LOAD DATA INFILE '../data/test.txt' INTO TABLE tempload into an empty non-indexed table runs at about 50,000 records per second even using very modest hardware. This is way faster than any normal "Insert Into ... " I've tried. However, it's a bit clumsy first to have to write the data to a file. Any comments or suggestions? You should be able to do so if not from T-SQL then from Access, and then run a modifiable import and append query in SQL Server which reads the data from the MySQL table and appends them to the internal SQL Server table. But - as you have already done the mechanics for converting the fixed length records files to csv files - that route may be faster for you; at least it is proven. /gustav >>> jwcolby at colbyconsulting.com 23-04-2007 05:56 >>> I saved an import spec from the import wizard in SQL Server 2005. I now need to use that import spec in VB.Net, but I need to modify it. I need to change the source file, make it an append instead of a make table / append, and I need to modify the datatype from NVarchar to varchar. Of course I can simply go back in to SQL Server and run the import wizard again, however this is a fixed width file which means recreating all of the field name / field width info a second time. Is it possible to just do these mods on the existing import spec or should I just bite the bullet and rebuild. I have ~ sixty more files to import into the table and I really don't want to do this 60 times. The last time I did this I actually built an Access app to create .csv files from the original fixed width files. It seems like the long way around the barn but then again I do not see how this wizard is really very useful in this case. Anyone? John W. Colby Colby Consulting www.ColbyConsulting.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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Apr 23 19:58:44 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 23 Apr 2007 17:58:44 -0700 Subject: [AccessD] Visual Studio Express Orcas CTP is released April 21 In-Reply-To: <010201c785fb$92401ff0$0501a8c0@HAL9005> References: <010201c785fb$92401ff0$0501a8c0@HAL9005> Message-ID: <462D5644.1060009@shaw.ca> Visual Studio Express Orcas CTP is released April 21. Community Technology Preview Beta The Orcas version of VB.NET Express is available and will run on WinXP and Vista http://msdn.microsoft.com/vstudio/express/future/default.aspx What is new? LINQ, Windows Presentation Foundation, improvements in the CLR, Windows Communication Foundation and Windows Workflow Foundation May need Net Framework 3.5 Will LINQ replace XQuery or is it an enhancement? LINQ aims to reduce complexity for developers through a set of extensions to the C# and Visual Basic programming languages as well as the Microsoft .NET Framework which provide integrated querying for objects, databases and XML data. Using LINQ, developers will be able to write queries natively in C# or Visual Basic without having to use specialized languages, such as Structured Query Language (SQL) and XPath. An Overview of Microsoft Visual Studio Code Name "Orcas" White Paper http://www.microsoft.com/downloads/details.aspx?FamilyId=17319EB4-299C-43B8-A360-A1C2BD6A421B&displaylang=en The Beta 1 download for Visual Studio codename "Orcas" is available immediately for MSDN subscribers and the public download will be available soon. And yes, it will install on Vista http://msdn2.microsoft.com/en-us/vstudio/aa700831.aspx Here is download could be 5 Gig http://www.microsoft.com/downloads/details.aspx?FamilyId=36B6609E-6F3D-40F4-8C7D-AD111679D8DC&displaylang=en -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Mon Apr 23 20:03:36 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 23 Apr 2007 18:03:36 -0700 Subject: [AccessD] XQuery in VB 6 In-Reply-To: <0B8880A20E2CF24280FA60901E108FB05AB442@TTNEXCHSVR.hshhp.com> References: <20070419144605.592A82B8B5C@smtp.nildram.co.uk> <1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com> <200704191517.l3JFHOx19027@smarthost.yourcomms.net> <0B8880A20E2CF24280FA60901E108FB05AB375@TTNEXCHSVR.hshhp.com> <46279FE9.6060806@shaw.ca> <0B8880A20E2CF24280FA60901E108FB05AB399@TTNEXCHSVR.hshhp.com> <4628112A.6080702@shaw.ca> <017901c78317$1fa6f3b0$0100a8c0@RazvojErvin> <0B8880A20E2CF24280FA60901E108FB05AB442@TTNEXCHSVR.hshhp.com> Message-ID: <462D5768.1090508@shaw.ca> Maybe when I finally get around to getting my IBM XML certification if they don't stop moving the goal posts. Last time I went to try it, they changed the exam and dropped XSL patterns as obsolete after I finally figured them out and the penny dropped.. Yeah now I have to find out the differences between XQuery and LINQ. NetFramework 3.5 is now out with changes to VSTO. Jim DeMarco wrote: >I'll second that. > > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ervin Brindza >Sent: Friday, April 20, 2007 2:42 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] XQuery in VB 6 > >Marty, >when will be your MVP announcement? >Regards, > Ervin >----- Original Message ----- >From: "MartyConnelly" >To: "Access Developers discussion and problem solving" > >Sent: Friday, April 20, 2007 3:02 AM >Subject: Re: [AccessD] XQuery in VB 6 > > > > >>Option Compare Database >>Option Explicit >> >>Dim mcolRate As Collection >>Sub testxml() >> Set mcolRate = New Collection >>'find daily US dollar fixed rate vs Euro from Euro Central Bank >>' via XPath >> >>GrabXMLFile ("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml") >> >>Debug.Print mcolRate("USD") >>MsgBox "US Euro Rate ECB " & mcolRate("USD") >>End Sub >>Public Function GrabXMLFile(ByRef AdviserXML As String) >> 'http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html >> >>'Base currency is Euro so will have to do a conversion for USD >>'Note the link for other pages with sources for XML etc. >> >> 'http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml >> 'On Error GoTo ErrorHandler >> 'needs reference set to XML 4.0 and maybe ADO 2.8 >> Dim oDOMDocument As MSXML2.DOMDocument40 >> Dim oNodeList As IXMLDOMNodeList >> Dim oAdviserDetailsNode As IXMLDOMNode >> Dim oLowestLevelNode As IXMLDOMElement >> Dim oNode As IXMLDOMNode >> Dim objXMLDOMNamedNodeMap As IXMLDOMNamedNodeMap >> Dim xPError As IXMLDOMParseError >> Dim Mydb As Database >> Dim myrs As ADODB.Recordset >> Dim sTempValue As String >> >> Set oDOMDocument = New MSXML2.DOMDocument40 >> >> oDOMDocument.async = False >> oDOMDocument.validateOnParse = True 'you may want to parse for >> >> >errors > > >> oDOMDocument.resolveExternals = False >> oDOMDocument.preserveWhiteSpace = True >> >> 'use if xml disk file >> If Not oDOMDocument.Load(AdviserXML) Then >> MsgBox ("XML File error") >> Set xPError = oDOMDocument.parseError >> DOMParseError xPError >> >> End If >> Set oAdviserDetailsNode = oDOMDocument.documentElement >> Debug.Print oDOMDocument.xml >> >> 'use appropriate XPath expression to select nodes >> >> ' Set oNodeList = >>oAdviserDetailsNode.selectNodes("Envelope/Cube/Cube/@*") >> Set oNodeList = oAdviserDetailsNode.selectNodes("//@*") >> >> Debug.Print oNodeList.length >> >> For Each oNode In oNodeList >> >> ' Debug.Print "*" & oNode.Text; oNode.nodeName & "*" >> >> Select Case oNode.nodeName >> Case "currency" >> sTempValue = oNode.Text >> >> Case "rate" >> 'This path is used to store a variable on the collection >> On Error Resume Next >> mcolRate.Remove sTempValue >> mcolRate.Add oNode.Text, sTempValue >> Debug.Print sTempValue & " rate " & oNode.Text >> On Error GoTo ErrorHandler >> >> End Select >> >> Next >> Set oNodeList = Nothing >> Set oDOMDocument = Nothing >> Set oAdviserDetailsNode = Nothing >> Set objXMLDOMNamedNodeMap = Nothing >> Exit Function >> >>ErrorHandler: >> >> ' Call NewError.Raise(Err.Number, Err.Source, Err.Description) >> >>End Function >>Sub DOMParseError(xPE As IXMLDOMParseError) >> >> ' The document failed to load. >> Dim strErrText As String >> ' Obtain the ParseError object >> With xPE >> strErrText = "Your XML Document failed to load" & _ >> "due the following error." & vbCrLf & _ >> "Error #: " & .errorCode & ": " & xPE.reason & _ >> "Line #: " & .Line & vbCrLf & _ >> "Line Position: " & .linepos & vbCrLf & _ >> "Position In File: " & .filepos & vbCrLf & _ >> "Source Text: " & .srcText & vbCrLf & _ >> "Document URL: " & .url >> End With >> Debug.Print strErrText >> >> Dim s As String >> Dim r As String >> Dim i As Long >> >> s = "" >> For i = 1 To xPE.linepos - 1 >> s = s & " " >> Next >> r = "XML Error loading " & xPE.url & " * " & xPE.reason >> Debug.Print r >> 'show character postion of error; tired of counting chars in xml >> >> >file > > >> If (xPE.Line > 0) Then >> r = "at line " & xPE.Line & ", character " & xPE.linepos & vbCrLf & >> >> >_ > > >> xPE.srcText & vbCrLf & s & "^" >> End If >> Debug.Print r >> MsgBox strErrText, vbExclamation >>End Sub >> >> >>Jim DeMarco wrote: >> >> >> >>>Thanks Marty. I'll pass this on to my team. >>> >>>We're using XQuery but we're not strongly tied to it. I had mentioned >>>XPath but I thought that was used to access one piece of data (or one >>>related set of nodes out of a structure). We need to return select >>>nodes based on criteria. Is this an accurate description of >>> >>> >differences > > >>>betweent the two do you think? >>> >>> >>>Jim >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >>> >>> >MartyConnelly > > >>>Sent: Thursday, April 19, 2007 12:59 PM >>>To: Access Developers discussion and problem solving >>>Subject: Re: [AccessD] XQuery in VB 6 >>> >>>I have only used XQuery with SQL 2005 & VB.Net I have XPath examples >>> >>> >in > > >>>VBA >>> >>>Are you using XQuery or XPath? >>> >>>XPath is imbedded in both XSLT and XQuery. In those languages it >>> >>> >serves > > >>>the role of node-set identification (selection) >>> >>>XQuery example >>> >>>Dim sql_getbank As String = "SELECT >>>Demographics.query('data(//BankName)') " _ >>> >>> & "FROM Store WHERE CustomerID = >>> >>> >@CustomerID" > > >>>XPath example >>> >>> Set oAdviserDetailsNode = oDOMDocument.documentElement >>> 'use appropriate XPath expression to select nodes >>> Set oNodeList = >>>oAdviserDetailsNode.selectNodes("//BusinessDetails/*") >>> >>>Have a look at >>>SQL Server 2005 XQuery and XML-DML - Part 2 By Alex Homer >>> >>>http://www.15seconds.com/issue/050811.htm >>> >>> >>>Jim DeMarco wrote: >>> >>> >>> >>> >>> >>>>X-posted AccessD, VB >>>> >>>>Hello All, >>>> >>>>I've been absent for a while but an issue has just come up that I >>>> >>>> >hope > > >>>>someone can help with. >>>> >>>>Does anyone have any VB 6 code that uses XQuery to return a set of >>>>nodes? I find plenty of XQuery examples that show the query and the >>>>returned nodes but no VB 6 implementation. >>>> >>>>Any short code snip will do. >>>> >>>>TIA, >>>> >>>>Jim DeMarco >>>> >>>> >>>> >>>> >>-- >>Marty Connelly >>Victoria, B.C. >>Canada >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >>-- >>Internal Virus Database is out-of-date. >>Checked by AVG Free Edition. >>Version: 7.5.446 / Virus Database: 268.18.24/742 - Release Date: >> >> >4/1/2007 > > >>8:49 PM >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Mon Apr 23 20:09:04 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 23 Apr 2007 18:09:04 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: <010201c785fb$92401ff0$0501a8c0@HAL9005> References: <010201c785fb$92401ff0$0501a8c0@HAL9005> Message-ID: <462D58B0.9040107@shaw.ca> I haven't got Outlook on this machine but I think, there is a built-in ThisOutlookSession module in Outlook VBA. Just place in there. Rocky Smolin at Beach Access Software wrote: >Marty: > >You know I found that site. And the code makes sense. But I've never put >any code behind Outlook. Don't know how to get that code attached to the >Item_Send event (if there is such a thing). Any hints on how to? > >Rocky > > > > > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Monday, April 23, 2007 2:59 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OT: Default BCC > >This site says you have to do through VBA code. >or use third party add-in >http://www.howto-outlook.com/faq/createbccrule.htm > >To automatically Bcc all outgoing messages. >http://www.outlookcode.com/d/code/autobcc.htm > >Rocky Smolin at Beach Access Software wrote: > > > >>Yes, but she has to insert her AA's email address manually on every >>email that goes to a client that she wants to copy the AA on. So she >>was looking for a way to have the AA's email automatically entered in >>the Bcc line on every email. >> >>Rocky >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >>Sent: Monday, April 23, 2007 10:54 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >>Sorry if this is too simplistic, but she does have the View BCC option >>ticked doesn't she? >> >>-- Andy Lacey >>http://www.minstersystems.co.uk >> >> >> >> >> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>>Smolin at Beach Access Software >>>Sent: 23 April 2007 17:51 >>>To: 'Access Developers discussion and problem solving' >>>Subject: Re: [AccessD] OT: Default BCC >>> >>> >>>Almost there. The user who asked me for this wants to Bcc. >>>The rule wizard >>>seems to only allow CC. It's a law office and this person >>>wants to Bcc her >>>admin assistant. Is there a way to do Bcc? >>> >>>Rocky >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>>Sent: Monday, April 23, 2007 9:39 AM >>>To: Access Developers discussion and problem solving >>>Subject: Re: [AccessD] OT: Default BCC >>> >>>Okay, step by step using Outlook 2003. >>> >>>Click Tools --> Rules and Alerts >>> >>>Click New Rule >>> >>>Select 'Start from a blank rule' (not default selection) >>> >>>Under Step1, select Check messages after sending, click next. >>> >>>Click next again (you will be prompted again, click Yes) >>> >>>(Side note, this rule now applies to ALL email you send. The last >>>Next and Yes skipped past conditions you may want to choose) >>> >>>Select 'CC the message to people or distribution list'. >>> >>>In the step 2 window, click the underlines 'people or distribution >>>list' to select the address you want the copy sent too. >>> >>>Click Next, then Next again (this one skips the exceptions that you >>>can apply to your rule) >>> >>>Click Finish >>> >>>All done! >>> >>>Drew >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>>at Beach Access Software >>>Sent: Monday, April 23, 2007 11:02 AM >>>To: 'Access Developers discussion and problem solving' >>>Subject: Re: [AccessD] OT: Default BCC >>> >>> >>>That WOULD be easy. But I don't see a rule that governs outgoing >>>addresses. Only sorting incoming mail. Am I missing it somewhere? >>> >>>Rocky >>> >>> >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>>Sent: Monday, April 23, 2007 8:11 AM >>>To: Access Developers discussion and problem solving >>>Subject: Re: [AccessD] OT: Default BCC >>> >>>Probably easier to use a rule. (There's a rule wizard to help out). >>> >>>Drew >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>>at Beach Access Software >>>Sent: Sunday, April 22, 2007 2:45 PM >>>To: 'Access Developers discussion and problem solving' >>>Subject: [AccessD] OT: Default BCC >>> >>> >>> >>> >>>Dear List: >>> >>>Is there a way to default an email address into the BCC field in >>>Outlook when you create a new message? >>> >>>TIA >>> >>>Rocky >>> >>> >>> >>> >-- >Marty Connelly >Victoria, B.C. >Canada > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 >8:18 PM > > > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at colbyconsulting.com Mon Apr 23 20:29:03 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 23 Apr 2007 21:29:03 -0400 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: References: <001401c785a0$1d855f50$657aa8c0@m6805><000001c785fc$f3a4dff0$657aa8c0@m6805> Message-ID: <000101c7860f$f2bd6b80$657aa8c0@m6805> >Have you thought about leaving town with no forwarding address instead?? LOL, not at all. If I figure this out, it could turn into thousands of dollars a month in recurring income. We like recurring income! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 23, 2007 8:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] using a saved SSIS with VB.Net Have you thought about leaving town with no forwarding address instead?? LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 23, 2007 4:13 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] using a saved SSIS with VB.Net Well, it took about three hours to build an Access VBA system to turn the fixed width file into a CSV with the leading / trailing spaces stripped off of every field. The code runs about 2.5 K records / second for the conversion portion. I name the CSV file with a fixed name and linked the file to Access, so once that is done I run a simple append query that pulls the data back out of the CSV and appends it into the SQL Server table. Unfortunately the append to SQL process is running at a little better than 500 records / second. I have to figure that out or this will take weeks. I have ~ 100 million records to convert so... John W. Colby Colby Consulting www.ColbyConsulting.com From wdhindman at dejpolsystems.com Mon Apr 23 22:23:40 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 23 Apr 2007 23:23:40 -0400 Subject: [AccessD] using a saved SSIS with VB.Net References: <001401c785a0$1d855f50$657aa8c0@m6805><000001c785fc$f3a4dff0$657aa8c0@m6805> <000101c7860f$f2bd6b80$657aa8c0@m6805> Message-ID: <000701c7861f$f53cf730$7d7d6c4c@jisshowsbs.local> ...recurring income ...the holy grail of every independent :) William Hindman ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Monday, April 23, 2007 9:29 PM Subject: Re: [AccessD] using a saved SSIS with VB.Net > >Have you thought about leaving town with no forwarding address instead?? > > LOL, not at all. If I figure this out, it could turn into thousands of > dollars a month in recurring income. We like recurring income! > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, April 23, 2007 8:01 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] using a saved SSIS with VB.Net > > Have you thought about leaving town with no forwarding address instead?? > LOL > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, April 23, 2007 4:13 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] using a saved SSIS with VB.Net > > Well, it took about three hours to build an Access VBA system to turn the > fixed width file into a CSV with the leading / trailing spaces stripped > off > of every field. The code runs about 2.5 K records / second for the > conversion portion. I name the CSV file with a fixed name and linked the > file to Access, so once that is done I run a simple append query that > pulls > the data back out of the CSV and appends it into the SQL Server table. > > Unfortunately the append to SQL process is running at a little better than > 500 records / second. I have to figure that out or this will take weeks. > > I have ~ 100 million records to convert so... > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kp at sdsonline.net Tue Apr 24 02:03:33 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 24 Apr 2007 17:03:33 +1000 Subject: [AccessD] using a saved SSIS with VB.Net References: <001401c785a0$1d855f50$657aa8c0@m6805><000001c785fc$f3a4dff0$657aa8c0@m6805><000101c7860f$f2bd6b80$657aa8c0@m6805> <000701c7861f$f53cf730$7d7d6c4c@jisshowsbs.local> Message-ID: <001601c7863e$ad150a00$6501a8c0@office> ....I second that. For the first time (ever I think for me) it apears that I may actually have an 'on sale' of something I have already written. Hallelujah..... Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Tuesday, April 24, 2007 1:23 PM Subject: Re: [AccessD] using a saved SSIS with VB.Net ...recurring income ...the holy grail of every independent :) William Hindman ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Monday, April 23, 2007 9:29 PM Subject: Re: [AccessD] using a saved SSIS with VB.Net > >Have you thought about leaving town with no forwarding address instead?? > > LOL, not at all. If I figure this out, it could turn into thousands of > dollars a month in recurring income. We like recurring income! > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, April 23, 2007 8:01 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] using a saved SSIS with VB.Net > > Have you thought about leaving town with no forwarding address instead?? > LOL > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, April 23, 2007 4:13 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] using a saved SSIS with VB.Net > > Well, it took about three hours to build an Access VBA system to turn the > fixed width file into a CSV with the leading / trailing spaces stripped > off > of every field. The code runs about 2.5 K records / second for the > conversion portion. I name the CSV file with a fixed name and linked the > file to Access, so once that is done I run a simple append query that > pulls > the data back out of the CSV and appends it into the SQL Server table. > > Unfortunately the append to SQL process is running at a little better than > 500 records / second. I have to figure that out or this will take weeks. > > I have ~ 100 million records to convert so... > > John W. Colby > Colby Consulting > www.ColbyConsulting.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 bbruen at unwired.com.au Tue Apr 24 02:28:22 2007 From: bbruen at unwired.com.au (Bruce Bruen) Date: Tue, 24 Apr 2007 17:28:22 +1000 Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! Message-ID: <200704241728.23380.bbruen@unwired.com.au> After 6 weeks work of setting conditional formats over 32 tables, 65 forms and 12 reports I accidentally hit ctl-leftshift-alt-prtscn-scratchnose which produced a "YOUAREGOINGINTOHIGHRESOLUTIONMODE" popup, with apparently NO WAY TO CANCEL IT! Guess what, all the conditional formats are now black-on-defaultbackground. Recovered the backup taken 30 minutes ago, still the same. Went back to this mornings backup, still the same. Changed the display mode back to normal XP defaults, ... still the same. 1. Has anyone got any idea how to fix this? 2. Can anyone give me the home address of the M$ MORON who did this to me? -- regards Bruce From Gustav at cactus.dk Tue Apr 24 03:33:52 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 24 Apr 2007 10:33:52 +0200 Subject: [AccessD] using a saved SSIS with VB.Net Message-ID: Hi John Having the csv files created, I see no reason to use Access to guide the import to SQL Server. Either BCP, as Bobby mentions, or a bulk statement- which you could adjust on the fly as a pass-through query - could be used at much higher speed: http://msdn2.microsoft.com/en-us/library/ms187042.aspx though probably not so fast as MySQL can load data (see my previous post): 50k records/s /gustav >>> jwcolby at colbyconsulting.com 24-04-2007 01:13 >>> Well, it took about three hours to build an Access VBA system to turn the fixed width file into a CSV with the leading / trailing spaces stripped off of every field. The code runs about 2.5 K records / second for the conversion portion. I name the CSV file with a fixed name and linked the file to Access, so once that is done I run a simple append query that pulls the data back out of the CSV and appends it into the SQL Server table. Unfortunately the append to SQL process is running at a little better than 500 records / second. I have to figure that out or this will take weeks. I have ~ 100 million records to convert so... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 23, 2007 8:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] using a saved SSIS with VB.Net Yea, a code "preprocessor" just seems to be the answer. No one on these lists have ever proposed a good (non code) solution for this particular problem. The fixed width flat file just sucks as an import specification. It requires an external file to tell you the field names and field widths. Even once you know that it leaves you with data in the fields with spaces between the end of the data and the end of the field width, i.e. 'John' in a first name field 25 spaces wide is actually 'John '. Unless you strip off the spaces you end up with a HUGE database where indexes are huge and matches with external data are difficult. But it is what is used in the industry I am dealing with. Suck it up and move on I guess. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 23, 2007 5:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John I think that wizards are mostly for one-time or simple repeated tasks. However, do you remember my observation from last year: >> 2006-05-05 20:59 Subject: MySQL insert records When inserting records by a pass-through query from Access, I've found that reading the records off a text file using LOAD DATA INFILE '../data/test.txt' INTO TABLE tempload into an empty non-indexed table runs at about 50,000 records per second even using very modest hardware. This is way faster than any normal "Insert Into ... " I've tried. However, it's a bit clumsy first to have to write the data to a file. Any comments or suggestions? You should be able to do so if not from T-SQL then from Access, and then run a modifiable import and append query in SQL Server which reads the data from the MySQL table and appends them to the internal SQL Server table. But - as you have already done the mechanics for converting the fixed length records files to csv files - that route may be faster for you; at least it is proven. /gustav >>> jwcolby at colbyconsulting.com 23-04-2007 05:56 >>> I saved an import spec from the import wizard in SQL Server 2005. I now need to use that import spec in VB.Net, but I need to modify it. I need to change the source file, make it an append instead of a make table / append, and I need to modify the datatype from NVarchar to varchar. Of course I can simply go back in to SQL Server and run the import wizard again, however this is a fixed width file which means recreating all of the field name / field width info a second time. Is it possible to just do these mods on the existing import spec or should I just bite the bullet and rebuild. I have ~ sixty more files to import into the table and I really don't want to do this 60 times. The last time I did this I actually built an Access app to create .csv files from the original fixed width files. It seems like the long way around the barn but then again I do not see how this wizard is really very useful in this case. Anyone? John W. Colby Colby Consulting www.ColbyConsulting.com From cjlabs at worldnet.att.net Tue Apr 24 06:58:37 2007 From: cjlabs at worldnet.att.net (Carolyn Johnson) Date: Tue, 24 Apr 2007 06:58:37 -0500 Subject: [AccessD] CreateObject to open Outlook Message-ID: <003e01c78667$e50f5810$6401a8c0@XPcomputer> Access 2000/XP/2003 with Outlook 2003 I have a procedure that creates an email in Outlook using late binding. The initial code is as follows Set objOutlook = GetObject(, "Outlook.Application") If Err.Number = 429 Then Set objOutlook = CreateObject("Outlook.Application") Set objOutlookMsg = objOutlook.CreateItem(0) This code has been working correctly for years until recently. Now I am getting the error "Object variable or With block variable not set." The error is occuring on the 3rd line -- if Outlook is not open, it correctly executes the If then statement, but I then get an error on the 3rd line. If Outlook is already open, the code runs correctly. This code is still working correctly on my laptop. The last time I know it worked on my desktop was several weeks ago. My laptop has Outlook 2003 SP1. My desktop has Outlook 2003 SP2. It's had automated Window updates in the last couple of weeks. Does anyone know how to solve this issue, other than opening Outlook first? Thanks Carolyn Johnson From jwcolby at colbyconsulting.com Tue Apr 24 07:11:33 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 24 Apr 2007 08:11:33 -0400 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: References: Message-ID: <002d01c78669$b39ac060$657aa8c0@m6805> Gustav, I found a syntax for SQL Server that, executed directly, allows me to do the import from inside of SQL Server. SELECT * FROM OPENROWSET( 'MSDASQL', 'Driver=(Microsoft Text Driver (*.txt, *.csv)); DEFAULTDIR=d:\YadaYada;Extensions=CSV;', 'SELECT * FROM NAR_CA1N.CSV') This syntax directly opens a dataset, which can then be fed into an INSERT statement as the "data clause". It works, I have done so. I have no idea how fast it is, but not particularly I suspect. One thing I have to go do is look at the log files and see if I need to turn off logging. Another thing I need to do is TURN OFF the windows updates, which rebooted my machine in the middle of the night last night!!! If I have no logging, I certainly don't want Windows rebooting itself in the middle of an import. >though probably not so fast as MySQL can load data (see my previous post): 50k records/s What are you suggesting with this? That I set up MySQL on this machine just to do the imports and then import the data out of MySQL into SQL Server? It seems that with as many problems as I have getting up to speed on SQL Server I am doubling my problems trying to install another entire database server and learn it as well. I understand that you know and love MySQL but I am pretty certain I have enough problems already without adding MySQL to my plate. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 24, 2007 4:34 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John Having the csv files created, I see no reason to use Access to guide the import to SQL Server. Either BCP, as Bobby mentions, or a bulk statement- which you could adjust on the fly as a pass-through query - could be used at much higher speed: http://msdn2.microsoft.com/en-us/library/ms187042.aspx though probably not so fast as MySQL can load data (see my previous post): 50k records/s /gustav From Gustav at cactus.dk Tue Apr 24 07:53:53 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 24 Apr 2007 14:53:53 +0200 Subject: [AccessD] using a saved SSIS with VB.Net Message-ID: Hi John That looks right. I don't know what speed to expect other than it should be more than the typical a-couple-of-hundreds per second for inserts via DAO and ODBC. The only tricks I know of are the well-known to drop indexes from the receiving table during the import and - as you mention - to minimize logging. The reference to MySQL is just for you to have an ultimate goal. I haven't seen or heard of anything else running at that speed, not even JET where you can expect around 15k records/s. Of course, it should server a purpose for you to install it, but MySQL is very easy to set up - and we have true experts (not me) joining the list. So if you can see an idea having these files loaded into an engine very fast, just move on. On the other hand, if you have a night and can perform the import without manual intervention, I think I would choose the method you have described. /gustav >>> jwcolby at colbyconsulting.com 24-04-2007 14:11 >>> Gustav, I found a syntax for SQL Server that, executed directly, allows me to do the import from inside of SQL Server. SELECT * FROM OPENROWSET( 'MSDASQL', 'Driver=(Microsoft Text Driver (*.txt, *.csv)); DEFAULTDIR=d:\YadaYada;Extensions=CSV;', 'SELECT * FROM NAR_CA1N.CSV') This syntax directly opens a dataset, which can then be fed into an INSERT statement as the "data clause". It works, I have done so. I have no idea how fast it is, but not particularly I suspect. One thing I have to go do is look at the log files and see if I need to turn off logging. Another thing I need to do is TURN OFF the windows updates, which rebooted my machine in the middle of the night last night!!! If I have no logging, I certainly don't want Windows rebooting itself in the middle of an import. >though probably not so fast as MySQL can load data (see my previous post): 50k records/s What are you suggesting with this? That I set up MySQL on this machine just to do the imports and then import the data out of MySQL into SQL Server? It seems that with as many problems as I have getting up to speed on SQL Server I am doubling my problems trying to install another entire database server and learn it as well. I understand that you know and love MySQL but I am pretty certain I have enough problems already without adding MySQL to my plate. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 24, 2007 4:34 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John Having the csv files created, I see no reason to use Access to guide the import to SQL Server. Either BCP, as Bobby mentions, or a bulk statement- which you could adjust on the fly as a pass-through query - could be used at much higher speed: http://msdn2.microsoft.com/en-us/library/ms187042.aspx though probably not so fast as MySQL can load data (see my previous post): 50k records/s /gustav From dwaters at usinternet.com Tue Apr 24 08:06:21 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 24 Apr 2007 08:06:21 -0500 Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! In-Reply-To: <200704241728.23380.bbruen@unwired.com.au> References: <200704241728.23380.bbruen@unwired.com.au> Message-ID: <000601c78671$5b442ed0$0200a8c0@danwaters> Hi Bruce, Can't help with the home address! I would first try to rule out that something has happened to your PC. Put your database on another PC to see what happens. Do you have any other databases that use conditional formatting? Then on your PC, create a new small database and then see if conditional formatting works. You can try importing a couple of your objects to a new database. I use conditional formatting quite a bit but haven't seen this problem. Long term, conditional formatting can be established through code. This would hopefully reset your forms/reports even if your PC did this again. Hope this helps - and good luck! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen Sent: Tuesday, April 24, 2007 2:28 AM To: Access Developers discussion and problem solving Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! After 6 weeks work of setting conditional formats over 32 tables, 65 forms and 12 reports I accidentally hit ctl-leftshift-alt-prtscn-scratchnose which produced a "YOUAREGOINGINTOHIGHRESOLUTIONMODE" popup, with apparently NO WAY TO CANCEL IT! Guess what, all the conditional formats are now black-on-defaultbackground. Recovered the backup taken 30 minutes ago, still the same. Went back to this mornings backup, still the same. Changed the display mode back to normal XP defaults, ... still the same. 1. Has anyone got any idea how to fix this? 2. Can anyone give me the home address of the M$ MORON who did this to me? -- regards Bruce -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EdTesiny at oasas.state.ny.us Tue Apr 24 08:59:55 2007 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Tue, 24 Apr 2007 09:59:55 -0400 Subject: [AccessD] OT a little - Code Tables Message-ID: Hi All, I'm not familiar enough with SQL Server but I have a question regarding what I call Code Tables. I use them a lot when I develop an application in Access, e.g., I'll have a table for counties i.e., county code and county name or Providers, Provider code and Provider Name. I have them as separate tables. I'm trying to make sense out of the tables and relationships "my" programmer created. He has one code table period! Below is a look as to how it is setup. dbo_tblCodes CodeType CodeId CodeName OrderOnForm Ethnicity 1 Puerto Rican 1 Ethnicity 2 Mexican 2 Ethnicity 3 Cuban 3 Ethnicity 4 Other Hispanic 4 Ethnicity 5 Hispanic, Not Specified/Known 5 Ethnicity 7 Not of Hispanic Origin 6 Ethnicity 9 Don't Know/No Answer 7 Gender 1 Male 10 Gender 2 Female 20 Health 1 Poor 5 Health 2 Fair 10 Health 3 Good 15 Health 4 Very Good 20 Health 5 Excellent 25 Health 9 Don't Know/No Answer 80 This is just a little bit of the table but I think you can see his "logic" here. Is this a common convention that developers use? Hate to see what else I'm going to find as I try to wade through this. TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us From EdTesiny at oasas.state.ny.us Tue Apr 24 09:08:50 2007 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Tue, 24 Apr 2007 10:08:50 -0400 Subject: [AccessD] (no subject) Message-ID: Hi All, I'm not familiar enough with SQL Server but I have a question regarding what I call Code Tables. I use them a lot when I develop an application in Access, e.g., I'll have a table for counties i.e., county code and county name or Providers, Provider code and Provider Name. I have them as separate tables. I'm trying to make sense out of the tables and relationships "my" programmer created. He has one code table period! Below is a look as to how it is setup. CodeType CodeId CodeName OrderOnForm Ethnicity 1 Puerto Rican 1 Ethnicity 2 Mexican 2 Ethnicity 3 Cuban 3 Ethnicity 4 Other Hispanic 4 Ethnicity 5 Hispanic, Not Specified/Known5 Ethnicity 7 Not of Hispanic Origin 6 Ethnicity 9 Don't Know/No Answer 7 Gender 1 Male 10 Gender 2 Female 20 Health 1 Poor 5 Health 2 Fair 10 Health 3 Good 15 Health 4 Very Good 20 Health 5 Excellent 25 Health 9 Don't Know/No Answer 80 This is just a little bit of the table but I think you can see his "logic" here. Is this a common convention that developers use? Hate to see what else I'm going to find as I try to wade through this. TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us From jwcolby at colbyconsulting.com Tue Apr 24 09:32:44 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 24 Apr 2007 10:32:44 -0400 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: References: Message-ID: <003101c7867d$6cce93a0$657aa8c0@m6805> Gustav, My bigger issue here is that there 56 of these files to import into SQL Server, supposedly ~100 million records. I have done about 8 million records so far. I really must get this thing automated such that it just chunks through these CSV files without my having to be around to start the next one. I am working now on setting up the append query using that syntax below into a stored procedure so that I can then just replace the file name. After that I will need to write something in VB.Net or whatever to execute the stored procedure feeding in all of the file names from a specific directory, deleting the file once the stored procedure finishes the import for a given file. I have never written a stored procedure. Obviously, given the above, I have never called a stored procedure from code. So much to learn, so little time. Once this is imported I have to turn right around and export a subset of fields from the table back out as 1 - 2 million record chunks for CAS / DPV / NCOA processing, then I have to import THOSE back in to a new table. And when this set of data is finished, I have another set of about the same size on the way, to which I have to perform the same processes. I soooooo need to get this process automated. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 24, 2007 8:54 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John That looks right. I don't know what speed to expect other than it should be more than the typical a-couple-of-hundreds per second for inserts via DAO and ODBC. The only tricks I know of are the well-known to drop indexes from the receiving table during the import and - as you mention - to minimize logging. The reference to MySQL is just for you to have an ultimate goal. I haven't seen or heard of anything else running at that speed, not even JET where you can expect around 15k records/s. Of course, it should server a purpose for you to install it, but MySQL is very easy to set up - and we have true experts (not me) joining the list. So if you can see an idea having these files loaded into an engine very fast, just move on. On the other hand, if you have a night and can perform the import without manual intervention, I think I would choose the method you have described. /gustav From john at winhaven.net Tue Apr 24 09:39:11 2007 From: john at winhaven.net (John Bartow) Date: Tue, 24 Apr 2007 09:39:11 -0500 Subject: [AccessD] OT a little - Code Tables In-Reply-To: References: Message-ID: <013701c7867e$53939290$6402a8c0@ScuzzPaq> Hi Ed, My ponderings... I've seen codes like this before - in a USDA database. I've seen arguments on both sides as to its compliance with relational theory. In any case IMO it is a confusing way to handle lookup values as it (obviously) contains more than one type of value. As long as you retain the same programmer it probably doesn't matter - but who can do that anymore? So all I can advise is to document, document, document! The one exception IMO for holding more than one type of value in a lookup table is if the item will _never_ have more than one value - then JC's little ditty works nice. In that case it is handled via code not relational structure. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, April 24, 2007 9:00 AM To: dba-ot at databaseadvisors.com; Access Developers discussion and problem solving Subject: [AccessD] OT a little - Code Tables Hi All, I'm not familiar enough with SQL Server but I have a question regarding what I call Code Tables. I use them a lot when I develop an application in Access, e.g., I'll have a table for counties i.e., county code and county name or Providers, Provider code and Provider Name. I have them as separate tables. I'm trying to make sense out of the tables and relationships "my" programmer created. He has one code table period! Below is a look as to how it is setup. dbo_tblCodes CodeType CodeId CodeName OrderOnForm Ethnicity 1 Puerto Rican 1 Ethnicity 2 Mexican 2 Ethnicity 3 Cuban 3 Ethnicity 4 Other Hispanic 4 Ethnicity 5 Hispanic, Not Specified/Known 5 Ethnicity 7 Not of Hispanic Origin 6 Ethnicity 9 Don't Know/No Answer 7 Gender 1 Male 10 Gender 2 Female 20 Health 1 Poor 5 Health 2 Fair 10 Health 3 Good 15 Health 4 Very Good 20 Health 5 Excellent 25 Health 9 Don't Know/No Answer 80 This is just a little bit of the table but I think you can see his "logic" here. Is this a common convention that developers use? Hate to see what else I'm going to find as I try to wade through this. TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Apr 24 09:48:52 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 24 Apr 2007 07:48:52 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: Message-ID: <000301c7867f$ad2266f0$0501a8c0@HAL9005> " go into the code window," using Alt-F11? "there is a 'ThisOutlookSession' object." I don't see that. The left combo box has only (General) in it. Where would I look for it? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 4:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC When you go into the code window, there is a 'ThisOutlookSession' object. Click that, and you should get a blank code page. Click the left drop down box in the code page and select Application. The right drop down will then have the ItemSend event. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 6:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Marty: You know I found that site. And the code makes sense. But I've never put any code behind Outlook. Don't know how to get that code attached to the Item_Send event (if there is such a thing). Any hints on how to? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 23, 2007 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC This site says you have to do through VBA code. or use third party add-in http://www.howto-outlook.com/faq/createbccrule.htm To automatically Bcc all outgoing messages. http://www.outlookcode.com/d/code/autobcc.htm Rocky Smolin at Beach Access Software wrote: >Yes, but she has to insert her AA's email address manually on every >email that goes to a client that she wants to copy the AA on. So she >was looking for a way to have the AA's email automatically entered in >the Bcc line on every email. > >Rocky > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Monday, April 23, 2007 10:54 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT: Default BCC > >Sorry if this is too simplistic, but she does have the View BCC option >ticked doesn't she? > >-- Andy Lacey >http://www.minstersystems.co.uk > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>Smolin at Beach Access Software >>Sent: 23 April 2007 17:51 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>Almost there. The user who asked me for this wants to Bcc. >>The rule wizard >>seems to only allow CC. It's a law office and this person >>wants to Bcc her >>admin assistant. Is there a way to do Bcc? >> >>Rocky >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 9:39 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Okay, step by step using Outlook 2003. >> >>Click Tools --> Rules and Alerts >> >>Click New Rule >> >>Select 'Start from a blank rule' (not default selection) >> >>Under Step1, select Check messages after sending, click next. >> >>Click next again (you will be prompted again, click Yes) >> >>(Side note, this rule now applies to ALL email you send. The last >>Next and Yes skipped past conditions you may want to choose) >> >>Select 'CC the message to people or distribution list'. >> >>In the step 2 window, click the underlines 'people or distribution >>list' to select the address you want the copy sent too. >> >>Click Next, then Next again (this one skips the exceptions that you >>can apply to your rule) >> >>Click Finish >> >>All done! >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Monday, April 23, 2007 11:02 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>That WOULD be easy. But I don't see a rule that governs outgoing >>addresses. Only sorting incoming mail. Am I missing it somewhere? >> >>Rocky >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 8:11 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Probably easier to use a rule. (There's a rule wizard to help out). >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Sunday, April 22, 2007 2:45 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] OT: Default BCC >> >> >> >> >>Dear List: >> >>Is there a way to default an email address into the BCC field in >>Outlook when you create a new message? >> >>TIA >> >>Rocky >> >> -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM From rockysmolin at bchacc.com Tue Apr 24 09:58:38 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 24 Apr 2007 07:58:38 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: <462D58B0.9040107@shaw.ca> Message-ID: <000401c78681$0a76ced0$0501a8c0@HAL9005> I'm lost. I don't see that anywhere. I see the Application.ItemSend in the object browser but no way to create the code. If I just paste the code in that I found on the web, it doesn't work. What am I missing here? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 23, 2007 6:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC I haven't got Outlook on this machine but I think, there is a built-in ThisOutlookSession module in Outlook VBA. Just place in there. Rocky Smolin at Beach Access Software wrote: >Marty: > >You know I found that site. And the code makes sense. But I've never >put any code behind Outlook. Don't know how to get that code attached >to the Item_Send event (if there is such a thing). Any hints on how to? > >Rocky > > > > > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >MartyConnelly >Sent: Monday, April 23, 2007 2:59 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OT: Default BCC > >This site says you have to do through VBA code. >or use third party add-in >http://www.howto-outlook.com/faq/createbccrule.htm > >To automatically Bcc all outgoing messages. >http://www.outlookcode.com/d/code/autobcc.htm > >Rocky Smolin at Beach Access Software wrote: > > > >>Yes, but she has to insert her AA's email address manually on every >>email that goes to a client that she wants to copy the AA on. So she >>was looking for a way to have the AA's email automatically entered in >>the Bcc line on every email. >> >>Rocky >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >>Sent: Monday, April 23, 2007 10:54 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >>Sorry if this is too simplistic, but she does have the View BCC option >>ticked doesn't she? >> >>-- Andy Lacey >>http://www.minstersystems.co.uk >> >> >> >> >> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>>Smolin at Beach Access Software >>>Sent: 23 April 2007 17:51 >>>To: 'Access Developers discussion and problem solving' >>>Subject: Re: [AccessD] OT: Default BCC >>> >>> >>>Almost there. The user who asked me for this wants to Bcc. >>>The rule wizard >>>seems to only allow CC. It's a law office and this person >>>wants to Bcc her >>>admin assistant. Is there a way to do Bcc? >>> >>>Rocky >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>>Sent: Monday, April 23, 2007 9:39 AM >>>To: Access Developers discussion and problem solving >>>Subject: Re: [AccessD] OT: Default BCC >>> >>>Okay, step by step using Outlook 2003. >>> >>>Click Tools --> Rules and Alerts >>> >>>Click New Rule >>> >>>Select 'Start from a blank rule' (not default selection) >>> >>>Under Step1, select Check messages after sending, click next. >>> >>>Click next again (you will be prompted again, click Yes) >>> >>>(Side note, this rule now applies to ALL email you send. The last >>>Next and Yes skipped past conditions you may want to choose) >>> >>>Select 'CC the message to people or distribution list'. >>> >>>In the step 2 window, click the underlines 'people or distribution >>>list' to select the address you want the copy sent too. >>> >>>Click Next, then Next again (this one skips the exceptions that you >>>can apply to your rule) >>> >>>Click Finish >>> >>>All done! >>> >>>Drew >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky >>>Smolin at Beach Access Software >>>Sent: Monday, April 23, 2007 11:02 AM >>>To: 'Access Developers discussion and problem solving' >>>Subject: Re: [AccessD] OT: Default BCC >>> >>> >>>That WOULD be easy. But I don't see a rule that governs outgoing >>>addresses. Only sorting incoming mail. Am I missing it somewhere? >>> >>>Rocky >>> >>> >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>>Sent: Monday, April 23, 2007 8:11 AM >>>To: Access Developers discussion and problem solving >>>Subject: Re: [AccessD] OT: Default BCC >>> >>>Probably easier to use a rule. (There's a rule wizard to help out). >>> >>>Drew >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky >>>Smolin at Beach Access Software >>>Sent: Sunday, April 22, 2007 2:45 PM >>>To: 'Access Developers discussion and problem solving' >>>Subject: [AccessD] OT: Default BCC >>> >>> >>> >>> >>>Dear List: >>> >>>Is there a way to default an email address into the BCC field in >>>Outlook when you create a new message? >>> >>>TIA >>> >>>Rocky >>> >>> >>> >>> >-- >Marty Connelly >Victoria, B.C. >Canada > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: >4/22/2007 >8:18 PM > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM From jwcolby at colbyconsulting.com Tue Apr 24 10:13:05 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 24 Apr 2007 11:13:05 -0400 Subject: [AccessD] OT a little - Code Tables In-Reply-To: <013701c7867e$53939290$6402a8c0@ScuzzPaq> References: <013701c7867e$53939290$6402a8c0@ScuzzPaq> Message-ID: <003201c78683$0fdf5200$657aa8c0@m6805> Which little ditty is that? Are you referring to SysVars? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, April 24, 2007 10:39 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Hi Ed, My ponderings... I've seen codes like this before - in a USDA database. I've seen arguments on both sides as to its compliance with relational theory. In any case IMO it is a confusing way to handle lookup values as it (obviously) contains more than one type of value. As long as you retain the same programmer it probably doesn't matter - but who can do that anymore? So all I can advise is to document, document, document! The one exception IMO for holding more than one type of value in a lookup table is if the item will _never_ have more than one value - then JC's little ditty works nice. In that case it is handled via code not relational structure. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, April 24, 2007 9:00 AM To: dba-ot at databaseadvisors.com; Access Developers discussion and problem solving Subject: [AccessD] OT a little - Code Tables Hi All, I'm not familiar enough with SQL Server but I have a question regarding what I call Code Tables. I use them a lot when I develop an application in Access, e.g., I'll have a table for counties i.e., county code and county name or Providers, Provider code and Provider Name. I have them as separate tables. I'm trying to make sense out of the tables and relationships "my" programmer created. He has one code table period! Below is a look as to how it is setup. dbo_tblCodes CodeType CodeId CodeName OrderOnForm Ethnicity 1 Puerto Rican 1 Ethnicity 2 Mexican 2 Ethnicity 3 Cuban 3 Ethnicity 4 Other Hispanic 4 Ethnicity 5 Hispanic, Not Specified/Known 5 Ethnicity 7 Not of Hispanic Origin 6 Ethnicity 9 Don't Know/No Answer 7 Gender 1 Male 10 Gender 2 Female 20 Health 1 Poor 5 Health 2 Fair 10 Health 3 Good 15 Health 4 Very Good 20 Health 5 Excellent 25 Health 9 Don't Know/No Answer 80 This is just a little bit of the table but I think you can see his "logic" here. Is this a common convention that developers use? Hate to see what else I'm going to find as I try to wade through this. TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us -- 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 DWUTKA at Marlow.com Tue Apr 24 10:20:36 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Tue, 24 Apr 2007 10:20:36 -0500 Subject: [AccessD] OT: Default BCC In-Reply-To: <000301c7867f$ad2266f0$0501a8c0@HAL9005> Message-ID: On the left, you should have a project window, a tree representation of your Outlook VBA project. Top item should be Project1, with Microsoft Outlook as a child, in turn ThisOutlookSession will be a child of that. Double click that to bring up it's code page. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 24, 2007 9:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC " go into the code window," using Alt-F11? "there is a 'ThisOutlookSession' object." I don't see that. The left combo box has only (General) in it. Where would I look for it? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 4:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC When you go into the code window, there is a 'ThisOutlookSession' object. Click that, and you should get a blank code page. Click the left drop down box in the code page and select Application. The right drop down will then have the ItemSend event. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 6:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Marty: You know I found that site. And the code makes sense. But I've never put any code behind Outlook. Don't know how to get that code attached to the Item_Send event (if there is such a thing). Any hints on how to? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 23, 2007 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC This site says you have to do through VBA code. or use third party add-in http://www.howto-outlook.com/faq/createbccrule.htm To automatically Bcc all outgoing messages. http://www.outlookcode.com/d/code/autobcc.htm Rocky Smolin at Beach Access Software wrote: >Yes, but she has to insert her AA's email address manually on every >email that goes to a client that she wants to copy the AA on. So she >was looking for a way to have the AA's email automatically entered in >the Bcc line on every email. > >Rocky > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Monday, April 23, 2007 10:54 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT: Default BCC > >Sorry if this is too simplistic, but she does have the View BCC option >ticked doesn't she? > >-- Andy Lacey >http://www.minstersystems.co.uk > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>Smolin at Beach Access Software >>Sent: 23 April 2007 17:51 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>Almost there. The user who asked me for this wants to Bcc. >>The rule wizard >>seems to only allow CC. It's a law office and this person >>wants to Bcc her >>admin assistant. Is there a way to do Bcc? >> >>Rocky >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 9:39 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Okay, step by step using Outlook 2003. >> >>Click Tools --> Rules and Alerts >> >>Click New Rule >> >>Select 'Start from a blank rule' (not default selection) >> >>Under Step1, select Check messages after sending, click next. >> >>Click next again (you will be prompted again, click Yes) >> >>(Side note, this rule now applies to ALL email you send. The last >>Next and Yes skipped past conditions you may want to choose) >> >>Select 'CC the message to people or distribution list'. >> >>In the step 2 window, click the underlines 'people or distribution >>list' to select the address you want the copy sent too. >> >>Click Next, then Next again (this one skips the exceptions that you >>can apply to your rule) >> >>Click Finish >> >>All done! >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Monday, April 23, 2007 11:02 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>That WOULD be easy. But I don't see a rule that governs outgoing >>addresses. Only sorting incoming mail. Am I missing it somewhere? >> >>Rocky >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 8:11 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Probably easier to use a rule. (There's a rule wizard to help out). >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Sunday, April 22, 2007 2:45 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] OT: Default BCC >> >> >> >> >>Dear List: >> >>Is there a way to default an email address into the BCC field in >>Outlook when you create a new message? >> >>TIA >> >>Rocky >> >> -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Apr 24 10:21:03 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 24 Apr 2007 08:21:03 -0700 Subject: [AccessD] OT a little - Code Tables In-Reply-To: <003201c78683$0fdf5200$657aa8c0@m6805> References: <013701c7867e$53939290$6402a8c0@ScuzzPaq> <003201c78683$0fdf5200$657aa8c0@m6805> Message-ID: Have you been singing its praises lately, John? ;-} I use a very similar 2 field table for the same purposes in Access apps. In .Net, we generally stuff the info into a table in an xml file instead of in the database. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, April 24, 2007 8:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Which little ditty is that? Are you referring to SysVars? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, April 24, 2007 10:39 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Hi Ed, My ponderings... I've seen codes like this before - in a USDA database. I've seen arguments on both sides as to its compliance with relational theory. In any case IMO it is a confusing way to handle lookup values as it (obviously) contains more than one type of value. As long as you retain the same programmer it probably doesn't matter - but who can do that anymore? So all I can advise is to document, document, document! The one exception IMO for holding more than one type of value in a lookup table is if the item will _never_ have more than one value - then JC's little ditty works nice. In that case it is handled via code not relational structure. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, April 24, 2007 9:00 AM To: dba-ot at databaseadvisors.com; Access Developers discussion and problem solving Subject: [AccessD] OT a little - Code Tables Hi All, I'm not familiar enough with SQL Server but I have a question regarding what I call Code Tables. I use them a lot when I develop an application in Access, e.g., I'll have a table for counties i.e., county code and county name or Providers, Provider code and Provider Name. I have them as separate tables. I'm trying to make sense out of the tables and relationships "my" programmer created. He has one code table period! Below is a look as to how it is setup. dbo_tblCodes CodeType CodeId CodeName OrderOnForm Ethnicity 1 Puerto Rican 1 Ethnicity 2 Mexican 2 Ethnicity 3 Cuban 3 Ethnicity 4 Other Hispanic 4 Ethnicity 5 Hispanic, Not Specified/Known 5 Ethnicity 7 Not of Hispanic Origin 6 Ethnicity 9 Don't Know/No Answer 7 Gender 1 Male 10 Gender 2 Female 20 Health 1 Poor 5 Health 2 Fair 10 Health 3 Good 15 Health 4 Very Good 20 Health 5 Excellent 25 Health 9 Don't Know/No Answer 80 This is just a little bit of the table but I think you can see his "logic" here. Is this a common convention that developers use? Hate to see what else I'm going to find as I try to wade through this. TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us -- 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 From Gustav at cactus.dk Tue Apr 24 10:22:42 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 24 Apr 2007 17:22:42 +0200 Subject: [AccessD] using a saved SSIS with VB.Net Message-ID: Hi John Yes, I hope you get paid well. Had you installed your SQL Server 2005 in "backwards compatibility mode" or whatever it is called - to behave like an SQL Server 2000 - it is my understanding that you could have created an ADP which gives you direct access to create and edit stored procedures in the SQL Server engine. I have never done this myself so someone else might guide you here what your options are. /gustav >>> jwcolby at colbyconsulting.com 24-04-2007 16:32 >>> Gustav, My bigger issue here is that there 56 of these files to import into SQL Server, supposedly ~100 million records. I have done about 8 million records so far. I really must get this thing automated such that it just chunks through these CSV files without my having to be around to start the next one. I am working now on setting up the append query using that syntax below into a stored procedure so that I can then just replace the file name. After that I will need to write something in VB.Net or whatever to execute the stored procedure feeding in all of the file names from a specific directory, deleting the file once the stored procedure finishes the import for a given file. I have never written a stored procedure. Obviously, given the above, I have never called a stored procedure from code. So much to learn, so little time. Once this is imported I have to turn right around and export a subset of fields from the table back out as 1 - 2 million record chunks for CAS / DPV / NCOA processing, then I have to import THOSE back in to a new table. And when this set of data is finished, I have another set of about the same size on the way, to which I have to perform the same processes. I soooooo need to get this process automated. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 24, 2007 8:54 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John That looks right. I don't know what speed to expect other than it should be more than the typical a-couple-of-hundreds per second for inserts via DAO and ODBC. The only tricks I know of are the well-known to drop indexes from the receiving table during the import and - as you mention - to minimize logging. The reference to MySQL is just for you to have an ultimate goal. I haven't seen or heard of anything else running at that speed, not even JET where you can expect around 15k records/s. Of course, it should server a purpose for you to install it, but MySQL is very easy to set up - and we have true experts (not me) joining the list. So if you can see an idea having these files loaded into an engine very fast, just move on. On the other hand, if you have a night and can perform the import without manual intervention, I think I would choose the method you have described. /gustav From ssharkins at setel.com Tue Apr 24 10:30:17 2007 From: ssharkins at setel.com (Susan Harkins) Date: Tue, 24 Apr 2007 11:30:17 -0400 Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! In-Reply-To: <200704241728.23380.bbruen@unwired.com.au> References: <200704241728.23380.bbruen@unwired.com.au> Message-ID: <000b01c78685$76c7dad0$0432fad1@SusanOne> Bruce, is each field truly that custom? You do know that you can change default formats for a form don't you? Of course, that doesn't help with the problem at hand -- sorry about that. :( Susan H. After 6 weeks work of setting conditional formats over 32 tables, 65 forms and 12 reports I accidentally hit ctl-leftshift-alt-prtscn-scratchnose which produced a "YOUAREGOINGINTOHIGHRESOLUTIONMODE" popup, with apparently NO WAY TO CANCEL IT! From jwcolby at colbyconsulting.com Tue Apr 24 10:36:19 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 24 Apr 2007 11:36:19 -0400 Subject: [AccessD] OT a little - Code Tables In-Reply-To: References: <013701c7867e$53939290$6402a8c0@ScuzzPaq><003201c78683$0fdf5200$657aa8c0@m6805> Message-ID: <004001c78686$4e78fcc0$657aa8c0@m6805> >Have you been singing its praises lately, John? ;-} Only when someone is trying to use a single record table and adding fields to the table every day. >In .Net, we generally stuff the info into a table in an xml file instead of in the database. I find it useful to have a copy (for my framework SysVars for example) in the framework itself, then a copy in the FE. The FE copy is loaded AFTER the FW copy so overwrites the FW copy if any changes are made in the FE. This allows me to set up the framework to have default behaviors that can be overwritten as desired for specific Fes. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, April 24, 2007 11:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT a little - Code Tables Have you been singing its praises lately, John? ;-} I use a very similar 2 field table for the same purposes in Access apps. In .Net, we generally stuff the info into a table in an xml file instead of in the database. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, April 24, 2007 8:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Which little ditty is that? Are you referring to SysVars? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, April 24, 2007 10:39 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Hi Ed, My ponderings... I've seen codes like this before - in a USDA database. I've seen arguments on both sides as to its compliance with relational theory. In any case IMO it is a confusing way to handle lookup values as it (obviously) contains more than one type of value. As long as you retain the same programmer it probably doesn't matter - but who can do that anymore? So all I can advise is to document, document, document! The one exception IMO for holding more than one type of value in a lookup table is if the item will _never_ have more than one value - then JC's little ditty works nice. In that case it is handled via code not relational structure. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, April 24, 2007 9:00 AM To: dba-ot at databaseadvisors.com; Access Developers discussion and problem solving Subject: [AccessD] OT a little - Code Tables Hi All, I'm not familiar enough with SQL Server but I have a question regarding what I call Code Tables. I use them a lot when I develop an application in Access, e.g., I'll have a table for counties i.e., county code and county name or Providers, Provider code and Provider Name. I have them as separate tables. I'm trying to make sense out of the tables and relationships "my" programmer created. He has one code table period! Below is a look as to how it is setup. dbo_tblCodes CodeType CodeId CodeName OrderOnForm Ethnicity 1 Puerto Rican 1 Ethnicity 2 Mexican 2 Ethnicity 3 Cuban 3 Ethnicity 4 Other Hispanic 4 Ethnicity 5 Hispanic, Not Specified/Known 5 Ethnicity 7 Not of Hispanic Origin 6 Ethnicity 9 Don't Know/No Answer 7 Gender 1 Male 10 Gender 2 Female 20 Health 1 Poor 5 Health 2 Fair 10 Health 3 Good 15 Health 4 Very Good 20 Health 5 Excellent 25 Health 9 Don't Know/No Answer 80 This is just a little bit of the table but I think you can see his "logic" here. Is this a common convention that developers use? Hate to see what else I'm going to find as I try to wade through this. TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Apr 24 10:44:10 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 24 Apr 2007 08:44:10 -0700 Subject: [AccessD] OT a little - Code Tables In-Reply-To: <004001c78686$4e78fcc0$657aa8c0@m6805> References: <013701c7867e$53939290$6402a8c0@ScuzzPaq><003201c78683$0fdf5200$657aa8c0@m6805> <004001c78686$4e78fcc0$657aa8c0@m6805> Message-ID: Essentially, we do the same thing in .Net. The xml files are the equivalent of FE tables. We also provide an "overwrite" methodology that allows admins to distribute an xml file that will install and/or lock settings on an installation so the user either doesn't have to or can't set them. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, April 24, 2007 8:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables >Have you been singing its praises lately, John? ;-} Only when someone is trying to use a single record table and adding fields to the table every day. >In .Net, we generally stuff the info into a table in an xml file >instead of in the database. I find it useful to have a copy (for my framework SysVars for example) in the framework itself, then a copy in the FE. The FE copy is loaded AFTER the FW copy so overwrites the FW copy if any changes are made in the FE. This allows me to set up the framework to have default behaviors that can be overwritten as desired for specific Fes. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, April 24, 2007 11:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT a little - Code Tables Have you been singing its praises lately, John? ;-} I use a very similar 2 field table for the same purposes in Access apps. In .Net, we generally stuff the info into a table in an xml file instead of in the database. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, April 24, 2007 8:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Which little ditty is that? Are you referring to SysVars? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, April 24, 2007 10:39 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Hi Ed, My ponderings... I've seen codes like this before - in a USDA database. I've seen arguments on both sides as to its compliance with relational theory. In any case IMO it is a confusing way to handle lookup values as it (obviously) contains more than one type of value. As long as you retain the same programmer it probably doesn't matter - but who can do that anymore? So all I can advise is to document, document, document! The one exception IMO for holding more than one type of value in a lookup table is if the item will _never_ have more than one value - then JC's little ditty works nice. In that case it is handled via code not relational structure. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, April 24, 2007 9:00 AM To: dba-ot at databaseadvisors.com; Access Developers discussion and problem solving Subject: [AccessD] OT a little - Code Tables Hi All, I'm not familiar enough with SQL Server but I have a question regarding what I call Code Tables. I use them a lot when I develop an application in Access, e.g., I'll have a table for counties i.e., county code and county name or Providers, Provider code and Provider Name. I have them as separate tables. I'm trying to make sense out of the tables and relationships "my" programmer created. He has one code table period! Below is a look as to how it is setup. dbo_tblCodes CodeType CodeId CodeName OrderOnForm Ethnicity 1 Puerto Rican 1 Ethnicity 2 Mexican 2 Ethnicity 3 Cuban 3 Ethnicity 4 Other Hispanic 4 Ethnicity 5 Hispanic, Not Specified/Known 5 Ethnicity 7 Not of Hispanic Origin 6 Ethnicity 9 Don't Know/No Answer 7 Gender 1 Male 10 Gender 2 Female 20 Health 1 Poor 5 Health 2 Fair 10 Health 3 Good 15 Health 4 Very Good 20 Health 5 Excellent 25 Health 9 Don't Know/No Answer 80 This is just a little bit of the table but I think you can see his "logic" here. Is this a common convention that developers use? Hate to see what else I'm going to find as I try to wade through this. TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us -- 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 -- 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 rl_stewart at highstream.net Tue Apr 24 10:50:52 2007 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 24 Apr 2007 10:50:52 -0500 Subject: [AccessD] Code Tables In-Reply-To: References: Message-ID: <200704241554.l3OFsAJI026425@databaseadvisors.com> He is probably an ex-FoxPro developer. They were one of the ones that got into doing a single table like that for all of the lookups. It is flat out bad design. Show him the correct way, yours. Robert At 10:22 AM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 09:59:55 -0400 >From: "Tesiny, Ed" >Subject: [AccessD] OT a little - Code Tables >To: , "Access Developers discussion and > problem solving" >Message-ID: > > >Content-Type: text/plain; charset="us-ascii" > >Hi All, >I'm not familiar enough with SQL Server but I have a question regarding >what I call Code Tables. I use them a lot when I develop an application >in Access, e.g., I'll have a table for counties i.e., county code and >county name or Providers, Provider code and Provider Name. I have them >as separate tables. I'm trying to make sense out of the tables and >relationships "my" programmer created. He has one code table period! >Below is a look as to how it is setup. > >dbo_tblCodes >CodeType CodeId CodeName OrderOnForm >Ethnicity 1 Puerto Rican 1 >Ethnicity 2 Mexican 2 >Ethnicity 3 Cuban 3 >Ethnicity 4 Other Hispanic 4 >Ethnicity 5 Hispanic, Not Specified/Known 5 >Ethnicity 7 Not of Hispanic Origin 6 >Ethnicity 9 Don't Know/No Answer 7 >Gender 1 Male 10 >Gender 2 Female 20 >Health 1 Poor 5 >Health 2 Fair 10 >Health 3 Good 15 >Health 4 Very Good 20 >Health 5 Excellent 25 >Health 9 Don't Know/No Answer 80 > >This is just a little bit of the table but I think you can see his >"logic" here. Is this a common convention that developers use? Hate to >see what else I'm going to find as I try to wade through this. >TIA >Ed > > >Edward P. Tesiny >Assistant Director for Evaluation >Bureau of Evaluation and Practice Improvement >New York State OASAS >1450 Western Ave. >Albany, New York 12203-3526 >Phone: (518) 485-7189 >Fax: (518) 485-5769 >Email: EdTesiny at oasas.state.ny.us From rl_stewart at highstream.net Tue Apr 24 10:53:22 2007 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 24 Apr 2007 10:53:22 -0500 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: References: Message-ID: <200704241554.l3OFsB3F026427@databaseadvisors.com> John, One of the keys to getting it into SQL Server faster is to have the CSV file on the server and not on a different machine. Network traffic can kill the process and slow it down significantly. Robert At 10:22 AM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 10:32:44 -0400 >From: "JWColby" >Subject: Re: [AccessD] using a saved SSIS with VB.Net >To: "'Access Developers discussion and problem solving'" > >Message-ID: <003101c7867d$6cce93a0$657aa8c0 at m6805> >Content-Type: text/plain; charset="us-ascii" > >Gustav, > >My bigger issue here is that there 56 of these files to import into SQL >Server, supposedly ~100 million records. I have done about 8 million >records so far. I really must get this thing automated such that it just >chunks through these CSV files without my having to be around to start the >next one. I am working now on setting up the append query using that syntax >below into a stored procedure so that I can then just replace the file name. >After that I will need to write something in VB.Net or whatever to execute >the stored procedure feeding in all of the file names from a specific >directory, deleting the file once the stored procedure finishes the import >for a given file. > >I have never written a stored procedure. >Obviously, given the above, I have never called a stored procedure from >code. > >So much to learn, so little time. > >Once this is imported I have to turn right around and export a subset of >fields from the table back out as 1 - 2 million record chunks for CAS / DPV >/ NCOA processing, then I have to import THOSE back in to a new table. > >And when this set of data is finished, I have another set of about the same >size on the way, to which I have to perform the same processes. I soooooo >need to get this process automated. > >John W. Colby From fuller.artful at gmail.com Tue Apr 24 10:55:07 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 24 Apr 2007 11:55:07 -0400 Subject: [AccessD] OT a little - Code Tables In-Reply-To: <004001c78686$4e78fcc0$657aa8c0@m6805> References: <013701c7867e$53939290$6402a8c0@ScuzzPaq> <003201c78683$0fdf5200$657aa8c0@m6805> <004001c78686$4e78fcc0$657aa8c0@m6805> Message-ID: <29f585dd0704240855t7a6f5d90nc7337197ebc8ed9a@mail.gmail.com> For those who care about theory, this model is a definite no-no. A table (relation) is a collection of like entities, and since there is no observable penalty for the number of tables (unless it goes into the thousands), then IMO it is asinine, not to mention theoretically unsound, to use one table for several purposes. Assuming that you choose the one-table route, then you must create views or UDFs to isolate the collection of interest. Given the overhead involved in doing that (and the more rows, the more overhead), what do you gain by stuffing a bunch of unlike entities into a single table? The whole idea IMO is incoherent and self-defeating. My $.02. Arthur On 4/24/07, JWColby wrote: > > >Have you been singing its praises lately, John? ;-} > > Only when someone is trying to use a single record table and adding fields > to the table every day. > > > > >In .Net, we generally stuff the info into a table in an xml file instead > of > in the database. > > I find it useful to have a copy (for my framework SysVars for example) in > the framework itself, then a copy in the FE. The FE copy is loaded AFTER > the FW copy so overwrites the FW copy if any changes are made in the FE. > This allows me to set up the framework to have default behaviors that can > be > overwritten as desired for specific Fes. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Tuesday, April 24, 2007 11:21 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT a little - Code Tables > > Have you been singing its praises lately, John? ;-} > > I use a very similar 2 field table for the same purposes in Access apps. > In .Net, we generally stuff the info into a table in an xml file instead > of > in the database. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Tuesday, April 24, 2007 8:13 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT a little - Code Tables > > Which little ditty is that? Are you referring to SysVars? > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Tuesday, April 24, 2007 10:39 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT a little - Code Tables > > Hi Ed, > My ponderings... > > I've seen codes like this before - in a USDA database. > > I've seen arguments on both sides as to its compliance with relational > theory. In any case IMO it is a confusing way to handle lookup values as > it > (obviously) contains more than one type of value. As long as you retain > the > same programmer it probably doesn't matter - but who can do that anymore? > So > all I can advise is to document, document, document! > > The one exception IMO for holding more than one type of value in a lookup > table is if the item will _never_ have more than one value - then JC's > little ditty works nice. In that case it is handled via code not > relational > structure. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed > Sent: Tuesday, April 24, 2007 9:00 AM > To: dba-ot at databaseadvisors.com; Access Developers discussion and problem > solving > Subject: [AccessD] OT a little - Code Tables > > Hi All, > I'm not familiar enough with SQL Server but I have a question regarding > what > I call Code Tables. I use them a lot when I develop an application in > Access, e.g., I'll have a table for counties i.e., county code and county > name or Providers, Provider code and Provider Name. I have them as > separate > tables. I'm trying to make sense out of the tables and relationships "my" > programmer created. He has one code table period! > Below is a look as to how it is setup. > > dbo_tblCodes > CodeType CodeId CodeName OrderOnForm > Ethnicity 1 Puerto Rican 1 > Ethnicity 2 Mexican 2 > Ethnicity 3 Cuban 3 > Ethnicity 4 Other Hispanic 4 > Ethnicity 5 Hispanic, Not Specified/Known 5 > Ethnicity 7 Not of Hispanic Origin 6 > Ethnicity 9 Don't Know/No Answer 7 > Gender 1 Male 10 > Gender 2 Female 20 > Health 1 Poor 5 > Health 2 Fair 10 > Health 3 Good 15 > Health 4 Very Good 20 > Health 5 Excellent 25 > Health 9 Don't Know/No Answer 80 > > This is just a little bit of the table but I think you can see his "logic" > here. Is this a common convention that developers use? Hate to see what > else I'm going to find as I try to wade through this. > TIA > Ed > > > Edward P. Tesiny > Assistant Director for Evaluation > Bureau of Evaluation and Practice Improvement New York State OASAS 1450 > Western Ave. > Albany, New York 12203-3526 > Phone: (518) 485-7189 > Fax: (518) 485-5769 > Email: EdTesiny at oasas.state.ny.us > > -- > 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 > > -- > 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 cfoust at infostatsystems.com Tue Apr 24 10:58:01 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 24 Apr 2007 08:58:01 -0700 Subject: [AccessD] Code Tables In-Reply-To: <200704241554.l3OFsAJI026425@databaseadvisors.com> References: <200704241554.l3OFsAJI026425@databaseadvisors.com> Message-ID: I seem to recall we did it that way in dBase too. I think it was pretty standard for all the xBase languages because it was so hard to keep track of all the table files otherwise. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Tuesday, April 24, 2007 8:51 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Code Tables He is probably an ex-FoxPro developer. They were one of the ones that got into doing a single table like that for all of the lookups. It is flat out bad design. Show him the correct way, yours. Robert At 10:22 AM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 09:59:55 -0400 >From: "Tesiny, Ed" >Subject: [AccessD] OT a little - Code Tables >To: , "Access Developers discussion and > problem solving" >Message-ID: > > >Content-Type: text/plain; charset="us-ascii" > >Hi All, >I'm not familiar enough with SQL Server but I have a question regarding >what I call Code Tables. I use them a lot when I develop an >application in Access, e.g., I'll have a table for counties i.e., >county code and county name or Providers, Provider code and Provider >Name. I have them as separate tables. I'm trying to make sense out of >the tables and relationships "my" programmer created. He has one code table period! >Below is a look as to how it is setup. > >dbo_tblCodes >CodeType CodeId CodeName OrderOnForm >Ethnicity 1 Puerto Rican 1 >Ethnicity 2 Mexican 2 >Ethnicity 3 Cuban 3 >Ethnicity 4 Other Hispanic 4 >Ethnicity 5 Hispanic, Not Specified/Known 5 >Ethnicity 7 Not of Hispanic Origin 6 >Ethnicity 9 Don't Know/No Answer 7 >Gender 1 Male 10 >Gender 2 Female 20 >Health 1 Poor 5 >Health 2 Fair 10 >Health 3 Good 15 >Health 4 Very Good 20 >Health 5 Excellent 25 >Health 9 Don't Know/No Answer 80 > >This is just a little bit of the table but I think you can see his >"logic" here. Is this a common convention that developers use? Hate >to see what else I'm going to find as I try to wade through this. >TIA >Ed > > >Edward P. Tesiny >Assistant Director for Evaluation >Bureau of Evaluation and Practice Improvement New York State OASAS 1450 >Western Ave. >Albany, New York 12203-3526 >Phone: (518) 485-7189 >Fax: (518) 485-5769 >Email: EdTesiny at oasas.state.ny.us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Apr 24 11:07:11 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 24 Apr 2007 12:07:11 -0400 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: <200704241554.l3OFsB3F026427@databaseadvisors.com> References: <200704241554.l3OFsB3F026427@databaseadvisors.com> Message-ID: <004301c7868a$9e6cd590$657aa8c0@m6805> The CSV file is on the same machine. It appears that the clause that pulls the source table (csv file) into memory is taking a ton of time. These are large files, the smallest are a little under 200 million bytes and the largest are up in the 3 gigabyte range. It appears that SQL Server does not read a few records and append them, but rather reads the whole CSV and then starts appending all of the assembled records. If I were a SQL Server pro I could probably speed this up considerably. Alas, I am not. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Tuesday, April 24, 2007 11:53 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net John, One of the keys to getting it into SQL Server faster is to have the CSV file on the server and not on a different machine. Network traffic can kill the process and slow it down significantly. Robert At 10:22 AM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 10:32:44 -0400 >From: "JWColby" >Subject: Re: [AccessD] using a saved SSIS with VB.Net >To: "'Access Developers discussion and problem solving'" > >Message-ID: <003101c7867d$6cce93a0$657aa8c0 at m6805> >Content-Type: text/plain; charset="us-ascii" > >Gustav, > >My bigger issue here is that there 56 of these files to import into SQL >Server, supposedly ~100 million records. I have done about 8 million >records so far. I really must get this thing automated such that it >just chunks through these CSV files without my having to be around to >start the next one. I am working now on setting up the append query >using that syntax below into a stored procedure so that I can then just replace the file name. >After that I will need to write something in VB.Net or whatever to >execute the stored procedure feeding in all of the file names from a >specific directory, deleting the file once the stored procedure >finishes the import for a given file. > >I have never written a stored procedure. >Obviously, given the above, I have never called a stored procedure from >code. > >So much to learn, so little time. > >Once this is imported I have to turn right around and export a subset >of fields from the table back out as 1 - 2 million record chunks for >CAS / DPV / NCOA processing, then I have to import THOSE back in to a new table. > >And when this set of data is finished, I have another set of about the >same size on the way, to which I have to perform the same processes. I >soooooo need to get this process automated. > >John W. Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Apr 24 11:07:57 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 24 Apr 2007 09:07:57 -0700 Subject: [AccessD] OT a little - Code Tables In-Reply-To: <29f585dd0704240855t7a6f5d90nc7337197ebc8ed9a@mail.gmail.com> References: <013701c7867e$53939290$6402a8c0@ScuzzPaq><003201c78683$0fdf5200$657aa8c0@m6805><004001c78686$4e78fcc0$657aa8c0@m6805> <29f585dd0704240855t7a6f5d90nc7337197ebc8ed9a@mail.gmail.com> Message-ID: In modern databases, it's incoherent and unnecessary. In the databases of 25 years ago, where every table was a separate file, it made a bit more sesne to reduce the number of tables where possible. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, April 24, 2007 8:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT a little - Code Tables For those who care about theory, this model is a definite no-no. A table (relation) is a collection of like entities, and since there is no observable penalty for the number of tables (unless it goes into the thousands), then IMO it is asinine, not to mention theoretically unsound, to use one table for several purposes. Assuming that you choose the one-table route, then you must create views or UDFs to isolate the collection of interest. Given the overhead involved in doing that (and the more rows, the more overhead), what do you gain by stuffing a bunch of unlike entities into a single table? The whole idea IMO is incoherent and self-defeating. My $.02. Arthur On 4/24/07, JWColby wrote: > > >Have you been singing its praises lately, John? ;-} > > Only when someone is trying to use a single record table and adding > fields to the table every day. > > > > >In .Net, we generally stuff the info into a table in an xml file > >instead > of > in the database. > > I find it useful to have a copy (for my framework SysVars for example) > in the framework itself, then a copy in the FE. The FE copy is loaded > AFTER the FW copy so overwrites the FW copy if any changes are made in the FE. > This allows me to set up the framework to have default behaviors that > can be overwritten as desired for specific Fes. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Tuesday, April 24, 2007 11:21 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT a little - Code Tables > > Have you been singing its praises lately, John? ;-} > > I use a very similar 2 field table for the same purposes in Access apps. > In .Net, we generally stuff the info into a table in an xml file > instead of in the database. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Tuesday, April 24, 2007 8:13 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT a little - Code Tables > > Which little ditty is that? Are you referring to SysVars? > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Tuesday, April 24, 2007 10:39 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT a little - Code Tables > > Hi Ed, > My ponderings... > > I've seen codes like this before - in a USDA database. > > I've seen arguments on both sides as to its compliance with relational > theory. In any case IMO it is a confusing way to handle lookup values > as it > (obviously) contains more than one type of value. As long as you > retain the same programmer it probably doesn't matter - but who can do > that anymore? > So > all I can advise is to document, document, document! > > The one exception IMO for holding more than one type of value in a > lookup table is if the item will _never_ have more than one value - > then JC's little ditty works nice. In that case it is handled via code > not relational structure. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed > Sent: Tuesday, April 24, 2007 9:00 AM > To: dba-ot at databaseadvisors.com; Access Developers discussion and > problem solving > Subject: [AccessD] OT a little - Code Tables > > Hi All, > I'm not familiar enough with SQL Server but I have a question > regarding what I call Code Tables. I use them a lot when I develop an > application in Access, e.g., I'll have a table for counties i.e., > county code and county name or Providers, Provider code and Provider > Name. I have them as separate tables. I'm trying to make sense out > of the tables and relationships "my" > programmer created. He has one code table period! > Below is a look as to how it is setup. > > dbo_tblCodes > CodeType CodeId CodeName OrderOnForm > Ethnicity 1 Puerto Rican 1 > Ethnicity 2 Mexican 2 > Ethnicity 3 Cuban 3 > Ethnicity 4 Other Hispanic 4 > Ethnicity 5 Hispanic, Not Specified/Known 5 > Ethnicity 7 Not of Hispanic Origin 6 > Ethnicity 9 Don't Know/No Answer 7 > Gender 1 Male 10 > Gender 2 Female 20 > Health 1 Poor 5 > Health 2 Fair 10 > Health 3 Good 15 > Health 4 Very Good 20 > Health 5 Excellent 25 > Health 9 Don't Know/No Answer 80 > > This is just a little bit of the table but I think you can see his "logic" > here. Is this a common convention that developers use? Hate to see > what else I'm going to find as I try to wade through this. > TIA > Ed > > > Edward P. Tesiny > Assistant Director for Evaluation > Bureau of Evaluation and Practice Improvement New York State OASAS > 1450 Western Ave. > Albany, New York 12203-3526 > Phone: (518) 485-7189 > Fax: (518) 485-5769 > Email: EdTesiny at oasas.state.ny.us > > -- > 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 > > -- > 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 From jwcolby at colbyconsulting.com Tue Apr 24 11:09:10 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 24 Apr 2007 12:09:10 -0400 Subject: [AccessD] Code Tables In-Reply-To: References: <200704241554.l3OFsAJI026425@databaseadvisors.com> Message-ID: <004401c7868a$e4fdde00$657aa8c0@m6805> >I think it was pretty standard for all the xBase languages because it was so hard to keep track of all the table files otherwise. LOL. I got a job one time rescuing a Paradox database that was crumbling. It had well over TWO THOUSAND files in dozens of directories. It was not pleasant trying to get the data out of it. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, April 24, 2007 11:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Code Tables I seem to recall we did it that way in dBase too. I think it was pretty standard for all the xBase languages because it was so hard to keep track of all the table files otherwise. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Tuesday, April 24, 2007 8:51 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Code Tables He is probably an ex-FoxPro developer. They were one of the ones that got into doing a single table like that for all of the lookups. It is flat out bad design. Show him the correct way, yours. Robert At 10:22 AM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 09:59:55 -0400 >From: "Tesiny, Ed" >Subject: [AccessD] OT a little - Code Tables >To: , "Access Developers discussion and > problem solving" >Message-ID: > > >Content-Type: text/plain; charset="us-ascii" > >Hi All, >I'm not familiar enough with SQL Server but I have a question regarding >what I call Code Tables. I use them a lot when I develop an >application in Access, e.g., I'll have a table for counties i.e., >county code and county name or Providers, Provider code and Provider >Name. I have them as separate tables. I'm trying to make sense out of >the tables and relationships "my" programmer created. He has one code table period! >Below is a look as to how it is setup. > >dbo_tblCodes >CodeType CodeId CodeName OrderOnForm >Ethnicity 1 Puerto Rican 1 >Ethnicity 2 Mexican 2 >Ethnicity 3 Cuban 3 >Ethnicity 4 Other Hispanic 4 >Ethnicity 5 Hispanic, Not Specified/Known 5 >Ethnicity 7 Not of Hispanic Origin 6 >Ethnicity 9 Don't Know/No Answer 7 >Gender 1 Male 10 >Gender 2 Female 20 >Health 1 Poor 5 >Health 2 Fair 10 >Health 3 Good 15 >Health 4 Very Good 20 >Health 5 Excellent 25 >Health 9 Don't Know/No Answer 80 > >This is just a little bit of the table but I think you can see his >"logic" here. Is this a common convention that developers use? Hate >to see what else I'm going to find as I try to wade through this. >TIA >Ed > > >Edward P. Tesiny >Assistant Director for Evaluation >Bureau of Evaluation and Practice Improvement New York State OASAS 1450 >Western Ave. >Albany, New York 12203-3526 >Phone: (518) 485-7189 >Fax: (518) 485-5769 >Email: EdTesiny at oasas.state.ny.us -- 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 cfoust at infostatsystems.com Tue Apr 24 11:13:00 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 24 Apr 2007 09:13:00 -0700 Subject: [AccessD] Code Tables In-Reply-To: <004401c7868a$e4fdde00$657aa8c0@m6805> References: <200704241554.l3OFsAJI026425@databaseadvisors.com> <004401c7868a$e4fdde00$657aa8c0@m6805> Message-ID: You have my deepest sympathy in retrospect! Been there, done that, bought the mouse pad. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, April 24, 2007 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Code Tables >I think it was pretty standard for all the xBase languages because it >was so hard to keep track of all the table files otherwise. LOL. I got a job one time rescuing a Paradox database that was crumbling. It had well over TWO THOUSAND files in dozens of directories. It was not pleasant trying to get the data out of it. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, April 24, 2007 11:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Code Tables I seem to recall we did it that way in dBase too. I think it was pretty standard for all the xBase languages because it was so hard to keep track of all the table files otherwise. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Tuesday, April 24, 2007 8:51 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Code Tables He is probably an ex-FoxPro developer. They were one of the ones that got into doing a single table like that for all of the lookups. It is flat out bad design. Show him the correct way, yours. Robert At 10:22 AM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 09:59:55 -0400 >From: "Tesiny, Ed" >Subject: [AccessD] OT a little - Code Tables >To: , "Access Developers discussion and > problem solving" >Message-ID: > > >Content-Type: text/plain; charset="us-ascii" > >Hi All, >I'm not familiar enough with SQL Server but I have a question regarding >what I call Code Tables. I use them a lot when I develop an >application in Access, e.g., I'll have a table for counties i.e., >county code and county name or Providers, Provider code and Provider >Name. I have them as separate tables. I'm trying to make sense out of >the tables and relationships "my" programmer created. He has one code table period! >Below is a look as to how it is setup. > >dbo_tblCodes >CodeType CodeId CodeName OrderOnForm >Ethnicity 1 Puerto Rican 1 >Ethnicity 2 Mexican 2 >Ethnicity 3 Cuban 3 >Ethnicity 4 Other Hispanic 4 >Ethnicity 5 Hispanic, Not Specified/Known 5 >Ethnicity 7 Not of Hispanic Origin 6 >Ethnicity 9 Don't Know/No Answer 7 >Gender 1 Male 10 >Gender 2 Female 20 >Health 1 Poor 5 >Health 2 Fair 10 >Health 3 Good 15 >Health 4 Very Good 20 >Health 5 Excellent 25 >Health 9 Don't Know/No Answer 80 > >This is just a little bit of the table but I think you can see his >"logic" here. Is this a common convention that developers use? Hate >to see what else I'm going to find as I try to wade through this. >TIA >Ed > > >Edward P. Tesiny >Assistant Director for Evaluation >Bureau of Evaluation and Practice Improvement New York State OASAS 1450 >Western Ave. >Albany, New York 12203-3526 >Phone: (518) 485-7189 >Fax: (518) 485-5769 >Email: EdTesiny at oasas.state.ny.us -- 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 From john at winhaven.net Tue Apr 24 11:26:56 2007 From: john at winhaven.net (John Bartow) Date: Tue, 24 Apr 2007 11:26:56 -0500 Subject: [AccessD] OT a little - Code Tables In-Reply-To: <003201c78683$0fdf5200$657aa8c0@m6805> References: <013701c7867e$53939290$6402a8c0@ScuzzPaq> <003201c78683$0fdf5200$657aa8c0@m6805> Message-ID: <015d01c7868d$60b7fdd0$6402a8c0@ScuzzPaq> Yes - a code based solution to a relational theory based PITA ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, April 24, 2007 10:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Which little ditty is that? Are you referring to SysVars? From john at winhaven.net Tue Apr 24 11:41:43 2007 From: john at winhaven.net (John Bartow) Date: Tue, 24 Apr 2007 11:41:43 -0500 Subject: [AccessD] OT a little - Code Tables In-Reply-To: <29f585dd0704240855t7a6f5d90nc7337197ebc8ed9a@mail.gmail.com> References: <013701c7867e$53939290$6402a8c0@ScuzzPaq><003201c78683$0fdf5200$657aa8c0@m6805><004001c78686$4e78fcc0$657aa8c0@m6805> <29f585dd0704240855t7a6f5d90nc7337197ebc8ed9a@mail.gmail.com> Message-ID: <016a01c7868f$717ed010$6402a8c0@ScuzzPaq> I think it was bad design due to the limitations of some of the DB products of the time. Also, another reason it was done was for the end user's sake. Basically there would be one table with lookups and values and the user could add or edit new lookups types and values which would be loaded to a UI form via a DB View. Although it could have been done using other methods, it was one method of accomplishing something that needed to be done. I didn't like it back then and I dislike it even more now. I migrated data from the DB (Informix) that held this methodology into a normalized SQL Server DB - I had to set up many filters to get the lookup tables migrated! And that wasn't the only non-standard methodology used in the Informix DB :o( -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, April 24, 2007 10:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT a little - Code Tables For those who care about theory, this model is a definite no-no. A table (relation) is a collection of like entities, and since there is no observable penalty for the number of tables (unless it goes into the thousands), then IMO it is asinine, not to mention theoretically unsound, to use one table for several purposes. Assuming that you choose the one-table route, then you must create views or UDFs to isolate the collection of interest. Given the overhead involved in doing that (and the more rows, the more overhead), what do you gain by stuffing a bunch of unlike entities into a single table? From john at winhaven.net Tue Apr 24 11:47:19 2007 From: john at winhaven.net (John Bartow) Date: Tue, 24 Apr 2007 11:47:19 -0500 Subject: [AccessD] Code Tables In-Reply-To: References: <200704241554.l3OFsAJI026425@databaseadvisors.com> Message-ID: <016c01c78690$3a8a4020$6402a8c0@ScuzzPaq> Yes, that could be a drag - a good reason during that era to use R:Base. It had three files Data, Index, Notes(memo) field data. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, April 24, 2007 10:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Code Tables I seem to recall we did it that way in dBase too. I think it was pretty standard for all the xBase languages because it was so hard to keep track of all the table files otherwise. From rl_stewart at highstream.net Tue Apr 24 12:20:33 2007 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 24 Apr 2007 12:20:33 -0500 Subject: [AccessD] Code Tables In-Reply-To: References: Message-ID: <200704241724.l3OHO65p020120@databaseadvisors.com> Charlotte, Personally, my Clipper stuff was normalized. The Fox guys thought they could get away with the bad design because of the advantage that the Rushmore technology used in the idexing gave to them. Robert At 12:00 PM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 08:58:01 -0700 >From: "Charlotte Foust" >Subject: Re: [AccessD] Code Tables >To: "Access Developers discussion and problem solving" > >Message-ID: > >Content-Type: text/plain; charset="us-ascii" > >I seem to recall we did it that way in dBase too. I think it was pretty >standard for all the xBase languages because it was so hard to keep >track of all the table files otherwise. > >Charlotte Foust From rl_stewart at highstream.net Tue Apr 24 12:22:28 2007 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 24 Apr 2007 12:22:28 -0500 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: References: Message-ID: <200704241724.l3OHO6jw020122@databaseadvisors.com> John, Try setting up a linked server using the text files as the server files. This would allow SQL Server to operate as if they were SQL files. Robert At 12:00 PM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 12:07:11 -0400 >From: "JWColby" >Subject: Re: [AccessD] using a saved SSIS with VB.Net >To: "'Access Developers discussion and problem solving'" > >Message-ID: <004301c7868a$9e6cd590$657aa8c0 at m6805> >Content-Type: text/plain; charset="us-ascii" > >The CSV file is on the same machine. It appears that the clause that pulls >the source table (csv file) into memory is taking a ton of time. These are >large files, the smallest are a little under 200 million bytes and the >largest are up in the 3 gigabyte range. It appears that SQL Server does not >read a few records and append them, but rather reads the whole CSV and then >starts appending all of the assembled records. > >If I were a SQL Server pro I could probably speed this up considerably. >Alas, I am not. > >John W. Colby From rl_stewart at highstream.net Tue Apr 24 12:23:44 2007 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 24 Apr 2007 12:23:44 -0500 Subject: [AccessD] Code Tables In-Reply-To: References: Message-ID: <200704241729.l3OHT5it021503@databaseadvisors.com> The real Paradox was that Paradox even worked. :-) Robert At 12:00 PM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 12:09:10 -0400 >From: "JWColby" >Subject: Re: [AccessD] Code Tables >To: "'Access Developers discussion and problem solving'" > >Message-ID: <004401c7868a$e4fdde00$657aa8c0 at m6805> >Content-Type: text/plain; charset="us-ascii" > > >I think it was pretty standard for all the xBase languages because it was >so hard to keep track of all the table files otherwise. > >LOL. I got a job one time rescuing a Paradox database that was crumbling. >It had well over TWO THOUSAND files in dozens of directories. It was not >pleasant trying to get the data out of it. > >John W. Colby From mwp.reid at qub.ac.uk Tue Apr 24 12:33:21 2007 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 24 Apr 2007 18:33:21 +0100 Subject: [AccessD] using a saved SSIS with VB.Net References: <200704241724.l3OHO6jw020122@databaseadvisors.com> Message-ID: John Have not worked with such large text files. But here are some links to areas with similar needs. You might pick up an idea or two. http://discuss.fogcreek.com/joelonsoftware4/default.asp?cmd=show&ixPost=130552&ixReplies=16 http://msdn2.microsoft.com/en-us/library/ms139941.aspx http://groups.google.com/group/microsoft.public.sqlserver.programming/browse_thread/thread/d11a50d085985781/b16c9cc3cbbef69f%23b16c9cc3cbbef69f http://weblogs.sqlteam.com/mladenp/articles/10631.aspx HTH Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From jimdettman at verizon.net Tue Apr 24 12:47:57 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 24 Apr 2007 13:47:57 -0400 Subject: [AccessD] OT a little - Code Tables In-Reply-To: References: Message-ID: <017e01c78698$b27dd350$8abea8c0@XPS> Just to weigh in; I do this myself in all my apps. I see little sense in setting up a separate table for each one of the lookups when they are all the same. And I don't agree with Arthur that this violates relational theory. They are all the same entity. Each one has a type, code, and a description. That's it. No more and no less. It would be a different matter if I had something like this: Type CodeID CodeName Postal Mask Phone Mask OnOrder Form Country USA United States #####-#### (###) ###-#### Null Country CAN Canada ### ### (###) ###-#### Null Ethnicity 1 Puerto Rican Null Null 1 Ethnicity 2 Mexican Null Null 2 Now there are multiple entities in the table as each instance does not have the same attributes and thus cannot be the same thing. This is the point where I break out into a separate table. But for a "lookup value", even though each lookup value may have a different type, I keep them all in the same table. I find it simplifies things quite a bit and performs better as well. Lot less overhead then having multiple tables, all of which need to be opened, closed, indexed, etc. Coding is less complex overall as well. My .02 Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, April 24, 2007 10:00 AM To: dba-ot at databaseadvisors.com; Access Developers discussion and problem solving Subject: [AccessD] OT a little - Code Tables Hi All, I'm not familiar enough with SQL Server but I have a question regarding what I call Code Tables. I use them a lot when I develop an application in Access, e.g., I'll have a table for counties i.e., county code and county name or Providers, Provider code and Provider Name. I have them as separate tables. I'm trying to make sense out of the tables and relationships "my" programmer created. He has one code table period! Below is a look as to how it is setup. dbo_tblCodes CodeType CodeId CodeName OrderOnForm Ethnicity 1 Puerto Rican 1 Ethnicity 2 Mexican 2 Ethnicity 3 Cuban 3 Ethnicity 4 Other Hispanic 4 Ethnicity 5 Hispanic, Not Specified/Known 5 Ethnicity 7 Not of Hispanic Origin 6 Ethnicity 9 Don't Know/No Answer 7 Gender 1 Male 10 Gender 2 Female 20 Health 1 Poor 5 Health 2 Fair 10 Health 3 Good 15 Health 4 Very Good 20 Health 5 Excellent 25 Health 9 Don't Know/No Answer 80 This is just a little bit of the table but I think you can see his "logic" here. Is this a common convention that developers use? Hate to see what else I'm going to find as I try to wade through this. TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Apr 24 13:06:33 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 24 Apr 2007 11:06:33 -0700 Subject: [AccessD] Code Tables In-Reply-To: <200704241724.l3OHO65p020120@databaseadvisors.com> References: <200704241724.l3OHO65p020120@databaseadvisors.com> Message-ID: Clipper was a special case. I never programmed in it, but I effectively "debugged" commercial apps we used that were built in it. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Tuesday, April 24, 2007 10:21 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Code Tables Charlotte, Personally, my Clipper stuff was normalized. The Fox guys thought they could get away with the bad design because of the advantage that the Rushmore technology used in the idexing gave to them. Robert At 12:00 PM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 08:58:01 -0700 >From: "Charlotte Foust" >Subject: Re: [AccessD] Code Tables >To: "Access Developers discussion and problem solving" > >Message-ID: > >Content-Type: text/plain; charset="us-ascii" > >I seem to recall we did it that way in dBase too. I think it was >pretty standard for all the xBase languages because it was so hard to >keep track of all the table files otherwise. > >Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DElam at jenkens.com Tue Apr 24 13:12:35 2007 From: DElam at jenkens.com (Elam, Debbie) Date: Tue, 24 Apr 2007 13:12:35 -0500 Subject: [AccessD] OT a little - Code Tables Message-ID: <573E90481C9F004C9E598D3A5A9DCDA001D206@jgexch1.jenkens.com> I agree. The only thing I would do is make sure the ID is unique regardless of the code type. Having a multiple field key does cause more problems. As I pointed out, if you want to add the functionality to the front end of being able to define some custom combo or list boxes, custom codes are often needed too. This offers the ability to recycle a previous list (Yes/no is a common recycled list) or create a new one from scratch. I use a commercial product that uses a consolidated code table and party table for just that reason. It has made the interface very customizable by a reasonably savvy end user with no programming experience and no access to the server to add new tables. The views of each code type are a convenience, not a necessity. Debbie -----Original Message----- From: Jim Dettman [mailto:jimdettman at verizon.net] Sent: Tuesday, April 24, 2007 12:48 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Just to weigh in; I do this myself in all my apps. I see little sense in setting up a separate table for each one of the lookups when they are all the same. And I don't agree with Arthur that this violates relational theory. They are all the same entity. Each one has a type, code, and a description. That's it. No more and no less. It would be a different matter if I had something like this: Type CodeID CodeName Postal Mask Phone Mask OnOrder Form Country USA United States #####-#### (###) ###-#### Null Country CAN Canada ### ### (###) ###-#### Null Ethnicity 1 Puerto Rican Null Null 1 Ethnicity 2 Mexican Null Null 2 Now there are multiple entities in the table as each instance does not have the same attributes and thus cannot be the same thing. This is the point where I break out into a separate table. But for a "lookup value", even though each lookup value may have a different type, I keep them all in the same table. I find it simplifies things quite a bit and performs better as well. Lot less overhead then having multiple tables, all of which need to be opened, closed, indexed, etc. Coding is less complex overall as well. My .02 Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, April 24, 2007 10:00 AM To: dba-ot at databaseadvisors.com; Access Developers discussion and problem solving Subject: [AccessD] OT a little - Code Tables Hi All, I'm not familiar enough with SQL Server but I have a question regarding what I call Code Tables. I use them a lot when I develop an application in Access, e.g., I'll have a table for counties i.e., county code and county name or Providers, Provider code and Provider Name. I have them as separate tables. I'm trying to make sense out of the tables and relationships "my" programmer created. He has one code table period! Below is a look as to how it is setup. dbo_tblCodes CodeType CodeId CodeName OrderOnForm Ethnicity 1 Puerto Rican 1 Ethnicity 2 Mexican 2 Ethnicity 3 Cuban 3 Ethnicity 4 Other Hispanic 4 Ethnicity 5 Hispanic, Not Specified/Known 5 Ethnicity 7 Not of Hispanic Origin 6 Ethnicity 9 Don't Know/No Answer 7 Gender 1 Male 10 Gender 2 Female 20 Health 1 Poor 5 Health 2 Fair 10 Health 3 Good 15 Health 4 Very Good 20 Health 5 Excellent 25 Health 9 Don't Know/No Answer 80 This is just a little bit of the table but I think you can see his "logic" here. Is this a common convention that developers use? Hate to see what else I'm going to find as I try to wade through this. TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us -- 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 cfoust at infostatsystems.com Tue Apr 24 13:14:15 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 24 Apr 2007 11:14:15 -0700 Subject: [AccessD] OT a little - Code Tables In-Reply-To: <017e01c78698$b27dd350$8abea8c0@XPS> References: <017e01c78698$b27dd350$8abea8c0@XPS> Message-ID: I think your approach is the cousin to John's SysVars and my USysSettings tables, Jim. In my USysSettings table, every value is a string that gets translated to the appropriate datatype in the public function that retrieves it. I break out my multi-record lookup values that have different structures, i.e., fields that don't apply to other types, etc., or where they would require a multi-field key to insure uniqueness. If the CodeID is numeric in one set of values and a string in another, they go in different tables anyhow. I can see using your approach in a class to wrap the separate tables, but I'd still want the tables broken out. :-} Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, April 24, 2007 10:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Just to weigh in; I do this myself in all my apps. I see little sense in setting up a separate table for each one of the lookups when they are all the same. And I don't agree with Arthur that this violates relational theory. They are all the same entity. Each one has a type, code, and a description. That's it. No more and no less. It would be a different matter if I had something like this: Type CodeID CodeName Postal Mask Phone Mask OnOrder Form Country USA United States #####-#### (###) ###-#### Null Country CAN Canada ### ### (###) ###-#### Null Ethnicity 1 Puerto Rican Null Null 1 Ethnicity 2 Mexican Null Null 2 Now there are multiple entities in the table as each instance does not have the same attributes and thus cannot be the same thing. This is the point where I break out into a separate table. But for a "lookup value", even though each lookup value may have a different type, I keep them all in the same table. I find it simplifies things quite a bit and performs better as well. Lot less overhead then having multiple tables, all of which need to be opened, closed, indexed, etc. Coding is less complex overall as well. My .02 Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, April 24, 2007 10:00 AM To: dba-ot at databaseadvisors.com; Access Developers discussion and problem solving Subject: [AccessD] OT a little - Code Tables Hi All, I'm not familiar enough with SQL Server but I have a question regarding what I call Code Tables. I use them a lot when I develop an application in Access, e.g., I'll have a table for counties i.e., county code and county name or Providers, Provider code and Provider Name. I have them as separate tables. I'm trying to make sense out of the tables and relationships "my" programmer created. He has one code table period! Below is a look as to how it is setup. dbo_tblCodes CodeType CodeId CodeName OrderOnForm Ethnicity 1 Puerto Rican 1 Ethnicity 2 Mexican 2 Ethnicity 3 Cuban 3 Ethnicity 4 Other Hispanic 4 Ethnicity 5 Hispanic, Not Specified/Known 5 Ethnicity 7 Not of Hispanic Origin 6 Ethnicity 9 Don't Know/No Answer 7 Gender 1 Male 10 Gender 2 Female 20 Health 1 Poor 5 Health 2 Fair 10 Health 3 Good 15 Health 4 Very Good 20 Health 5 Excellent 25 Health 9 Don't Know/No Answer 80 This is just a little bit of the table but I think you can see his "logic" here. Is this a common convention that developers use? Hate to see what else I'm going to find as I try to wade through this. TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us -- 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 rockysmolin at bchacc.com Tue Apr 24 13:47:43 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 24 Apr 2007 11:47:43 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: Message-ID: <004201c786a1$0b4582f0$0501a8c0@HAL9005> Making progress. The project window wasn't displayed by default. But I found how to display it, double-clicked ThisOutlookSession, and pasted into the code window: Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) Dim objMe As Recipient Set objMe = Item.Recipients.Add("bchacc at san.rr.com") objMe.Type = olBCC objMe.Resolve Set objMe = Nothing End Sub However, it's not sending a Bcc to bchacc at san.rr.com. Have I missed a step? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Tuesday, April 24, 2007 8:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC On the left, you should have a project window, a tree representation of your Outlook VBA project. Top item should be Project1, with Microsoft Outlook as a child, in turn ThisOutlookSession will be a child of that. Double click that to bring up it's code page. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 24, 2007 9:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC " go into the code window," using Alt-F11? "there is a 'ThisOutlookSession' object." I don't see that. The left combo box has only (General) in it. Where would I look for it? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 4:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC When you go into the code window, there is a 'ThisOutlookSession' object. Click that, and you should get a blank code page. Click the left drop down box in the code page and select Application. The right drop down will then have the ItemSend event. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 6:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Marty: You know I found that site. And the code makes sense. But I've never put any code behind Outlook. Don't know how to get that code attached to the Item_Send event (if there is such a thing). Any hints on how to? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 23, 2007 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC This site says you have to do through VBA code. or use third party add-in http://www.howto-outlook.com/faq/createbccrule.htm To automatically Bcc all outgoing messages. http://www.outlookcode.com/d/code/autobcc.htm Rocky Smolin at Beach Access Software wrote: >Yes, but she has to insert her AA's email address manually on every >email that goes to a client that she wants to copy the AA on. So she >was looking for a way to have the AA's email automatically entered in >the Bcc line on every email. > >Rocky > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Monday, April 23, 2007 10:54 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT: Default BCC > >Sorry if this is too simplistic, but she does have the View BCC option >ticked doesn't she? > >-- Andy Lacey >http://www.minstersystems.co.uk > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>Smolin at Beach Access Software >>Sent: 23 April 2007 17:51 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>Almost there. The user who asked me for this wants to Bcc. >>The rule wizard >>seems to only allow CC. It's a law office and this person >>wants to Bcc her >>admin assistant. Is there a way to do Bcc? >> >>Rocky >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 9:39 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Okay, step by step using Outlook 2003. >> >>Click Tools --> Rules and Alerts >> >>Click New Rule >> >>Select 'Start from a blank rule' (not default selection) >> >>Under Step1, select Check messages after sending, click next. >> >>Click next again (you will be prompted again, click Yes) >> >>(Side note, this rule now applies to ALL email you send. The last >>Next and Yes skipped past conditions you may want to choose) >> >>Select 'CC the message to people or distribution list'. >> >>In the step 2 window, click the underlines 'people or distribution >>list' to select the address you want the copy sent too. >> >>Click Next, then Next again (this one skips the exceptions that you >>can apply to your rule) >> >>Click Finish >> >>All done! >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Monday, April 23, 2007 11:02 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>That WOULD be easy. But I don't see a rule that governs outgoing >>addresses. Only sorting incoming mail. Am I missing it somewhere? >> >>Rocky >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 8:11 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Probably easier to use a rule. (There's a rule wizard to help out). >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Sunday, April 22, 2007 2:45 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] OT: Default BCC >> >> >> >> >>Dear List: >> >>Is there a way to default an email address into the BCC field in >>Outlook when you create a new message? >> >>TIA >> >>Rocky >> >> -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007 5:26 PM From accessd at shaw.ca Tue Apr 24 14:14:19 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 24 Apr 2007 12:14:19 -0700 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: <003101c7867d$6cce93a0$657aa8c0@m6805> Message-ID: <0JH000F13NXIHH60@l-daemon> Hi John: Here is a basic... very basic MS Windows SQL 2005 Stored Procedure introduction video: http://download.microsoft.com/download/b/3/8/b3847275-2bea-440a-8e2e-305b009 bb261/sql_12.wmv HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, April 24, 2007 7:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] using a saved SSIS with VB.Net Gustav, My bigger issue here is that there 56 of these files to import into SQL Server, supposedly ~100 million records. I have done about 8 million records so far. I really must get this thing automated such that it just chunks through these CSV files without my having to be around to start the next one. I am working now on setting up the append query using that syntax below into a stored procedure so that I can then just replace the file name. After that I will need to write something in VB.Net or whatever to execute the stored procedure feeding in all of the file names from a specific directory, deleting the file once the stored procedure finishes the import for a given file. I have never written a stored procedure. Obviously, given the above, I have never called a stored procedure from code. So much to learn, so little time. Once this is imported I have to turn right around and export a subset of fields from the table back out as 1 - 2 million record chunks for CAS / DPV / NCOA processing, then I have to import THOSE back in to a new table. And when this set of data is finished, I have another set of about the same size on the way, to which I have to perform the same processes. I soooooo need to get this process automated. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 24, 2007 8:54 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John That looks right. I don't know what speed to expect other than it should be more than the typical a-couple-of-hundreds per second for inserts via DAO and ODBC. The only tricks I know of are the well-known to drop indexes from the receiving table during the import and - as you mention - to minimize logging. The reference to MySQL is just for you to have an ultimate goal. I haven't seen or heard of anything else running at that speed, not even JET where you can expect around 15k records/s. Of course, it should server a purpose for you to install it, but MySQL is very easy to set up - and we have true experts (not me) joining the list. So if you can see an idea having these files loaded into an engine very fast, just move on. On the other hand, if you have a night and can perform the import without manual intervention, I think I would choose the method you have described. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Apr 24 16:15:47 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 24 Apr 2007 17:15:47 -0400 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: <0JH000F13NXIHH60@l-daemon> References: <003101c7867d$6cce93a0$657aa8c0@m6805> <0JH000F13NXIHH60@l-daemon> Message-ID: <008b01c786b5$baa422b0$657aa8c0@m6805> Thanks, I am looking at it now. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, April 24, 2007 3:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John: Here is a basic... very basic MS Windows SQL 2005 Stored Procedure introduction video: http://download.microsoft.com/download/b/3/8/b3847275-2bea-440a-8e2e-305b009 bb261/sql_12.wmv HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, April 24, 2007 7:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] using a saved SSIS with VB.Net Gustav, My bigger issue here is that there 56 of these files to import into SQL Server, supposedly ~100 million records. I have done about 8 million records so far. I really must get this thing automated such that it just chunks through these CSV files without my having to be around to start the next one. I am working now on setting up the append query using that syntax below into a stored procedure so that I can then just replace the file name. After that I will need to write something in VB.Net or whatever to execute the stored procedure feeding in all of the file names from a specific directory, deleting the file once the stored procedure finishes the import for a given file. I have never written a stored procedure. Obviously, given the above, I have never called a stored procedure from code. So much to learn, so little time. Once this is imported I have to turn right around and export a subset of fields from the table back out as 1 - 2 million record chunks for CAS / DPV / NCOA processing, then I have to import THOSE back in to a new table. And when this set of data is finished, I have another set of about the same size on the way, to which I have to perform the same processes. I soooooo need to get this process automated. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 24, 2007 8:54 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John That looks right. I don't know what speed to expect other than it should be more than the typical a-couple-of-hundreds per second for inserts via DAO and ODBC. The only tricks I know of are the well-known to drop indexes from the receiving table during the import and - as you mention - to minimize logging. The reference to MySQL is just for you to have an ultimate goal. I haven't seen or heard of anything else running at that speed, not even JET where you can expect around 15k records/s. Of course, it should server a purpose for you to install it, but MySQL is very easy to set up - and we have true experts (not me) joining the list. So if you can see an idea having these files loaded into an engine very fast, just move on. On the other hand, if you have a night and can perform the import without manual intervention, I think I would choose the method you have described. /gustav -- 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 mmattys at rochester.rr.com Tue Apr 24 16:36:05 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Tue, 24 Apr 2007 17:36:05 -0400 Subject: [AccessD] using a saved SSIS with VB.Net References: <200704241724.l3OHO6jw020122@databaseadvisors.com> Message-ID: <00ca01c786b8$911c3d80$0302a8c0@Laptop> John, I've read through your description and see the bottlenecks. All I can think of is that you could have this running distributed across machines (but I know you thought of that). Robert, Please explain your idea a little further - how to set up. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Robert L. Stewart" To: Sent: Tuesday, April 24, 2007 1:22 PM Subject: Re: [AccessD] using a saved SSIS with VB.Net > John, > > Try setting up a linked server using the text files as the server files. > This would allow SQL Server to operate as if they were SQL files. > > Robert > > At 12:00 PM 4/24/2007, you wrote: >>Date: Tue, 24 Apr 2007 12:07:11 -0400 >>From: "JWColby" >>Subject: Re: [AccessD] using a saved SSIS with VB.Net >>To: "'Access Developers discussion and problem solving'" >> >>Message-ID: <004301c7868a$9e6cd590$657aa8c0 at m6805> >>Content-Type: text/plain; charset="us-ascii" >> >>The CSV file is on the same machine. It appears that the clause that >>pulls >>the source table (csv file) into memory is taking a ton of time. These >>are >>large files, the smallest are a little under 200 million bytes and the >>largest are up in the 3 gigabyte range. It appears that SQL Server does >>not >>read a few records and append them, but rather reads the whole CSV and >>then >>starts appending all of the assembled records. >> >>If I were a SQL Server pro I could probably speed this up considerably. >>Alas, I am not. >> >>John W. Colby > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Apr 24 17:24:23 2007 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 25 Apr 2007 00:24:23 +0200 Subject: [AccessD] using a saved SSIS with VB.Net Message-ID: Hi John Your observations about the flow are probably true. If we for a moment return to your reading and converting of these huge files in Access, instead of rewriting these to csv files for later import into SQL Server, why not collect the finished records to batches of: Insert Into Values ( , , .. ) with, say, 100 or 1000 lines and feed these directly to SQL Server? This can be easily done with ADO and a Connection object and a Command object where you use the Connection.Execute method to load the batch of records directly into SQL Server. For you it should be a simple matter to modify your Access app, which you already have build, to perform the task. /gustav >>> jwcolby at colbyconsulting.com 24-04-07 18:07 >>> The CSV file is on the same machine. It appears that the clause that pulls the source table (csv file) into memory is taking a ton of time. These are large files, the smallest are a little under 200 million bytes and the largest are up in the 3 gigabyte range. It appears that SQL Server does not read a few records and append them, but rather reads the whole CSV and then starts appending all of the assembled records. If I were a SQL Server pro I could probably speed this up considerably. Alas, I am not. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Tuesday, April 24, 2007 11:53 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net John, One of the keys to getting it into SQL Server faster is to have the CSV file on the server and not on a different machine. Network traffic can kill the process and slow it down significantly. Robert At 10:22 AM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 10:32:44 -0400 >From: "JWColby" >Subject: Re: [AccessD] using a saved SSIS with VB.Net >To: "'Access Developers discussion and problem solving'" > >Message-ID: <003101c7867d$6cce93a0$657aa8c0 at m6805> >Content-Type: text/plain; charset="us-ascii" > >Gustav, > >My bigger issue here is that there 56 of these files to import into SQL >Server, supposedly ~100 million records. I have done about 8 million >records so far. I really must get this thing automated such that it >just chunks through these CSV files without my having to be around to >start the next one. I am working now on setting up the append query >using that syntax below into a stored procedure so that I can then just replace the file name. >After that I will need to write something in VB.Net or whatever to >execute the stored procedure feeding in all of the file names from a >specific directory, deleting the file once the stored procedure >finishes the import for a given file. > >I have never written a stored procedure. >Obviously, given the above, I have never called a stored procedure from >code. > >So much to learn, so little time. > >Once this is imported I have to turn right around and export a subset >of fields from the table back out as 1 - 2 million record chunks for >CAS / DPV / NCOA processing, then I have to import THOSE back in to a new table. > >And when this set of data is finished, I have another set of about the >same size on the way, to which I have to perform the same processes. I >soooooo need to get this process automated. > >John W. Colby From gustav at cactus.dk Tue Apr 24 17:26:52 2007 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 25 Apr 2007 00:26:52 +0200 Subject: [AccessD] using a saved SSIS with VB.Net Message-ID: Hi John Your observations about the flow are probably true. If we for a moment return to your reading and converting of these huge files in Access, instead of rewriting these to csv files for later import into SQL Server, why not collect the finished records to batches of: Insert Into
Values ( , , .. ) with, say, 100 or 1000 lines and feed these directly to SQL Server? This can be easily done with ADO and a Connection object and a Command object where you use the Connection.Execute method to load the batch of records directly into SQL Server. For you it should be a simple matter to modify your Access app, which you already have build, to perform the task. /gustav >>> jwcolby at colbyconsulting.com 24-04-07 18:07 >>> The CSV file is on the same machine. It appears that the clause that pulls the source table (csv file) into memory is taking a ton of time. These are large files, the smallest are a little under 200 million bytes and the largest are up in the 3 gigabyte range. It appears that SQL Server does not read a few records and append them, but rather reads the whole CSV and then starts appending all of the assembled records. If I were a SQL Server pro I could probably speed this up considerably. Alas, I am not. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Tuesday, April 24, 2007 11:53 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net John, One of the keys to getting it into SQL Server faster is to have the CSV file on the server and not on a different machine. Network traffic can kill the process and slow it down significantly. Robert At 10:22 AM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 10:32:44 -0400 >From: "JWColby" >Subject: Re: [AccessD] using a saved SSIS with VB.Net >To: "'Access Developers discussion and problem solving'" > >Message-ID: <003101c7867d$6cce93a0$657aa8c0 at m6805> >Content-Type: text/plain; charset="us-ascii" > >Gustav, > >My bigger issue here is that there 56 of these files to import into SQL >Server, supposedly ~100 million records. I have done about 8 million >records so far. I really must get this thing automated such that it >just chunks through these CSV files without my having to be around to >start the next one. I am working now on setting up the append query >using that syntax below into a stored procedure so that I can then just replace the file name. >After that I will need to write something in VB.Net or whatever to >execute the stored procedure feeding in all of the file names from a >specific directory, deleting the file once the stored procedure >finishes the import for a given file. > >I have never written a stored procedure. >Obviously, given the above, I have never called a stored procedure from >code. > >So much to learn, so little time. > >Once this is imported I have to turn right around and export a subset >of fields from the table back out as 1 - 2 million record chunks for >CAS / DPV / NCOA processing, then I have to import THOSE back in to a new table. > >And when this set of data is finished, I have another set of about the >same size on the way, to which I have to perform the same processes. I >soooooo need to get this process automated. > >John W. Colby From bbruen at unwired.com.au Tue Apr 24 17:24:07 2007 From: bbruen at unwired.com.au (Bruce Bruen) Date: Wed, 25 Apr 2007 08:24:07 +1000 Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! In-Reply-To: <000601c78671$5b442ed0$0200a8c0@danwaters> References: <200704241728.23380.bbruen@unwired.com.au> <000601c78671$5b442ed0$0200a8c0@danwaters> Message-ID: <200704250824.09584.bbruen@unwired.com.au> Thanks Dan, I was pretty panicky yesterday when this happened and didn't think of going through the "normal" diagnostics as you suggest. For interest sakes, other databases with conditional formatting suffered the same problem. I haven't the luxury of more than one windows PC here, so I haven't tried step 2. What I did was log out and back in to see if the environment was corrupted somehow. This didn't fix the problem. Then, grasping at straws, I power cycled the PC. Now its back up and the formats are all back to normal. Much relief! Thanks for the "calm down and think it through" suggest. Whatever the keystroke sequence is that sets the high res mode, it must do something deep inside the OS though, I cant see why logout/login wouldn't fix it. As regards setting the format in code, that's what I am partway through. Getting the visual effect needed for the multiplicity of conditions was the first task and it was quicker to use the format design tool to tweak the various colors. regards Bruce On Tuesday 24 April 2007 23:06, Dan Waters wrote: > Hi Bruce, > > Can't help with the home address! > > I would first try to rule out that something has happened to your PC. Put > your database on another PC to see what happens. Do you have any other > databases that use conditional formatting? > > Then on your PC, create a new small database and then see if conditional > formatting works. > > You can try importing a couple of your objects to a new database. > > I use conditional formatting quite a bit but haven't seen this problem. > > Long term, conditional formatting can be established through code. This > would hopefully reset your forms/reports even if your PC did this again. > > Hope this helps - and good luck! > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen > Sent: Tuesday, April 24, 2007 2:28 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! > > After 6 weeks work of setting conditional formats over 32 tables, 65 forms > and > 12 reports I accidentally hit ctl-leftshift-alt-prtscn-scratchnose which > produced a "YOUAREGOINGINTOHIGHRESOLUTIONMODE" popup, with apparently NO > WAY > > TO CANCEL IT! > > Guess what, all the conditional formats are now black-on-defaultbackground. > > Recovered the backup taken 30 minutes ago, still the same. Went back to > this > mornings backup, still the same. Changed the display mode back to normal XP > defaults, ... still the same. > > 1. Has anyone got any idea how to fix this? > 2. Can anyone give me the home address of the M$ MORON who did this to me? > > -- > regards > > Bruce > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Apr 24 18:06:01 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 24 Apr 2007 18:06:01 -0500 Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! In-Reply-To: <200704250824.09584.bbruen@unwired.com.au> References: <200704241728.23380.bbruen@unwired.com.au><000601c78671$5b442ed0$0200a8c0@danwaters> <200704250824.09584.bbruen@unwired.com.au> Message-ID: <003901c786c5$20b17ad0$0200a8c0@danwaters> Glad to help! I had a problem with conditional formatting a few years ago. MS did acknowledge that it was a bug - they even sent me a follow-up email telling me that they weren't going to charge me for their help because I had solved the problem myself! :-) The solution at the time was to multiply a numeric value in the conditional format expression field by 1. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen Sent: Tuesday, April 24, 2007 5:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! Thanks Dan, I was pretty panicky yesterday when this happened and didn't think of going through the "normal" diagnostics as you suggest. For interest sakes, other databases with conditional formatting suffered the same problem. I haven't the luxury of more than one windows PC here, so I haven't tried step 2. What I did was log out and back in to see if the environment was corrupted somehow. This didn't fix the problem. Then, grasping at straws, I power cycled the PC. Now its back up and the formats are all back to normal. Much relief! Thanks for the "calm down and think it through" suggest. Whatever the keystroke sequence is that sets the high res mode, it must do something deep inside the OS though, I cant see why logout/login wouldn't fix it. As regards setting the format in code, that's what I am partway through. Getting the visual effect needed for the multiplicity of conditions was the first task and it was quicker to use the format design tool to tweak the various colors. regards Bruce On Tuesday 24 April 2007 23:06, Dan Waters wrote: > Hi Bruce, > > Can't help with the home address! > > I would first try to rule out that something has happened to your PC. Put > your database on another PC to see what happens. Do you have any other > databases that use conditional formatting? > > Then on your PC, create a new small database and then see if conditional > formatting works. > > You can try importing a couple of your objects to a new database. > > I use conditional formatting quite a bit but haven't seen this problem. > > Long term, conditional formatting can be established through code. This > would hopefully reset your forms/reports even if your PC did this again. > > Hope this helps - and good luck! > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen > Sent: Tuesday, April 24, 2007 2:28 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! > > After 6 weeks work of setting conditional formats over 32 tables, 65 forms > and > 12 reports I accidentally hit ctl-leftshift-alt-prtscn-scratchnose which > produced a "YOUAREGOINGINTOHIGHRESOLUTIONMODE" popup, with apparently NO > WAY > > TO CANCEL IT! > > Guess what, all the conditional formats are now black-on-defaultbackground. > > Recovered the backup taken 30 minutes ago, still the same. Went back to > this > mornings backup, still the same. Changed the display mode back to normal XP > defaults, ... still the same. > > 1. Has anyone got any idea how to fix this? > 2. Can anyone give me the home address of the M$ MORON who did this to me? > > -- > regards > > Bruce > -- > 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 bbruen at unwired.com.au Tue Apr 24 18:31:35 2007 From: bbruen at unwired.com.au (Bruce Bruen) Date: Wed, 25 Apr 2007 09:31:35 +1000 Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! In-Reply-To: <000b01c78685$76c7dad0$0432fad1@SusanOne> References: <200704241728.23380.bbruen@unwired.com.au> <000b01c78685$76c7dad0$0432fad1@SusanOne> Message-ID: <200704250931.37164.bbruen@unwired.com.au> Hi Susan, Yep, they are truly that custom. Basically the app is a status monitor for injection moulding plant, sort of like a fire panel, with a twist. There are essentially 10 "object types" each having a set of conditions and statuses. The objects fall into 2 heirarchies (structural and operational) of 6 and 4 levels respectively. The final installation will have about 500-600 real objects that are manually monitored several times a day. Everything's normal status is "warm" but there are a lot of conditions that are "warmer" or "cooler" than norm which may need attention. That attention depends on the operator getting a clear overview of the entire environment for the object, its job mix, the particular job type etc etc. If an object gets too hot or develops some fault, the realtime monitoring equipment sounds the alarm and stops the machine. This app essentially gets the log info from the realtime stuff and is aimed at detecting problems before they happen, by looking at the variance of the signals over time and presenting the user with an overall view at each of the levels that they can drill down through to "inspect" a particular machine (in fact, down to specific components of machines). So, on line "A" we might have a feeder, an injector and a conveyor. For certain jobs, using certain dies and certain plastic mixes, the injector may need to run slightly hotter than for other jobs and if it doesn't then it will gum up. There are lots of conditions and lots of states, and of course there are always new job types that raise new conditions and states. Rather than reprogram the realtime monitor (and this app) over and over, they set the realtime fault levels at a "significant" fault and hope to use this app to detect any "errant but within bounds" event. There are 4 "main" forms - 3 of which are continuous forms with around 10 "signals" per row and a treeview+inspector form/subform - that make up the major view of the system. The continuous forms show all 500 objects - so its important that the operator can recognize an aberrent signal level by quickly scrolling through the list. Hence the need for all the custom formats! The treeview form, which has 6 subforms that swap depending on the "type" of node selected in the tree allow the user to modify the monitor levels on the fly, say to loosen or tighten the variances allowed on a new die as it beds in etc etc. Sorry about the long winded story, but its quite an interesting app! regards Bruce On Wednesday 25 April 2007 01:30, Susan Harkins wrote: > Bruce, is each field truly that custom? You do know that you can change > default formats for a form don't you? Of course, that doesn't help with the > problem at hand -- sorry about that. :( > > Susan H. > > After 6 weeks work of setting conditional formats over 32 tables, 65 forms > and > 12 reports I accidentally hit ctl-leftshift-alt-prtscn-scratchnose which > produced a "YOUAREGOINGINTOHIGHRESOLUTIONMODE" popup, with apparently NO > WAY TO CANCEL IT! From EdTesiny at oasas.state.ny.us Tue Apr 24 18:51:52 2007 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Tue, 24 Apr 2007 19:51:52 -0400 Subject: [AccessD] OT a little - Code Tables References: Message-ID: Many thanks to all who responded, you've given me a lot to think about. Spent most of the day trying to get the data organized in a way I can use it productively. Made some good progress today and I hope this will continue. I hope the new programmer I requested goes through and we can all sit down and work this out. In closing for the night, all I can say is "This list is ALL GOOD" and I mean that sincerely. Thanks for all your help and comments! Ed ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Tesiny, Ed Sent: Tue 4/24/2007 9:59 AM To: dba-ot at databaseadvisors.com; Access Developers discussion and problem solving Subject: [AccessD] OT a little - Code Tables Hi All, I'm not familiar enough with SQL Server but I have a question regarding what I call Code Tables. I use them a lot when I develop an application in Access, e.g., I'll have a table for counties i.e., county code and county name or Providers, Provider code and Provider Name. I have them as separate tables. I'm trying to make sense out of the tables and relationships "my" programmer created. He has one code table period! Below is a look as to how it is setup. dbo_tblCodes CodeType CodeId CodeName OrderOnForm Ethnicity 1 Puerto Rican 1 Ethnicity 2 Mexican 2 Ethnicity 3 Cuban 3 Ethnicity 4 Other Hispanic 4 Ethnicity 5 Hispanic, Not Specified/Known 5 Ethnicity 7 Not of Hispanic Origin 6 Ethnicity 9 Don't Know/No Answer 7 Gender 1 Male 10 Gender 2 Female 20 Health 1 Poor 5 Health 2 Fair 10 Health 3 Good 15 Health 4 Very Good 20 Health 5 Excellent 25 Health 9 Don't Know/No Answer 80 This is just a little bit of the table but I think you can see his "logic" here. Is this a common convention that developers use? Hate to see what else I'm going to find as I try to wade through this. TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at sc.rr.com Tue Apr 24 19:47:13 2007 From: bheid at sc.rr.com (Bobby Heid) Date: Tue, 24 Apr 2007 20:47:13 -0400 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: References: Message-ID: <002901c786d3$44482a30$2c01a8c0@bhxp> John, Did you ever check out the BCP utility in SQL Server to import the files? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 24, 2007 6:24 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John Your observations about the flow are probably true. If we for a moment return to your reading and converting of these huge files in Access, instead of rewriting these to csv files for later import into SQL Server, why not collect the finished records to batches of: Insert Into
Values ( , , .. ) with, say, 100 or 1000 lines and feed these directly to SQL Server? This can be easily done with ADO and a Connection object and a Command object where you use the Connection.Execute method to load the batch of records directly into SQL Server. For you it should be a simple matter to modify your Access app, which you already have build, to perform the task. /gustav >>> jwcolby at colbyconsulting.com 24-04-07 18:07 >>> The CSV file is on the same machine. It appears that the clause that pulls the source table (csv file) into memory is taking a ton of time. These are large files, the smallest are a little under 200 million bytes and the largest are up in the 3 gigabyte range. It appears that SQL Server does not read a few records and append them, but rather reads the whole CSV and then starts appending all of the assembled records. If I were a SQL Server pro I could probably speed this up considerably. Alas, I am not. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Tuesday, April 24, 2007 11:53 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net John, One of the keys to getting it into SQL Server faster is to have the CSV file on the server and not on a different machine. Network traffic can kill the process and slow it down significantly. Robert At 10:22 AM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 10:32:44 -0400 >From: "JWColby" >Subject: Re: [AccessD] using a saved SSIS with VB.Net >To: "'Access Developers discussion and problem solving'" > >Message-ID: <003101c7867d$6cce93a0$657aa8c0 at m6805> >Content-Type: text/plain; charset="us-ascii" > >Gustav, > >My bigger issue here is that there 56 of these files to import into SQL >Server, supposedly ~100 million records. I have done about 8 million >records so far. I really must get this thing automated such that it >just chunks through these CSV files without my having to be around to >start the next one. I am working now on setting up the append query >using that syntax below into a stored procedure so that I can then just replace the file name. >After that I will need to write something in VB.Net or whatever to >execute the stored procedure feeding in all of the file names from a >specific directory, deleting the file once the stored procedure >finishes the import for a given file. > >I have never written a stored procedure. >Obviously, given the above, I have never called a stored procedure from >code. > >So much to learn, so little time. > >Once this is imported I have to turn right around and export a subset >of fields from the table back out as 1 - 2 million record chunks for >CAS / DPV / NCOA processing, then I have to import THOSE back in to a new table. > >And when this set of data is finished, I have another set of about the >same size on the way, to which I have to perform the same processes. I >soooooo need to get this process automated. > >John W. Colby From dwaters at usinternet.com Tue Apr 24 20:22:23 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 24 Apr 2007 20:22:23 -0500 Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! In-Reply-To: <200704250931.37164.bbruen@unwired.com.au> References: <200704241728.23380.bbruen@unwired.com.au><000b01c78685$76c7dad0$0432fad1@SusanOne> <200704250931.37164.bbruen@unwired.com.au> Message-ID: <003f01c786d8$2d679710$0200a8c0@danwaters> That's Very interesting! How do you get the real time info from the machines and components? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen Sent: Tuesday, April 24, 2007 6:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! Hi Susan, Yep, they are truly that custom. Basically the app is a status monitor for injection moulding plant, sort of like a fire panel, with a twist. There are essentially 10 "object types" each having a set of conditions and statuses. The objects fall into 2 heirarchies (structural and operational) of 6 and 4 levels respectively. The final installation will have about 500-600 real objects that are manually monitored several times a day. Everything's normal status is "warm" but there are a lot of conditions that are "warmer" or "cooler" than norm which may need attention. That attention depends on the operator getting a clear overview of the entire environment for the object, its job mix, the particular job type etc etc. If an object gets too hot or develops some fault, the realtime monitoring equipment sounds the alarm and stops the machine. This app essentially gets the log info from the realtime stuff and is aimed at detecting problems before they happen, by looking at the variance of the signals over time and presenting the user with an overall view at each of the levels that they can drill down through to "inspect" a particular machine (in fact, down to specific components of machines). So, on line "A" we might have a feeder, an injector and a conveyor. For certain jobs, using certain dies and certain plastic mixes, the injector may need to run slightly hotter than for other jobs and if it doesn't then it will gum up. There are lots of conditions and lots of states, and of course there are always new job types that raise new conditions and states. Rather than reprogram the realtime monitor (and this app) over and over, they set the realtime fault levels at a "significant" fault and hope to use this app to detect any "errant but within bounds" event. There are 4 "main" forms - 3 of which are continuous forms with around 10 "signals" per row and a treeview+inspector form/subform - that make up the major view of the system. The continuous forms show all 500 objects - so its important that the operator can recognize an aberrent signal level by quickly scrolling through the list. Hence the need for all the custom formats! The treeview form, which has 6 subforms that swap depending on the "type" of node selected in the tree allow the user to modify the monitor levels on the fly, say to loosen or tighten the variances allowed on a new die as it beds in etc etc. Sorry about the long winded story, but its quite an interesting app! regards Bruce On Wednesday 25 April 2007 01:30, Susan Harkins wrote: > Bruce, is each field truly that custom? You do know that you can change > default formats for a form don't you? Of course, that doesn't help with the > problem at hand -- sorry about that. :( > > Susan H. > > After 6 weeks work of setting conditional formats over 32 tables, 65 forms > and > 12 reports I accidentally hit ctl-leftshift-alt-prtscn-scratchnose which > produced a "YOUAREGOINGINTOHIGHRESOLUTIONMODE" popup, with apparently NO > WAY TO CANCEL IT! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at ot.com Tue Apr 24 21:58:30 2007 From: askolits at ot.com (John Skolits) Date: Tue, 24 Apr 2007 22:58:30 -0400 Subject: [AccessD] Trim function in SqlServer In-Reply-To: <015d01c7868d$60b7fdd0$6402a8c0@ScuzzPaq> Message-ID: <010001c786e5$9b4ac5b0$7a02a8c0@LaptopXP> I know there is an RTRIM() and LTRIM() in SQLServer, but is there one that trims both ends, like the Access TRIM() function? I want to do this in a SQLServer view. John From ebarro at verizon.net Tue Apr 24 22:20:09 2007 From: ebarro at verizon.net (Eric Barro) Date: Tue, 24 Apr 2007 20:20:09 -0700 Subject: [AccessD] Trim function in SqlServer In-Reply-To: <010001c786e5$9b4ac5b0$7a02a8c0@LaptopXP> Message-ID: <0JH1005DDALREVGP@vms046.mailsrvcs.net> SELECT LTRIM(RTRIM(' foo ')) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Tuesday, April 24, 2007 7:59 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Trim function in SqlServer I know there is an RTRIM() and LTRIM() in SQLServer, but is there one that trims both ends, like the Access TRIM() function? I want to do this in a SQLServer view. John From askolits at ot.com Tue Apr 24 22:25:15 2007 From: askolits at ot.com (John Skolits) Date: Tue, 24 Apr 2007 23:25:15 -0400 Subject: [AccessD] Trim function in SqlServer In-Reply-To: <0JH1005DDALREVGP@vms046.mailsrvcs.net> Message-ID: <010901c786e9$5791bfa0$7a02a8c0@LaptopXP> Yep, Makes sense. Thanks! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Tuesday, April 24, 2007 11:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Trim function in SqlServer SELECT LTRIM(RTRIM(' foo ')) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Tuesday, April 24, 2007 7:59 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Trim function in SqlServer I know there is an RTRIM() and LTRIM() in SQLServer, but is there one that trims both ends, like the Access TRIM() function? I want to do this in a SQLServer view. John -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at unwired.com.au Wed Apr 25 05:15:55 2007 From: bbruen at unwired.com.au (Bruce Bruen) Date: Wed, 25 Apr 2007 20:15:55 +1000 Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! In-Reply-To: <003f01c786d8$2d679710$0200a8c0@danwaters> References: <200704241728.23380.bbruen@unwired.com.au> <200704250931.37164.bbruen@unwired.com.au> <003f01c786d8$2d679710$0200a8c0@danwaters> Message-ID: <200704252015.56198.bbruen@unwired.com.au> Ah now that's a real tricky piece of work. :-) Basically the realtime monitors log every measurement they make (~26-46 per minute) to a text file with the first 20 bytes being a DTS. All I'm doing is everytime this app gets invoked is to read the log file, ignore anything that is less than the "last stamp I know of" and process the rest. Tricky eh! and now I've told you, I'm afraid I'll have to .... Sometimes simple is best. Dont forget, these people open the app 1 or 2 times per shift, check things out and close it. It's not doing or pretending to be am "active" monitor, just something to make the operator's life a bit easier than walking around a 2 acre floor, taking and logging readings, correlating them to the current job mix, checking the mix against the schedule.........etc etc. Actually, these guys spend most of their shift walking the floor. Apart from die jams, which happen every couple of hours or so, most of the time they ... wait for it essentially use their faces to detect if anything is slightly aberrent. That is, these people can "just tell" by walking past a machine line whether it sounds, smells, looks and feels like its going full bore and OK. Currently, we are working on "feels", i.e the operating temps amd feed rates. If I can get into the "sounds, smells and looks" regime. I'll be applying for patents and making an aggressive takeover for M$ ... :-) On Wednesday 25 April 2007 11:22, Dan Waters wrote: > That's Very interesting! > > How do you get the real time info from the machines and components? > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen > Sent: Tuesday, April 24, 2007 6:32 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! > > Hi Susan, > > Yep, they are truly that custom. Basically the app is a status monitor for > injection moulding plant, sort of like a fire panel, with a twist. There > are > essentially 10 "object types" each having a set of conditions and statuses. > The objects fall into 2 heirarchies (structural and operational) of 6 and 4 > levels respectively. The final installation will have about 500-600 real > objects that are manually monitored several times a day. Everything's > normal > status is "warm" but there are a lot of conditions that are "warmer" > or "cooler" than norm which may need attention. That attention depends on > the > operator getting a clear overview of the entire environment for the object, > its job mix, the particular job type etc etc. If an object gets too hot or > develops some fault, the realtime monitoring equipment sounds the alarm and > stops the machine. This app essentially gets the log info from the realtime > stuff and is aimed at detecting problems before they happen, by looking at > the variance of the signals over time and presenting the user with an > overall > view at each of the levels that they can drill down through to "inspect" a > particular machine (in fact, down to specific components of machines). > > So, on line "A" we might have a feeder, an injector and a conveyor. For > certain jobs, using certain dies and certain plastic mixes, the injector > may > > need to run slightly hotter than for other jobs and if it doesn't then it > will gum up. There are lots of conditions and lots of states, and of > course > > there are always new job types that raise new conditions and states. > Rather > > than reprogram the realtime monitor (and this app) over and over, they set > the realtime fault levels at a "significant" fault and hope to use this app > to detect any "errant but within bounds" event. > > There are 4 "main" forms - 3 of which are continuous forms with around > 10 "signals" per row and a treeview+inspector form/subform - that make up > the > major view of the system. The continuous forms show all 500 objects - so > its > important that the operator can recognize an aberrent signal level by > quickly > scrolling through the list. Hence the need for all the custom formats! The > treeview form, which has 6 subforms that swap depending on the "type" of > node > selected in the tree allow the user to modify the monitor levels on the > fly, > > say to loosen or tighten the variances allowed on a new die as it beds in > etc > etc. > > Sorry about the long winded story, but its quite an interesting app! > > regards > Bruce > > On Wednesday 25 April 2007 01:30, Susan Harkins wrote: > > Bruce, is each field truly that custom? You do know that you can change > > default formats for a form don't you? Of course, that doesn't help with > > the > > > problem at hand -- sorry about that. :( > > > > Susan H. > > > > After 6 weeks work of setting conditional formats over 32 tables, 65 > > forms and > > 12 reports I accidentally hit ctl-leftshift-alt-prtscn-scratchnose which > > produced a "YOUAREGOINGINTOHIGHRESOLUTIONMODE" popup, with apparently NO > > WAY TO CANCEL IT! > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- regards Bruce From jwcolby at colbyconsulting.com Wed Apr 25 06:30:09 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 25 Apr 2007 07:30:09 -0400 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: <002901c786d3$44482a30$2c01a8c0@bhxp> References: <002901c786d3$44482a30$2c01a8c0@bhxp> Message-ID: <002f01c7872d$153fa880$657aa8c0@m6805> Bobby, I have not. I have always meant to go study that but life (other work) got in the way. Maybe today I will get a moment. So much to know, so little time. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Tuesday, April 24, 2007 8:47 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] using a saved SSIS with VB.Net John, Did you ever check out the BCP utility in SQL Server to import the files? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 24, 2007 6:24 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John Your observations about the flow are probably true. If we for a moment return to your reading and converting of these huge files in Access, instead of rewriting these to csv files for later import into SQL Server, why not collect the finished records to batches of: Insert Into
Values ( , , .. ) with, say, 100 or 1000 lines and feed these directly to SQL Server? This can be easily done with ADO and a Connection object and a Command object where you use the Connection.Execute method to load the batch of records directly into SQL Server. For you it should be a simple matter to modify your Access app, which you already have build, to perform the task. /gustav >>> jwcolby at colbyconsulting.com 24-04-07 18:07 >>> The CSV file is on the same machine. It appears that the clause that pulls the source table (csv file) into memory is taking a ton of time. These are large files, the smallest are a little under 200 million bytes and the largest are up in the 3 gigabyte range. It appears that SQL Server does not read a few records and append them, but rather reads the whole CSV and then starts appending all of the assembled records. If I were a SQL Server pro I could probably speed this up considerably. Alas, I am not. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Tuesday, April 24, 2007 11:53 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net John, One of the keys to getting it into SQL Server faster is to have the CSV file on the server and not on a different machine. Network traffic can kill the process and slow it down significantly. Robert At 10:22 AM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 10:32:44 -0400 >From: "JWColby" >Subject: Re: [AccessD] using a saved SSIS with VB.Net >To: "'Access Developers discussion and problem solving'" > >Message-ID: <003101c7867d$6cce93a0$657aa8c0 at m6805> >Content-Type: text/plain; charset="us-ascii" > >Gustav, > >My bigger issue here is that there 56 of these files to import into SQL >Server, supposedly ~100 million records. I have done about 8 million >records so far. I really must get this thing automated such that it >just chunks through these CSV files without my having to be around to >start the next one. I am working now on setting up the append query >using that syntax below into a stored procedure so that I can then just replace the file name. >After that I will need to write something in VB.Net or whatever to >execute the stored procedure feeding in all of the file names from a >specific directory, deleting the file once the stored procedure >finishes the import for a given file. > >I have never written a stored procedure. >Obviously, given the above, I have never called a stored procedure from >code. > >So much to learn, so little time. > >Once this is imported I have to turn right around and export a subset >of fields from the table back out as 1 - 2 million record chunks for >CAS / DPV / NCOA processing, then I have to import THOSE back in to a >new table. > >And when this set of data is finished, I have another set of about the >same size on the way, to which I have to perform the same processes. I >soooooo need to get this process automated. > >John W. Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Apr 25 07:06:13 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 25 Apr 2007 08:06:13 -0400 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: References: Message-ID: <003001c78732$1ee35d00$657aa8c0@m6805> Gustav, Yesterday afternoon I started looking at something similar. First I tried to just write a sql statement for each record and execute that against SQL Server. That runs about 300 records / second. The advantage it has is that is "one step", i.e. there is no "convert to csv" and then "import to SQL Server". ATM the "import to SQL Server requires manual work on my part so this is truly automated from start to finish. I unzip the files to a directory, then my (Access/VBA) program picks up all the files one by one and processes them, automatically. Unfortunately processing 100 million records at 300 / second turns into 92.5 hours. Fortunately it is totally automatic, barring some outside influence such as disk full, power loss, mangled file etc. I then tried to write a DAO recordset to a temp table inside of Access. Working directly with the recordset I AddNew / iterate the fields filling in the data pulled from the flat file line, Update, do it again. This creates the temp table records at a rate of about 1000 per second but the MDB gets HUGE, remember that the source files are often multi-gigabyte monstrosities. Then appending the entire table to SQL Server just takes forever. So essentially I tried your suggestion: > Insert Into
Values ( , , .. ) And it does work, it is automatic and it is painfully slow. OTOH, I just used a Dao database object and used db.execute to send the data to sql server. Do you think it would be faster using the ADO method? I am now timing having a dao.db.execute append an entire linked CSV file into SQL Server. In the end, I think that I can go with any of these methods as long as it does not require manual intervention. I already have CSVs generated for the majority of these flat files. I can do the rest and then just use Access / VBA to bang the CSV files in to SQL Server. If it takes four days well... It will be done by Monday. I really want to switch to VB.Net for all of this bit twiddling. I think I will use VB.Net to do the part where I pull the name / address stuff back out to CSVs for feeding to Accuzip. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 24, 2007 6:24 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John Your observations about the flow are probably true. If we for a moment return to your reading and converting of these huge files in Access, instead of rewriting these to csv files for later import into SQL Server, why not collect the finished records to batches of: Insert Into
Values ( , , .. ) with, say, 100 or 1000 lines and feed these directly to SQL Server? This can be easily done with ADO and a Connection object and a Command object where you use the Connection.Execute method to load the batch of records directly into SQL Server. For you it should be a simple matter to modify your Access app, which you already have build, to perform the task. /gustav From dwaters at usinternet.com Wed Apr 25 08:01:27 2007 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 25 Apr 2007 08:01:27 -0500 Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! In-Reply-To: <200704252015.56198.bbruen@unwired.com.au> References: <200704241728.23380.bbruen@unwired.com.au><200704250931.37164.bbruen@unwired.com.au><003f01c786d8$2d679710$0200a8c0@danwaters> <200704252015.56198.bbruen@unwired.com.au> Message-ID: <000c01c78739$d6461030$0200a8c0@danwaters> Nice! If you can get into the sounds, smells, and looks you'll have manufacturers knocking down your door! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen Sent: Wednesday, April 25, 2007 5:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! Ah now that's a real tricky piece of work. :-) Basically the realtime monitors log every measurement they make (~26-46 per minute) to a text file with the first 20 bytes being a DTS. All I'm doing is everytime this app gets invoked is to read the log file, ignore anything that is less than the "last stamp I know of" and process the rest. Tricky eh! and now I've told you, I'm afraid I'll have to .... Sometimes simple is best. Dont forget, these people open the app 1 or 2 times per shift, check things out and close it. It's not doing or pretending to be am "active" monitor, just something to make the operator's life a bit easier than walking around a 2 acre floor, taking and logging readings, correlating them to the current job mix, checking the mix against the schedule.........etc etc. Actually, these guys spend most of their shift walking the floor. Apart from die jams, which happen every couple of hours or so, most of the time they ... wait for it essentially use their faces to detect if anything is slightly aberrent. That is, these people can "just tell" by walking past a machine line whether it sounds, smells, looks and feels like its going full bore and OK. Currently, we are working on "feels", i.e the operating temps amd feed rates. If I can get into the "sounds, smells and looks" regime. I'll be applying for patents and making an aggressive takeover for M$ ... :-) On Wednesday 25 April 2007 11:22, Dan Waters wrote: > That's Very interesting! > > How do you get the real time info from the machines and components? > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen > Sent: Tuesday, April 24, 2007 6:32 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! > > Hi Susan, > > Yep, they are truly that custom. Basically the app is a status monitor for > injection moulding plant, sort of like a fire panel, with a twist. There > are > essentially 10 "object types" each having a set of conditions and statuses. > The objects fall into 2 heirarchies (structural and operational) of 6 and 4 > levels respectively. The final installation will have about 500-600 real > objects that are manually monitored several times a day. Everything's > normal > status is "warm" but there are a lot of conditions that are "warmer" > or "cooler" than norm which may need attention. That attention depends on > the > operator getting a clear overview of the entire environment for the object, > its job mix, the particular job type etc etc. If an object gets too hot or > develops some fault, the realtime monitoring equipment sounds the alarm and > stops the machine. This app essentially gets the log info from the realtime > stuff and is aimed at detecting problems before they happen, by looking at > the variance of the signals over time and presenting the user with an > overall > view at each of the levels that they can drill down through to "inspect" a > particular machine (in fact, down to specific components of machines). > > So, on line "A" we might have a feeder, an injector and a conveyor. For > certain jobs, using certain dies and certain plastic mixes, the injector > may > > need to run slightly hotter than for other jobs and if it doesn't then it > will gum up. There are lots of conditions and lots of states, and of > course > > there are always new job types that raise new conditions and states. > Rather > > than reprogram the realtime monitor (and this app) over and over, they set > the realtime fault levels at a "significant" fault and hope to use this app > to detect any "errant but within bounds" event. > > There are 4 "main" forms - 3 of which are continuous forms with around > 10 "signals" per row and a treeview+inspector form/subform - that make up > the > major view of the system. The continuous forms show all 500 objects - so > its > important that the operator can recognize an aberrent signal level by > quickly > scrolling through the list. Hence the need for all the custom formats! The > treeview form, which has 6 subforms that swap depending on the "type" of > node > selected in the tree allow the user to modify the monitor levels on the > fly, > > say to loosen or tighten the variances allowed on a new die as it beds in > etc > etc. > > Sorry about the long winded story, but its quite an interesting app! > > regards > Bruce > > On Wednesday 25 April 2007 01:30, Susan Harkins wrote: > > Bruce, is each field truly that custom? You do know that you can change > > default formats for a form don't you? Of course, that doesn't help with > > the > > > problem at hand -- sorry about that. :( > > > > Susan H. > > > > After 6 weeks work of setting conditional formats over 32 tables, 65 > > forms and > > 12 reports I accidentally hit ctl-leftshift-alt-prtscn-scratchnose which > > produced a "YOUAREGOINGINTOHIGHRESOLUTIONMODE" popup, with apparently NO > > WAY TO CANCEL IT! > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- regards Bruce -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Apr 25 08:01:29 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 25 Apr 2007 15:01:29 +0200 Subject: [AccessD] using a saved SSIS with VB.Net Message-ID: Hi John I'm not sure you may get much faster than about 1000 records/s with ADO. Here's what I have tried: Public Function AppendBatchADO(ByVal lngRows As Long) ' Inserts about 1000 records/s. Dim cnn As ADODB.Connection Dim cmd As ADODB.Command Dim lngRow As Long Dim strSQL As String Set cnn = New ADODB.Connection Set cmd = New ADODB.Command cnn.ConnectionString = "DSN=Test;DATABASE=TestDb;" cnn.Open , "SA", "password" cnn.CursorLocation = adUseServer For lngRow = 1 To lngRows strSQL = "Insert Into dbo.Sample Values ( " & _ CStr(lngRow) & "," & _ "'Name'," & _ "'Address'," & _ CStr(1) & ")" cmd.CommandText = strSQL cnn.Execute cmd.CommandText, , adCmdText + adExecuteNoRecords Next cnn.Close Set cmd = Nothing Set cnn = Nothing End Function The advantage would be, that you can handle whatever size of input file, read one line, convert it, and insert it. Done. Next line. You could probably set up several instances to handle several files simultaneously. /gustav >>> jwcolby at colbyconsulting.com 25-04-2007 14:06 >>> Gustav, Yesterday afternoon I started looking at something similar. First I tried to just write a sql statement for each record and execute that against SQL Server. That runs about 300 records / second. The advantage it has is that is "one step", i.e. there is no "convert to csv" and then "import to SQL Server". ATM the "import to SQL Server requires manual work on my part so this is truly automated from start to finish. I unzip the files to a directory, then my (Access/VBA) program picks up all the files one by one and processes them, automatically. Unfortunately processing 100 million records at 300 / second turns into 92.5 hours. Fortunately it is totally automatic, barring some outside influence such as disk full, power loss, mangled file etc. I then tried to write a DAO recordset to a temp table inside of Access. Working directly with the recordset I AddNew / iterate the fields filling in the data pulled from the flat file line, Update, do it again. This creates the temp table records at a rate of about 1000 per second but the MDB gets HUGE, remember that the source files are often multi-gigabyte monstrosities. Then appending the entire table to SQL Server just takes forever. So essentially I tried your suggestion: > Insert Into
Values ( , , .. ) And it does work, it is automatic and it is painfully slow. OTOH, I just used a Dao database object and used db.execute to send the data to sql server. Do you think it would be faster using the ADO method? I am now timing having a dao.db.execute append an entire linked CSV file into SQL Server. In the end, I think that I can go with any of these methods as long as it does not require manual intervention. I already have CSVs generated for the majority of these flat files. I can do the rest and then just use Access / VBA to bang the CSV files in to SQL Server. If it takes four days well... It will be done by Monday. I really want to switch to VB.Net for all of this bit twiddling. I think I will use VB.Net to do the part where I pull the name / address stuff back out to CSVs for feeding to Accuzip. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 24, 2007 6:24 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John Your observations about the flow are probably true. If we for a moment return to your reading and converting of these huge files in Access, instead of rewriting these to csv files for later import into SQL Server, why not collect the finished records to batches of: Insert Into
Values ( , , .. ) with, say, 100 or 1000 lines and feed these directly to SQL Server? This can be easily done with ADO and a Connection object and a Command object where you use the Connection.Execute method to load the batch of records directly into SQL Server. For you it should be a simple matter to modify your Access app, which you already have build, to perform the task. /gustav From jimdettman at verizon.net Wed Apr 25 08:10:29 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 25 Apr 2007 09:10:29 -0400 Subject: [AccessD] OT a little - Code Tables In-Reply-To: References: Message-ID: <00f701c7873b$1b297330$8abea8c0@XPS> Ed, Well here's a little more to think about. I started thinking about this more and more yesterday (after I made my last post) and took some time to dig around on this. Part of the reason was that in the past, I had always employed the multiple table approach, but when I moved into the FoxPro world, the single table approach was very common. I had been reluctant at first to use it, but found that the concept worked well and I never had a problem with it. The argument given to me was the one I gave to you and at the time, I didn't see what was wrong with it. As it turns out, a single lookup table does violate relational theory (it actually violates 2NF and I'm not sure why I never understood that before). But in a practical where the rubber meets the road view, there is little difference. It's the same thing with surrogate keys; they are a violation of relational theory, yet because we have to deal with computer systems, their use is widespread and accepted. I'll try and explain a bit. If you had this in your single lookup table: LookupID Lookup Type Lookup Code Lookup Description 1 Charge MC Master Card 2 Charge VISA Visa 3 Charge DISC Discover 4 Shipping FEDX Federal Express 5 Shipping UPSG UPS Ground 6 Shipping UPS2 UPS 2nd Day Air and the database stood on its own, with nothing to restrict the table by lookup type (just tables), you'd have a problem. If I were to place an order for example, it should be impossible to have a shipping type of "MC", which is a type of charge. The correct fix would be to break out the above into two tables; tblChargeTypes and tblShippingTypes. The real world short cut fix I employ is to always access the table by a parameterized view. It always works. I can't get a list of records back that are mixed. Nor with the way my code is written ever fail to provide the parameter (Charlotte hit it on the head yesterday; I have a pick list class, which requires the lookup type or it returns nothing). Through my app and coding, the view of the database is "normalized". On it's own however it is not. Yet it's obvious to anyone looking at the data in the table what is going on. Is this going to stop me from using the single table approach? Probably not. Just like using surrogate keys. Both solve practical problems and carry no real serious side affects. FWIW Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, April 24, 2007 7:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT a little - Code Tables Many thanks to all who responded, you've given me a lot to think about. Spent most of the day trying to get the data organized in a way I can use it productively. Made some good progress today and I hope this will continue. I hope the new programmer I requested goes through and we can all sit down and work this out. In closing for the night, all I can say is "This list is ALL GOOD" and I mean that sincerely. Thanks for all your help and comments! Ed ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Tesiny, Ed Sent: Tue 4/24/2007 9:59 AM To: dba-ot at databaseadvisors.com; Access Developers discussion and problem solving Subject: [AccessD] OT a little - Code Tables Hi All, I'm not familiar enough with SQL Server but I have a question regarding what I call Code Tables. I use them a lot when I develop an application in Access, e.g., I'll have a table for counties i.e., county code and county name or Providers, Provider code and Provider Name. I have them as separate tables. I'm trying to make sense out of the tables and relationships "my" programmer created. He has one code table period! Below is a look as to how it is setup. dbo_tblCodes CodeType CodeId CodeName OrderOnForm Ethnicity 1 Puerto Rican 1 Ethnicity 2 Mexican 2 Ethnicity 3 Cuban 3 Ethnicity 4 Other Hispanic 4 Ethnicity 5 Hispanic, Not Specified/Known 5 Ethnicity 7 Not of Hispanic Origin 6 Ethnicity 9 Don't Know/No Answer 7 Gender 1 Male 10 Gender 2 Female 20 Health 1 Poor 5 Health 2 Fair 10 Health 3 Good 15 Health 4 Very Good 20 Health 5 Excellent 25 Health 9 Don't Know/No Answer 80 This is just a little bit of the table but I think you can see his "logic" here. Is this a common convention that developers use? Hate to see what else I'm going to find as I try to wade through this. TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Wed Apr 25 08:12:16 2007 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 25 Apr 2007 08:12:16 -0500 Subject: [AccessD] Code Tables In-Reply-To: References: Message-ID: <200704251316.l3PDGNju025938@databaseadvisors.com> Debbie and Jim (and anyone else that thinks of this as good design), Sorry, but it is PURE BAD design. And Jim, just because you do it in all your apps does not make it right or good design. Most of the money I make and the highest prices I charge are for fixing poorly designed Access applications. IT is NOT relational in any stretch of the imagination. If you think so, then you need to go back and review relational theory. You can make a very customizable interface for the user with good design also. So if you want the ultimate in flexibility (and bad design) here you go: tblEntity EntityID EntityDescription tblEntityAttribute EntityAttributeID EntityID AttributeID AttributeValue AttributeComments tblAttribute AttributeID AttributeDescription tblRelatedEntities RelatedEntityID ParentEntityID ChildEntityID There, that is all you will need forever to define whatever you need to store data for. Here is an example: tblEntity EntityID EntityDescription 1 Robert 2 Sales Order 3 Address tblAttribute AttributeID AttributeDescription 1 AddressLine1 2 City 3 State 4 PostalCode 5 OrderNumber 6 OrderDate 7 CustomerNumber tblEntityAttribute EntityAttributeID EntityID AttributeID AttributValue AttributeComments 1 3 1 123 IDK St. 2 3 2 Bellville 3 3 3 TX 4 2 5 2007-02-12-01 5 2 6 2/12/2007 6 2 7 1 tblRelatedEntities RelatedEntityID ParentEntityID ChildEntityID 1 1 3 Well, there you go, the ultimate in flexibility and bad design. Now go back and review what the first 3 normal forms are before you spout off that a single code table is not bad design and does not violate normalization rules again. They are not the same entity. You obviously do not know the definition of 'entity' either. And Debbie, just because a commercial product has it in it, does not make it good either. I have a number of commercial products out and NONE of them are given to this poor design concept. Robert At 07:47 PM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 13:12:35 -0500 >From: "Elam, Debbie" >Subject: Re: [AccessD] OT a little - Code Tables >To: "'Access Developers discussion and problem solving'" > >Message-ID: > <573E90481C9F004C9E598D3A5A9DCDA001D206 at jgexch1.jenkens.com> >Content-Type: text/plain > >I agree. The only thing I would do is make sure the ID is unique regardless >of the code type. Having a multiple field key does cause more problems. As >I pointed out, if you want to add the functionality to the front end of >being able to define some custom combo or list boxes, custom codes are often >needed too. This offers the ability to recycle a previous list (Yes/no is a >common recycled list) or create a new one from scratch. > >I use a commercial product that uses a consolidated code table and party >table for just that reason. It has made the interface very customizable by >a reasonably savvy end user with no programming experience and no access to >the server to add new tables. > >The views of each code type are a convenience, not a necessity. > >Debbie > >-----Original Message----- >From: Jim Dettman [mailto:jimdettman at verizon.net] >Sent: Tuesday, April 24, 2007 12:48 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT a little - Code Tables > > > > Just to weigh in; I do this myself in all my apps. I see little sense in >setting up a separate table for each one of the lookups when they are all >the same. > > And I don't agree with Arthur that this violates relational theory. They >are all the same entity. Each one has a type, code, and a description. >That's it. No more and no less. > > It would be a different matter if I had something like this: > >Type CodeID CodeName Postal Mask Phone Mask >OnOrder Form >Country USA United States #####-#### (###) ###-#### >Null >Country CAN Canada ### ### (###) ###-#### >Null >Ethnicity 1 Puerto Rican Null Null >1 >Ethnicity 2 Mexican Null Null >2 > > Now there are multiple entities in the table as each instance does not >have the same attributes and thus cannot be the same thing. > > This is the point where I break out into a separate table. But for a >"lookup value", even though each lookup value may have a different type, I >keep them all in the same table. > > I find it simplifies things quite a bit and performs better as well. Lot >less overhead then having multiple tables, all of which need to be opened, >closed, indexed, etc. Coding is less complex overall as well. > >My .02 >Jim. From rl_stewart at highstream.net Wed Apr 25 08:15:19 2007 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 25 Apr 2007 08:15:19 -0500 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: References: Message-ID: <200704251316.l3PDGNtY025939@databaseadvisors.com> You need to go to the books on line and read up on Linked Servers. It is not that difficult to do. But, once done, it is very simple to access the information. You can even link Access tables to SQL Server this way. Robert At 07:47 PM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 17:36:05 -0400 >From: "Michael R Mattys" >Subject: Re: [AccessD] using a saved SSIS with VB.Net >To: "Access Developers discussion and problem solving" > >Message-ID: <00ca01c786b8$911c3d80$0302a8c0 at Laptop> >Content-Type: text/plain; format=flowed; charset="iso-8859-1"; > reply-type=original > >John, > >I've read through your description and see the bottlenecks. >All I can think of is that you could have this running distributed >across machines (but I know you thought of that). > >Robert, > >Please explain your idea a little further - how to set up. > >Michael R. Mattys >MapPoint & Access Dev From mmattys at rochester.rr.com Wed Apr 25 08:29:21 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 25 Apr 2007 09:29:21 -0400 Subject: [AccessD] using a saved SSIS with VB.Net References: <200704251316.l3PDGNtY025939@databaseadvisors.com> Message-ID: <022e01c7873d$bceafca0$0302a8c0@Laptop> 'Linked Servers' That'll work - thanks Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Robert L. Stewart" To: Sent: Wednesday, April 25, 2007 9:15 AM Subject: Re: [AccessD] using a saved SSIS with VB.Net > You need to go to the books on line and read up on Linked Servers. > It is not that difficult to do. But, once done, it is very simple > to access the information. You can even link Access tables to SQL > Server this way. > > Robert > > At 07:47 PM 4/24/2007, you wrote: >>Date: Tue, 24 Apr 2007 17:36:05 -0400 >>From: "Michael R Mattys" >>Subject: Re: [AccessD] using a saved SSIS with VB.Net >>To: "Access Developers discussion and problem solving" >> >>Message-ID: <00ca01c786b8$911c3d80$0302a8c0 at Laptop> >>Content-Type: text/plain; format=flowed; charset="iso-8859-1"; >> reply-type=original >> >>John, >> >>I've read through your description and see the bottlenecks. >>All I can think of is that you could have this running distributed >>across machines (but I know you thought of that). >> >>Robert, >> >>Please explain your idea a little further - how to set up. >> >>Michael R. Mattys >>MapPoint & Access Dev > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DElam at jenkens.com Wed Apr 25 08:33:31 2007 From: DElam at jenkens.com (Elam, Debbie) Date: Wed, 25 Apr 2007 08:33:31 -0500 Subject: [AccessD] Code Tables Message-ID: <573E90481C9F004C9E598D3A5A9DCDA001D211@jgexch1.jenkens.com> Never thought that just because a commercial product does it that it is most correct. I have had product (including from this same manufacturer) that I have cursed for bad design. I would prefer separate tables, but in this instance, it does solve a practical problem in that customers can create new code types without table changes and it does it with a minimum of problems. Practical solution to a problem. Would I use this exclusively, no, and I do not unless there is some chance that a customer would need to create their own lookup table that cannot be glommed on to an existing one. Even in that case I would be inclined to make separate tables for the defaults and one like this for the user created ones. In the annals of bad design, this ranks near the bottom of my list and does have it's useful point. Debbie -----Original Message----- From: Robert L. Stewart [mailto:rl_stewart at highstream.net] Sent: Wednesday, April 25, 2007 8:12 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Code Tables Debbie and Jim (and anyone else that thinks of this as good design), Sorry, but it is PURE BAD design. And Jim, just because you do it in all your apps does not make it right or good design. Most of the money I make and the highest prices I charge are for fixing poorly designed Access applications. IT is NOT relational in any stretch of the imagination. If you think so, then you need to go back and review relational theory. You can make a very customizable interface for the user with good design also. So if you want the ultimate in flexibility (and bad design) here you go: tblEntity EntityID EntityDescription tblEntityAttribute EntityAttributeID EntityID AttributeID AttributeValue AttributeComments tblAttribute AttributeID AttributeDescription tblRelatedEntities RelatedEntityID ParentEntityID ChildEntityID There, that is all you will need forever to define whatever you need to store data for. Here is an example: tblEntity EntityID EntityDescription 1 Robert 2 Sales Order 3 Address tblAttribute AttributeID AttributeDescription 1 AddressLine1 2 City 3 State 4 PostalCode 5 OrderNumber 6 OrderDate 7 CustomerNumber tblEntityAttribute EntityAttributeID EntityID AttributeID AttributValue AttributeComments 1 3 1 123 IDK St. 2 3 2 Bellville 3 3 3 TX 4 2 5 2007-02-12-01 5 2 6 2/12/2007 6 2 7 1 tblRelatedEntities RelatedEntityID ParentEntityID ChildEntityID 1 1 3 Well, there you go, the ultimate in flexibility and bad design. Now go back and review what the first 3 normal forms are before you spout off that a single code table is not bad design and does not violate normalization rules again. They are not the same entity. You obviously do not know the definition of 'entity' either. And Debbie, just because a commercial product has it in it, does not make it good either. I have a number of commercial products out and NONE of them are given to this poor design concept. Robert At 07:47 PM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 13:12:35 -0500 >From: "Elam, Debbie" >Subject: Re: [AccessD] OT a little - Code Tables >To: "'Access Developers discussion and problem solving'" > >Message-ID: > <573E90481C9F004C9E598D3A5A9DCDA001D206 at jgexch1.jenkens.com> >Content-Type: text/plain > >I agree. The only thing I would do is make sure the ID is unique regardless >of the code type. Having a multiple field key does cause more problems. As >I pointed out, if you want to add the functionality to the front end of >being able to define some custom combo or list boxes, custom codes are often >needed too. This offers the ability to recycle a previous list (Yes/no is a >common recycled list) or create a new one from scratch. > >I use a commercial product that uses a consolidated code table and party >table for just that reason. It has made the interface very customizable by >a reasonably savvy end user with no programming experience and no access to >the server to add new tables. > >The views of each code type are a convenience, not a necessity. > >Debbie > >-----Original Message----- >From: Jim Dettman [mailto:jimdettman at verizon.net] >Sent: Tuesday, April 24, 2007 12:48 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT a little - Code Tables > > > > Just to weigh in; I do this myself in all my apps. I see little sense in >setting up a separate table for each one of the lookups when they are all >the same. > > And I don't agree with Arthur that this violates relational theory. They >are all the same entity. Each one has a type, code, and a description. >That's it. No more and no less. > > It would be a different matter if I had something like this: > >Type CodeID CodeName Postal Mask Phone Mask >OnOrder Form >Country USA United States #####-#### (###) ###-#### >Null >Country CAN Canada ### ### (###) ###-#### >Null >Ethnicity 1 Puerto Rican Null Null >1 >Ethnicity 2 Mexican Null Null >2 > > Now there are multiple entities in the table as each instance does not >have the same attributes and thus cannot be the same thing. > > This is the point where I break out into a separate table. But for a >"lookup value", even though each lookup value may have a different type, I >keep them all in the same table. > > I find it simplifies things quite a bit and performs better as well. Lot >less overhead then having multiple tables, all of which need to be opened, >closed, indexed, etc. Coding is less complex overall as well. > >My .02 >Jim. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Apr 25 08:35:54 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 25 Apr 2007 09:35:54 -0400 Subject: [AccessD] OT a little - Code Tables In-Reply-To: <00f701c7873b$1b297330$8abea8c0@XPS> References: <00f701c7873b$1b297330$8abea8c0@XPS> Message-ID: <003101c7873e$a68a44b0$657aa8c0@m6805> I pretty much have to agree Jim. Given a LookupID as you use to relate the record back to other records then you are good to go. The one thing I might do is actually break the table down into a LookupType table (charge, shipping, state etc) the reason being simply that people are typing in to this table to fill it. If they typed: Chrg Visa and Charge MC Then if you simply filtered in Charge you would not pick up Chrg. If they filled in a second table with Charge and then used that in a combo to select the lookup type, you could use the PKID of the LookupType table and always pick up all Charge records. Of course that now becomes TWO tables to maintain, but still less than N tables. tblLookupType LT_ID LT_Type 1 Charge 2 Shipping 3 State tblLookupDetail LD_ID LD_LTID LD_Details 1 1 MC 2 1 Visa 3 1 Am Ex 4 2 Fed Ex 5 2 UPS 6 2 USPS 7 3 AZ 8 3 CA John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, April 25, 2007 9:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Ed, Well here's a little more to think about. I started thinking about this more and more yesterday (after I made my last post) and took some time to dig around on this. Part of the reason was that in the past, I had always employed the multiple table approach, but when I moved into the FoxPro world, the single table approach was very common. I had been reluctant at first to use it, but found that the concept worked well and I never had a problem with it. The argument given to me was the one I gave to you and at the time, I didn't see what was wrong with it. As it turns out, a single lookup table does violate relational theory (it actually violates 2NF and I'm not sure why I never understood that before). But in a practical where the rubber meets the road view, there is little difference. It's the same thing with surrogate keys; they are a violation of relational theory, yet because we have to deal with computer systems, their use is widespread and accepted. I'll try and explain a bit. If you had this in your single lookup table: LookupID Lookup Type Lookup Code Lookup Description 1 Charge MC Master Card 2 Charge VISA Visa 3 Charge DISC Discover 4 Shipping FEDX Federal Express 5 Shipping UPSG UPS Ground 6 Shipping UPS2 UPS 2nd Day Air and the database stood on its own, with nothing to restrict the table by lookup type (just tables), you'd have a problem. If I were to place an order for example, it should be impossible to have a shipping type of "MC", which is a type of charge. The correct fix would be to break out the above into two tables; tblChargeTypes and tblShippingTypes. The real world short cut fix I employ is to always access the table by a parameterized view. It always works. I can't get a list of records back that are mixed. Nor with the way my code is written ever fail to provide the parameter (Charlotte hit it on the head yesterday; I have a pick list class, which requires the lookup type or it returns nothing). Through my app and coding, the view of the database is "normalized". On it's own however it is not. Yet it's obvious to anyone looking at the data in the table what is going on. Is this going to stop me from using the single table approach? Probably not. Just like using surrogate keys. Both solve practical problems and carry no real serious side affects. FWIW Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, April 24, 2007 7:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT a little - Code Tables Many thanks to all who responded, you've given me a lot to think about. Spent most of the day trying to get the data organized in a way I can use it productively. Made some good progress today and I hope this will continue. I hope the new programmer I requested goes through and we can all sit down and work this out. In closing for the night, all I can say is "This list is ALL GOOD" and I mean that sincerely. Thanks for all your help and comments! Ed From john at winhaven.net Wed Apr 25 09:07:13 2007 From: john at winhaven.net (John Bartow) Date: Wed, 25 Apr 2007 09:07:13 -0500 Subject: [AccessD] OT a little - Code Tables In-Reply-To: <00f701c7873b$1b297330$8abea8c0@XPS> References: <00f701c7873b$1b297330$8abea8c0@XPS> Message-ID: <00e301c78743$06e70330$6402a8c0@ScuzzPaq> Hi Jim, These are the pro side arguments of this type of design that I've heard in the past (and well put BTW). As in all things relational - theory is theory and practical is practical. Theory can be taken too far for practicality. When is the last time anyone here worked on a completely normalized (per Codd) data structure? IMO as long as you know which road you're taking, practical is OK. If I hired you as a programmer and you wanted to take this approach I'd be OK with it. But then I've seen a lot reasons to be confident in your abilities. Same with a number of people here. I'd certainly want documentation on it so that the next person who worked on it could understand it without spending a lot of time on it. On the other if some newbie came up with this idea I'd not be quite so accepting. Talent and experience go a long way in determining flexibility ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, April 25, 2007 8:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Ed, Well here's a little more to think about. I started thinking about this more and more yesterday (after I made my last post) and took some time to dig around on this. Part of the reason was that in the past, I had always employed the multiple table approach, but when I moved into the FoxPro world, the single table approach was very common. I had been reluctant at first to use it, but found that the concept worked well and I never had a problem with it. The argument given to me was the one I gave to you and at the time, I didn't see what was wrong with it. As it turns out, a single lookup table does violate relational theory (it actually violates 2NF and I'm not sure why I never understood that before). But in a practical where the rubber meets the road view, there is little difference. It's the same thing with surrogate keys; they are a violation of relational theory, yet because we have to deal with computer systems, their use is widespread and accepted. I'll try and explain a bit. If you had this in your single lookup table: LookupID Lookup Type Lookup Code Lookup Description 1 Charge MC Master Card 2 Charge VISA Visa 3 Charge DISC Discover 4 Shipping FEDX Federal Express 5 Shipping UPSG UPS Ground 6 Shipping UPS2 UPS 2nd Day Air and the database stood on its own, with nothing to restrict the table by lookup type (just tables), you'd have a problem. If I were to place an order for example, it should be impossible to have a shipping type of "MC", which is a type of charge. The correct fix would be to break out the above into two tables; tblChargeTypes and tblShippingTypes. The real world short cut fix I employ is to always access the table by a parameterized view. It always works. I can't get a list of records back that are mixed. Nor with the way my code is written ever fail to provide the parameter (Charlotte hit it on the head yesterday; I have a pick list class, which requires the lookup type or it returns nothing). Through my app and coding, the view of the database is "normalized". On it's own however it is not. Yet it's obvious to anyone looking at the data in the table what is going on. Is this going to stop me from using the single table approach? Probably not. Just like using surrogate keys. Both solve practical problems and carry no real serious side affects. From Jim.Hale at FleetPride.com Wed Apr 25 09:35:00 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 25 Apr 2007 09:35:00 -0500 Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! Message-ID: Very interesting stuff. Now that you are out of panic mode I've been dying to ask how do you "accidentally" hit 'ctl-leftshift-alt-prtscn-scratchnose'? (I didn't dare ask yesterday) Reminds me of Nixon's secretary who had to simultaneously hit keys with her hands and feet to "accidentally" erase 15 minutes of Watergate tapes. Inquiring minds want to know :-) Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen Sent: Wednesday, April 25, 2007 5:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! Ah now that's a real tricky piece of work. :-) Basically the realtime monitors log every measurement they make (~26-46 per minute) to a text file with the first 20 bytes being a DTS. All I'm doing is everytime this app gets invoked is to read the log file, ignore anything that is less than the "last stamp I know of" and process the rest. Tricky eh! and now I've told you, I'm afraid I'll have to .... Sometimes simple is best. Dont forget, these people open the app 1 or 2 times per shift, check things out and close it. It's not doing or pretending to be am "active" monitor, just something to make the operator's life a bit easier than walking around a 2 acre floor, taking and logging readings, correlating them to the current job mix, checking the mix against the schedule.........etc etc. Actually, these guys spend most of their shift walking the floor. Apart from die jams, which happen every couple of hours or so, most of the time they ... wait for it essentially use their faces to detect if anything is slightly aberrent. That is, these people can "just tell" by walking past a machine line whether it sounds, smells, looks and feels like its going full bore and OK. Currently, we are working on "feels", i.e the operating temps amd feed rates. If I can get into the "sounds, smells and looks" regime. I'll be applying for patents and making an aggressive takeover for M$ ... :-) On Wednesday 25 April 2007 11:22, Dan Waters wrote: > That's Very interesting! > > How do you get the real time info from the machines and components? > > Dan > *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From jwcolby at colbyconsulting.com Wed Apr 25 09:45:41 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 25 Apr 2007 10:45:41 -0400 Subject: [AccessD] OT - Excel - IIF in cell Message-ID: <003d01c78748$664c73f0$657aa8c0@m6805> I need to do a simple iif in a cell: =iif((E3="x"),0,C3) IOW what I am trying to do is say if the cell E3 = "x" then the current cell = 0 else the current cell = the contents of cell C3 All I get is the infamous #Name? Is it possible to do this? Is there some other construct? John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Apr 25 09:51:41 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 25 Apr 2007 10:51:41 -0400 Subject: [AccessD] OT - Excel - IIF in cell In-Reply-To: <003d01c78748$664c73f0$657aa8c0@m6805> References: <003d01c78748$664c73f0$657aa8c0@m6805> Message-ID: <004201c78749$3cb05560$657aa8c0@m6805> As always, immediately after I pressed Send I discovered the answer. =if((E3="x"),0,C3) Now why doesn't IIF work? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, April 25, 2007 10:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT - Excel - IIF in cell I need to do a simple iif in a cell: =iif((E3="x"),0,C3) IOW what I am trying to do is say if the cell E3 = "x" then the current cell = 0 else the current cell = the contents of cell C3 All I get is the infamous #Name? Is it possible to do this? Is there some other construct? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reuben at gfconsultants.com Wed Apr 25 09:58:27 2007 From: reuben at gfconsultants.com (Reuben Cummings) Date: Wed, 25 Apr 2007 10:58:27 -0400 Subject: [AccessD] OT - Excel - IIF in cell In-Reply-To: <003d01c78748$664c73f0$657aa8c0@m6805> Message-ID: I think in Excel it's just 'if' not 'iif' - just one i Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of JWColby > Sent: Wednesday, April 25, 2007 10:46 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] OT - Excel - IIF in cell > > > I need to do a simple iif in a cell: > > =iif((E3="x"),0,C3) > > IOW what I am trying to do is say if the cell E3 = "x" then the > current cell > = 0 else the current cell = the contents of cell C3 > > All I get is the infamous #Name? > > Is it possible to do this? Is there some other construct? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From carbonnb at gmail.com Wed Apr 25 10:01:11 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 25 Apr 2007 11:01:11 -0400 Subject: [AccessD] OT - Excel - IIF in cell In-Reply-To: <004201c78749$3cb05560$657aa8c0@m6805> References: <003d01c78748$664c73f0$657aa8c0@m6805> <004201c78749$3cb05560$657aa8c0@m6805> Message-ID: On 4/25/07, JWColby wrote: > As always, immediately after I pressed Send I discovered the answer. > > =if((E3="x"),0,C3) > > Now why doesn't IIF work? 'Cause IIF is not a valid function in Excel Formulas. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From ebarro at verizon.net Wed Apr 25 10:01:26 2007 From: ebarro at verizon.net (Eric Barro) Date: Wed, 25 Apr 2007 08:01:26 -0700 Subject: [AccessD] OT - Excel - IIF in cell In-Reply-To: <004201c78749$3cb05560$657aa8c0@m6805> Message-ID: <0JH20030I72LFWF7@vms042.mailsrvcs.net> Because IIF is not a supported function in Excel. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, April 25, 2007 7:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT - Excel - IIF in cell As always, immediately after I pressed Send I discovered the answer. =if((E3="x"),0,C3) Now why doesn't IIF work? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, April 25, 2007 10:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT - Excel - IIF in cell I need to do a simple iif in a cell: =iif((E3="x"),0,C3) IOW what I am trying to do is say if the cell E3 = "x" then the current cell = 0 else the current cell = the contents of cell C3 All I get is the infamous #Name? Is it possible to do this? Is there some other construct? John W. Colby Colby Consulting www.ColbyConsulting.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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.6.0/775 - Release Date: 4/24/2007 5:43 PM From Jim.Hale at FleetPride.com Wed Apr 25 09:58:25 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 25 Apr 2007 09:58:25 -0500 Subject: [AccessD] OT - Excel - IIF in cell Message-ID: Use if not iif -Rudyard Kipling -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, April 25, 2007 9:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT - Excel - IIF in cell I need to do a simple iif in a cell: =iif((E3="x"),0,C3) IOW what I am trying to do is say if the cell E3 = "x" then the current cell = 0 else the current cell = the contents of cell C3 All I get is the infamous #Name? Is it possible to do this? Is there some other construct? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From JHewson at karta.com Wed Apr 25 10:21:58 2007 From: JHewson at karta.com (Jim Hewson) Date: Wed, 25 Apr 2007 10:21:58 -0500 Subject: [AccessD] OT - Excel - IIF in cell In-Reply-To: <003d01c78748$664c73f0$657aa8c0@m6805> References: <003d01c78748$664c73f0$657aa8c0@m6805> Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C051B5B00@karta-exc-int.Karta.com> In Excel the function is simply IF Also you don't need the parens around the logical test. =If(E3="x",0,C3) HTH Jim jhewson at karta.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, April 25, 2007 9:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT - Excel - IIF in cell I need to do a simple iif in a cell: =iif((E3="x"),0,C3) IOW what I am trying to do is say if the cell E3 = "x" then the current cell = 0 else the current cell = the contents of cell C3 All I get is the infamous #Name? Is it possible to do this? Is there some other construct? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Wed Apr 25 10:38:11 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 25 Apr 2007 11:38:11 -0400 Subject: [AccessD] OT a little - Code Tables In-Reply-To: <00e301c78743$06e70330$6402a8c0@ScuzzPaq> References: <00f701c7873b$1b297330$8abea8c0@XPS> <00e301c78743$06e70330$6402a8c0@ScuzzPaq> Message-ID: <014201c7874f$bece5d70$8abea8c0@XPS> John, <> Thanks. <> Not in recent history I think <> That is a great point. I used to be very hung up about getting it "right". It took me quite a while to learn that "right" is not always practical or best for a given situation. You need to know the pros and cons of the various approaches and what the ramifications will be. As long as you know what your working with and can make it clear to others why that route was chosen, then I see nothing wrong with using a more practical approach. That's why even though I now understand that a single lookup table is technically wrong, I probably won't change anything. What I have works and it works pretty well. The only real issue I have to deal with is to remember to use a view rather then binding directly to the table when working with the database directly. For the things I gain in the app, that seems to be a good trade off and a fairly safe one. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Wednesday, April 25, 2007 10:07 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Hi Jim, These are the pro side arguments of this type of design that I've heard in the past (and well put BTW). As in all things relational - theory is theory and practical is practical. Theory can be taken too far for practicality. When is the last time anyone here worked on a completely normalized (per Codd) data structure? IMO as long as you know which road you're taking, practical is OK. If I hired you as a programmer and you wanted to take this approach I'd be OK with it. But then I've seen a lot reasons to be confident in your abilities. Same with a number of people here. I'd certainly want documentation on it so that the next person who worked on it could understand it without spending a lot of time on it. On the other if some newbie came up with this idea I'd not be quite so accepting. Talent and experience go a long way in determining flexibility ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, April 25, 2007 8:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Ed, Well here's a little more to think about. I started thinking about this more and more yesterday (after I made my last post) and took some time to dig around on this. Part of the reason was that in the past, I had always employed the multiple table approach, but when I moved into the FoxPro world, the single table approach was very common. I had been reluctant at first to use it, but found that the concept worked well and I never had a problem with it. The argument given to me was the one I gave to you and at the time, I didn't see what was wrong with it. As it turns out, a single lookup table does violate relational theory (it actually violates 2NF and I'm not sure why I never understood that before). But in a practical where the rubber meets the road view, there is little difference. It's the same thing with surrogate keys; they are a violation of relational theory, yet because we have to deal with computer systems, their use is widespread and accepted. I'll try and explain a bit. If you had this in your single lookup table: LookupID Lookup Type Lookup Code Lookup Description 1 Charge MC Master Card 2 Charge VISA Visa 3 Charge DISC Discover 4 Shipping FEDX Federal Express 5 Shipping UPSG UPS Ground 6 Shipping UPS2 UPS 2nd Day Air and the database stood on its own, with nothing to restrict the table by lookup type (just tables), you'd have a problem. If I were to place an order for example, it should be impossible to have a shipping type of "MC", which is a type of charge. The correct fix would be to break out the above into two tables; tblChargeTypes and tblShippingTypes. The real world short cut fix I employ is to always access the table by a parameterized view. It always works. I can't get a list of records back that are mixed. Nor with the way my code is written ever fail to provide the parameter (Charlotte hit it on the head yesterday; I have a pick list class, which requires the lookup type or it returns nothing). Through my app and coding, the view of the database is "normalized". On it's own however it is not. Yet it's obvious to anyone looking at the data in the table what is going on. Is this going to stop me from using the single table approach? Probably not. Just like using surrogate keys. Both solve practical problems and carry no real serious side affects. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Wed Apr 25 10:38:11 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 25 Apr 2007 11:38:11 -0400 Subject: [AccessD] OT a little - Code Tables In-Reply-To: <003101c7873e$a68a44b0$657aa8c0@m6805> References: <00f701c7873b$1b297330$8abea8c0@XPS> <003101c7873e$a68a44b0$657aa8c0@m6805> Message-ID: <014301c7874f$bf992780$8abea8c0@XPS> John, << The one thing I might do is actually break the table down into a LookupType table (charge, shipping, state etc) the reason being simply that people are typing in to this table to fill it. If they typed:>> Yes, that is what I do. I have one maintenance form to maintain those two tables. The tblLookupType is bound to a drop down, then a grid to handle the tblLookupValues, which is filtered by the combo. I also include a field on tblLookupType "UserModify", which is a yes/no indicating if the lookup values are modifiable by the end user. Certain types of lookups that I store in the table are coded into the app in some way shape or form and should not be changed. For example, a Transaction status of Open (0), Closed (1), and Archived (2). Rather then code that in as a property or doing it in code, I just stuff it in the lookup table. This makes it very easy to convert to different languages. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, April 25, 2007 9:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables I pretty much have to agree Jim. Given a LookupID as you use to relate the record back to other records then you are good to go. The one thing I might do is actually break the table down into a LookupType table (charge, shipping, state etc) the reason being simply that people are typing in to this table to fill it. If they typed: Chrg Visa and Charge MC Then if you simply filtered in Charge you would not pick up Chrg. If they filled in a second table with Charge and then used that in a combo to select the lookup type, you could use the PKID of the LookupType table and always pick up all Charge records. Of course that now becomes TWO tables to maintain, but still less than N tables. tblLookupType LT_ID LT_Type 1 Charge 2 Shipping 3 State tblLookupDetail LD_ID LD_LTID LD_Details 1 1 MC 2 1 Visa 3 1 Am Ex 4 2 Fed Ex 5 2 UPS 6 2 USPS 7 3 AZ 8 3 CA John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, April 25, 2007 9:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Ed, Well here's a little more to think about. I started thinking about this more and more yesterday (after I made my last post) and took some time to dig around on this. Part of the reason was that in the past, I had always employed the multiple table approach, but when I moved into the FoxPro world, the single table approach was very common. I had been reluctant at first to use it, but found that the concept worked well and I never had a problem with it. The argument given to me was the one I gave to you and at the time, I didn't see what was wrong with it. As it turns out, a single lookup table does violate relational theory (it actually violates 2NF and I'm not sure why I never understood that before). But in a practical where the rubber meets the road view, there is little difference. It's the same thing with surrogate keys; they are a violation of relational theory, yet because we have to deal with computer systems, their use is widespread and accepted. I'll try and explain a bit. If you had this in your single lookup table: LookupID Lookup Type Lookup Code Lookup Description 1 Charge MC Master Card 2 Charge VISA Visa 3 Charge DISC Discover 4 Shipping FEDX Federal Express 5 Shipping UPSG UPS Ground 6 Shipping UPS2 UPS 2nd Day Air and the database stood on its own, with nothing to restrict the table by lookup type (just tables), you'd have a problem. If I were to place an order for example, it should be impossible to have a shipping type of "MC", which is a type of charge. The correct fix would be to break out the above into two tables; tblChargeTypes and tblShippingTypes. The real world short cut fix I employ is to always access the table by a parameterized view. It always works. I can't get a list of records back that are mixed. Nor with the way my code is written ever fail to provide the parameter (Charlotte hit it on the head yesterday; I have a pick list class, which requires the lookup type or it returns nothing). Through my app and coding, the view of the database is "normalized". On it's own however it is not. Yet it's obvious to anyone looking at the data in the table what is going on. Is this going to stop me from using the single table approach? Probably not. Just like using surrogate keys. Both solve practical problems and carry no real serious side affects. FWIW Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, April 24, 2007 7:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT a little - Code Tables Many thanks to all who responded, you've given me a lot to think about. Spent most of the day trying to get the data organized in a way I can use it productively. Made some good progress today and I hope this will continue. I hope the new programmer I requested goes through and we can all sit down and work this out. In closing for the night, all I can say is "This list is ALL GOOD" and I mean that sincerely. Thanks for all your help and comments! Ed -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Apr 25 10:53:14 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 25 Apr 2007 11:53:14 -0400 Subject: [AccessD] OT a little - Code Tables In-Reply-To: <014301c7874f$bf992780$8abea8c0@XPS> References: <00f701c7873b$1b297330$8abea8c0@XPS><003101c7873e$a68a44b0$657aa8c0@m6805> <014301c7874f$bf992780$8abea8c0@XPS> Message-ID: <004701c78751$d5ce0d20$657aa8c0@m6805> BTW, doing it this way once again makes it (more) normalized - object / object detail. The object is now the lookup type, the detail records apply equally to all objects. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, April 25, 2007 11:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables John, << The one thing I might do is actually break the table down into a LookupType table (charge, shipping, state etc) the reason being simply that people are typing in to this table to fill it. If they typed:>> Yes, that is what I do. I have one maintenance form to maintain those two tables. The tblLookupType is bound to a drop down, then a grid to handle the tblLookupValues, which is filtered by the combo. I also include a field on tblLookupType "UserModify", which is a yes/no indicating if the lookup values are modifiable by the end user. Certain types of lookups that I store in the table are coded into the app in some way shape or form and should not be changed. For example, a Transaction status of Open (0), Closed (1), and Archived (2). Rather then code that in as a property or doing it in code, I just stuff it in the lookup table. This makes it very easy to convert to different languages. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, April 25, 2007 9:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables I pretty much have to agree Jim. Given a LookupID as you use to relate the record back to other records then you are good to go. The one thing I might do is actually break the table down into a LookupType table (charge, shipping, state etc) the reason being simply that people are typing in to this table to fill it. If they typed: Chrg Visa and Charge MC Then if you simply filtered in Charge you would not pick up Chrg. If they filled in a second table with Charge and then used that in a combo to select the lookup type, you could use the PKID of the LookupType table and always pick up all Charge records. Of course that now becomes TWO tables to maintain, but still less than N tables. tblLookupType LT_ID LT_Type 1 Charge 2 Shipping 3 State tblLookupDetail LD_ID LD_LTID LD_Details 1 1 MC 2 1 Visa 3 1 Am Ex 4 2 Fed Ex 5 2 UPS 6 2 USPS 7 3 AZ 8 3 CA John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, April 25, 2007 9:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Ed, Well here's a little more to think about. I started thinking about this more and more yesterday (after I made my last post) and took some time to dig around on this. Part of the reason was that in the past, I had always employed the multiple table approach, but when I moved into the FoxPro world, the single table approach was very common. I had been reluctant at first to use it, but found that the concept worked well and I never had a problem with it. The argument given to me was the one I gave to you and at the time, I didn't see what was wrong with it. As it turns out, a single lookup table does violate relational theory (it actually violates 2NF and I'm not sure why I never understood that before). But in a practical where the rubber meets the road view, there is little difference. It's the same thing with surrogate keys; they are a violation of relational theory, yet because we have to deal with computer systems, their use is widespread and accepted. I'll try and explain a bit. If you had this in your single lookup table: LookupID Lookup Type Lookup Code Lookup Description 1 Charge MC Master Card 2 Charge VISA Visa 3 Charge DISC Discover 4 Shipping FEDX Federal Express 5 Shipping UPSG UPS Ground 6 Shipping UPS2 UPS 2nd Day Air and the database stood on its own, with nothing to restrict the table by lookup type (just tables), you'd have a problem. If I were to place an order for example, it should be impossible to have a shipping type of "MC", which is a type of charge. The correct fix would be to break out the above into two tables; tblChargeTypes and tblShippingTypes. The real world short cut fix I employ is to always access the table by a parameterized view. It always works. I can't get a list of records back that are mixed. Nor with the way my code is written ever fail to provide the parameter (Charlotte hit it on the head yesterday; I have a pick list class, which requires the lookup type or it returns nothing). Through my app and coding, the view of the database is "normalized". On it's own however it is not. Yet it's obvious to anyone looking at the data in the table what is going on. Is this going to stop me from using the single table approach? Probably not. Just like using surrogate keys. Both solve practical problems and carry no real serious side affects. FWIW Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, April 24, 2007 7:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT a little - Code Tables Many thanks to all who responded, you've given me a lot to think about. Spent most of the day trying to get the data organized in a way I can use it productively. Made some good progress today and I hope this will continue. I hope the new programmer I requested goes through and we can all sit down and work this out. In closing for the night, all I can say is "This list is ALL GOOD" and I mean that sincerely. Thanks for all your help and comments! Ed -- 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 accessd at shaw.ca Wed Apr 25 15:21:18 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 25 Apr 2007 13:21:18 -0700 Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! In-Reply-To: <200704252015.56198.bbruen@unwired.com.au> Message-ID: <0JH200LRPLP0UYQ4@l-daemon> Hi All: Just a note on this discussion and this may be a bit off topic but: A MS SQL server can be setup to monitor multiple ports. There is a SQL Server Network Utility (SQL 2000) and the SQL Server Configuration Manager tool (SQL 2005) which allows this configuration. Example: SQL server listening on 157.54.178.42:1433, 157.54.178.42:5000, 127.0.0.1:1433, 127.0.0.1:5000 etc... Virtually any IP address and port option. See articles http://support.microsoft.com/kb/294453 and http://msdn2.microsoft.com/en-us/library/ms189310.aspx I have not tested this to see whether the functionality can be extended the Express version. A friend, using this technology has a system that can monitor a large number of controllers (Neptune Project -http://www.neptune.washington.edu/pub/whats_neptune/whats_neptune.html). There would be a bit of work if the protocols differ from standards but considering that the DB is designed to sustain thousands of hits per minute it might be an idea to utilize the existing technology. An Access GUI would just be used to display the results. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen Sent: Wednesday, April 25, 2007 3:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! Ah now that's a real tricky piece of work. :-) Basically the realtime monitors log every measurement they make (~26-46 per minute) to a text file with the first 20 bytes being a DTS. All I'm doing is everytime this app gets invoked is to read the log file, ignore anything that is less than the "last stamp I know of" and process the rest. Tricky eh! and now I've told you, I'm afraid I'll have to .... Sometimes simple is best. Dont forget, these people open the app 1 or 2 times per shift, check things out and close it. It's not doing or pretending to be am "active" monitor, just something to make the operator's life a bit easier than walking around a 2 acre floor, taking and logging readings, correlating them to the current job mix, checking the mix against the schedule.........etc etc. Actually, these guys spend most of their shift walking the floor. Apart from die jams, which happen every couple of hours or so, most of the time they ... wait for it essentially use their faces to detect if anything is slightly aberrent. That is, these people can "just tell" by walking past a machine line whether it sounds, smells, looks and feels like its going full bore and OK. Currently, we are working on "feels", i.e the operating temps amd feed rates. If I can get into the "sounds, smells and looks" regime. I'll be applying for patents and making an aggressive takeover for M$ ... :-) On Wednesday 25 April 2007 11:22, Dan Waters wrote: > That's Very interesting! > > How do you get the real time info from the machines and components? > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen > Sent: Tuesday, April 24, 2007 6:32 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! > > Hi Susan, > > Yep, they are truly that custom. Basically the app is a status monitor for > injection moulding plant, sort of like a fire panel, with a twist. There > are > essentially 10 "object types" each having a set of conditions and statuses. > The objects fall into 2 heirarchies (structural and operational) of 6 and 4 > levels respectively. The final installation will have about 500-600 real > objects that are manually monitored several times a day. Everything's > normal > status is "warm" but there are a lot of conditions that are "warmer" > or "cooler" than norm which may need attention. That attention depends on > the > operator getting a clear overview of the entire environment for the object, > its job mix, the particular job type etc etc. If an object gets too hot or > develops some fault, the realtime monitoring equipment sounds the alarm and > stops the machine. This app essentially gets the log info from the realtime > stuff and is aimed at detecting problems before they happen, by looking at > the variance of the signals over time and presenting the user with an > overall > view at each of the levels that they can drill down through to "inspect" a > particular machine (in fact, down to specific components of machines). > > So, on line "A" we might have a feeder, an injector and a conveyor. For > certain jobs, using certain dies and certain plastic mixes, the injector > may > > need to run slightly hotter than for other jobs and if it doesn't then it > will gum up. There are lots of conditions and lots of states, and of > course > > there are always new job types that raise new conditions and states. > Rather > > than reprogram the realtime monitor (and this app) over and over, they set > the realtime fault levels at a "significant" fault and hope to use this app > to detect any "errant but within bounds" event. > > There are 4 "main" forms - 3 of which are continuous forms with around > 10 "signals" per row and a treeview+inspector form/subform - that make up > the > major view of the system. The continuous forms show all 500 objects - so > its > important that the operator can recognize an aberrent signal level by > quickly > scrolling through the list. Hence the need for all the custom formats! The > treeview form, which has 6 subforms that swap depending on the "type" of > node > selected in the tree allow the user to modify the monitor levels on the > fly, > > say to loosen or tighten the variances allowed on a new die as it beds in > etc > etc. > > Sorry about the long winded story, but its quite an interesting app! > > regards > Bruce > > On Wednesday 25 April 2007 01:30, Susan Harkins wrote: > > Bruce, is each field truly that custom? You do know that you can change > > default formats for a form don't you? Of course, that doesn't help with > > the > > > problem at hand -- sorry about that. :( > > > > Susan H. > > > > After 6 weeks work of setting conditional formats over 32 tables, 65 > > forms and > > 12 reports I accidentally hit ctl-leftshift-alt-prtscn-scratchnose which > > produced a "YOUAREGOINGINTOHIGHRESOLUTIONMODE" popup, with apparently NO > > WAY TO CANCEL IT! > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- regards Bruce -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Apr 25 15:26:21 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 25 Apr 2007 13:26:21 -0700 Subject: [AccessD] OT - Excel - IIF in cell In-Reply-To: <004201c78749$3cb05560$657aa8c0@m6805> Message-ID: <0JH200M7GLXFFLP4@l-daemon> ...Because it is not needed. Why the iif command was created when the functionality could have been extended to the already existing if statement has always been beyond me. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, April 25, 2007 7:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT - Excel - IIF in cell As always, immediately after I pressed Send I discovered the answer. =if((E3="x"),0,C3) Now why doesn't IIF work? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, April 25, 2007 10:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT - Excel - IIF in cell I need to do a simple iif in a cell: =iif((E3="x"),0,C3) IOW what I am trying to do is say if the cell E3 = "x" then the current cell = 0 else the current cell = the contents of cell C3 All I get is the infamous #Name? Is it possible to do this? Is there some other construct? John W. Colby Colby Consulting www.ColbyConsulting.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 tuxedoman888 at gmail.com Wed Apr 25 16:30:56 2007 From: tuxedoman888 at gmail.com (Billy Pang) Date: Wed, 25 Apr 2007 14:30:56 -0700 Subject: [AccessD] OT - Excel - IIF in cell In-Reply-To: <004201c78749$3cb05560$657aa8c0@m6805> References: <003d01c78748$664c73f0$657aa8c0@m6805> <004201c78749$3cb05560$657aa8c0@m6805> Message-ID: <7c8826480704251430s210ffaf5x7ea6110a60fb6325@mail.gmail.com> same reason why datediff in excel does not work; gotta use datedif (missing one F) On 4/25/07, JWColby wrote: > > > Now why doesn't IIF work? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > > -- > Billy Pang > http://dbnotes.blogspot.com/ > "Once the game is over, the King and the pawn go back in the same box." - > Italian proverb From rockysmolin at bchacc.com Thu Apr 26 08:18:00 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 26 Apr 2007 06:18:00 -0700 Subject: [AccessD] OT: WinZip Courier Problem Message-ID: <001301c78805$50cc9fb0$0501a8c0@HAL9005> For those who may be considering WinZip's new Courier service, there's a small problem. If you upload a file with a .EXE extension, it is delivered without the extension. So when the user tries to run it it comes up with the 'what program do you want to use to open this file?" prompt. Since I'm sending mostly setup files created by Wise, this is a serious problem. They currently have no fix for this other than the workaround that the user need to be advised to add the .EXE to the file before running it. Regards, Rocky From Gustav at cactus.dk Thu Apr 26 09:28:51 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 26 Apr 2007 16:28:51 +0200 Subject: [AccessD] Visual Studio Standard 2005 won't install Message-ID: Hi all Anyone having the Action Pack? Finally, the above title arrived but it won't install. It keeps popping a message: Please insert the disk: Microsoft Visual Studio 2005 Standard Edition - ENU Disk 2 but there is no disk 2. This appears during the very first install item, "Microsoft Visual Studio 2005", and the file ..\Common7\Tools\VDT\vdt80.dll I've browsed all over the net and can find some hints mostly related to downloaded images burned/saved to cd/iso with wrong titles, but this is the original cd which doesn't carry any info that it should be "Disk 1". I've also tried to copy to cd to a folder and install from that, and also to disable antivirus but to no avail. I had VB 2005 Express and Web Express installed (with no errors) but those were uninstalled first. Any hints? /gustav From fuller.artful at gmail.com Thu Apr 26 11:16:21 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 26 Apr 2007 12:16:21 -0400 Subject: [AccessD] Visual Studio Standard 2005 won't install In-Reply-To: References: Message-ID: <29f585dd0704260916y311eeb9fqa9a55fb57b262de0@mail.gmail.com> I don't have the Action Pack but I do have VS 2005 Standard Edition and it does have a Disk 2. On 4/26/07, Gustav Brock wrote: > > Hi all > > Anyone having the Action Pack? Finally, the above title arrived but it > won't install. > It keeps popping a message: > > Please insert the disk: Microsoft Visual Studio 2005 Standard Edition - > ENU Disk 2 > > but there is no disk 2. > This appears during the very first install item, "Microsoft Visual Studio > 2005", and the file ..\Common7\Tools\VDT\vdt80.dll > > I've browsed all over the net and can find some hints mostly related to > downloaded images burned/saved to cd/iso with wrong titles, but this is the > original cd which doesn't carry any info that it should be "Disk 1". > I've also tried to copy to cd to a folder and install from that, and also > to disable antivirus but to no avail. > > I had VB 2005 Express and Web Express installed (with no errors) but those > were uninstalled first. > > Any hints? > > /gustav > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Thu Apr 26 11:40:56 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 26 Apr 2007 18:40:56 +0200 Subject: [AccessD] Visual Studio Standard 2005 won't install Message-ID: Hi Arthur OK, thanks, that explains. Then that disk probably will arrive with the next update - in three months ... /gustav >>> fuller.artful at gmail.com 26-04-2007 18:16 >>> I don't have the Action Pack but I do have VS 2005 Standard Edition and it does have a Disk 2. On 4/26/07, Gustav Brock wrote: > > Hi all > > Anyone having the Action Pack? Finally, the above title arrived but it > won't install. > It keeps popping a message: > > Please insert the disk: Microsoft Visual Studio 2005 Standard Edition - > ENU Disk 2 > > but there is no disk 2. > This appears during the very first install item, "Microsoft Visual Studio > 2005", and the file ..\Common7\Tools\VDT\vdt80.dll > > I've browsed all over the net and can find some hints mostly related to > downloaded images burned/saved to cd/iso with wrong titles, but this is the > original cd which doesn't carry any info that it should be "Disk 1". > I've also tried to copy to cd to a folder and install from that, and also > to disable antivirus but to no avail. > > I had VB 2005 Express and Web Express installed (with no errors) but those > were uninstalled first. > > Any hints? > > /gustav From john at winhaven.net Thu Apr 26 12:25:23 2007 From: john at winhaven.net (John Bartow) Date: Thu, 26 Apr 2007 12:25:23 -0500 Subject: [AccessD] Visual Studio Standard 2005 won't install In-Reply-To: References: Message-ID: <037401c78827$e047c350$6402a8c0@ScuzzPaq> The first shipment of MSDN comes with everything and then gets updated afterwards. Seems odd that they wouldn't do the same with the Action Pack (but I don't know for sure as I don't get that). I'd advise you contact the MS rep and check on it. From jwcolby at colbyconsulting.com Thu Apr 26 21:51:19 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 26 Apr 2007 22:51:19 -0400 Subject: [AccessD] Deploying .net solutions Message-ID: <00bd01c78876$f00d7240$657aa8c0@m6805> I have a bunch of processes that are not particularly suited to Access for one reason or another. These include things like * doing what I call "directory watching" and performing some action when a file appears. * FTP transfers between local drives and FTP sites * Building complex data feeds between a database and a remote mainframe To take an example, I regularly build data feeds which look like: Header Rec Detail Rec Detail Rec Detail Rec . . Trailer Rec The header rec has some specific set of data in it such as who it is coming from, the date of the file etc. The detail recs have repetitive data such as payments to clients, payment dates, from/to dates that the payment is for, the amount, the check number etc. The footer rec has some specific data in it such as the number of checks, the bank account number that the checks are drawn against etc. I have built a report generator in VBA, inside of access, and it works, but it is really rather patchwork by nature. I have to reference specific libs, go outside of VBA to handle things like the file system and text streams (in an object oriented manner) and so forth. There are no threads so a single error can hang the system, and things that should happen in parallel have to happen sequentially. So, I would like to take one of these systems and move it to .Net. What I am trying to discover is how .Net systems are (reliably) deployed to the desktop. Often times these applets are used by more than one person, often at the same time. At the moment, because they are Access / vba based, I just do a copy down to the desktop (a single file) and open the mdb. A form opens and the user goes to work. These applets are under constant development, literally daily as I finish one report another is started. Bug fixes are done. I assume (but am not sure) that a VB.Net applet would be distributed as well, downloaded to the desktop and run from there. What is the vehicle for this distribution? John W. Colby Colby Consulting www.ColbyConsulting.com From michael at ddisolutions.com.au Thu Apr 26 22:02:43 2007 From: michael at ddisolutions.com.au (Michael Maddison) Date: Fri, 27 Apr 2007 13:02:43 +1000 Subject: [AccessD] Deploying .net solutions References: <00bd01c78876$f00d7240$657aa8c0@m6805> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0128968B@ddi-01.DDI.local> Hi John, ClickOnce sounds perfect for your situation. http://msdn2.microsoft.com/en-us/library/t71a733d(VS.80).aspx cheers Michael M I have a bunch of processes that are not particularly suited to Access for one reason or another. These include things like * doing what I call "directory watching" and performing some action when a file appears. * FTP transfers between local drives and FTP sites * Building complex data feeds between a database and a remote mainframe To take an example, I regularly build data feeds which look like: Header Rec Detail Rec Detail Rec Detail Rec . . Trailer Rec The header rec has some specific set of data in it such as who it is coming from, the date of the file etc. The detail recs have repetitive data such as payments to clients, payment dates, from/to dates that the payment is for, the amount, the check number etc. The footer rec has some specific data in it such as the number of checks, the bank account number that the checks are drawn against etc. I have built a report generator in VBA, inside of access, and it works, but it is really rather patchwork by nature. I have to reference specific libs, go outside of VBA to handle things like the file system and text streams (in an object oriented manner) and so forth. There are no threads so a single error can hang the system, and things that should happen in parallel have to happen sequentially. So, I would like to take one of these systems and move it to .Net. What I am trying to discover is how .Net systems are (reliably) deployed to the desktop. Often times these applets are used by more than one person, often at the same time. At the moment, because they are Access / vba based, I just do a copy down to the desktop (a single file) and open the mdb. A form opens and the user goes to work. These applets are under constant development, literally daily as I finish one report another is started. Bug fixes are done. I assume (but am not sure) that a VB.Net applet would be distributed as well, downloaded to the desktop and run from there. What is the vehicle for this distribution? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marklbreen at gmail.com Fri Apr 27 02:03:36 2007 From: marklbreen at gmail.com (Mark Breen) Date: Fri, 27 Apr 2007 08:03:36 +0100 Subject: [AccessD] (no subject) In-Reply-To: References: Message-ID: Hello Ed, I have seen this in an Oracle database on one accasion. Of course, it is not a relational database when you store lookup tables like this, or at least, it is no possible to enforce good referential integrity. But... in that company, once we got used to the little function that we used to retrieve values from the lookup, it worked a treat. And to make matters even better, when we wanted a new lookup table added, we could do it ourselves without having to go to a DBA. In that company, they have about one hundred look tables, so it was neater than if they were all stored in seperate tables. In summary, I would not do it, but I did see it working effectively. Mark On 24/04/07, Tesiny, Ed wrote: > > Hi All, > I'm not familiar enough with SQL Server but I have a question regarding > what I call Code Tables. I use them a lot when I develop an application > in Access, e.g., I'll have a table for counties i.e., county code and > county name or Providers, Provider code and Provider Name. I have them > as separate tables. I'm trying to make sense out of the tables and > relationships "my" programmer created. He has one code table period! > Below is a look as to how it is setup. > > CodeType CodeId CodeName OrderOnForm > Ethnicity 1 Puerto Rican 1 > Ethnicity 2 Mexican 2 > Ethnicity 3 Cuban 3 > Ethnicity 4 Other Hispanic 4 > Ethnicity 5 Hispanic, Not Specified/Known5 > Ethnicity 7 Not of Hispanic Origin 6 > Ethnicity 9 Don't Know/No Answer 7 > Gender 1 Male 10 > Gender 2 Female 20 > Health 1 Poor 5 > Health 2 Fair 10 > Health 3 Good 15 > Health 4 Very Good 20 > Health 5 Excellent 25 > Health 9 Don't Know/No Answer 80 > > > This is just a little bit of the table but I think you can see his > "logic" here. Is this a common convention that developers use? Hate to > see what else I'm going to find as I try to wade through this. > TIA > Ed > Edward P. Tesiny > Assistant Director for Evaluation > Bureau of Evaluation and Practice Improvement > New York State OASAS > 1450 Western Ave. > Albany, New York 12203-3526 > Phone: (518) 485-7189 > Fax: (518) 485-5769 > Email: EdTesiny at oasas.state.ny.us > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Fri Apr 27 03:52:17 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 27 Apr 2007 04:52:17 -0400 Subject: [AccessD] Deploying .net solutions In-Reply-To: <00bd01c78876$f00d7240$657aa8c0@m6805> References: <00bd01c78876$f00d7240$657aa8c0@m6805> Message-ID: <29f585dd0704270152y4c56c12ds3be5fc7a6d929c2@mail.gmail.com> One doesn't write applets in VB.NET, JC, but aside from that, the One-Click technology in .NET should please you immensely. While you explore that, I also suggest a terrific product called Total Commander, which is a Windows-based "clone" + extension of Norton Commander, and includes FTP facilities, so you could use it to get immediately to your goal, while you experiment with the One-Click .NET technology. A. On 4/26/07, JWColby wrote: > > I have a bunch of processes that are not particularly suited to Access for > one reason or another. These include things like > > * doing what I call "directory watching" and performing some action when a > file appears. > * FTP transfers between local drives and FTP sites > * Building complex data feeds between a database and a remote mainframe > > To take an example, I regularly build data feeds which look like: > > Header Rec > Detail Rec > Detail Rec > Detail Rec > . > . > Trailer Rec > > The header rec has some specific set of data in it such as who it is > coming > from, the date of the file etc. > > The detail recs have repetitive data such as payments to clients, payment > dates, from/to dates that the payment is for, the amount, the check number > etc. > > The footer rec has some specific data in it such as the number of checks, > the bank account number that the checks are drawn against etc. > > I have built a report generator in VBA, inside of access, and it works, > but > it is really rather patchwork by nature. I have to reference specific > libs, > go outside of VBA to handle things like the file system and text streams > (in > an object oriented manner) and so forth. There are no threads so a single > error can hang the system, and things that should happen in parallel have > to > happen sequentially. > > So, I would like to take one of these systems and move it to .Net. What I > am trying to discover is how .Net systems are (reliably) deployed to the > desktop. Often times these applets are used by more than one person, > often > at the same time. At the moment, because they are Access / vba based, I > just do a copy down to the desktop (a single file) and open the mdb. A > form > opens and the user goes to work. These applets are under constant > development, literally daily as I finish one report another is > started. Bug > fixes are done. > > I assume (but am not sure) that a VB.Net applet would be distributed as > well, downloaded to the desktop and run from there. What is the vehicle > for > this distribution? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Fri Apr 27 07:39:28 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 27 Apr 2007 08:39:28 -0400 Subject: [AccessD] Deploying .net solutions In-Reply-To: <29f585dd0704270152y4c56c12ds3be5fc7a6d929c2@mail.gmail.com> References: <00bd01c78876$f00d7240$657aa8c0@m6805> <29f585dd0704270152y4c56c12ds3be5fc7a6d929c2@mail.gmail.com> Message-ID: <00d501c788c9$1943db70$657aa8c0@m6805> >One doesn't write applets in VB.NET, JC, but aside from that LOL, so what, is that term reserved for Java now? Applet = little application to me. Java is so unimportant to me that I have no problem in borrowing the term to mean something actually useful. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, April 27, 2007 4:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deploying .net solutions One doesn't write applets in VB.NET, JC, but aside from that, the One-Click technology in .NET should please you immensely. While you explore that, I also suggest a terrific product called Total Commander, which is a Windows-based "clone" + extension of Norton Commander, and includes FTP facilities, so you could use it to get immediately to your goal, while you experiment with the One-Click .NET technology. A. On 4/26/07, JWColby wrote: > > I have a bunch of processes that are not particularly suited to Access > for one reason or another. These include things like > > * doing what I call "directory watching" and performing some action > when a file appears. > * FTP transfers between local drives and FTP sites > * Building complex data feeds between a database and a remote > mainframe > > To take an example, I regularly build data feeds which look like: > > Header Rec > Detail Rec > Detail Rec > Detail Rec > . > . > Trailer Rec > > The header rec has some specific set of data in it such as who it is > coming from, the date of the file etc. > > The detail recs have repetitive data such as payments to clients, > payment dates, from/to dates that the payment is for, the amount, the > check number etc. > > The footer rec has some specific data in it such as the number of > checks, the bank account number that the checks are drawn against etc. > > I have built a report generator in VBA, inside of access, and it > works, but it is really rather patchwork by nature. I have to > reference specific libs, go outside of VBA to handle things like the > file system and text streams (in an object oriented manner) and so > forth. There are no threads so a single error can hang the system, > and things that should happen in parallel have to happen sequentially. > > So, I would like to take one of these systems and move it to .Net. > What I am trying to discover is how .Net systems are (reliably) > deployed to the desktop. Often times these applets are used by more > than one person, often at the same time. At the moment, because they > are Access / vba based, I just do a copy down to the desktop (a single > file) and open the mdb. A form opens and the user goes to work. > These applets are under constant development, literally daily as I > finish one report another is started. Bug fixes are done. > > I assume (but am not sure) that a VB.Net applet would be distributed > as well, downloaded to the desktop and run from there. What is the > vehicle for this distribution? > > John W. Colby > Colby Consulting > www.ColbyConsulting.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 rockysmolin at bchacc.com Fri Apr 27 08:07:59 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 27 Apr 2007 06:07:59 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: <004201c786a1$0b4582f0$0501a8c0@HAL9005> Message-ID: <001d01c788cd$14c02b40$0501a8c0@HAL9005> Dear List: The code below is not being run when I send an email. The message I send is being delivered but not the Bcc. I inserted a MsgBox at the head of the code just to see if it would show up and it didn't. Does anyone see why it's not running that code when an email is sent? I'm running OL 2003. MTIA, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 24, 2007 11:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Making progress. The project window wasn't displayed by default. But I found how to display it, double-clicked ThisOutlookSession, and pasted into the code window: Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) Dim objMe As Recipient Set objMe = Item.Recipients.Add("bchacc at san.rr.com") objMe.Type = olBCC objMe.Resolve Set objMe = Nothing End Sub However, it's not sending a Bcc to bchacc at san.rr.com. Have I missed a step? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Tuesday, April 24, 2007 8:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC On the left, you should have a project window, a tree representation of your Outlook VBA project. Top item should be Project1, with Microsoft Outlook as a child, in turn ThisOutlookSession will be a child of that. Double click that to bring up it's code page. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 24, 2007 9:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC " go into the code window," using Alt-F11? "there is a 'ThisOutlookSession' object." I don't see that. The left combo box has only (General) in it. Where would I look for it? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 4:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC When you go into the code window, there is a 'ThisOutlookSession' object. Click that, and you should get a blank code page. Click the left drop down box in the code page and select Application. The right drop down will then have the ItemSend event. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 6:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Marty: You know I found that site. And the code makes sense. But I've never put any code behind Outlook. Don't know how to get that code attached to the Item_Send event (if there is such a thing). Any hints on how to? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 23, 2007 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC This site says you have to do through VBA code. or use third party add-in http://www.howto-outlook.com/faq/createbccrule.htm To automatically Bcc all outgoing messages. http://www.outlookcode.com/d/code/autobcc.htm Rocky Smolin at Beach Access Software wrote: >Yes, but she has to insert her AA's email address manually on every >email that goes to a client that she wants to copy the AA on. So she >was looking for a way to have the AA's email automatically entered in >the Bcc line on every email. > >Rocky > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Monday, April 23, 2007 10:54 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT: Default BCC > >Sorry if this is too simplistic, but she does have the View BCC option >ticked doesn't she? > >-- Andy Lacey >http://www.minstersystems.co.uk > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>Smolin at Beach Access Software >>Sent: 23 April 2007 17:51 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>Almost there. The user who asked me for this wants to Bcc. >>The rule wizard >>seems to only allow CC. It's a law office and this person >>wants to Bcc her >>admin assistant. Is there a way to do Bcc? >> >>Rocky >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 9:39 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Okay, step by step using Outlook 2003. >> >>Click Tools --> Rules and Alerts >> >>Click New Rule >> >>Select 'Start from a blank rule' (not default selection) >> >>Under Step1, select Check messages after sending, click next. >> >>Click next again (you will be prompted again, click Yes) >> >>(Side note, this rule now applies to ALL email you send. The last >>Next and Yes skipped past conditions you may want to choose) >> >>Select 'CC the message to people or distribution list'. >> >>In the step 2 window, click the underlines 'people or distribution >>list' to select the address you want the copy sent too. >> >>Click Next, then Next again (this one skips the exceptions that you >>can apply to your rule) >> >>Click Finish >> >>All done! >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Monday, April 23, 2007 11:02 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>That WOULD be easy. But I don't see a rule that governs outgoing >>addresses. Only sorting incoming mail. Am I missing it somewhere? >> >>Rocky >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 8:11 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Probably easier to use a rule. (There's a rule wizard to help out). >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Sunday, April 22, 2007 2:45 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] OT: Default BCC >> >> >> >> >>Dear List: >> >>Is there a way to default an email address into the BCC field in >>Outlook when you create a new message? >> >>TIA >> >>Rocky >> >> -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007 5:26 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007 5:26 PM From Gustav at cactus.dk Fri Apr 27 08:26:22 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 27 Apr 2007 15:26:22 +0200 Subject: [AccessD] Visual Studio Standard 2005 won't install Message-ID: Hi John Yes, but this package is an addendum - special for Small Business Partners - and it doesn't even contain the usual list of included and previously supplied cd/dvd roms. I've sent a notice to the MS distribution center hoping they will sort it out. /gustav >>> john at winhaven.net 26-04-2007 19:25 >>> The first shipment of MSDN comes with everything and then gets updated afterwards. Seems odd that they wouldn't do the same with the Action Pack (but I don't know for sure as I don't get that). I'd advise you contact the MS rep and check on it. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Fri Apr 27 08:34:03 2007 From: max.wanadoo at gmail.com (Gmail) Date: Fri, 27 Apr 2007 14:34:03 +0100 Subject: [AccessD] OT: Default BCC In-Reply-To: <001d01c788cd$14c02b40$0501a8c0@HAL9005> References: <004201c786a1$0b4582f0$0501a8c0@HAL9005> <001d01c788cd$14c02b40$0501a8c0@HAL9005> Message-ID: <000401c788d0$b9f0f560$5101a8c0@LT> You could try:- Dim objMe As Outlook.Recipient instead of just Recipient. I always do things like Dim objOutlook as outlook.application, etc. Expressly state what the object is. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, April 27, 2007 2:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Dear List: The code below is not being run when I send an email. The message I send is being delivered but not the Bcc. I inserted a MsgBox at the head of the code just to see if it would show up and it didn't. Does anyone see why it's not running that code when an email is sent? I'm running OL 2003. MTIA, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 24, 2007 11:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Making progress. The project window wasn't displayed by default. But I found how to display it, double-clicked ThisOutlookSession, and pasted into the code window: Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) Dim objMe As Recipient Set objMe = Item.Recipients.Add("bchacc at san.rr.com") objMe.Type = olBCC objMe.Resolve Set objMe = Nothing End Sub However, it's not sending a Bcc to bchacc at san.rr.com. Have I missed a step? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Tuesday, April 24, 2007 8:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC On the left, you should have a project window, a tree representation of your Outlook VBA project. Top item should be Project1, with Microsoft Outlook as a child, in turn ThisOutlookSession will be a child of that. Double click that to bring up it's code page. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 24, 2007 9:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC " go into the code window," using Alt-F11? "there is a 'ThisOutlookSession' object." I don't see that. The left combo box has only (General) in it. Where would I look for it? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 4:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC When you go into the code window, there is a 'ThisOutlookSession' object. Click that, and you should get a blank code page. Click the left drop down box in the code page and select Application. The right drop down will then have the ItemSend event. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 6:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Marty: You know I found that site. And the code makes sense. But I've never put any code behind Outlook. Don't know how to get that code attached to the Item_Send event (if there is such a thing). Any hints on how to? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 23, 2007 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC This site says you have to do through VBA code. or use third party add-in http://www.howto-outlook.com/faq/createbccrule.htm To automatically Bcc all outgoing messages. http://www.outlookcode.com/d/code/autobcc.htm Rocky Smolin at Beach Access Software wrote: >Yes, but she has to insert her AA's email address manually on every >email that goes to a client that she wants to copy the AA on. So she >was looking for a way to have the AA's email automatically entered in >the Bcc line on every email. > >Rocky > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Monday, April 23, 2007 10:54 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT: Default BCC > >Sorry if this is too simplistic, but she does have the View BCC option >ticked doesn't she? > >-- Andy Lacey >http://www.minstersystems.co.uk > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>Smolin at Beach Access Software >>Sent: 23 April 2007 17:51 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>Almost there. The user who asked me for this wants to Bcc. >>The rule wizard >>seems to only allow CC. It's a law office and this person >>wants to Bcc her >>admin assistant. Is there a way to do Bcc? >> >>Rocky >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 9:39 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Okay, step by step using Outlook 2003. >> >>Click Tools --> Rules and Alerts >> >>Click New Rule >> >>Select 'Start from a blank rule' (not default selection) >> >>Under Step1, select Check messages after sending, click next. >> >>Click next again (you will be prompted again, click Yes) >> >>(Side note, this rule now applies to ALL email you send. The last >>Next and Yes skipped past conditions you may want to choose) >> >>Select 'CC the message to people or distribution list'. >> >>In the step 2 window, click the underlines 'people or distribution >>list' to select the address you want the copy sent too. >> >>Click Next, then Next again (this one skips the exceptions that you >>can apply to your rule) >> >>Click Finish >> >>All done! >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Monday, April 23, 2007 11:02 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>That WOULD be easy. But I don't see a rule that governs outgoing >>addresses. Only sorting incoming mail. Am I missing it somewhere? >> >>Rocky >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 8:11 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Probably easier to use a rule. (There's a rule wizard to help out). >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Sunday, April 22, 2007 2:45 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] OT: Default BCC >> >> >> >> >>Dear List: >> >>Is there a way to default an email address into the BCC field in >>Outlook when you create a new message? >> >>TIA >> >>Rocky >> >> -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007 5:26 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007 5:26 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Apr 27 08:54:10 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 27 Apr 2007 06:54:10 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: <000401c788d0$b9f0f560$5101a8c0@LT> Message-ID: <003001c788d3$88684400$0501a8c0@HAL9005> Max: Then where would I reference outlook.application in the code? Or is the Dim all that's necessary? Wouldn't I need a Set statement as well and then a reference to it in the doe? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gmail Sent: Friday, April 27, 2007 6:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC You could try:- Dim objMe As Outlook.Recipient instead of just Recipient. I always do things like Dim objOutlook as outlook.application, etc. Expressly state what the object is. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, April 27, 2007 2:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Dear List: The code below is not being run when I send an email. The message I send is being delivered but not the Bcc. I inserted a MsgBox at the head of the code just to see if it would show up and it didn't. Does anyone see why it's not running that code when an email is sent? I'm running OL 2003. MTIA, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 24, 2007 11:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Making progress. The project window wasn't displayed by default. But I found how to display it, double-clicked ThisOutlookSession, and pasted into the code window: Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) Dim objMe As Recipient Set objMe = Item.Recipients.Add("bchacc at san.rr.com") objMe.Type = olBCC objMe.Resolve Set objMe = Nothing End Sub However, it's not sending a Bcc to bchacc at san.rr.com. Have I missed a step? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Tuesday, April 24, 2007 8:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC On the left, you should have a project window, a tree representation of your Outlook VBA project. Top item should be Project1, with Microsoft Outlook as a child, in turn ThisOutlookSession will be a child of that. Double click that to bring up it's code page. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 24, 2007 9:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC " go into the code window," using Alt-F11? "there is a 'ThisOutlookSession' object." I don't see that. The left combo box has only (General) in it. Where would I look for it? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 4:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC When you go into the code window, there is a 'ThisOutlookSession' object. Click that, and you should get a blank code page. Click the left drop down box in the code page and select Application. The right drop down will then have the ItemSend event. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 6:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Marty: You know I found that site. And the code makes sense. But I've never put any code behind Outlook. Don't know how to get that code attached to the Item_Send event (if there is such a thing). Any hints on how to? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 23, 2007 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC This site says you have to do through VBA code. or use third party add-in http://www.howto-outlook.com/faq/createbccrule.htm To automatically Bcc all outgoing messages. http://www.outlookcode.com/d/code/autobcc.htm Rocky Smolin at Beach Access Software wrote: >Yes, but she has to insert her AA's email address manually on every >email that goes to a client that she wants to copy the AA on. So she >was looking for a way to have the AA's email automatically entered in >the Bcc line on every email. > >Rocky > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Monday, April 23, 2007 10:54 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT: Default BCC > >Sorry if this is too simplistic, but she does have the View BCC option >ticked doesn't she? > >-- Andy Lacey >http://www.minstersystems.co.uk > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>Smolin at Beach Access Software >>Sent: 23 April 2007 17:51 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>Almost there. The user who asked me for this wants to Bcc. >>The rule wizard >>seems to only allow CC. It's a law office and this person >>wants to Bcc her >>admin assistant. Is there a way to do Bcc? >> >>Rocky >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 9:39 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Okay, step by step using Outlook 2003. >> >>Click Tools --> Rules and Alerts >> >>Click New Rule >> >>Select 'Start from a blank rule' (not default selection) >> >>Under Step1, select Check messages after sending, click next. >> >>Click next again (you will be prompted again, click Yes) >> >>(Side note, this rule now applies to ALL email you send. The last >>Next and Yes skipped past conditions you may want to choose) >> >>Select 'CC the message to people or distribution list'. >> >>In the step 2 window, click the underlines 'people or distribution >>list' to select the address you want the copy sent too. >> >>Click Next, then Next again (this one skips the exceptions that you >>can apply to your rule) >> >>Click Finish >> >>All done! >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Monday, April 23, 2007 11:02 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>That WOULD be easy. But I don't see a rule that governs outgoing >>addresses. Only sorting incoming mail. Am I missing it somewhere? >> >>Rocky >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 8:11 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Probably easier to use a rule. (There's a rule wizard to help out). >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Sunday, April 22, 2007 2:45 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] OT: Default BCC >> >> >> >> >>Dear List: >> >>Is there a way to default an email address into the BCC field in >>Outlook when you create a new message? >> >>TIA >> >>Rocky >> >> -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007 5:26 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007 5:26 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.6.1/777 - Release Date: 4/26/2007 3:23 PM From fuller.artful at gmail.com Fri Apr 27 09:01:48 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 27 Apr 2007 10:01:48 -0400 Subject: [AccessD] Deploying .net solutions In-Reply-To: <00d501c788c9$1943db70$657aa8c0@m6805> References: <00bd01c78876$f00d7240$657aa8c0@m6805> <29f585dd0704270152y4c56c12ds3be5fc7a6d929c2@mail.gmail.com> <00d501c788c9$1943db70$657aa8c0@m6805> Message-ID: <29f585dd0704270701i38d99d1cle20d9c712648c7a5@mail.gmail.com> Oh sorry, JC, it's only the most widely used programming language in the world, but when you're stepping on toes, why not step on the big toe? An applet is a chunk of Java code that runs inside a web page. Incidentally, that is not my statistic but Information Week's. That's why I'm learning it now. Actually, I'm on a crash course at the moment. I'm learning Java, Perl and C#/VB.NET (they are so similar they might as well be one language, but there is an objective difference -- you can charge more money for C#; c.f. Visual Studio magazine's stats). A. On 4/27/07, JWColby wrote: > > >One doesn't write applets in VB.NET, JC, but aside from that > > LOL, so what, is that term reserved for Java now? Applet = little > application to me. Java is so unimportant to me that I have no problem in > borrowing the term to mean something actually useful. > From Gustav at cactus.dk Fri Apr 27 09:10:08 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 27 Apr 2007 16:10:08 +0200 Subject: [AccessD] Dot Net, where to start? Message-ID: Hi all It seems to be the time for me to get into the Dot Net stuff. But where to start? The only books on Access I've ever had are the original references and handbooks for Access 1 and 2 and the Application Development book for Access 97 so I'm reluctant to buy books - I just don't have the patience ... In the Action Pack - which we subscribe to - I've noticed two discs for VS 2005 Express, "Corbis Image Disc" and "Getting Started". Are these tutorials worth the effort to study? I browsed our vb list archive, which I don't subsribe to, and traffic seems to be low, so where to discuss Dot Net matters at the same level as we discuss Access here? One thing I think I've understood is that report design in VS is poor and third party tools or Report Design Service of SQL Server 2005 are to be preferred if you need reports on a level that match that of Access. Of course, my main interest is anything related to databases - pure web development is second, and game development won't come into play. Any advice will be greatly appreciated. /gustav From jwcolby at colbyconsulting.com Fri Apr 27 09:11:00 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 27 Apr 2007 10:11:00 -0400 Subject: [AccessD] Deploying .net solutions In-Reply-To: <29f585dd0704270152y4c56c12ds3be5fc7a6d929c2@mail.gmail.com> References: <00bd01c78876$f00d7240$657aa8c0@m6805> <29f585dd0704270152y4c56c12ds3be5fc7a6d929c2@mail.gmail.com> Message-ID: <00ee01c788d5$e24e1c90$657aa8c0@m6805> >I also suggest a terrific product called Total Commander, which is a Windows-based "clone" + extension of Norton Commander, and includes FTP facilities, so you could use it to get immediately to your goal, while you experiment with the One-Click .NET technology. My goal isn't a file manager replacement. My goal is a program which ftps files down to the local hard drive, unzips them, unencrypts them, and loads them into a database. Each such file is specific to one particular client insurer (client of my client) and there are potentially dozens of them, a half dozen at the moment. Each from a different company, each coming from a different FTP site (obviously), each formatted differently (but with patterns which allow a generic solution). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, April 27, 2007 4:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deploying .net solutions One doesn't write applets in VB.NET, JC, but aside from that, the One-Click technology in .NET should please you immensely. While you explore that, I also suggest a terrific product called Total Commander, which is a Windows-based "clone" + extension of Norton Commander, and includes FTP facilities, so you could use it to get immediately to your goal, while you experiment with the One-Click .NET technology. A. On 4/26/07, JWColby wrote: > > I have a bunch of processes that are not particularly suited to Access > for one reason or another. These include things like > > * doing what I call "directory watching" and performing some action > when a file appears. > * FTP transfers between local drives and FTP sites > * Building complex data feeds between a database and a remote > mainframe > > To take an example, I regularly build data feeds which look like: > > Header Rec > Detail Rec > Detail Rec > Detail Rec > . > . > Trailer Rec > > The header rec has some specific set of data in it such as who it is > coming from, the date of the file etc. > > The detail recs have repetitive data such as payments to clients, > payment dates, from/to dates that the payment is for, the amount, the > check number etc. > > The footer rec has some specific data in it such as the number of > checks, the bank account number that the checks are drawn against etc. > > I have built a report generator in VBA, inside of access, and it > works, but it is really rather patchwork by nature. I have to > reference specific libs, go outside of VBA to handle things like the > file system and text streams (in an object oriented manner) and so > forth. There are no threads so a single error can hang the system, > and things that should happen in parallel have to happen sequentially. > > So, I would like to take one of these systems and move it to .Net. > What I am trying to discover is how .Net systems are (reliably) > deployed to the desktop. Often times these applets are used by more > than one person, often at the same time. At the moment, because they > are Access / vba based, I just do a copy down to the desktop (a single > file) and open the mdb. A form opens and the user goes to work. > These applets are under constant development, literally daily as I > finish one report another is started. Bug fixes are done. > > I assume (but am not sure) that a VB.Net applet would be distributed > as well, downloaded to the desktop and run from there. What is the > vehicle for this distribution? > > John W. Colby > Colby Consulting > www.ColbyConsulting.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 jwcolby at colbyconsulting.com Fri Apr 27 09:21:34 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 27 Apr 2007 10:21:34 -0400 Subject: [AccessD] Deploying .net solutions In-Reply-To: <29f585dd0704270701i38d99d1cle20d9c712648c7a5@mail.gmail.com> References: <00bd01c78876$f00d7240$657aa8c0@m6805><29f585dd0704270152y4c56c12ds3be5fc7a6d929c2@mail.gmail.com><00d501c788c9$1943db70$657aa8c0@m6805> <29f585dd0704270701i38d99d1cle20d9c712648c7a5@mail.gmail.com> Message-ID: <00ef01c788d7$5c7583e0$657aa8c0@m6805> ROTFL. If I actually ever gave a crap about stepping on toes it might, I suppose, matter (but very damned little as it turns out). If I stepped on yours, well... Given that soldiers are dying in Iraq, men, women and children are dying in civil wars all over Africa, opium is the largest cash crop in Afghanistan, children are used as sex slaves all over the world, the average factory worker in China makes just a few dollars a day... well... Hmmm... Just how important is this again? Java rates about 1 on a scale of 1^99 in the grander scheme of things and my borrowing a term from that rates somewhere about 1^9999999 in the scheme of things. If my borrowing the term bothers you, I would have to say go work on one of the problems above and then come back in a year and tell me how much it really matters. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, April 27, 2007 10:02 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deploying .net solutions Oh sorry, JC, it's only the most widely used programming language in the world, but when you're stepping on toes, why not step on the big toe? An applet is a chunk of Java code that runs inside a web page. Incidentally, that is not my statistic but Information Week's. That's why I'm learning it now. Actually, I'm on a crash course at the moment. I'm learning Java, Perl and C#/VB.NET (they are so similar they might as well be one language, but there is an objective difference -- you can charge more money for C#; c.f. Visual Studio magazine's stats). A. On 4/27/07, JWColby wrote: > > >One doesn't write applets in VB.NET, JC, but aside from that > > LOL, so what, is that term reserved for Java now? Applet = little > application to me. Java is so unimportant to me that I have no > problem in borrowing the term to mean something actually useful. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Fri Apr 27 09:24:50 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 27 Apr 2007 10:24:50 -0400 Subject: [AccessD] Deploying .net solutions In-Reply-To: <00ee01c788d5$e24e1c90$657aa8c0@m6805> References: <00bd01c78876$f00d7240$657aa8c0@m6805> <29f585dd0704270152y4c56c12ds3be5fc7a6d929c2@mail.gmail.com> <00ee01c788d5$e24e1c90$657aa8c0@m6805> Message-ID: <29f585dd0704270724g2e0614fdk6e6c7b5315a167@mail.gmail.com> You're not going to get this all in one package, I think. But for the SQL database creation/installation part, have a look at Red Gate's SQL Packager. It is amazing. Once you create said package, any number of FTP tools will do the rest for you. Virtually all FTP tools are scriptable, so you can make them do anything you want, assuming that the recipient has granted you the authority to do so. A. From fuller.artful at gmail.com Fri Apr 27 09:28:40 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 27 Apr 2007 10:28:40 -0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: References: Message-ID: <29f585dd0704270728n57536681x88d0bf1bc88180b3@mail.gmail.com> Go to GotDotNet and download all the samples. Do it relatively quickly since MS has decided to phase out this site. Also go to Visual Studio Magazine and CodePlex. There is a very good intro book called VB.NET JumpStart (google vbJumpStart and you should get to the downloadable code). I found this book so good that I am currently thinking that .NET is even easier than Access. Arthur On 4/27/07, Gustav Brock wrote: > > Hi all > > It seems to be the time for me to get into the Dot Net stuff. But where to > start? > The only books on Access I've ever had are the original references and > handbooks for Access 1 and 2 and the Application Development book for Access > 97 so I'm reluctant to buy books - I just don't have the patience ... > > In the Action Pack - which we subscribe to - I've noticed two discs for VS > 2005 Express, "Corbis Image Disc" and "Getting Started". Are these tutorials > worth the effort to study? > > I browsed our vb list archive, which I don't subsribe to, and traffic > seems to be low, so where to discuss Dot Net matters at the same level as we > discuss Access here? > > One thing I think I've understood is that report design in VS is poor and > third party tools or Report Design Service of SQL Server 2005 are to be > preferred if you need reports on a level that match that of Access. > > Of course, my main interest is anything related to databases - pure web > development is second, and game development won't come into play. > Any advice will be greatly appreciated. > > /gustav > From jwcolby at colbyconsulting.com Fri Apr 27 09:30:17 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 27 Apr 2007 10:30:17 -0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: References: Message-ID: <00f101c788d8$946eeec0$657aa8c0@m6805> Gustav, I am at the same place. I own a copy of VS2005 and SQL Server 2005 (got it at the coming out party) so I can go there if I wish. I have it installed and have played with it quite a bit over the last two years or so. I am actually considering working in the VB.Net express until I come up to speed on that, then make the move to VS2005. The express stuff is free and provides all the functionality that I can understand for the moment anyway. Once I get that down, then I will be ready to learn the stuff that the express versions do not provide. As for reporting, that is a show stopper, especially when you come from Access which is one of the better report generators out there. I am actually considering simply using automation to continue using Access as a report generator for the moment. Again, once I come up to speed on the .Net stuff, then I can re-examine my options. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 27, 2007 10:10 AM To: accessd at databaseadvisors.com Subject: [AccessD] Dot Net, where to start? Hi all It seems to be the time for me to get into the Dot Net stuff. But where to start? The only books on Access I've ever had are the original references and handbooks for Access 1 and 2 and the Application Development book for Access 97 so I'm reluctant to buy books - I just don't have the patience ... In the Action Pack - which we subscribe to - I've noticed two discs for VS 2005 Express, "Corbis Image Disc" and "Getting Started". Are these tutorials worth the effort to study? I browsed our vb list archive, which I don't subsribe to, and traffic seems to be low, so where to discuss Dot Net matters at the same level as we discuss Access here? One thing I think I've understood is that report design in VS is poor and third party tools or Report Design Service of SQL Server 2005 are to be preferred if you need reports on a level that match that of Access. Of course, my main interest is anything related to databases - pure web development is second, and game development won't come into play. Any advice will be greatly appreciated. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Apr 27 09:31:54 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 27 Apr 2007 10:31:54 -0400 Subject: [AccessD] Deploying .net solutions In-Reply-To: <29f585dd0704270724g2e0614fdk6e6c7b5315a167@mail.gmail.com> References: <00bd01c78876$f00d7240$657aa8c0@m6805><29f585dd0704270152y4c56c12ds3be5fc7a6d929c2@mail.gmail.com><00ee01c788d5$e24e1c90$657aa8c0@m6805> <29f585dd0704270724g2e0614fdk6e6c7b5315a167@mail.gmail.com> Message-ID: <00f201c788d8$cdd26660$657aa8c0@m6805> Yes, I use 3DFTP which is an amazing package and scriptable. It turns out that FTP is one of the things not native to the .Net framework (not sure why) so a third party tool is required. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, April 27, 2007 10:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deploying .net solutions You're not going to get this all in one package, I think. But for the SQL database creation/installation part, have a look at Red Gate's SQL Packager. It is amazing. Once you create said package, any number of FTP tools will do the rest for you. Virtually all FTP tools are scriptable, so you can make them do anything you want, assuming that the recipient has granted you the authority to do so. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ebarro at verizon.net Fri Apr 27 09:43:32 2007 From: ebarro at verizon.net (Eric Barro) Date: Fri, 27 Apr 2007 07:43:32 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: Message-ID: <0JH500LK8VKOP2S9@vms040.mailsrvcs.net> Gustav, The book that helped me transition my Access/VB skills to the .NET world was ASP.NET Tips, Tutorials, AND CODE (emphasis mine) http://www.amazon.com/ASP-NET-Tips-Tutorials-Scott-Mitchell/dp/0672321432/re f=sr_1_1/103-9789491-9429402?ie=UTF8&s=books&qid=1177683655&sr=8-1 1. The biggest advantage I found in this book over those that I looked into before buying this 2 yrs ago were the code snippets that clearly explained and helped me transition my VB knowledge into VB.NET. The main code samples that benefited me were on datasets, datagrids, arraylists and hashtables because I was looking for a quick way to understand how .NET handled the data access layer. I was already proficient in ADO and the examples that included ADO.NET were very helpful. 2. Majority of the code in the first few chapters were devoted to VB.NET. This was a big plus since I didn't need to or want to jump to .NET from my VBA/VB background. The writers of course have samples in C# and it doesn't take long to quickly transition to the C# version once you are comfortable in VB.NET. 3. I bought this book precisely for the good code samples. I don't have the time or patience either to wade through 50 pages of explanation when a few lines of code smattered with comments would suffice. The application development environment that helped me transition from VB to VB.NET was Web Matrix. This was the pre-cursor to Visual Studio. Best of all was that it was free. It worked great for coding but was very poor for page layout so I had to use Dreamweaver for that purpose. Today I develop web-based applications that interface with SQL Server 2000/2005 using C# as the programming language with VS.NET 2003 as the development environment. Since I am quite proficient in HTML and javascript (same syntax as C#), I no longer switch to Dreamweaver for page layout. Instead I switch to HTML view and modify HTML and javascript code manually. I have not transitioned from .NET ver 1.1 to 2.0. One of these days I will probably skip 2.0 and move to 3.0. For reporting I create custom reports using the regular .NET application development route. I have also used Crystal Reports (which closely resembles the Access band-type report generator) with SQL stored procedures. I've stayed away from SQL Reporting Services because the version prior to 2005 is limited in functionality although I've had to modify SQL Reporting Services 2000 code in VS.NET and also transitioned some of these reports to Crystal Reports. As far as I'm concerned the major advantages of these two reporting engines is the ease with which you can export the report data to any number of formats (Excel, PDF, Word, ASCII, etc...) without any coding other than knowing how to call those functions or utilize those classes to output the report. Today I have built my own data access layer, security layer and common/utility libraries which I use for every project I develop in C#. I have also built a couple of my own web controls that encapsulate functionality such as CRUD operations to speed up the development cycle. And I do agree...even if VB.NET and C# produce the same DLL, you can definitely charge more money and have more respect as a C# developer compared to a VB.NET developer. It's that same "Access is just a toy" mentality. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 27, 2007 7:10 AM To: accessd at databaseadvisors.com Subject: [AccessD] Dot Net, where to start? Hi all It seems to be the time for me to get into the Dot Net stuff. But where to start? The only books on Access I've ever had are the original references and handbooks for Access 1 and 2 and the Application Development book for Access 97 so I'm reluctant to buy books - I just don't have the patience ... In the Action Pack - which we subscribe to - I've noticed two discs for VS 2005 Express, "Corbis Image Disc" and "Getting Started". Are these tutorials worth the effort to study? I browsed our vb list archive, which I don't subsribe to, and traffic seems to be low, so where to discuss Dot Net matters at the same level as we discuss Access here? One thing I think I've understood is that report design in VS is poor and third party tools or Report Design Service of SQL Server 2005 are to be preferred if you need reports on a level that match that of Access. Of course, my main interest is anything related to databases - pure web development is second, and game development won't come into play. Any advice will be greatly appreciated. /gustav From max.wanadoo at gmail.com Fri Apr 27 09:49:37 2007 From: max.wanadoo at gmail.com (Gmail) Date: Fri, 27 Apr 2007 15:49:37 +0100 Subject: [AccessD] OT: Default BCC In-Reply-To: <003001c788d3$88684400$0501a8c0@HAL9005> References: <000401c788d0$b9f0f560$5101a8c0@LT> <003001c788d3$88684400$0501a8c0@HAL9005> Message-ID: <000b01c788db$49aeb430$5101a8c0@LT> Hi Rocky Try messing around with this. I think I have used this function before. No error handling in example Max Public Function pfSendEmail() Dim dbs As DAO.Database, rst As DAO.Recordset Dim strSubject As String Dim strText As String, bDisplayMsg As Boolean Set dbs = CurrentDb Set rst = dbs.OpenRecordset("QE_ActiveEmails") If rst.EOF Then GoTo exithere Else bDisplayMsg = False 'True Dim objOutlook As Outlook.Application Dim objOutlookMsg As Outlook.MailItem Dim objOutlookRecip As Outlook.Recipient Dim objOutlookAttach As Outlook.Attachment ' Create the Outlook session. Set objOutlook = CreateObject("Outlook.Application") ' Create the message. strSubject = "Newsletter" strText = "Dear Supporter," & vbCrLf & _ "Please note that the latest version of our Newsletters is now available on our main website at ....etc, etc" Call fStartClickYes(True) Set objOutlookMsg = objOutlook.CreateItem(olMailItem) 'Always send to MGX (dummy which is valid) ,and BC to recipient to prevent users seeing each others mail ' Add the To recipient(s) to the message. With objOutlookMsg Set objOutlookRecip = .Recipients.Add("mgx at abcdef.org") objOutlookRecip.Type = olTo ' Set the Subject, Body, and Importance of the message. .Subject = strSubject .Body = strText & vbCrLf & vbCrLf '.Importance = olImportanceHigh 'High importance ' Add attachments to the message. 'If Not IsMissing(AttachmentPath) Then ' Set objOutlookAttach = .Attachments.Add(AttachmentPath) 'End If ' Resolve each Recipient's name. 'For Each objOutlookRecip In .Recipients ' objOutlookRecip.Resolve 'Next rst.MoveFirst Do While Not rst.EOF If Len(rst!EmailUsed) > 0 and InStr(rst!EmailUsed, "@") > 0 Then ' Add the CC recipient(s) to the message. 'Set objOutlookRecip = .Recipients.Add("Name of person") 'objOutlookRecip.Type = olCC ' Add the BCC recipient(s) to the message. Set objOutlookRecip = .Recipients.Add(rst!EmailUsed) objOutlookRecip.Type = olBCC End If DoEvents ' give user time to cancel rst.MoveNext Loop ' add myself in as a BCC to see what it looks like. should not see anybody else's BCC address Set objOutlookRecip = .Recipients.Add("me at myemailaddress.org") objOutlookRecip.Type = olBCC ' Should we display the message before sending? If bDisplayMsg Then .Display Else .Save .Send End If End With Call fStartClickYes(False) End If exithere: 'MsgBox "Done" Set objOutlook = Nothing: Set dbs = Nothing: Set rst = Nothing Exit Function End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, April 27, 2007 2:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Max: Then where would I reference outlook.application in the code? Or is the Dim all that's necessary? Wouldn't I need a Set statement as well and then a reference to it in the doe? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gmail Sent: Friday, April 27, 2007 6:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC You could try:- Dim objMe As Outlook.Recipient instead of just Recipient. I always do things like Dim objOutlook as outlook.application, etc. Expressly state what the object is. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, April 27, 2007 2:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Dear List: The code below is not being run when I send an email. The message I send is being delivered but not the Bcc. I inserted a MsgBox at the head of the code just to see if it would show up and it didn't. Does anyone see why it's not running that code when an email is sent? I'm running OL 2003. MTIA, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 24, 2007 11:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Making progress. The project window wasn't displayed by default. But I found how to display it, double-clicked ThisOutlookSession, and pasted into the code window: Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) Dim objMe As Recipient Set objMe = Item.Recipients.Add("bchacc at san.rr.com") objMe.Type = olBCC objMe.Resolve Set objMe = Nothing End Sub However, it's not sending a Bcc to bchacc at san.rr.com. Have I missed a step? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Tuesday, April 24, 2007 8:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC On the left, you should have a project window, a tree representation of your Outlook VBA project. Top item should be Project1, with Microsoft Outlook as a child, in turn ThisOutlookSession will be a child of that. Double click that to bring up it's code page. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 24, 2007 9:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC " go into the code window," using Alt-F11? "there is a 'ThisOutlookSession' object." I don't see that. The left combo box has only (General) in it. Where would I look for it? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 4:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC When you go into the code window, there is a 'ThisOutlookSession' object. Click that, and you should get a blank code page. Click the left drop down box in the code page and select Application. The right drop down will then have the ItemSend event. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 6:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Marty: You know I found that site. And the code makes sense. But I've never put any code behind Outlook. Don't know how to get that code attached to the Item_Send event (if there is such a thing). Any hints on how to? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 23, 2007 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC This site says you have to do through VBA code. or use third party add-in http://www.howto-outlook.com/faq/createbccrule.htm To automatically Bcc all outgoing messages. http://www.outlookcode.com/d/code/autobcc.htm Rocky Smolin at Beach Access Software wrote: >Yes, but she has to insert her AA's email address manually on every >email that goes to a client that she wants to copy the AA on. So she >was looking for a way to have the AA's email automatically entered in >the Bcc line on every email. > >Rocky > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Monday, April 23, 2007 10:54 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT: Default BCC > >Sorry if this is too simplistic, but she does have the View BCC option >ticked doesn't she? > >-- Andy Lacey >http://www.minstersystems.co.uk > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>Smolin at Beach Access Software >>Sent: 23 April 2007 17:51 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>Almost there. The user who asked me for this wants to Bcc. >>The rule wizard >>seems to only allow CC. It's a law office and this person >>wants to Bcc her >>admin assistant. Is there a way to do Bcc? >> >>Rocky >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 9:39 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Okay, step by step using Outlook 2003. >> >>Click Tools --> Rules and Alerts >> >>Click New Rule >> >>Select 'Start from a blank rule' (not default selection) >> >>Under Step1, select Check messages after sending, click next. >> >>Click next again (you will be prompted again, click Yes) >> >>(Side note, this rule now applies to ALL email you send. The last >>Next and Yes skipped past conditions you may want to choose) >> >>Select 'CC the message to people or distribution list'. >> >>In the step 2 window, click the underlines 'people or distribution >>list' to select the address you want the copy sent too. >> >>Click Next, then Next again (this one skips the exceptions that you >>can apply to your rule) >> >>Click Finish >> >>All done! >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Monday, April 23, 2007 11:02 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>That WOULD be easy. But I don't see a rule that governs outgoing >>addresses. Only sorting incoming mail. Am I missing it somewhere? >> >>Rocky >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 8:11 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Probably easier to use a rule. (There's a rule wizard to help out). >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Sunday, April 22, 2007 2:45 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] OT: Default BCC >> >> >> >> >>Dear List: >> >>Is there a way to default an email address into the BCC field in >>Outlook when you create a new message? >> >>TIA >> >>Rocky >> >> -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007 5:26 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007 5:26 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.6.1/777 - Release Date: 4/26/2007 3:23 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Fri Apr 27 09:53:15 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 27 Apr 2007 18:53:15 +0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <00f101c788d8$946eeec0$657aa8c0@m6805> Message-ID: <000101c788db$c951dff0$6401a8c0@nant> <<< As for reporting, that is a show stopper, especially when you come from Access which is one of the better report generators out there. >>> John, VS2005 Professional has Crystal Reports - when one gets on speed with CR they can make very advanced reports with it - the reports, which can't be done with MS Access. IOW every report, which can be done in MS Access can be done in CR. But the opposite is not true. CR is (much) more powerful than MS Access Report Generator... Well, embedded in VS2005 CR IDE is limited comparing to professional version of CR, still it (VS2005 CR) is good enough to design reports but after MS Access report designer one usually feels that limited CR IDE as RPITA (There is no any functionality of CR engine limited - just IDE). And reports created with CR within VS2005 professional can be distributed with royalty free CR engine, which can be downloaded from Internet... What is also good with CR is that reports created for desktop applications can be relatively easy moved to use from Web Server (CR Server (not free) is needed for that) - there will be no need to do any redesign of these reports and CR Server is "smart" enough and handles large reports in small chunks, which can be quickly downloaded on client computer... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, April 27, 2007 6:30 PM To: 'Access Developers discussion and problem solving' Cc: dba-vb at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Gustav, I am at the same place. I own a copy of VS2005 and SQL Server 2005 (got it at the coming out party) so I can go there if I wish. I have it installed and have played with it quite a bit over the last two years or so. I am actually considering working in the VB.Net express until I come up to speed on that, then make the move to VS2005. The express stuff is free and provides all the functionality that I can understand for the moment anyway. Once I get that down, then I will be ready to learn the stuff that the express versions do not provide. As for reporting, that is a show stopper, especially when you come from Access which is one of the better report generators out there. I am actually considering simply using automation to continue using Access as a report generator for the moment. Again, once I come up to speed on the .Net stuff, then I can re-examine my options. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 27, 2007 10:10 AM To: accessd at databaseadvisors.com Subject: [AccessD] Dot Net, where to start? Hi all It seems to be the time for me to get into the Dot Net stuff. But where to start? The only books on Access I've ever had are the original references and handbooks for Access 1 and 2 and the Application Development book for Access 97 so I'm reluctant to buy books - I just don't have the patience ... In the Action Pack - which we subscribe to - I've noticed two discs for VS 2005 Express, "Corbis Image Disc" and "Getting Started". Are these tutorials worth the effort to study? I browsed our vb list archive, which I don't subsribe to, and traffic seems to be low, so where to discuss Dot Net matters at the same level as we discuss Access here? One thing I think I've understood is that report design in VS is poor and third party tools or Report Design Service of SQL Server 2005 are to be preferred if you need reports on a level that match that of Access. Of course, my main interest is anything related to databases - pure web development is second, and game development won't come into play. Any advice will be greatly appreciated. /gustav -- 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 fuller.artful at gmail.com Fri Apr 27 09:55:48 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 27 Apr 2007 10:55:48 -0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <00f101c788d8$946eeec0$657aa8c0@m6805> References: <00f101c788d8$946eeec0$657aa8c0@m6805> Message-ID: <29f585dd0704270755o1deb4eb6t71769f3a175f0efa@mail.gmail.com> Are you kidding? The report stuff in VS 2005 is killer technology! It blows Access and Crystal and various other contenders out of the water. IMO it is the definitive reporting technology extant. A. On 4/27/07, JWColby wrote: > > Gustav, > > I am at the same place. I own a copy of VS2005 and SQL Server 2005 (got > it > at the coming out party) so I can go there if I wish. I have it installed > and have played with it quite a bit over the last two years or so. > > I am actually considering working in the VB.Net express until I come up to > speed on that, then make the move to VS2005. The express stuff is free > and > provides all the functionality that I can understand for the moment > anyway. > Once I get that down, then I will be ready to learn the stuff that the > express versions do not provide. > > As for reporting, that is a show stopper, especially when you come from > Access which is one of the better report generators out there. I am > actually considering simply using automation to continue using Access as a > report generator for the moment. Again, once I come up to speed on the > .Net > stuff, then I can re-examine my options. > > From cfoust at infostatsystems.com Fri Apr 27 10:00:51 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 27 Apr 2007 08:00:51 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: References: Message-ID: Gustav, If someone else is paying for it, the AppDev CBT on .Net is an excellent starting point. We used them in my office to bring the VBA duffers (like me) up to speed in .Net. It doesn't teach you all you need to know, but it gets you firmly grounded in the basics. After that, it depends on your direction. Web is different from Windows is distinct from database apps, etc. The 3rd party report generators are all built on extensions to the .Net report generator, so it can't be that bad, but we use DataDynamics ActiveReports because it is fairly similar to the Access report generator and includes a conversion wizard, which is handy as a starting place when porting the reports over. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 27, 2007 7:10 AM To: accessd at databaseadvisors.com Subject: [AccessD] Dot Net, where to start? Hi all It seems to be the time for me to get into the Dot Net stuff. But where to start? The only books on Access I've ever had are the original references and handbooks for Access 1 and 2 and the Application Development book for Access 97 so I'm reluctant to buy books - I just don't have the patience ... In the Action Pack - which we subscribe to - I've noticed two discs for VS 2005 Express, "Corbis Image Disc" and "Getting Started". Are these tutorials worth the effort to study? I browsed our vb list archive, which I don't subsribe to, and traffic seems to be low, so where to discuss Dot Net matters at the same level as we discuss Access here? One thing I think I've understood is that report design in VS is poor and third party tools or Report Design Service of SQL Server 2005 are to be preferred if you need reports on a level that match that of Access. Of course, my main interest is anything related to databases - pure web development is second, and game development won't come into play. Any advice will be greatly appreciated. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Apr 27 10:05:07 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 27 Apr 2007 11:05:07 -0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <000101c788db$c951dff0$6401a8c0@nant> References: <00f101c788d8$946eeec0$657aa8c0@m6805> <000101c788db$c951dff0$6401a8c0@nant> Message-ID: <00f601c788dd$71c05ad0$657aa8c0@m6805> Shamil, Unfortunately what I have now is the standard version. Until such time as I am actually doing paying work in the package I will not be buying the professional version. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, April 27, 2007 10:53 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? <<< As for reporting, that is a show stopper, especially when you come from Access which is one of the better report generators out there. >>> John, VS2005 Professional has Crystal Reports - when one gets on speed with CR they can make very advanced reports with it - the reports, which can't be done with MS Access. IOW every report, which can be done in MS Access can be done in CR. But the opposite is not true. CR is (much) more powerful than MS Access Report Generator... Well, embedded in VS2005 CR IDE is limited comparing to professional version of CR, still it (VS2005 CR) is good enough to design reports but after MS Access report designer one usually feels that limited CR IDE as RPITA (There is no any functionality of CR engine limited - just IDE). And reports created with CR within VS2005 professional can be distributed with royalty free CR engine, which can be downloaded from Internet... What is also good with CR is that reports created for desktop applications can be relatively easy moved to use from Web Server (CR Server (not free) is needed for that) - there will be no need to do any redesign of these reports and CR Server is "smart" enough and handles large reports in small chunks, which can be quickly downloaded on client computer... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, April 27, 2007 6:30 PM To: 'Access Developers discussion and problem solving' Cc: dba-vb at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Gustav, I am at the same place. I own a copy of VS2005 and SQL Server 2005 (got it at the coming out party) so I can go there if I wish. I have it installed and have played with it quite a bit over the last two years or so. I am actually considering working in the VB.Net express until I come up to speed on that, then make the move to VS2005. The express stuff is free and provides all the functionality that I can understand for the moment anyway. Once I get that down, then I will be ready to learn the stuff that the express versions do not provide. As for reporting, that is a show stopper, especially when you come from Access which is one of the better report generators out there. I am actually considering simply using automation to continue using Access as a report generator for the moment. Again, once I come up to speed on the .Net stuff, then I can re-examine my options. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 27, 2007 10:10 AM To: accessd at databaseadvisors.com Subject: [AccessD] Dot Net, where to start? Hi all It seems to be the time for me to get into the Dot Net stuff. But where to start? The only books on Access I've ever had are the original references and handbooks for Access 1 and 2 and the Application Development book for Access 97 so I'm reluctant to buy books - I just don't have the patience ... In the Action Pack - which we subscribe to - I've noticed two discs for VS 2005 Express, "Corbis Image Disc" and "Getting Started". Are these tutorials worth the effort to study? I browsed our vb list archive, which I don't subsribe to, and traffic seems to be low, so where to discuss Dot Net matters at the same level as we discuss Access here? One thing I think I've understood is that report design in VS is poor and third party tools or Report Design Service of SQL Server 2005 are to be preferred if you need reports on a level that match that of Access. Of course, my main interest is anything related to databases - pure web development is second, and game development won't come into play. Any advice will be greatly appreciated. /gustav -- 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 From cfoust at infostatsystems.com Fri Apr 27 10:10:44 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 27 Apr 2007 08:10:44 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <29f585dd0704270728n57536681x88d0bf1bc88180b3@mail.gmail.com> References: <29f585dd0704270728n57536681x88d0bf1bc88180b3@mail.gmail.com> Message-ID: But courses like that don't focus on Gustav's main issue, databases. Rick Dobson has a couple of books out that can be helpful in that area: "Programming SQL Server 2000 with Visual Vasic .Net" and "Programming Microsoft Visual Basic .Net for Microsoft Access Databases". The big thing to get your head around is n-tier programming, which we didn't do in Access. The books tend to go straight to dataadapters and so forth and don't generally discuss the structure of a data tier. We created a data tier that is a code representation of the underlying data structure. We can then code to that abstraction regardless of whether we have access to the actual data at the time. Very handy. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, April 27, 2007 7:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Go to GotDotNet and download all the samples. Do it relatively quickly since MS has decided to phase out this site. Also go to Visual Studio Magazine and CodePlex. There is a very good intro book called VB.NET JumpStart (google vbJumpStart and you should get to the downloadable code). I found this book so good that I am currently thinking that .NET is even easier than Access. Arthur On 4/27/07, Gustav Brock wrote: > > Hi all > > It seems to be the time for me to get into the Dot Net stuff. But > where to start? > The only books on Access I've ever had are the original references and > handbooks for Access 1 and 2 and the Application Development book for > Access > 97 so I'm reluctant to buy books - I just don't have the patience ... > > In the Action Pack - which we subscribe to - I've noticed two discs > for VS > 2005 Express, "Corbis Image Disc" and "Getting Started". Are these > tutorials worth the effort to study? > > I browsed our vb list archive, which I don't subsribe to, and traffic > seems to be low, so where to discuss Dot Net matters at the same level > as we discuss Access here? > > One thing I think I've understood is that report design in VS is poor > and third party tools or Report Design Service of SQL Server 2005 are > to be preferred if you need reports on a level that match that of Access. > > Of course, my main interest is anything related to databases - pure > web development is second, and game development won't come into play. > Any advice will be greatly appreciated. > > /gustav > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Fri Apr 27 10:19:34 2007 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 27 Apr 2007 16:19:34 +0100 Subject: [AccessD] Dot Net, where to start? References: <29f585dd0704270728n57536681x88d0bf1bc88180b3@mail.gmail.com> Message-ID: www.asp.net www.4guysfromrolla.com Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974465 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Charlotte Foust Sent: Fri 27/04/2007 16:10 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? But courses like that don't focus on Gustav's main issue, databases. Rick Dobson has a couple of books out that can be helpful in that area: "Programming SQL Server 2000 with Visual Vasic .Net" and "Programming Microsoft Visual Basic .Net for Microsoft Access Databases". The big thing to get your head around is n-tier programming, which we didn't do in Access. The books tend to go straight to dataadapters and so forth and don't generally discuss the structure of a data tier. We created a data tier that is a code representation of the underlying data structure. We can then code to that abstraction regardless of whether we have access to the actual data at the time. Very handy. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, April 27, 2007 7:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Go to GotDotNet and download all the samples. Do it relatively quickly since MS has decided to phase out this site. Also go to Visual Studio Magazine and CodePlex. There is a very good intro book called VB.NET JumpStart (google vbJumpStart and you should get to the downloadable code). I found this book so good that I am currently thinking that .NET is even easier than Access. Arthur On 4/27/07, Gustav Brock wrote: > > Hi all > > It seems to be the time for me to get into the Dot Net stuff. But > where to start? > The only books on Access I've ever had are the original references and > handbooks for Access 1 and 2 and the Application Development book for > Access > 97 so I'm reluctant to buy books - I just don't have the patience ... > > In the Action Pack - which we subscribe to - I've noticed two discs > for VS > 2005 Express, "Corbis Image Disc" and "Getting Started". Are these > tutorials worth the effort to study? > > I browsed our vb list archive, which I don't subsribe to, and traffic > seems to be low, so where to discuss Dot Net matters at the same level > as we discuss Access here? > > One thing I think I've understood is that report design in VS is poor > and third party tools or Report Design Service of SQL Server 2005 are > to be preferred if you need reports on a level that match that of Access. > > Of course, my main interest is anything related to databases - pure > web development is second, and game development won't come into play. > Any advice will be greatly appreciated. > > /gustav > -- 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 rockysmolin at bchacc.com Fri Apr 27 10:39:40 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 27 Apr 2007 08:39:40 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: <000b01c788db$49aeb430$5101a8c0@LT> Message-ID: <003f01c788e2$45915f90$0501a8c0@HAL9005> Max: That would work EXCEPT. The problem is not part of an Access app. I've got some code like that and it works real good. But she wants to create, reply and/or forward emails in Outlook and have the Bcc automagically add when creating, forwarding, or replying. And she wants to see it before the mail is sent so she can delete the Bcc is it's not appropriate. Right now she's adding her assistant's email as a Bcc to about 80% of the messages she sends. TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gmail Sent: Friday, April 27, 2007 7:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Hi Rocky Try messing around with this. I think I have used this function before. No error handling in example Max Public Function pfSendEmail() Dim dbs As DAO.Database, rst As DAO.Recordset Dim strSubject As String Dim strText As String, bDisplayMsg As Boolean Set dbs = CurrentDb Set rst = dbs.OpenRecordset("QE_ActiveEmails") If rst.EOF Then GoTo exithere Else bDisplayMsg = False 'True Dim objOutlook As Outlook.Application Dim objOutlookMsg As Outlook.MailItem Dim objOutlookRecip As Outlook.Recipient Dim objOutlookAttach As Outlook.Attachment ' Create the Outlook session. Set objOutlook = CreateObject("Outlook.Application") ' Create the message. strSubject = "Newsletter" strText = "Dear Supporter," & vbCrLf & _ "Please note that the latest version of our Newsletters is now available on our main website at ....etc, etc" Call fStartClickYes(True) Set objOutlookMsg = objOutlook.CreateItem(olMailItem) 'Always send to MGX (dummy which is valid) ,and BC to recipient to prevent users seeing each others mail ' Add the To recipient(s) to the message. With objOutlookMsg Set objOutlookRecip = .Recipients.Add("mgx at abcdef.org") objOutlookRecip.Type = olTo ' Set the Subject, Body, and Importance of the message. .Subject = strSubject .Body = strText & vbCrLf & vbCrLf '.Importance = olImportanceHigh 'High importance ' Add attachments to the message. 'If Not IsMissing(AttachmentPath) Then ' Set objOutlookAttach = .Attachments.Add(AttachmentPath) 'End If ' Resolve each Recipient's name. 'For Each objOutlookRecip In .Recipients ' objOutlookRecip.Resolve 'Next rst.MoveFirst Do While Not rst.EOF If Len(rst!EmailUsed) > 0 and InStr(rst!EmailUsed, "@") > 0 Then ' Add the CC recipient(s) to the message. 'Set objOutlookRecip = .Recipients.Add("Name of person") 'objOutlookRecip.Type = olCC ' Add the BCC recipient(s) to the message. Set objOutlookRecip = .Recipients.Add(rst!EmailUsed) objOutlookRecip.Type = olBCC End If DoEvents ' give user time to cancel rst.MoveNext Loop ' add myself in as a BCC to see what it looks like. should not see anybody else's BCC address Set objOutlookRecip = .Recipients.Add("me at myemailaddress.org") objOutlookRecip.Type = olBCC ' Should we display the message before sending? If bDisplayMsg Then .Display Else .Save .Send End If End With Call fStartClickYes(False) End If exithere: 'MsgBox "Done" Set objOutlook = Nothing: Set dbs = Nothing: Set rst = Nothing Exit Function End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, April 27, 2007 2:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Max: Then where would I reference outlook.application in the code? Or is the Dim all that's necessary? Wouldn't I need a Set statement as well and then a reference to it in the doe? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gmail Sent: Friday, April 27, 2007 6:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC You could try:- Dim objMe As Outlook.Recipient instead of just Recipient. I always do things like Dim objOutlook as outlook.application, etc. Expressly state what the object is. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, April 27, 2007 2:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Dear List: The code below is not being run when I send an email. The message I send is being delivered but not the Bcc. I inserted a MsgBox at the head of the code just to see if it would show up and it didn't. Does anyone see why it's not running that code when an email is sent? I'm running OL 2003. MTIA, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 24, 2007 11:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Making progress. The project window wasn't displayed by default. But I found how to display it, double-clicked ThisOutlookSession, and pasted into the code window: Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) Dim objMe As Recipient Set objMe = Item.Recipients.Add("bchacc at san.rr.com") objMe.Type = olBCC objMe.Resolve Set objMe = Nothing End Sub However, it's not sending a Bcc to bchacc at san.rr.com. Have I missed a step? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Tuesday, April 24, 2007 8:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC On the left, you should have a project window, a tree representation of your Outlook VBA project. Top item should be Project1, with Microsoft Outlook as a child, in turn ThisOutlookSession will be a child of that. Double click that to bring up it's code page. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 24, 2007 9:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC " go into the code window," using Alt-F11? "there is a 'ThisOutlookSession' object." I don't see that. The left combo box has only (General) in it. Where would I look for it? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 4:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC When you go into the code window, there is a 'ThisOutlookSession' object. Click that, and you should get a blank code page. Click the left drop down box in the code page and select Application. The right drop down will then have the ItemSend event. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 6:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Marty: You know I found that site. And the code makes sense. But I've never put any code behind Outlook. Don't know how to get that code attached to the Item_Send event (if there is such a thing). Any hints on how to? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 23, 2007 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC This site says you have to do through VBA code. or use third party add-in http://www.howto-outlook.com/faq/createbccrule.htm To automatically Bcc all outgoing messages. http://www.outlookcode.com/d/code/autobcc.htm Rocky Smolin at Beach Access Software wrote: >Yes, but she has to insert her AA's email address manually on every >email that goes to a client that she wants to copy the AA on. So she >was looking for a way to have the AA's email automatically entered in >the Bcc line on every email. > >Rocky > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Monday, April 23, 2007 10:54 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT: Default BCC > >Sorry if this is too simplistic, but she does have the View BCC option >ticked doesn't she? > >-- Andy Lacey >http://www.minstersystems.co.uk > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>Smolin at Beach Access Software >>Sent: 23 April 2007 17:51 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>Almost there. The user who asked me for this wants to Bcc. >>The rule wizard >>seems to only allow CC. It's a law office and this person >>wants to Bcc her >>admin assistant. Is there a way to do Bcc? >> >>Rocky >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 9:39 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Okay, step by step using Outlook 2003. >> >>Click Tools --> Rules and Alerts >> >>Click New Rule >> >>Select 'Start from a blank rule' (not default selection) >> >>Under Step1, select Check messages after sending, click next. >> >>Click next again (you will be prompted again, click Yes) >> >>(Side note, this rule now applies to ALL email you send. The last >>Next and Yes skipped past conditions you may want to choose) >> >>Select 'CC the message to people or distribution list'. >> >>In the step 2 window, click the underlines 'people or distribution >>list' to select the address you want the copy sent too. >> >>Click Next, then Next again (this one skips the exceptions that you >>can apply to your rule) >> >>Click Finish >> >>All done! >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Monday, April 23, 2007 11:02 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>That WOULD be easy. But I don't see a rule that governs outgoing >>addresses. Only sorting incoming mail. Am I missing it somewhere? >> >>Rocky >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 8:11 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Probably easier to use a rule. (There's a rule wizard to help out). >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Sunday, April 22, 2007 2:45 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] OT: Default BCC >> >> >> >> >>Dear List: >> >>Is there a way to default an email address into the BCC field in >>Outlook when you create a new message? >> >>TIA >> >>Rocky >> >> -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007 5:26 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007 5:26 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.6.1/777 - Release Date: 4/26/2007 3:23 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.6.1/777 - Release Date: 4/26/2007 3:23 PM From Gustav at cactus.dk Fri Apr 27 10:39:30 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 27 Apr 2007 17:39:30 +0200 Subject: [AccessD] Dot Net, where to start? Message-ID: Hi Arthur All samples? It lists 470 on Visual Studio alone! Found the JumpStart code download and the book: http://examples.oreilly.com/vbjumpstart/ http://www.oreilly.com/catalog/vbjumpstart/ Thanks! /gustav >>> fuller.artful at gmail.com 27-04-2007 16:28 >>> Go to GotDotNet and download all the samples. Do it relatively quickly since MS has decided to phase out this site. Also go to Visual Studio Magazine and CodePlex. There is a very good intro book called VB.NET JumpStart (google vbJumpStart and you should get to the downloadable code). I found this book so good that I am currently thinking that .NET is even easier than Access. Arthur From Gustav at cactus.dk Fri Apr 27 10:46:47 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 27 Apr 2007 17:46:47 +0200 Subject: [AccessD] Dot Net, where to start? Message-ID: Hi Eric Thanks, very useful. Are you joining a list like this, or do you manage on your own? /gustav >>> ebarro at verizon.net 27-04-2007 16:43 >>> Gustav, The book that helped me transition my Access/VB skills to the .NET world was ASP.NET Tips, Tutorials, AND CODE (emphasis mine) http://www.amazon.com/ASP-NET-Tips-Tutorials-Scott-Mitchell/dp/0672321432/re f=sr_1_1/103-9789491-9429402?ie=UTF8&s=books&qid=1177683655&sr=8-1 1. The biggest advantage I found in this book over those that I looked into before buying this 2 yrs ago were the code snippets that clearly explained and helped me transition my VB knowledge into VB.NET. The main code samples that benefited me were on datasets, datagrids, arraylists and hashtables because I was looking for a quick way to understand how .NET handled the data access layer. I was already proficient in ADO and the examples that included ADO.NET were very helpful. 2. Majority of the code in the first few chapters were devoted to VB.NET. This was a big plus since I didn't need to or want to jump to .NET from my VBA/VB background. The writers of course have samples in C# and it doesn't take long to quickly transition to the C# version once you are comfortable in VB.NET. 3. I bought this book precisely for the good code samples. I don't have the time or patience either to wade through 50 pages of explanation when a few lines of code smattered with comments would suffice. The application development environment that helped me transition from VB to VB.NET was Web Matrix. This was the pre-cursor to Visual Studio. Best of all was that it was free. It worked great for coding but was very poor for page layout so I had to use Dreamweaver for that purpose. Today I develop web-based applications that interface with SQL Server 2000/2005 using C# as the programming language with VS.NET 2003 as the development environment. Since I am quite proficient in HTML and javascript (same syntax as C#), I no longer switch to Dreamweaver for page layout. Instead I switch to HTML view and modify HTML and javascript code manually. I have not transitioned from .NET ver 1.1 to 2.0. One of these days I will probably skip 2.0 and move to 3.0. For reporting I create custom reports using the regular .NET application development route. I have also used Crystal Reports (which closely resembles the Access band-type report generator) with SQL stored procedures. I've stayed away from SQL Reporting Services because the version prior to 2005 is limited in functionality although I've had to modify SQL Reporting Services 2000 code in VS.NET and also transitioned some of these reports to Crystal Reports. As far as I'm concerned the major advantages of these two reporting engines is the ease with which you can export the report data to any number of formats (Excel, PDF, Word, ASCII, etc...) without any coding other than knowing how to call those functions or utilize those classes to output the report. Today I have built my own data access layer, security layer and common/utility libraries which I use for every project I develop in C#. I have also built a couple of my own web controls that encapsulate functionality such as CRUD operations to speed up the development cycle. And I do agree...even if VB.NET and C# produce the same DLL, you can definitely charge more money and have more respect as a C# developer compared to a VB.NET developer. It's that same "Access is just a toy" mentality. Eric From Gustav at cactus.dk Fri Apr 27 10:53:13 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 27 Apr 2007 17:53:13 +0200 Subject: [AccessD] Dot Net, where to start? Message-ID: Hi Arthur, Shamil, Charlotte and John Now I'm slightly confused. I would prefer to believe in Arthur's words as I like John don't have the VS 2005 Pro version, but I have to listen to Shamil and Charlotte in this matter. For most of the projects I may encounter, reporting will be an important part. Or are we talking about reporting "power" in different directions? /gustav >>> fuller.artful at gmail.com 27-04-2007 16:55 >>> Are you kidding? The report stuff in VS 2005 is killer technology! It blows Access and Crystal and various other contenders out of the water. IMO it is the definitive reporting technology extant. A. On 4/27/07, JWColby wrote: > > Gustav, > > I am at the same place. I own a copy of VS2005 and SQL Server 2005 (got it > at the coming out party) so I can go there if I wish. I have it installed > and have played with it quite a bit over the last two years or so. > > I am actually considering working in the VB.Net express until I come up to > speed on that, then make the move to VS2005. The express stuff is free and > provides all the functionality that I can understand for the moment anyway. > Once I get that down, then I will be ready to learn the stuff that the > express versions do not provide. > > As for reporting, that is a show stopper, especially when you come from > Access which is one of the better report generators out there. I am > actually considering simply using automation to continue using Access as a > report generator for the moment. Again, once I come up to speed on the .Net > stuff, then I can re-examine my options. From Gustav at cactus.dk Fri Apr 27 10:58:40 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 27 Apr 2007 17:58:40 +0200 Subject: [AccessD] Dot Net, where to start? Message-ID: Hi Charlotte That is so true; database handling is a key point. Also, I've seen so much poor code from web programmers that just know how to connect to a database and think that's it. That book, does it explain in depth of n-tier which I feel is very important and powerful? And is your data tier built on that code or did you create it from scratch? /gustav >>> cfoust at infostatsystems.com 27-04-2007 17:10 >>> But courses like that don't focus on Gustav's main issue, databases. Rick Dobson has a couple of books out that can be helpful in that area: "Programming SQL Server 2000 with Visual Vasic .Net" and "Programming Microsoft Visual Basic .Net for Microsoft Access Databases". The big thing to get your head around is n-tier programming, which we didn't do in Access. The books tend to go straight to dataadapters and so forth and don't generally discuss the structure of a data tier. We created a data tier that is a code representation of the underlying data structure. We can then code to that abstraction regardless of whether we have access to the actual data at the time. Very handy. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, April 27, 2007 7:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Go to GotDotNet and download all the samples. Do it relatively quickly since MS has decided to phase out this site. Also go to Visual Studio Magazine and CodePlex. There is a very good intro book called VB.NET JumpStart (google vbJumpStart and you should get to the downloadable code). I found this book so good that I am currently thinking that .NET is even easier than Access. Arthur From Gustav at cactus.dk Fri Apr 27 11:04:52 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 27 Apr 2007 18:04:52 +0200 Subject: [AccessD] Dot Net, where to start? Message-ID: Hi Martin Thanks. I do remember this sites now. I can see they can keep you busy for a weekend or two! A feature series of articles on databases is up right now: http://aspnet.4guysfromrolla.com/articles/041107-1.aspx /gustav >>> mwp.reid at qub.ac.uk 27-04-2007 17:19 >>> www.asp.net www.4guysfromrolla.com Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974465 From ebarro at verizon.net Fri Apr 27 11:12:23 2007 From: ebarro at verizon.net (Eric Barro) Date: Fri, 27 Apr 2007 09:12:23 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: Message-ID: <0JH500BOSZOMWCO3@vms044.mailsrvcs.net> Gustav, No, I haven't joined any .NET specific list. I find most of the snippets of code I need by googling them. AccessD is really the only list that offers any value since the discussions aren't limited to pure code. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 27, 2007 8:47 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Eric Thanks, very useful. Are you joining a list like this, or do you manage on your own? /gustav >>> ebarro at verizon.net 27-04-2007 16:43 >>> Gustav, The book that helped me transition my Access/VB skills to the .NET world was ASP.NET Tips, Tutorials, AND CODE (emphasis mine) http://www.amazon.com/ASP-NET-Tips-Tutorials-Scott-Mitchell/dp/0672321432/re f=sr_1_1/103-9789491-9429402?ie=UTF8&s=books&qid=1177683655&sr=8-1 1. The biggest advantage I found in this book over those that I looked into before buying this 2 yrs ago were the code snippets that clearly explained and helped me transition my VB knowledge into VB.NET. The main code samples that benefited me were on datasets, datagrids, arraylists and hashtables because I was looking for a quick way to understand how .NET handled the data access layer. I was already proficient in ADO and the examples that included ADO.NET were very helpful. 2. Majority of the code in the first few chapters were devoted to VB.NET. This was a big plus since I didn't need to or want to jump to .NET from my VBA/VB background. The writers of course have samples in C# and it doesn't take long to quickly transition to the C# version once you are comfortable in VB.NET. 3. I bought this book precisely for the good code samples. I don't have the time or patience either to wade through 50 pages of explanation when a few lines of code smattered with comments would suffice. The application development environment that helped me transition from VB to VB.NET was Web Matrix. This was the pre-cursor to Visual Studio. Best of all was that it was free. It worked great for coding but was very poor for page layout so I had to use Dreamweaver for that purpose. Today I develop web-based applications that interface with SQL Server 2000/2005 using C# as the programming language with VS.NET 2003 as the development environment. Since I am quite proficient in HTML and javascript (same syntax as C#), I no longer switch to Dreamweaver for page layout. Instead I switch to HTML view and modify HTML and javascript code manually. I have not transitioned from .NET ver 1.1 to 2.0. One of these days I will probably skip 2.0 and move to 3.0. For reporting I create custom reports using the regular .NET application development route. I have also used Crystal Reports (which closely resembles the Access band-type report generator) with SQL stored procedures. I've stayed away from SQL Reporting Services because the version prior to 2005 is limited in functionality although I've had to modify SQL Reporting Services 2000 code in VS.NET and also transitioned some of these reports to Crystal Reports. As far as I'm concerned the major advantages of these two reporting engines is the ease with which you can export the report data to any number of formats (Excel, PDF, Word, ASCII, etc...) without any coding other than knowing how to call those functions or utilize those classes to output the report. Today I have built my own data access layer, security layer and common/utility libraries which I use for every project I develop in C#. I have also built a couple of my own web controls that encapsulate functionality such as CRUD operations to speed up the development cycle. And I do agree...even if VB.NET and C# produce the same DLL, you can definitely charge more money and have more respect as a C# developer compared to a VB.NET developer. It's that same "Access is just a toy" mentality. Eric From shamil at users.mns.ru Fri Apr 27 11:15:52 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 27 Apr 2007 20:15:52 +0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: Message-ID: <000601c788e7$53bc70f0$6401a8c0@nant> Hi Gustav, AFAIU Arthur means MS SQL 2000 or 2005 Reporting Services - correct Arthur? The VS2005 IDE designer for report running via these services seems to be available in VS2005 Standard Edition: http://msdn2.microsoft.com/ru-ru/vstudio/aa700921.aspx I'd think Crystal Reports is more powerful (more feature rich I mean) than MS SQL Reporting Services but I must say I just played a little bit with MS SQL 2000 Reporting Services and I have never used this technology in real life development and therefore I can be wrong in what I'm telling here about it (Arthur please correct me) unlike CR, which I used in real life projects and yes, it was RPITA to get on speed with it after MS Access but as I noted already I think CR is more powerful and flexible report designer/engine than MS Access... Of course it all depends on task to be developed - in some cases MS Acecss reporting is all you need. But if you aim at many deployment scenarios of your reporting solutions then CR is one of the best. I have heard (and Charlotte approves that here) that Active Reports is also very good (I did "touch" it one time in the past - and it looked more easy to start with it than with CR but my customer was "CR-infected" therefore I was forced to work with CR)... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 27, 2007 7:53 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Arthur, Shamil, Charlotte and John Now I'm slightly confused. I would prefer to believe in Arthur's words as I like John don't have the VS 2005 Pro version, but I have to listen to Shamil and Charlotte in this matter. For most of the projects I may encounter, reporting will be an important part. Or are we talking about reporting "power" in different directions? /gustav >>> fuller.artful at gmail.com 27-04-2007 16:55 >>> Are you kidding? The report stuff in VS 2005 is killer technology! It blows Access and Crystal and various other contenders out of the water. IMO it is the definitive reporting technology extant. A. On 4/27/07, JWColby wrote: > > Gustav, > > I am at the same place. I own a copy of VS2005 and SQL Server 2005 (got it > at the coming out party) so I can go there if I wish. I have it installed > and have played with it quite a bit over the last two years or so. > > I am actually considering working in the VB.Net express until I come up to > speed on that, then make the move to VS2005. The express stuff is free and > provides all the functionality that I can understand for the moment anyway. > Once I get that down, then I will be ready to learn the stuff that the > express versions do not provide. > > As for reporting, that is a show stopper, especially when you come from > Access which is one of the better report generators out there. I am > actually considering simply using automation to continue using Access as a > report generator for the moment. Again, once I come up to speed on the .Net > stuff, then I can re-examine my options. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Apr 27 11:18:48 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 27 Apr 2007 09:18:48 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: References: Message-ID: The chapters on ADO.Net give a good overview of datasets, data providers and the actual relational objects (tables, views, etc.), and it also compares ADO.Net and ADO as well. But I haven't seen any books describing the data tier structures in the way we built them. Most of the books start with directly binding a form to a data adapter, and we work the other way around. We build data "entities" that implement typed datasets and expose the behaviors and methods we need. We can then drop one of those entities on a form or report to provide the data connections we need. The working code is actually in a dataprovider class with the entity containing calls to the dataprovider and even to other entities if need be. Our model has evolved as we developed the apps and figured out what worked, and we have "refactored" (a much overused work in our shop) the bits and pieces many times over the course of the past two years. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 27, 2007 8:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Charlotte That is so true; database handling is a key point. Also, I've seen so much poor code from web programmers that just know how to connect to a database and think that's it. That book, does it explain in depth of n-tier which I feel is very important and powerful? And is your data tier built on that code or did you create it from scratch? /gustav >>> cfoust at infostatsystems.com 27-04-2007 17:10 >>> But courses like that don't focus on Gustav's main issue, databases. Rick Dobson has a couple of books out that can be helpful in that area: "Programming SQL Server 2000 with Visual Vasic .Net" and "Programming Microsoft Visual Basic .Net for Microsoft Access Databases". The big thing to get your head around is n-tier programming, which we didn't do in Access. The books tend to go straight to dataadapters and so forth and don't generally discuss the structure of a data tier. We created a data tier that is a code representation of the underlying data structure. We can then code to that abstraction regardless of whether we have access to the actual data at the time. Very handy. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, April 27, 2007 7:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Go to GotDotNet and download all the samples. Do it relatively quickly since MS has decided to phase out this site. Also go to Visual Studio Magazine and CodePlex. There is a very good intro book called VB.NET JumpStart (google vbJumpStart and you should get to the downloadable code). I found this book so good that I am currently thinking that .NET is even easier than Access. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Apr 27 11:23:07 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 27 Apr 2007 12:23:07 -0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: References: Message-ID: <00ff01c788e8$57d84550$657aa8c0@m6805> I have no reason to doubt Arthur (or Shamil), it is simply that when it comes to actually doing something in .Net I am still so far under water that there is not even a glimmer of light. Once I can actually see the surface, then I will start looking at extraneous stuff like reporting. I have "played" with .Net, both VS2005 and VB.Net express. The IDE itself is so vast that just getting comfortable with that is a job in itself (which is why I recommend the Express for starters, it is more limited but similar). After you do that, becoming familiar with the framework and all of its classes is another major job. It is trivial to build a form and get a button to click. It is NOT TRIVIAL to (for example) understand how collections are used, what the various types of collections are and what they are used for and when to use them etc. I use collections EVERYWHERE in Access, but there is only one, and it only has only 4 methods. EVERYTHING is an object in .Net. Simple variables such as strings have methods for formatting, cutting, pattern recognition etc. All of the "string stuff" that are functions in VBA are methods of the string object in VB.Net. Classes can be static (don't need to be instantiated) or dynamic(?) have to be instantiated. Getting at data isn't just set "db = current db, set rst = db.open()". There are FOUR different objects and each of those objects have a ton of properties and methods. And that is kind of my point, it seems to put the cart before the horse to be worrying about reporting if you can't even use a collection correctly yet. There is a LOT to do to get comfortable here. Get a copy of VBA.Net Express and dig in. Once you can write code in it as easily as you can in VBA, then take a breath and worry about the other stuff. I have a very real problem that I simply have too much (ACCESS) work to do, I can't even look up during the day, and I now have two kids as well taking up my evenings. My time to "play around" in .Net has been pretty limited, and there is so much to know that it takes awhile to get familiar. But I am trying. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 27, 2007 11:53 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Arthur, Shamil, Charlotte and John Now I'm slightly confused. I would prefer to believe in Arthur's words as I like John don't have the VS 2005 Pro version, but I have to listen to Shamil and Charlotte in this matter. For most of the projects I may encounter, reporting will be an important part. Or are we talking about reporting "power" in different directions? /gustav From accessd at shaw.ca Fri Apr 27 11:29:05 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 27 Apr 2007 09:29:05 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: Message-ID: <0JH60012409R50D1@l-daemon> Hi All: Any great web resources, on .Net that anyone has please resend them to me, your friendly webmaster at webmaster at databaseadvisors.com and I will hopefully create the definitive list and then it can be posted, in a section on the DBA web site for all to reference. Regards Jim From cfoust at infostatsystems.com Fri Apr 27 11:29:21 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 27 Apr 2007 09:29:21 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <0JH60012409R50D1@l-daemon> References: <0JH60012409R50D1@l-daemon> Message-ID: Ooooh, you lovely man! That's one of the things I like best about this list, the scope of ideas and resources. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, April 27, 2007 9:29 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Dot Net, where to start? Hi All: Any great web resources, on .Net that anyone has please resend them to me, your friendly webmaster at webmaster at databaseadvisors.com and I will hopefully create the definitive list and then it can be posted, in a section on the DBA web site for all to reference. Regards Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Apr 27 11:34:50 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 27 Apr 2007 09:34:50 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <00ff01c788e8$57d84550$657aa8c0@m6805> References: <00ff01c788e8$57d84550$657aa8c0@m6805> Message-ID: You forgot to mention that there are umpteen ways to do a thing and NONE of them is always the right way! I haven't seen the need for collections in .Net that exists in Access/VBA. We do use them, but classes and structures fill most of the need. And by the way, classes can have methods available from a direct call to a class object as well as methods that can only be called through an instance ... In the same class. It's not all or nothing. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, April 27, 2007 9:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? I have no reason to doubt Arthur (or Shamil), it is simply that when it comes to actually doing something in .Net I am still so far under water that there is not even a glimmer of light. Once I can actually see the surface, then I will start looking at extraneous stuff like reporting. I have "played" with .Net, both VS2005 and VB.Net express. The IDE itself is so vast that just getting comfortable with that is a job in itself (which is why I recommend the Express for starters, it is more limited but similar). After you do that, becoming familiar with the framework and all of its classes is another major job. It is trivial to build a form and get a button to click. It is NOT TRIVIAL to (for example) understand how collections are used, what the various types of collections are and what they are used for and when to use them etc. I use collections EVERYWHERE in Access, but there is only one, and it only has only 4 methods. EVERYTHING is an object in .Net. Simple variables such as strings have methods for formatting, cutting, pattern recognition etc. All of the "string stuff" that are functions in VBA are methods of the string object in VB.Net. Classes can be static (don't need to be instantiated) or dynamic(?) have to be instantiated. Getting at data isn't just set "db = current db, set rst = db.open()". There are FOUR different objects and each of those objects have a ton of properties and methods. And that is kind of my point, it seems to put the cart before the horse to be worrying about reporting if you can't even use a collection correctly yet. There is a LOT to do to get comfortable here. Get a copy of VBA.Net Express and dig in. Once you can write code in it as easily as you can in VBA, then take a breath and worry about the other stuff. I have a very real problem that I simply have too much (ACCESS) work to do, I can't even look up during the day, and I now have two kids as well taking up my evenings. My time to "play around" in .Net has been pretty limited, and there is so much to know that it takes awhile to get familiar. But I am trying. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 27, 2007 11:53 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Arthur, Shamil, Charlotte and John Now I'm slightly confused. I would prefer to believe in Arthur's words as I like John don't have the VS 2005 Pro version, but I have to listen to Shamil and Charlotte in this matter. For most of the projects I may encounter, reporting will be an important part. Or are we talking about reporting "power" in different directions? /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Fri Apr 27 13:11:32 2007 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Fri, 27 Apr 2007 13:11:32 -0500 Subject: [AccessD] Dot Net, where to start? In-Reply-To: References: Message-ID: <200704271815.l3RIFCC1016699@databaseadvisors.com> All, There are excellent video tutorials available on the Microsoft site that you can download and go through at your own pace. Also, I would highly recommend getting a tool like Codesmith and using the .netTier template for it. This will essentially give you a database layer essentially the same as Access, but customized to your SQL Server database. I cannot vouch for how it works with anything else as a backend, because that is all I use any more. If you don't want to put out the $299 or $99 for Codesmith (.netTier is free), check out the Enterprise Library (also free) from Microsoft. It will give you an Access like object library that is much easier to program against. Codesmith is based on top of this. John, based on how you like to design with classes, you will also want to check out the Model-View- Presenter design pattern. Robert From Gustav at cactus.dk Fri Apr 27 13:25:12 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 27 Apr 2007 20:25:12 +0200 Subject: [AccessD] Dot Net, where to start? Message-ID: Hi Robert Thanks, this sounds as great tools! /gustav >>> rl_stewart at highstream.net 27-04-2007 20:11 >>> All, There are excellent video tutorials available on the Microsoft site that you can download and go through at your own pace. Also, I would highly recommend getting a tool like Codesmith and using the .netTier template for it. This will essentially give you a database layer essentially the same as Access, but customized to your SQL Server database. I cannot vouch for how it works with anything else as a backend, because that is all I use any more. If you don't want to put out the $299 or $99 for Codesmith (.netTier is free), check out the Enterprise Library (also free) from Microsoft. It will give you an Access like object library that is much easier to program against. Codesmith is based on top of this. John, based on how you like to design with classes, you will also want to check out the Model-View- Presenter design pattern. Robert From jwcolby at colbyconsulting.com Fri Apr 27 15:13:49 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 27 Apr 2007 16:13:49 -0400 Subject: [AccessD] DotNet - Sign up for our VB list - was Re: Dot Net, where to start? In-Reply-To: References: Message-ID: <011701c78908$921d83e0$657aa8c0@m6805> Everyone interested in VB and .Net please sign up for our VB list. I will be moving my questions and discussions over to that list. http://databaseadvisors.com/mailman/listinfo/dba-vb Thanks. John W. Colby Colby Consulting www.ColbyConsulting.com From cfoust at infostatsystems.com Fri Apr 27 15:22:17 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 27 Apr 2007 13:22:17 -0700 Subject: [AccessD] DotNet - Sign up for our VB list - was Re: Dot Net, where to start? In-Reply-To: <011701c78908$921d83e0$657aa8c0@m6805> References: <011701c78908$921d83e0$657aa8c0@m6805> Message-ID: The problem with that is that VB and VB.Net are vastly different. My impression has always been that the VB forum was more application oriented and not much database interest. I don't want .Net questions buried in a landslide of VB posts, and I'm not coming from VB but from Access to .Net. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, April 27, 2007 1:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DotNet - Sign up for our VB list - was Re: Dot Net,where to start? Everyone interested in VB and .Net please sign up for our VB list. I will be moving my questions and discussions over to that list. http://databaseadvisors.com/mailman/listinfo/dba-vb Thanks. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Apr 27 15:32:47 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 27 Apr 2007 16:32:47 -0400 Subject: [AccessD] DotNet - Sign up for our VB list - was Re: Dot Net, where to start? In-Reply-To: References: <011701c78908$921d83e0$657aa8c0@m6805> Message-ID: <011801c7890b$38635cf0$657aa8c0@m6805> LOL, if you have ever been over on the VB list, you will know that you will not be buried in a landslide of messages. If and when we have a thriving VB.NET community going there we can split the lists in two. I know the right people. The thought right now is that the VB list isn't used anyway so why split it into two unused lists. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 27, 2007 4:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DotNet - Sign up for our VB list - was Re: Dot Net,where to start? The problem with that is that VB and VB.Net are vastly different. My impression has always been that the VB forum was more application oriented and not much database interest. I don't want .Net questions buried in a landslide of VB posts, and I'm not coming from VB but from Access to .Net. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, April 27, 2007 1:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DotNet - Sign up for our VB list - was Re: Dot Net,where to start? Everyone interested in VB and .Net please sign up for our VB list. I will be moving my questions and discussions over to that list. http://databaseadvisors.com/mailman/listinfo/dba-vb Thanks. John W. Colby Colby Consulting www.ColbyConsulting.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 jwcolby at colbyconsulting.com Fri Apr 27 15:33:27 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 27 Apr 2007 16:33:27 -0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: References: Message-ID: <011901c7890b$504911c0$657aa8c0@m6805> In playing around with the VB Express I discovered that you can reference an Access FE in a dataset. Doing that allows you to see not only all linked tables, but also all of the queries in the FE. Theoretically this will allow me to build, save and use queries there where I am comfortable until such time as you guys teach me how to build queries inside of VB.Net One thing I am still struggling to figure out is how to move a table from an MDB to SQL Server Express. I have one specific table which is causing heartaches in Access. It uses memo fields and there are LOTS of "locking issues" when users are trying to edit / add these memos. This is a key table, where the user adds dated notes about the claim, so users are in there viewing old notes and adding new notes about phone conversations and other stuff. Microsoft's party line is that these locking issues are often caused by the way memos are stored in pages on the disk and how JET locks these pages during edits. Thus I believe (hope, pray) that if I move that table out to SQL Server the locking issues will go away since SQL Server handles such things entirely differently. A related benefit is that the BE will slim down considerably. These memos constitute well over 250 megabytes of data in a (consolidated) 700 mbyte BE. I could of course simply build the table by hand but I would really like to "just move it", data and all. John W. Colby Colby Consulting www.ColbyConsulting.com From ebarro at verizon.net Fri Apr 27 15:51:59 2007 From: ebarro at verizon.net (Eric Barro) Date: Fri, 27 Apr 2007 13:51:59 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <011901c7890b$504911c0$657aa8c0@m6805> Message-ID: <0JH600LNFCMY68YE@vms048.mailsrvcs.net> Using SQL Management Studio you connect to your SQL Express database where you want the tables to live and then right click the database name and select Tasks->Import Data from the drop down menu. After you select the data source (Microsoft Access) and the file location for the source and the SQL database for the destination, it will create the tables for you. You might have to check indexes and copy and paste your queries (views in SQL). -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, April 27, 2007 1:33 PM To: 'Access Developers discussion and problem solving' Cc: dba-vb at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? In playing around with the VB Express I discovered that you can reference an Access FE in a dataset. Doing that allows you to see not only all linked tables, but also all of the queries in the FE. Theoretically this will allow me to build, save and use queries there where I am comfortable until such time as you guys teach me how to build queries inside of VB.Net One thing I am still struggling to figure out is how to move a table from an MDB to SQL Server Express. I have one specific table which is causing heartaches in Access. It uses memo fields and there are LOTS of "locking issues" when users are trying to edit / add these memos. This is a key table, where the user adds dated notes about the claim, so users are in there viewing old notes and adding new notes about phone conversations and other stuff. Microsoft's party line is that these locking issues are often caused by the way memos are stored in pages on the disk and how JET locks these pages during edits. Thus I believe (hope, pray) that if I move that table out to SQL Server the locking issues will go away since SQL Server handles such things entirely differently. A related benefit is that the BE will slim down considerably. These memos constitute well over 250 megabytes of data in a (consolidated) 700 mbyte BE. I could of course simply build the table by hand but I would really like to "just move it", data and all. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.6.1/777 - Release Date: 4/26/2007 3:23 PM From jwcolby at colbyconsulting.com Fri Apr 27 18:45:34 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 27 Apr 2007 19:45:34 -0400 Subject: [AccessD] Moving your table to SQL Server In-Reply-To: <7d60f23a0704271348k215adach120403fbf818efef@mail.gmail.com> References: <7d60f23a0704271348k215adach120403fbf818efef@mail.gmail.com> Message-ID: <012301c78926$274def50$657aa8c0@m6805> Martin, Really it is just a matter of "how do you do it". I am the kind of person who needs to know the "how it is done" so that I can do it the next time. In SQL Server 2005 Standard Edition there is a wizard that I use but it pretty much sucks (at least how I have used it). Data types are lost, indexes are lost etc. HOLY SMOKE batman! I just ran the SQL Server Migration Assistant for Access and it WORKED! I imported my entire billing database into SQL Server Express. The wizard would not "find" the SQL Server Express database, but if I typed it in "m6805\SQLExpress" it found it. I went out there in advance and created the database itself (no tables). I am IMPRESSED!!! I am actually using my billing database hooked to SQL Server expressed now! WOW! John W. Colby Colby Consulting www.ColbyConsulting.com From carbonnb at gmail.com Fri Apr 27 18:51:30 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 27 Apr 2007 19:51:30 -0400 Subject: [AccessD] DotNet - Sign up for our VB list - was Re: Dot Net, where to start? In-Reply-To: <011801c7890b$38635cf0$657aa8c0@m6805> References: <011701c78908$921d83e0$657aa8c0@m6805> <011801c7890b$38635cf0$657aa8c0@m6805> Message-ID: On 4/27/07, JWColby wrote: > LOL, if you have ever been over on the VB list, you will know that you will > not be buried in a landslide of messages. If and when we have a thriving > VB.NET community going there we can split the lists in two. I know the > right people. The thought right now is that the VB list isn't used Ah, you may KNOW the right people, but can you AFFORD them? :-) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From dwaters at usinternet.com Fri Apr 27 19:16:19 2007 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 27 Apr 2007 19:16:19 -0500 Subject: [AccessD] Moving your table to SQL Server In-Reply-To: <012301c78926$274def50$657aa8c0@m6805> References: <7d60f23a0704271348k215adach120403fbf818efef@mail.gmail.com> <012301c78926$274def50$657aa8c0@m6805> Message-ID: <000301c7892a$72990090$0200a8c0@danwaters> Hi John, SSMA for Access is supposed to require 1 Gb of RAM to work. Does your PC have that much? Did this take an appropriate amount of time? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, April 27, 2007 6:46 PM To: 'Martin' Cc: dba-vb at databaseadvisors.com; 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Moving your table to SQL Server Martin, Really it is just a matter of "how do you do it". I am the kind of person who needs to know the "how it is done" so that I can do it the next time. In SQL Server 2005 Standard Edition there is a wizard that I use but it pretty much sucks (at least how I have used it). Data types are lost, indexes are lost etc. HOLY SMOKE batman! I just ran the SQL Server Migration Assistant for Access and it WORKED! I imported my entire billing database into SQL Server Express. The wizard would not "find" the SQL Server Express database, but if I typed it in "m6805\SQLExpress" it found it. I went out there in advance and created the database itself (no tables). I am IMPRESSED!!! I am actually using my billing database hooked to SQL Server expressed now! WOW! John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Apr 27 19:18:52 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 27 Apr 2007 20:18:52 -0400 Subject: [AccessD] DotNet - Sign up for our VB list - was Re: Dot Net, where to start? In-Reply-To: References: <011701c78908$921d83e0$657aa8c0@m6805><011801c7890b$38635cf0$657aa8c0@m6805> Message-ID: <012401c7892a$d0d748b0$657aa8c0@m6805> >Ah, you may KNOW the right people, but can you AFFORD them? :-) ROTFL. You can't even let me dream that I am important. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, April 27, 2007 7:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DotNet - Sign up for our VB list - was Re: Dot Net,where to start? On 4/27/07, JWColby wrote: > LOL, if you have ever been over on the VB list, you will know that you > will not be buried in a landslide of messages. If and when we have a > thriving VB.NET community going there we can split the lists in two. > I know the right people. The thought right now is that the VB > list isn't used Ah, you may KNOW the right people, but can you AFFORD them? :-) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Fri Apr 27 19:27:52 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 27 Apr 2007 20:27:52 -0400 Subject: [AccessD] DotNet - Sign up for our VB list - was Re: Dot Net, where to start? In-Reply-To: <012401c7892a$d0d748b0$657aa8c0@m6805> References: <011701c78908$921d83e0$657aa8c0@m6805> <011801c7890b$38635cf0$657aa8c0@m6805> <012401c7892a$d0d748b0$657aa8c0@m6805> Message-ID: On 4/27/07, JWColby wrote: > >Ah, you may KNOW the right people, but can you AFFORD them? :-) > > ROTFL. You can't even let me dream that I am important. ;-) Dreams are free John. So dream away...... Actions aren't :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From jwcolby at colbyconsulting.com Fri Apr 27 19:28:39 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 27 Apr 2007 20:28:39 -0400 Subject: [AccessD] Moving your table to SQL Server In-Reply-To: <000301c7892a$72990090$0200a8c0@danwaters> References: <7d60f23a0704271348k215adach120403fbf818efef@mail.gmail.com><012301c78926$274def50$657aa8c0@m6805> <000301c7892a$72990090$0200a8c0@danwaters> Message-ID: <012501c7892c$2b141050$657aa8c0@m6805> This is my development laptop. It is a 3 year old 3ghz AMD 64 (single core) with 2 gb of ram. The speed was reasonably fast although of course this is not a huge database, either in terms of number of tables, or number of records. I would say it took perhaps 30-60 seconds to do the whole database. Pretty fast IMHO. I will be trying it out on a big database at a client. One table that I really need to move has 250gb of data in a memo field. I'll keep you informed. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, April 27, 2007 8:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Moving your table to SQL Server Hi John, SSMA for Access is supposed to require 1 Gb of RAM to work. Does your PC have that much? Did this take an appropriate amount of time? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, April 27, 2007 6:46 PM To: 'Martin' Cc: dba-vb at databaseadvisors.com; 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Moving your table to SQL Server Martin, Really it is just a matter of "how do you do it". I am the kind of person who needs to know the "how it is done" so that I can do it the next time. In SQL Server 2005 Standard Edition there is a wizard that I use but it pretty much sucks (at least how I have used it). Data types are lost, indexes are lost etc. HOLY SMOKE batman! I just ran the SQL Server Migration Assistant for Access and it WORKED! I imported my entire billing database into SQL Server Express. The wizard would not "find" the SQL Server Express database, but if I typed it in "m6805\SQLExpress" it found it. I went out there in advance and created the database itself (no tables). I am IMPRESSED!!! I am actually using my billing database hooked to SQL Server expressed now! WOW! John W. Colby Colby Consulting www.ColbyConsulting.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 prodevmg at yahoo.com Sat Apr 28 07:34:03 2007 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Sat, 28 Apr 2007 05:34:03 -0700 (PDT) Subject: [AccessD] Printing an Access Report from ASP.Net solution Message-ID: <748602.65677.qm@web33105.mail.mud.yahoo.com> Is there a way to use an Access database report in an asp.net solution? I have a report that is pretty complicated, I want to be able to use some type of automation and send the report object to the user's printer from an asp.net 2.0 application. Thanks in advance. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From Gustav at cactus.dk Sun Apr 29 06:26:39 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 29 Apr 2007 13:26:39 +0200 Subject: [AccessD] Visual Studio Standard 2005 won't install Message-ID: Hi all I found out that if on cd-rom, it _is_ a two-disk set. A friend provided the missing disk 2, so now I have VS2005 installed and running. /gustav >>> Gustav at cactus.dk 26-04-2007 16:28 >>> Hi all Anyone having the Action Pack? Finally, the above title arrived but it won't install. It keeps popping a message: Please insert the disk: Microsoft Visual Studio 2005 Standard Edition - ENU Disk 2 but there is no disk 2. This appears during the very first install item, "Microsoft Visual Studio 2005", and the file ..\Common7\Tools\VDT\vdt80.dll I've browsed all over the net and can find some hints mostly related to downloaded images burned/saved to cd/iso with wrong titles, but this is the original cd which doesn't carry any info that it should be "Disk 1". I've also tried to copy to cd to a folder and install from that, and also to disable antivirus but to no avail. I had VB 2005 Express and Web Express installed (with no errors) but those were uninstalled first. Any hints? /gustav From Gustav at cactus.dk Sun Apr 29 06:32:00 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 29 Apr 2007 13:32:00 +0200 Subject: [AccessD] Dot Net, where to start? Message-ID: Hi Arthur Is that so, Arthur? You have 2005 Reporting Services in mind? /gustav >>> shamil at users.mns.ru 27-04-2007 18:15 >>> Hi Gustav, AFAIU Arthur means MS SQL 2000 or 2005 Reporting Services - correct Arthur? The VS2005 IDE designer for report running via these services seems to be available in VS2005 Standard Edition: http://msdn2.microsoft.com/ru-ru/vstudio/aa700921.aspx I'd think Crystal Reports is more powerful (more feature rich I mean) than MS SQL Reporting Services but I must say I just played a little bit with MS SQL 2000 Reporting Services and I have never used this technology in real life development and therefore I can be wrong in what I'm telling here about it (Arthur please correct me) unlike CR, which I used in real life projects and yes, it was RPITA to get on speed with it after MS Access but as I noted already I think CR is more powerful and flexible report designer/engine than MS Access... Of course it all depends on task to be developed - in some cases MS Acecss reporting is all you need. But if you aim at many deployment scenarios of your reporting solutions then CR is one of the best. I have heard (and Charlotte approves that here) that Active Reports is also very good (I did "touch" it one time in the past - and it looked more easy to start with it than with CR but my customer was "CR-infected" therefore I was forced to work with CR)... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 27, 2007 7:53 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Arthur, Shamil, Charlotte and John Now I'm slightly confused. I would prefer to believe in Arthur's words as I like John don't have the VS 2005 Pro version, but I have to listen to Shamil and Charlotte in this matter. For most of the projects I may encounter, reporting will be an important part. Or are we talking about reporting "power" in different directions? /gustav >>> fuller.artful at gmail.com 27-04-2007 16:55 >>> Are you kidding? The report stuff in VS 2005 is killer technology! It blows Access and Crystal and various other contenders out of the water. IMO it is the definitive reporting technology extant. A. On 4/27/07, JWColby wrote: > > Gustav, > > I am at the same place. I own a copy of VS2005 and SQL Server 2005 (got it > at the coming out party) so I can go there if I wish. I have it installed > and have played with it quite a bit over the last two years or so. > > I am actually considering working in the VB.Net express until I come up to > speed on that, then make the move to VS2005. The express stuff is free and > provides all the functionality that I can understand for the moment anyway. > Once I get that down, then I will be ready to learn the stuff that the > express versions do not provide. > > As for reporting, that is a show stopper, especially when you come from > Access which is one of the better report generators out there. I am > actually considering simply using automation to continue using Access as a > report generator for the moment. Again, once I come up to speed on the .Net > stuff, then I can re-examine my options. From fuller.artful at gmail.com Sun Apr 29 09:23:09 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 29 Apr 2007 10:23:09 -0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: References: Message-ID: <29f585dd0704290723g5d6c2560v3022ec5f33b33c33@mail.gmail.com> Yes, RS is what I had in mind. There is an interesting shift in paradigm, if you're used to working with Access and including all your reports inside the app itself. Although you could kludge up some method of calling the reports from within your app, typically that's not what you'd do. You'd deploy them to a target server and send a link to the users, and they could use any browser to display/print the reports. Now that I'm more used to the idea, I like it a lot better. Back in the days when I worked at that travel agency, there must have been a couple of hundred reports. It got so ridiculous I sometimes had to ask the users how to navigate to the place from which you could print some report. The killer feature in RS, from my point of view, aside from the neat wizards and the very nice crosstab designer, is the drill-down. Over the years, I have been asked for that ability a hundred times, and had little to respond except to say, "I can't do it in Access." To be sure, this capability is a teensy bit counter-intuitive, but a few trial runs and a willingness to experiment will convince you, I think. Arthur On 4/29/07, Gustav Brock wrote: > > Hi Arthur > > Is that so, Arthur? You have 2005 Reporting Services in mind? > > /gustav > > >>> shamil at users.mns.ru 27-04-2007 18:15 >>> > Hi Gustav, > > AFAIU Arthur means MS SQL 2000 or 2005 Reporting Services - correct > Arthur? > The VS2005 IDE designer for report running via these services seems to be > available in VS2005 Standard Edition: > http://msdn2.microsoft.com/ru-ru/vstudio/aa700921.aspx > > I'd think Crystal Reports is more powerful (more feature rich I mean) than > MS SQL Reporting Services but I must say I just played a little bit with > MS > SQL 2000 Reporting Services and I have never used this technology in real > life development and therefore I can be wrong in what I'm telling here > about > it (Arthur please correct me) unlike CR, which I used in real life > projects > and yes, it was RPITA to get on speed with it after MS Access but as I > noted > already I think CR is more powerful and flexible report designer/engine > than > MS Access... > From fuller.artful at gmail.com Sun Apr 29 10:48:00 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 29 Apr 2007 11:48:00 -0400 Subject: [AccessD] Access 2007 Navigation bar Message-ID: <29f585dd0704290848l15f8b55aoc6648d9a0768efe1@mail.gmail.com> Can anyone point me at a tutorial or sample code or something that illustrates how to customize the navigation bar? I don't find the list of tables and forms and reports particularly useful, except in terms of development. I have more in mind a sort of hierarchical series, vaguely like the classic switchboard technology but much more useful. Something along the lines of: Customers Browse Customers New Customer Print Customer Labels Top Ten Customers Email selected Customers Products ... ... etc. TIA, Arthur From Gustav at cactus.dk Sun Apr 29 11:33:22 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 29 Apr 2007 18:33:22 +0200 Subject: [AccessD] Dot Net, where to start? Message-ID: Hi Arthur et al Yes, this is indeed another paradigm. However, users more and more often request reports as files, and having a server engine to unload your report generation is certainly not a bad thing. I located these pages on Reporting Services: How to install RS for SQL Server 2005 Express: http://msdn2.microsoft.com/en-us/library/ms365250.aspx http://msdn2.microsoft.com/en-us/library/ms365166.aspx Download the toolkit to install RS: http://msdn.microsoft.com/vstudio/express/sql/download/ Some elaborate examples: http://msdn2.microsoft.com/en-us/library/aa964128.aspx Note that Reporting Services for Express is somewhat crippled compared to the standard version - mostly regarding connection to remote databases and options for file export. /gustav >>> fuller.artful at gmail.com 29-04-2007 16:23 >>> Yes, RS is what I had in mind. There is an interesting shift in paradigm, if you're used to working with Access and including all your reports inside the app itself. Although you could kludge up some method of calling the reports from within your app, typically that's not what you'd do. You'd deploy them to a target server and send a link to the users, and they could use any browser to display/print the reports. Now that I'm more used to the idea, I like it a lot better. Back in the days when I worked at that travel agency, there must have been a couple of hundred reports. It got so ridiculous I sometimes had to ask the users how to navigate to the place from which you could print some report. The killer feature in RS, from my point of view, aside from the neat wizards and the very nice crosstab designer, is the drill-down. Over the years, I have been asked for that ability a hundred times, and had little to respond except to say, "I can't do it in Access." To be sure, this capability is a teensy bit counter-intuitive, but a few trial runs and a willingness to experiment will convince you, I think. Arthur On 4/29/07, Gustav Brock wrote: > > Hi Arthur > > Is that so, Arthur? You have 2005 Reporting Services in mind? > > /gustav > > >>> shamil at users.mns.ru 27-04-2007 18:15 >>> > Hi Gustav, > > AFAIU Arthur means MS SQL 2000 or 2005 Reporting Services - correct > Arthur? > The VS2005 IDE designer for report running via these services seems to be > available in VS2005 Standard Edition: > http://msdn2.microsoft.com/ru-ru/vstudio/aa700921.aspx > > I'd think Crystal Reports is more powerful (more feature rich I mean) than > MS SQL Reporting Services but I must say I just played a little bit with MS > SQL 2000 Reporting Services and I have never used this technology in real > life development and therefore I can be wrong in what I'm telling here about > it (Arthur please correct me) unlike CR, which I used in real life projects > and yes, it was RPITA to get on speed with it after MS Access but as I noted > already I think CR is more powerful and flexible report designer/engine than > MS Access... From mwp.reid at qub.ac.uk Sun Apr 29 11:42:23 2007 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sun, 29 Apr 2007 17:42:23 +0100 Subject: [AccessD] Access 2007 Navigation bar References: <29f585dd0704290848l15f8b55aoc6648d9a0768efe1@mail.gmail.com> Message-ID: Arthur Look up RibbonX there is a lot of stuff on the web. This site is great and Patrick has a lovely developer tool available to customise the ribbon for you. http://pschmid.net/blog/category/office-2007/ribbonx/ Basically you create a system table used to hold the XML files used to create the menus or now Ribbons. http://msdn2.microsoft.com/en-us/library/aa338202.aspx This site is great http://www.accessribbon.de/en/?Access_-_Ribbons Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974465 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Arthur Fuller Sent: Sun 29/04/2007 16:48 To: Access Developers discussion and problem solving Subject: [AccessD] Access 2007 Navigation bar Can anyone point me at a tutorial or sample code or something that illustrates how to customize the navigation bar? I don't find the list of tables and forms and reports particularly useful, except in terms of development. I have more in mind a sort of hierarchical series, vaguely like the classic switchboard technology but much more useful. Something along the lines of: Customers Browse Customers New Customer Print Customer Labels Top Ten Customers Email selected Customers Products ... ... etc. TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Sun Apr 29 12:06:23 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 29 Apr 2007 13:06:23 -0400 Subject: [AccessD] Access 2007 Navigation bar In-Reply-To: References: <29f585dd0704290848l15f8b55aoc6648d9a0768efe1@mail.gmail.com> Message-ID: <29f585dd0704291006m6bd3fb99qfd98a0a797de918e@mail.gmail.com> Thanks, Martin! I'll check all these sites out. Incidentally, it's been a while since I did anything in Access. Lately I've been doing a lot of tech-docs and learning UML 2.1 and Java and Perl and Python. (When deciding it's time to learn a new language, I always choose several rather than just one.) Anyway, what is the current state of Access 2007 and ADP file format? (I could look it up but hey, you're here. If the ADP is still supported, how does it react to SQL 2005 databases and the new features available, such as the revamped schema definition -- one of my favourite features! I totally love this feature. I have a single database in which I store all the code for my SQL Tips column, and whenever I start a new subject, I create a schema for it, which subdivides the tables etc. in a most beautiful way. I haven't tried to connect to a SQL2005 db with Access 2007 yet, but I am most interested in how it will respond to schemas. Unfortunately, that exercise will have to wait. I have other fish to fry (about to post a message to dba-Tech hoping for insight on said larger fish). Arthur On 4/29/07, Martin Reid wrote: > > Arthur > > Look up RibbonX there is a lot of stuff on the web. This site is great and > Patrick has a lovely developer tool available to customise the ribbon for > you. > > http://pschmid.net/blog/category/office-2007/ribbonx/ > > Basically you create a system table used to hold the XML files used to > create the menus or now Ribbons. > > > http://msdn2.microsoft.com/en-us/library/aa338202.aspx > > This site is great > > http://www.accessribbon.de/en/?Access_-_Ribbons > > Martin > > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974465 > > > ________________________________ > > From: accessd-bounces at databaseadvisors.com on behalf of Arthur Fuller > Sent: Sun 29/04/2007 16:48 > To: Access Developers discussion and problem solving > Subject: [AccessD] Access 2007 Navigation bar > > > > Can anyone point me at a tutorial or sample code or something that > illustrates how to customize the navigation bar? I don't find the list of > tables and forms and reports particularly useful, except in terms of > development. I have more in mind a sort of hierarchical series, vaguely > like > the classic switchboard technology but much more useful. Something along > the > lines of: > > Customers > Browse Customers > New Customer > Print Customer Labels > Top Ten Customers > Email selected Customers > > Products > ... > ... > > etc. > > TIA, > Arthur > -- > 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 mwp.reid at qub.ac.uk Sun Apr 29 13:08:25 2007 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sun, 29 Apr 2007 19:08:25 +0100 Subject: [AccessD] Access 2007 Navigation bar References: <29f585dd0704290848l15f8b55aoc6648d9a0768efe1@mail.gmail.com> <29f585dd0704291006m6bd3fb99qfd98a0a797de918e@mail.gmail.com> Message-ID: Arthur Still supported unless you use any of the new SQLS erver 2005 data types. MS is making a huge push towards the world using linked tables. Fromwhat I see they are also making a huge push towards Access being used to work ofline with SharePoint list data. Both areas will I would guess receive more focus than ADPs as Acecss moves forward towards .NET and SharePoint. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974465 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Arthur Fuller Sent: Sun 29/04/2007 18:06 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 Navigation bar Thanks, Martin! I'll check all these sites out. Incidentally, it's been a while since I did anything in Access. Lately I've been doing a lot of tech-docs and learning UML 2.1 and Java and Perl and Python. (When deciding it's time to learn a new language, I always choose several rather than just one.) Anyway, what is the current state of Access 2007 and ADP file format? (I could look it up but hey, you're here. If the ADP is still supported, how does it react to SQL 2005 databases and the new features available, such as the revamped schema definition -- one of my favourite features! I totally love this feature. I have a single database in which I store all the code for my SQL Tips column, and whenever I start a new subject, I create a schema for it, which subdivides the tables etc. in a most beautiful way. I haven't tried to connect to a SQL2005 db with Access 2007 yet, but I am most interested in how it will respond to schemas. Unfortunately, that exercise will have to wait. I have other fish to fry (about to post a message to dba-Tech hoping for insight on said larger fish). Arthur On 4/29/07, Martin Reid wrote: > > Arthur > > Look up RibbonX there is a lot of stuff on the web. This site is great and > Patrick has a lovely developer tool available to customise the ribbon for > you. > > http://pschmid.net/blog/category/office-2007/ribbonx/ > > Basically you create a system table used to hold the XML files used to > create the menus or now Ribbons. > > > http://msdn2.microsoft.com/en-us/library/aa338202.aspx > > This site is great > > http://www.accessribbon.de/en/?Access_-_Ribbons > > Martin > > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974465 > > > ________________________________ > > From: accessd-bounces at databaseadvisors.com on behalf of Arthur Fuller > Sent: Sun 29/04/2007 16:48 > To: Access Developers discussion and problem solving > Subject: [AccessD] Access 2007 Navigation bar > > > > Can anyone point me at a tutorial or sample code or something that > illustrates how to customize the navigation bar? I don't find the list of > tables and forms and reports particularly useful, except in terms of > development. I have more in mind a sort of hierarchical series, vaguely > like > the classic switchboard technology but much more useful. Something along > the > lines of: > > Customers > Browse Customers > New Customer > Print Customer Labels > Top Ten Customers > Email selected Customers > > Products > ... > ... > > etc. > > TIA, > Arthur > -- > 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 From shamil at users.mns.ru Sun Apr 29 13:57:07 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 29 Apr 2007 22:57:07 +0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <29f585dd0704290723g5d6c2560v3022ec5f33b33c33@mail.gmail.com> Message-ID: <001101c78a90$34fe1920$6401a8c0@nant> <<< The killer feature in RS, from my point of view, aside from the neat wizards and the very nice crosstab designer, is the drill-down. >>> Hi Arthur, Drill-down is one of the very often used feature of Crystal Reports reports too - my guess MS RS "borrowed: this feature from CR... BTW, MS Access 2007 Reports are more like forms now (one can program click and other events processing - right Martin?) therefore my guess is that one may try to simulate drill-down with MS Access 2007 reports and maybe next MS Access version will have native drill-down feature... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, April 29, 2007 6:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Yes, RS is what I had in mind. There is an interesting shift in paradigm, if you're used to working with Access and including all your reports inside the app itself. Although you could kludge up some method of calling the reports from within your app, typically that's not what you'd do. You'd deploy them to a target server and send a link to the users, and they could use any browser to display/print the reports. Now that I'm more used to the idea, I like it a lot better. Back in the days when I worked at that travel agency, there must have been a couple of hundred reports. It got so ridiculous I sometimes had to ask the users how to navigate to the place from which you could print some report. The killer feature in RS, from my point of view, aside from the neat wizards and the very nice crosstab designer, is the drill-down. Over the years, I have been asked for that ability a hundred times, and had little to respond except to say, "I can't do it in Access." To be sure, this capability is a teensy bit counter-intuitive, but a few trial runs and a willingness to experiment will convince you, I think. Arthur On 4/29/07, Gustav Brock wrote: > > Hi Arthur > > Is that so, Arthur? You have 2005 Reporting Services in mind? > > /gustav > > >>> shamil at users.mns.ru 27-04-2007 18:15 >>> > Hi Gustav, > > AFAIU Arthur means MS SQL 2000 or 2005 Reporting Services - correct > Arthur? > The VS2005 IDE designer for report running via these services seems to be > available in VS2005 Standard Edition: > http://msdn2.microsoft.com/ru-ru/vstudio/aa700921.aspx > > I'd think Crystal Reports is more powerful (more feature rich I mean) than > MS SQL Reporting Services but I must say I just played a little bit with > MS > SQL 2000 Reporting Services and I have never used this technology in real > life development and therefore I can be wrong in what I'm telling here > about > it (Arthur please correct me) unlike CR, which I used in real life > projects > and yes, it was RPITA to get on speed with it after MS Access but as I > noted > already I think CR is more powerful and flexible report designer/engine > than > MS Access... > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Apr 29 14:10:08 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 29 Apr 2007 14:10:08 -0500 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <001101c78a90$34fe1920$6401a8c0@nant> References: <29f585dd0704290723g5d6c2560v3022ec5f33b33c33@mail.gmail.com> <001101c78a90$34fe1920$6401a8c0@nant> Message-ID: <001101c78a92$026796b0$0200a8c0@danwaters> In Access, I once made a drill-down chart using Web Components. I think it was actually a form instead of a report, but that didn't matter. It was a few years ago and I don't remember the details anymore. Has anyone else done this? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, April 29, 2007 1:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? <<< The killer feature in RS, from my point of view, aside from the neat wizards and the very nice crosstab designer, is the drill-down. >>> Hi Arthur, Drill-down is one of the very often used feature of Crystal Reports reports too - my guess MS RS "borrowed: this feature from CR... BTW, MS Access 2007 Reports are more like forms now (one can program click and other events processing - right Martin?) therefore my guess is that one may try to simulate drill-down with MS Access 2007 reports and maybe next MS Access version will have native drill-down feature... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, April 29, 2007 6:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Yes, RS is what I had in mind. There is an interesting shift in paradigm, if you're used to working with Access and including all your reports inside the app itself. Although you could kludge up some method of calling the reports from within your app, typically that's not what you'd do. You'd deploy them to a target server and send a link to the users, and they could use any browser to display/print the reports. Now that I'm more used to the idea, I like it a lot better. Back in the days when I worked at that travel agency, there must have been a couple of hundred reports. It got so ridiculous I sometimes had to ask the users how to navigate to the place from which you could print some report. The killer feature in RS, from my point of view, aside from the neat wizards and the very nice crosstab designer, is the drill-down. Over the years, I have been asked for that ability a hundred times, and had little to respond except to say, "I can't do it in Access." To be sure, this capability is a teensy bit counter-intuitive, but a few trial runs and a willingness to experiment will convince you, I think. Arthur On 4/29/07, Gustav Brock wrote: > > Hi Arthur > > Is that so, Arthur? You have 2005 Reporting Services in mind? > > /gustav > > >>> shamil at users.mns.ru 27-04-2007 18:15 >>> > Hi Gustav, > > AFAIU Arthur means MS SQL 2000 or 2005 Reporting Services - correct > Arthur? > The VS2005 IDE designer for report running via these services seems to be > available in VS2005 Standard Edition: > http://msdn2.microsoft.com/ru-ru/vstudio/aa700921.aspx > > I'd think Crystal Reports is more powerful (more feature rich I mean) than > MS SQL Reporting Services but I must say I just played a little bit with > MS > SQL 2000 Reporting Services and I have never used this technology in real > life development and therefore I can be wrong in what I'm telling here > about > it (Arthur please correct me) unlike CR, which I used in real life > projects > and yes, it was RPITA to get on speed with it after MS Access but as I > noted > already I think CR is more powerful and flexible report designer/engine > than > MS Access... > -- 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 kp at sdsonline.net Sun Apr 29 21:31:55 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Mon, 30 Apr 2007 12:31:55 +1000 Subject: [AccessD] Dot Net, where to start? References: Message-ID: <00aa01c78acf$b96d7450$6501a8c0@office> Charlotte - any chance of stepping us dot net newbies thru an example of what you mean? Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Saturday, April 28, 2007 2:18 AM Subject: Re: [AccessD] Dot Net, where to start? The chapters on ADO.Net give a good overview of datasets, data providers and the actual relational objects (tables, views, etc.), and it also compares ADO.Net and ADO as well. But I haven't seen any books describing the data tier structures in the way we built them. Most of the books start with directly binding a form to a data adapter, and we work the other way around. We build data "entities" that implement typed datasets and expose the behaviors and methods we need. We can then drop one of those entities on a form or report to provide the data connections we need. The working code is actually in a dataprovider class with the entity containing calls to the dataprovider and even to other entities if need be. Our model has evolved as we developed the apps and figured out what worked, and we have "refactored" (a much overused work in our shop) the bits and pieces many times over the course of the past two years. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 27, 2007 8:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Charlotte That is so true; database handling is a key point. Also, I've seen so much poor code from web programmers that just know how to connect to a database and think that's it. That book, does it explain in depth of n-tier which I feel is very important and powerful? And is your data tier built on that code or did you create it from scratch? /gustav >>> cfoust at infostatsystems.com 27-04-2007 17:10 >>> But courses like that don't focus on Gustav's main issue, databases. Rick Dobson has a couple of books out that can be helpful in that area: "Programming SQL Server 2000 with Visual Vasic .Net" and "Programming Microsoft Visual Basic .Net for Microsoft Access Databases". The big thing to get your head around is n-tier programming, which we didn't do in Access. The books tend to go straight to dataadapters and so forth and don't generally discuss the structure of a data tier. We created a data tier that is a code representation of the underlying data structure. We can then code to that abstraction regardless of whether we have access to the actual data at the time. Very handy. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, April 27, 2007 7:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Go to GotDotNet and download all the samples. Do it relatively quickly since MS has decided to phase out this site. Also go to Visual Studio Magazine and CodePlex. There is a very good intro book called VB.NET JumpStart (google vbJumpStart and you should get to the downloadable code). I found this book so good that I am currently thinking that .NET is even easier than Access. Arthur -- 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 michael at ddisolutions.com.au Mon Apr 30 02:20:55 2007 From: michael at ddisolutions.com.au (Michael Maddison) Date: Mon, 30 Apr 2007 17:20:55 +1000 Subject: [AccessD] Printing an Access Report from ASP.Net solution References: <748602.65677.qm@web33105.mail.mud.yahoo.com> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D012896A7@ddi-01.DDI.local> Hi Lonnie, No one seems to have responded so I'll give you my inexpert opinion... The easy part is using Automation to fire up Access and run the report, this is a server side function. The hard part is printing to the users printer. This is fundamentally not a server side operation. How many web sites actually print to your printer? Short answer... None. Not without downloading and installing an active-x control or similar. So, I would recommend using Crystal Rpts for the report. Use the CR viewer control and let them print it if they want. BTW I dislike CR but in the .net world it is the most straightforward solution sometimes. If you must use Access them maybe output as a snapshot and let the user download and print. Messy. Also if you have a lot of traffic I doubt you'd want a whole bunch of Access instances clogging up the works on your web server ;-) HTH cheers Michael M Subject: [AccessD] Printing an Access Report from ASP.Net solution Is there a way to use an Access database report in an asp.net solution? I have a report that is pretty complicated, I want to be able to use some type of automation and send the report object to the user's printer from an asp.net 2.0 application. Thanks in advance. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Apr 30 07:00:44 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 30 Apr 2007 14:00:44 +0200 Subject: [AccessD] Dot Net, where to start? Message-ID: Hi Charlotte Yes, that sounds like a learning experience. /gustav >>> kp at sdsonline.net 30-04-2007 04:31 >>> Charlotte - any chance of stepping us dot net newbies thru an example of what you mean? Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Saturday, April 28, 2007 2:18 AM Subject: Re: [AccessD] Dot Net, where to start? The chapters on ADO.Net give a good overview of datasets, data providers and the actual relational objects (tables, views, etc.), and it also compares ADO.Net and ADO as well. But I haven't seen any books describing the data tier structures in the way we built them. Most of the books start with directly binding a form to a data adapter, and we work the other way around. We build data "entities" that implement typed datasets and expose the behaviors and methods we need. We can then drop one of those entities on a form or report to provide the data connections we need. The working code is actually in a dataprovider class with the entity containing calls to the dataprovider and even to other entities if need be. Our model has evolved as we developed the apps and figured out what worked, and we have "refactored" (a much overused work in our shop) the bits and pieces many times over the course of the past two years. Charlotte Foust From markamatte at hotmail.com Mon Apr 30 10:30:24 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 30 Apr 2007 15:30:24 +0000 Subject: [AccessD] Reports to Excel In-Reply-To: <00aa01c78acf$b96d7450$6501a8c0@office> Message-ID: Hello All, I have an A97 db. Is there a way to export to excel and control what color the header row is in excel? Thanks, Mark A. Matte _________________________________________________________________ Interest Rates NEAR 39yr LOWS! $430,000 Mortgage for $1,299/mo - Calculate new payment http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9632-19132&moid=14888 From jwcolby at colbyconsulting.com Mon Apr 30 10:48:17 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 30 Apr 2007 11:48:17 -0400 Subject: [AccessD] Reports to Excel In-Reply-To: References: <00aa01c78acf$b96d7450$6501a8c0@office> Message-ID: <005501c78b3e$f8df85a0$657aa8c0@m6805> Automation. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Monday, April 30, 2007 11:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Reports to Excel Hello All, I have an A97 db. Is there a way to export to excel and control what color the header row is in excel? Thanks, Mark A. Matte _________________________________________________________________ Interest Rates NEAR 39yr LOWS! $430,000 Mortgage for $1,299/mo - Calculate new payment http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9632-19132&moid=14888 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Apr 30 12:54:51 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 30 Apr 2007 10:54:51 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: References: Message-ID: Does it belong in this list? Also, there are differences between VS 2003 and VS 2005 when it comes to creating typed datasets. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 30, 2007 5:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Charlotte Yes, that sounds like a learning experience. /gustav >>> kp at sdsonline.net 30-04-2007 04:31 >>> Charlotte - any chance of stepping us dot net newbies thru an example of what you mean? Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Saturday, April 28, 2007 2:18 AM Subject: Re: [AccessD] Dot Net, where to start? The chapters on ADO.Net give a good overview of datasets, data providers and the actual relational objects (tables, views, etc.), and it also compares ADO.Net and ADO as well. But I haven't seen any books describing the data tier structures in the way we built them. Most of the books start with directly binding a form to a data adapter, and we work the other way around. We build data "entities" that implement typed datasets and expose the behaviors and methods we need. We can then drop one of those entities on a form or report to provide the data connections we need. The working code is actually in a dataprovider class with the entity containing calls to the dataprovider and even to other entities if need be. Our model has evolved as we developed the apps and figured out what worked, and we have "refactored" (a much overused work in our shop) the bits and pieces many times over the course of the past two years. Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Mon Apr 30 13:14:16 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 30 Apr 2007 18:14:16 +0000 Subject: [AccessD] Reports to Excel In-Reply-To: <005501c78b3e$f8df85a0$657aa8c0@m6805> Message-ID: Thanks John, Got it all 'pretty' and stuff. The only thing left...I need to a put border around each cell??? Any hints? Thanks, Mark A. Matte >From: "JWColby" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Reports to Excel >Date: Mon, 30 Apr 2007 11:48:17 -0400 > >Automation. > > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Monday, April 30, 2007 11:30 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Reports to Excel > >Hello All, > >I have an A97 db. Is there a way to export to excel and control what color >the header row is in excel? > >Thanks, > >Mark A. Matte > >_________________________________________________________________ >Interest Rates NEAR 39yr LOWS! $430,000 Mortgage for $1,299/mo - Calculate >new payment >http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9632-19132&moid=14888 > >-- >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 _________________________________________________________________ Mortgage rates near historic lows. Refinance $200,000 loan for as low as $771/month* https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h27f8&disc=y&vers=689&s=4056&p=5117 From Jim.Hale at FleetPride.com Mon Apr 30 14:00:59 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 30 Apr 2007 14:00:59 -0500 Subject: [AccessD] Reports to Excel Message-ID: . Use the macro recorder in Excel to create the code. You can transfer the resulting code to Access, add an Excel application object, clean up the code if necessary and you are good to go. The macro recorder doesn't generate the prettiest code but it is great at pointing you in the right direction by telling you which objects to use. HTH Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Monday, April 30, 2007 1:14 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Reports to Excel Thanks John, Got it all 'pretty' and stuff. The only thing left...I need to a put border around each cell??? Any hints? Thanks, Mark A. Matte >From: "JWColby" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Reports to Excel >Date: Mon, 30 Apr 2007 11:48:17 -0400 > >Automation. > > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Monday, April 30, 2007 11:30 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Reports to Excel > >Hello All, > >I have an A97 db. Is there a way to export to excel and control what >color the header row is in excel? > >Thanks, > >Mark A. Matte > >_________________________________________________________________ *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From accessd at shaw.ca Mon Apr 30 14:51:06 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 30 Apr 2007 12:51:06 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: Message-ID: <0JHB006MNTMD9X70@l-daemon> Hi All: My 2 cents on this is that most if not all developers on the Access List are working on or/and will be moving towards Dot Net at one point. I see the progress more as a migration process something like a 90 degree turn not as a 180. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 30, 2007 10:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Does it belong in this list? Also, there are differences between VS 2003 and VS 2005 when it comes to creating typed datasets. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 30, 2007 5:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Charlotte Yes, that sounds like a learning experience. /gustav >>> kp at sdsonline.net 30-04-2007 04:31 >>> Charlotte - any chance of stepping us dot net newbies thru an example of what you mean? Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Saturday, April 28, 2007 2:18 AM Subject: Re: [AccessD] Dot Net, where to start? The chapters on ADO.Net give a good overview of datasets, data providers and the actual relational objects (tables, views, etc.), and it also compares ADO.Net and ADO as well. But I haven't seen any books describing the data tier structures in the way we built them. Most of the books start with directly binding a form to a data adapter, and we work the other way around. We build data "entities" that implement typed datasets and expose the behaviors and methods we need. We can then drop one of those entities on a form or report to provide the data connections we need. The working code is actually in a dataprovider class with the entity containing calls to the dataprovider and even to other entities if need be. Our model has evolved as we developed the apps and figured out what worked, and we have "refactored" (a much overused work in our shop) the bits and pieces many times over the course of the past two years. Charlotte Foust -- 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 jwcolby at colbyconsulting.com Mon Apr 30 15:21:08 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 30 Apr 2007 16:21:08 -0400 Subject: [AccessD] Reports to Excel In-Reply-To: References: Message-ID: <006a01c78b65$16aa5d50$657aa8c0@m6805> EXACTLY how I do it. Turn on the macro recorder, do the action (border / background / whatever) turn off the macro recorder, view the code. After that what you do depends on how you want to do the automation. The easiest way is to create a "template" workbook and create the macro in it, then just call the macro (really a sub IIRC) when you are ready to execute that code. As Jim mentioned, you might want to clean up the code, but you don't have to. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, April 30, 2007 3:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Reports to Excel . Use the macro recorder in Excel to create the code. You can transfer the resulting code to Access, add an Excel application object, clean up the code if necessary and you are good to go. The macro recorder doesn't generate the prettiest code but it is great at pointing you in the right direction by telling you which objects to use. HTH Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Monday, April 30, 2007 1:14 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Reports to Excel Thanks John, Got it all 'pretty' and stuff. The only thing left...I need to a put border around each cell??? Any hints? Thanks, Mark A. Matte >From: "JWColby" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Reports to Excel >Date: Mon, 30 Apr 2007 11:48:17 -0400 > >Automation. > > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Monday, April 30, 2007 11:30 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Reports to Excel > >Hello All, > >I have an A97 db. Is there a way to export to excel and control what >color the header row is in excel? > >Thanks, > >Mark A. Matte > >_________________________________________________________________ *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Apr 30 15:42:06 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 30 Apr 2007 16:42:06 -0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <0JHB006MNTMD9X70@l-daemon> References: <0JHB006MNTMD9X70@l-daemon> Message-ID: <006b01c78b68$04a684f0$657aa8c0@m6805> >I see the progress more as a migration process something like a 90 degree turn not as a 180. And of course that depends on how much programming you do in VBA. The more you do, the harder it is in one sense and the easier in another. It is harder because you already get so much accomplished so quickly in VBA and can't believe how tough it is to get anything done in VB.Net (at first anyway). The easier it is in the sense that you are already an accomplished programmer and "only" have to come up to speed on the differences. If only there weren't so many damned differences!!! I am trying to take the contents of a text box and place it into a single variable. Uhh-Uhhhh! In VBA you would get an automatic conversion but in VBA it (apparently) tries to stuff a control type into a single type and complains vigorously. Now ya'd think that if there is a textbox.ToString method there would be a ToSingle method right? I'm back to screaming "just do what I WANT, NOT what I SAY!!!". My computer yells back, and it isn't something I can repeat in public. And of course, in X thousands of hours all that will be behind me and I will type VB.NET code the way I type VBA code now. Forgetting all the pain (that is the human mind for ya) I will wonder why I didn't convert years ago. In the meantime I have ordered massive quantities of painkillers from my favorite internet pharmacy using those spam emails I receive so many of every week. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, April 30, 2007 3:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? Hi All: My 2 cents on this is that most if not all developers on the Access List are working on or/and will be moving towards Dot Net at one point. I see the progress more as a migration process something like a 90 degree turn not as a 180. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 30, 2007 10:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Does it belong in this list? Also, there are differences between VS 2003 and VS 2005 when it comes to creating typed datasets. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 30, 2007 5:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Charlotte Yes, that sounds like a learning experience. /gustav >>> kp at sdsonline.net 30-04-2007 04:31 >>> Charlotte - any chance of stepping us dot net newbies thru an example of what you mean? Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Saturday, April 28, 2007 2:18 AM Subject: Re: [AccessD] Dot Net, where to start? The chapters on ADO.Net give a good overview of datasets, data providers and the actual relational objects (tables, views, etc.), and it also compares ADO.Net and ADO as well. But I haven't seen any books describing the data tier structures in the way we built them. Most of the books start with directly binding a form to a data adapter, and we work the other way around. We build data "entities" that implement typed datasets and expose the behaviors and methods we need. We can then drop one of those entities on a form or report to provide the data connections we need. The working code is actually in a dataprovider class with the entity containing calls to the dataprovider and even to other entities if need be. Our model has evolved as we developed the apps and figured out what worked, and we have "refactored" (a much overused work in our shop) the bits and pieces many times over the course of the past two years. Charlotte Foust -- 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 From markamatte at hotmail.com Mon Apr 30 15:44:51 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 30 Apr 2007 20:44:51 +0000 Subject: [AccessD] Reports to Excel In-Reply-To: <006a01c78b65$16aa5d50$657aa8c0@m6805> Message-ID: Thanks Jim and John, I used... ".Columns.Borders.Color = vbBlack" ...and this seemed to do the trick... The export will have a different number of columns and rows each time. The above method puts a border around every cell in the worksheet...not just the data. If I could isolate just the cells with data...it might look better...but this will get me by. The 'macro recording' gave me a longer approach...but it was dependant on a range...which I'm not sure how to get. Any ideas? Thanks, Mark A. Matte >From: "JWColby" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Reports to Excel >Date: Mon, 30 Apr 2007 16:21:08 -0400 > >EXACTLY how I do it. Turn on the macro recorder, do the action (border / >background / whatever) turn off the macro recorder, view the code. After >that what you do depends on how you want to do the automation. The easiest >way is to create a "template" workbook and create the macro in it, then >just >call the macro (really a sub IIRC) when you are ready to execute that code. > >As Jim mentioned, you might want to clean up the code, but you don't have >to. > > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim >Sent: Monday, April 30, 2007 3:01 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Reports to Excel > >. Use the macro recorder in Excel to create the >code. >You can transfer the resulting code to Access, add an Excel application >object, clean up the code if necessary and you are good to go. The macro >recorder doesn't generate the prettiest code but it is great at pointing >you >in the right direction by telling you which objects to use. HTH Jim Hale > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Monday, April 30, 2007 1:14 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Reports to Excel > > > >Thanks John, > >Got it all 'pretty' and stuff. The only thing left...I need to a put >border > >around each cell??? Any hints? > >Thanks, > >Mark A. Matte > > >From: "JWColby" > >Reply-To: Access Developers discussion and problem > >solving > >To: "'Access Developers discussion and problem > >solving'" > >Subject: Re: [AccessD] Reports to Excel > >Date: Mon, 30 Apr 2007 11:48:17 -0400 > > > >Automation. > > > > > >John W. Colby > >Colby Consulting > >www.ColbyConsulting.com > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > >Sent: Monday, April 30, 2007 11:30 AM > >To: accessd at databaseadvisors.com > >Subject: [AccessD] Reports to Excel > > > >Hello All, > > > >I have an A97 db. Is there a way to export to excel and control what > >color the header row is in excel? > > > >Thanks, > > > >Mark A. Matte > > > >_________________________________________________________________ > >*********************************************************************** >The information transmitted is intended solely for the individual or entity >to which it is addressed and may contain confidential and/or privileged >material. Any review, retransmission, dissemination or other use of or >taking action in reliance upon this information by persons or entities >other >than the intended recipient is prohibited. >If you have received this email in error please contact the sender and >delete the material from any computer. As a recipient of this email, you >are >responsible for screening its contents and the contents of any attachments >for the presence of viruses. No liability is accepted for any damages >caused >by any virus transmitted by this email. >-- >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 _________________________________________________________________ Download Messenger. Join the i?m Initiative. Help make a difference today. http://im.live.com/messenger/im/home/?source=TAGHM_APR07 From fuller.artful at gmail.com Mon Apr 30 15:54:24 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 30 Apr 2007 16:54:24 -0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <006b01c78b68$04a684f0$657aa8c0@m6805> References: <0JHB006MNTMD9X70@l-daemon> <006b01c78b68$04a684f0$657aa8c0@m6805> Message-ID: <29f585dd0704301354u14a34c5bj230a528a3cd990e9@mail.gmail.com> Everything is an object, JC. You of all people ought to be most receptive to that concept. When migrating code from .NET 2003 to .NET 2005, and it crashed, I just jumped in and added ".ToString()" to the offending variable. It worked almost all the time. E.g. An array is an object not a structure. Easy to get over once you realize it. For those just diving in, my friend and colleague Joe and I both heartily recommend vbJumpStart, which is a very Hands-On, step by step guide that doesn't waste time with 100 inanities that in all likelihood I will never use. In Chapter 3 of vbJumpStart you are already building master-detail-detail forms. That's the sort of thing that appeals to Access developers, I ween. Arthur On 4/30/07, JWColby wrote: > > >I see the progress more as a migration process something like a 90 degree > turn not as a 180. > > And of course that depends on how much programming you do in VBA. The > more > you do, the harder it is in one sense and the easier in another. It is > harder because you already get so much accomplished so quickly in VBA and > can't believe how tough it is to get anything done in VB.Net (at first > anyway). The easier it is in the sense that you are already an > accomplished > programmer and "only" have to come up to speed on the differences. > > If only there weren't so many damned differences!!! I am trying to take > the > contents of a text box and place it into a single > variable. Uhh-Uhhhh! In > VBA you would get an automatic conversion but in VBA it (apparently) tries > to stuff a control type into a single type and complains vigorously. Now > ya'd think that if there is a textbox.ToString method there would be a > ToSingle method right? > > I'm back to screaming "just do what I WANT, NOT what I SAY!!!". My > computer > yells back, and it isn't something I can repeat in public. > > And of course, in X thousands of hours all that will be behind me and I > will > type VB.NET code the way I type VBA code now. Forgetting all the pain > (that > is the human mind for ya) I will wonder why I didn't convert years ago. > > In the meantime I have ordered massive quantities of painkillers from my > favorite internet pharmacy using those spam emails I receive so many of > every week. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Monday, April 30, 2007 3:51 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Dot Net, where to start? > > Hi All: > > My 2 cents on this is that most if not all developers on the Access List > are > working on or/and will be moving towards Dot Net at one point. I see the > progress more as a migration process something like a 90 degree turn not > as > a 180. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, April 30, 2007 10:55 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Dot Net, where to start? > > Does it belong in this list? Also, there are differences between VS > 2003 and VS 2005 when it comes to creating typed datasets. > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Monday, April 30, 2007 5:01 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Dot Net, where to start? > > Hi Charlotte > > Yes, that sounds like a learning experience. > > /gustav > > >>> kp at sdsonline.net 30-04-2007 04:31 >>> > Charlotte - any chance of stepping us dot net newbies thru an example of > what you mean? > > Kath > ----- Original Message ----- > From: Charlotte Foust > To: Access Developers discussion and problem solving > Sent: Saturday, April 28, 2007 2:18 AM > Subject: Re: [AccessD] Dot Net, where to start? > > > The chapters on ADO.Net give a good overview of datasets, data providers > and the actual relational objects (tables, views, etc.), and it also > compares ADO.Net and ADO as well. But I haven't seen any books > describing the data tier structures in the way we built them. Most of > the books start with directly binding a form to a data adapter, and we > work the other way around. We build data "entities" that implement > typed datasets and expose the behaviors and methods we need. We can > then drop one of those entities on a form or report to provide the data > connections we need. The working code is actually in a dataprovider > class with the entity containing calls to the dataprovider and even to > other entities if need be. > > Our model has evolved as we developed the apps and figured out what > worked, and we have "refactored" (a much overused work in our shop) the > bits and pieces many times over the course of the past two years. > > Charlotte Foust > > > > -- > 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 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dwaters at usinternet.com Mon Apr 30 15:55:56 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 30 Apr 2007 15:55:56 -0500 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <006b01c78b68$04a684f0$657aa8c0@m6805> References: <0JHB006MNTMD9X70@l-daemon> <006b01c78b68$04a684f0$657aa8c0@m6805> Message-ID: <002801c78b69$f348a600$0200a8c0@danwaters> Ya know, Since about the time VB.Net was published, I get a lot more spam emails. Hmmmmm . . . Dan ;-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 30, 2007 3:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? >I see the progress more as a migration process something like a 90 degree turn not as a 180. And of course that depends on how much programming you do in VBA. The more you do, the harder it is in one sense and the easier in another. It is harder because you already get so much accomplished so quickly in VBA and can't believe how tough it is to get anything done in VB.Net (at first anyway). The easier it is in the sense that you are already an accomplished programmer and "only" have to come up to speed on the differences. If only there weren't so many damned differences!!! I am trying to take the contents of a text box and place it into a single variable. Uhh-Uhhhh! In VBA you would get an automatic conversion but in VBA it (apparently) tries to stuff a control type into a single type and complains vigorously. Now ya'd think that if there is a textbox.ToString method there would be a ToSingle method right? I'm back to screaming "just do what I WANT, NOT what I SAY!!!". My computer yells back, and it isn't something I can repeat in public. And of course, in X thousands of hours all that will be behind me and I will type VB.NET code the way I type VBA code now. Forgetting all the pain (that is the human mind for ya) I will wonder why I didn't convert years ago. In the meantime I have ordered massive quantities of painkillers from my favorite internet pharmacy using those spam emails I receive so many of every week. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, April 30, 2007 3:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? Hi All: My 2 cents on this is that most if not all developers on the Access List are working on or/and will be moving towards Dot Net at one point. I see the progress more as a migration process something like a 90 degree turn not as a 180. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 30, 2007 10:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Does it belong in this list? Also, there are differences between VS 2003 and VS 2005 when it comes to creating typed datasets. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 30, 2007 5:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Charlotte Yes, that sounds like a learning experience. /gustav >>> kp at sdsonline.net 30-04-2007 04:31 >>> Charlotte - any chance of stepping us dot net newbies thru an example of what you mean? Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Saturday, April 28, 2007 2:18 AM Subject: Re: [AccessD] Dot Net, where to start? The chapters on ADO.Net give a good overview of datasets, data providers and the actual relational objects (tables, views, etc.), and it also compares ADO.Net and ADO as well. But I haven't seen any books describing the data tier structures in the way we built them. Most of the books start with directly binding a form to a data adapter, and we work the other way around. We build data "entities" that implement typed datasets and expose the behaviors and methods we need. We can then drop one of those entities on a form or report to provide the data connections we need. The working code is actually in a dataprovider class with the entity containing calls to the dataprovider and even to other entities if need be. Our model has evolved as we developed the apps and figured out what worked, and we have "refactored" (a much overused work in our shop) the bits and pieces many times over the course of the past two years. Charlotte Foust -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Apr 30 15:54:31 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 30 Apr 2007 13:54:31 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <006b01c78b68$04a684f0$657aa8c0@m6805> References: <0JHB006MNTMD9X70@l-daemon> <006b01c78b68$04a684f0$657aa8c0@m6805> Message-ID: In .Net, you ALWAYS have to think about what you're instructing the language to do. You can't rely on the default methods or properties the way we could in Access, so if you want to populate a textbox, you use the Value property. I've worked in it long enough so that I find it easier than Access in almost every way and when I go back to Access, I keep looking for things I can't find there! It never becomes as effortless as Access code because the object model is much vaster, and you don't have the advantage of DAO being optimized for the UI to save time and effort. We (like a lot of shops) use some 3rd party tools instead of the basic Windows controls and reports. The 3rd party tools are heavily enhanced versions of the built in stuff with far more control available to the programmer. If you think .Net looks intimidating, take a look at Infragistics controls and the levels of properties you have to work with! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 30, 2007 1:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? >I see the progress more as a migration process something like a 90 >degree turn not as a 180. And of course that depends on how much programming you do in VBA. The more you do, the harder it is in one sense and the easier in another. It is harder because you already get so much accomplished so quickly in VBA and can't believe how tough it is to get anything done in VB.Net (at first anyway). The easier it is in the sense that you are already an accomplished programmer and "only" have to come up to speed on the differences. If only there weren't so many damned differences!!! I am trying to take the contents of a text box and place it into a single variable. Uhh-Uhhhh! In VBA you would get an automatic conversion but in VBA it (apparently) tries to stuff a control type into a single type and complains vigorously. Now ya'd think that if there is a textbox.ToString method there would be a ToSingle method right? I'm back to screaming "just do what I WANT, NOT what I SAY!!!". My computer yells back, and it isn't something I can repeat in public. And of course, in X thousands of hours all that will be behind me and I will type VB.NET code the way I type VBA code now. Forgetting all the pain (that is the human mind for ya) I will wonder why I didn't convert years ago. In the meantime I have ordered massive quantities of painkillers from my favorite internet pharmacy using those spam emails I receive so many of every week. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, April 30, 2007 3:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? Hi All: My 2 cents on this is that most if not all developers on the Access List are working on or/and will be moving towards Dot Net at one point. I see the progress more as a migration process something like a 90 degree turn not as a 180. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 30, 2007 10:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Does it belong in this list? Also, there are differences between VS 2003 and VS 2005 when it comes to creating typed datasets. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 30, 2007 5:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Charlotte Yes, that sounds like a learning experience. /gustav >>> kp at sdsonline.net 30-04-2007 04:31 >>> Charlotte - any chance of stepping us dot net newbies thru an example of what you mean? Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Saturday, April 28, 2007 2:18 AM Subject: Re: [AccessD] Dot Net, where to start? The chapters on ADO.Net give a good overview of datasets, data providers and the actual relational objects (tables, views, etc.), and it also compares ADO.Net and ADO as well. But I haven't seen any books describing the data tier structures in the way we built them. Most of the books start with directly binding a form to a data adapter, and we work the other way around. We build data "entities" that implement typed datasets and expose the behaviors and methods we need. We can then drop one of those entities on a form or report to provide the data connections we need. The working code is actually in a dataprovider class with the entity containing calls to the dataprovider and even to other entities if need be. Our model has evolved as we developed the apps and figured out what worked, and we have "refactored" (a much overused work in our shop) the bits and pieces many times over the course of the past two years. Charlotte Foust -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Apr 30 16:00:02 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 30 Apr 2007 17:00:02 -0400 Subject: [AccessD] Reports to Excel In-Reply-To: References: <006a01c78b65$16aa5d50$657aa8c0@m6805> Message-ID: <007201c78b6a$85cf5460$657aa8c0@m6805> When I was exporting data to a range, and the rows/columns varied, I looked at the source recordset which can tell me the rowcount and (using dao anyway) the number of fields in the fields collection of the recordset object which is the width. I then built the range on-the-fly using a starting position and the row/columns info. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Monday, April 30, 2007 4:45 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Reports to Excel Thanks Jim and John, I used... ".Columns.Borders.Color = vbBlack" ...and this seemed to do the trick... The export will have a different number of columns and rows each time. The above method puts a border around every cell in the worksheet...not just the data. If I could isolate just the cells with data...it might look better...but this will get me by. The 'macro recording' gave me a longer approach...but it was dependant on a range...which I'm not sure how to get. Any ideas? Thanks, Mark A. Matte >From: "JWColby" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Reports to Excel >Date: Mon, 30 Apr 2007 16:21:08 -0400 > >EXACTLY how I do it. Turn on the macro recorder, do the action (border >/ background / whatever) turn off the macro recorder, view the code. >After that what you do depends on how you want to do the automation. >The easiest way is to create a "template" workbook and create the macro >in it, then just call the macro (really a sub IIRC) when you are ready >to execute that code. > >As Jim mentioned, you might want to clean up the code, but you don't >have to. > > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim >Sent: Monday, April 30, 2007 3:01 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Reports to Excel > >. Use the macro recorder in Excel to create the >code. >You can transfer the resulting code to Access, add an Excel application >object, clean up the code if necessary and you are good to go. The >macro recorder doesn't generate the prettiest code but it is great at >pointing you in the right direction by telling you which objects to >use. HTH Jim Hale > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Monday, April 30, 2007 1:14 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Reports to Excel > > > >Thanks John, > >Got it all 'pretty' and stuff. The only thing left...I need to a put >border > >around each cell??? Any hints? > >Thanks, > >Mark A. Matte > > >From: "JWColby" > >Reply-To: Access Developers discussion and problem > >solving > >To: "'Access Developers discussion and problem > >solving'" > >Subject: Re: [AccessD] Reports to Excel > >Date: Mon, 30 Apr 2007 11:48:17 -0400 > > > >Automation. > > > > > >John W. Colby > >Colby Consulting > >www.ColbyConsulting.com > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A > >Matte > >Sent: Monday, April 30, 2007 11:30 AM > >To: accessd at databaseadvisors.com > >Subject: [AccessD] Reports to Excel > > > >Hello All, > > > >I have an A97 db. Is there a way to export to excel and control what > >color the header row is in excel? > > > >Thanks, > > > >Mark A. Matte > > > >_________________________________________________________________ > >*********************************************************************** >The information transmitted is intended solely for the individual or >entity to which it is addressed and may contain confidential and/or >privileged material. Any review, retransmission, dissemination or other >use of or taking action in reliance upon this information by persons or >entities other than the intended recipient is prohibited. >If you have received this email in error please contact the sender and >delete the material from any computer. As a recipient of this email, >you are responsible for screening its contents and the contents of any >attachments for the presence of viruses. No liability is accepted for >any damages caused by any virus transmitted by this email. >-- >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 _________________________________________________________________ Download Messenger. Join the im Initiative. Help make a difference today. http://im.live.com/messenger/im/home/?source=TAGHM_APR07 From jwcolby at colbyconsulting.com Mon Apr 30 16:06:27 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 30 Apr 2007 17:06:27 -0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <29f585dd0704301354u14a34c5bj230a528a3cd990e9@mail.gmail.com> References: <0JHB006MNTMD9X70@l-daemon> <006b01c78b68$04a684f0$657aa8c0@m6805> <29f585dd0704301354u14a34c5bj230a528a3cd990e9@mail.gmail.com> Message-ID: <007301c78b6b$6b55b8d0$657aa8c0@m6805> >...heartily recommend vbJumpStart Hey, I already have that book. I guess it's time to read it eh? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, April 30, 2007 4:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Everything is an object, JC. You of all people ought to be most receptive to that concept. When migrating code from .NET 2003 to .NET 2005, and it crashed, I just jumped in and added ".ToString()" to the offending variable. It worked almost all the time. E.g. An array is an object not a structure. Easy to get over once you realize it. For those just diving in, my friend and colleague Joe and I both heartily recommend vbJumpStart, which is a very Hands-On, step by step guide that doesn't waste time with 100 inanities that in all likelihood I will never use. In Chapter 3 of vbJumpStart you are already building master-detail-detail forms. That's the sort of thing that appeals to Access developers, I ween. Arthur On 4/30/07, JWColby wrote: > > >I see the progress more as a migration process something like a 90 > >degree > turn not as a 180. > > And of course that depends on how much programming you do in VBA. The > more you do, the harder it is in one sense and the easier in another. > It is harder because you already get so much accomplished so quickly > in VBA and can't believe how tough it is to get anything done in > VB.Net (at first anyway). The easier it is in the sense that you are > already an accomplished programmer and "only" have to come up to speed > on the differences. > > If only there weren't so many damned differences!!! I am trying to > take the contents of a text box and place it into a single variable. > Uhh-Uhhhh! In VBA you would get an automatic conversion but in VBA it > (apparently) tries to stuff a control type into a single type and > complains vigorously. Now ya'd think that if there is a > textbox.ToString method there would be a ToSingle method right? > > I'm back to screaming "just do what I WANT, NOT what I SAY!!!". My > computer yells back, and it isn't something I can repeat in public. > > And of course, in X thousands of hours all that will be behind me and > I will type VB.NET code the way I type VBA code now. Forgetting all > the pain (that is the human mind for ya) I will wonder why I didn't > convert years ago. > > In the meantime I have ordered massive quantities of painkillers from > my favorite internet pharmacy using those spam emails I receive so > many of every week. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim > Lawrence > Sent: Monday, April 30, 2007 3:51 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Dot Net, where to start? > > Hi All: > > My 2 cents on this is that most if not all developers on the Access > List are working on or/and will be moving towards Dot Net at one > point. I see the progress more as a migration process something like a > 90 degree turn not as a 180. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Monday, April 30, 2007 10:55 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Dot Net, where to start? > > Does it belong in this list? Also, there are differences between VS > 2003 and VS 2005 when it comes to creating typed datasets. > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock > Sent: Monday, April 30, 2007 5:01 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Dot Net, where to start? > > Hi Charlotte > > Yes, that sounds like a learning experience. > > /gustav > > >>> kp at sdsonline.net 30-04-2007 04:31 >>> > Charlotte - any chance of stepping us dot net newbies thru an example > of what you mean? > > Kath > ----- Original Message ----- > From: Charlotte Foust > To: Access Developers discussion and problem solving > Sent: Saturday, April 28, 2007 2:18 AM > Subject: Re: [AccessD] Dot Net, where to start? > > > The chapters on ADO.Net give a good overview of datasets, data > providers and the actual relational objects (tables, views, etc.), and > it also compares ADO.Net and ADO as well. But I haven't seen any > books describing the data tier structures in the way we built them. > Most of the books start with directly binding a form to a data > adapter, and we work the other way around. We build data "entities" > that implement typed datasets and expose the behaviors and methods we > need. We can then drop one of those entities on a form or report to > provide the data connections we need. The working code is actually in > a dataprovider class with the entity containing calls to the > dataprovider and even to other entities if need be. > > Our model has evolved as we developed the apps and figured out what > worked, and we have "refactored" (a much overused work in our shop) > the bits and pieces many times over the course of the past two years. > > Charlotte Foust > > > > -- > 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 > > -- > 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 jwcolby at colbyconsulting.com Mon Apr 30 16:08:25 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 30 Apr 2007 17:08:25 -0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: References: <0JHB006MNTMD9X70@l-daemon><006b01c78b68$04a684f0$657aa8c0@m6805> Message-ID: <007401c78b6b$b1fc1e00$657aa8c0@m6805> >It never becomes as effortless as Access code because ... So you are dooming me to a life of screaming and internet pain killers? 8~( John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 30, 2007 4:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? In .Net, you ALWAYS have to think about what you're instructing the language to do. You can't rely on the default methods or properties the way we could in Access, so if you want to populate a textbox, you use the Value property. I've worked in it long enough so that I find it easier than Access in almost every way and when I go back to Access, I keep looking for things I can't find there! It never becomes as effortless as Access code because the object model is much vaster, and you don't have the advantage of DAO being optimized for the UI to save time and effort. We (like a lot of shops) use some 3rd party tools instead of the basic Windows controls and reports. The 3rd party tools are heavily enhanced versions of the built in stuff with far more control available to the programmer. If you think .Net looks intimidating, take a look at Infragistics controls and the levels of properties you have to work with! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 30, 2007 1:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? >I see the progress more as a migration process something like a 90 >degree turn not as a 180. And of course that depends on how much programming you do in VBA. The more you do, the harder it is in one sense and the easier in another. It is harder because you already get so much accomplished so quickly in VBA and can't believe how tough it is to get anything done in VB.Net (at first anyway). The easier it is in the sense that you are already an accomplished programmer and "only" have to come up to speed on the differences. If only there weren't so many damned differences!!! I am trying to take the contents of a text box and place it into a single variable. Uhh-Uhhhh! In VBA you would get an automatic conversion but in VBA it (apparently) tries to stuff a control type into a single type and complains vigorously. Now ya'd think that if there is a textbox.ToString method there would be a ToSingle method right? I'm back to screaming "just do what I WANT, NOT what I SAY!!!". My computer yells back, and it isn't something I can repeat in public. And of course, in X thousands of hours all that will be behind me and I will type VB.NET code the way I type VBA code now. Forgetting all the pain (that is the human mind for ya) I will wonder why I didn't convert years ago. In the meantime I have ordered massive quantities of painkillers from my favorite internet pharmacy using those spam emails I receive so many of every week. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, April 30, 2007 3:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? Hi All: My 2 cents on this is that most if not all developers on the Access List are working on or/and will be moving towards Dot Net at one point. I see the progress more as a migration process something like a 90 degree turn not as a 180. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 30, 2007 10:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Does it belong in this list? Also, there are differences between VS 2003 and VS 2005 when it comes to creating typed datasets. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 30, 2007 5:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Charlotte Yes, that sounds like a learning experience. /gustav >>> kp at sdsonline.net 30-04-2007 04:31 >>> Charlotte - any chance of stepping us dot net newbies thru an example of what you mean? Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Saturday, April 28, 2007 2:18 AM Subject: Re: [AccessD] Dot Net, where to start? The chapters on ADO.Net give a good overview of datasets, data providers and the actual relational objects (tables, views, etc.), and it also compares ADO.Net and ADO as well. But I haven't seen any books describing the data tier structures in the way we built them. Most of the books start with directly binding a form to a data adapter, and we work the other way around. We build data "entities" that implement typed datasets and expose the behaviors and methods we need. We can then drop one of those entities on a form or report to provide the data connections we need. The working code is actually in a dataprovider class with the entity containing calls to the dataprovider and even to other entities if need be. Our model has evolved as we developed the apps and figured out what worked, and we have "refactored" (a much overused work in our shop) the bits and pieces many times over the course of the past two years. Charlotte Foust -- 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 -- 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 cfoust at infostatsystems.com Mon Apr 30 16:24:30 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 30 Apr 2007 14:24:30 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <007401c78b6b$b1fc1e00$657aa8c0@m6805> References: <0JHB006MNTMD9X70@l-daemon><006b01c78b68$04a684f0$657aa8c0@m6805> <007401c78b6b$b1fc1e00$657aa8c0@m6805> Message-ID: Hey, *I* didn't force you to become a programmer!! LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 30, 2007 2:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? >It never becomes as effortless as Access code because ... So you are dooming me to a life of screaming and internet pain killers? 8~( John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 30, 2007 4:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? In .Net, you ALWAYS have to think about what you're instructing the language to do. You can't rely on the default methods or properties the way we could in Access, so if you want to populate a textbox, you use the Value property. I've worked in it long enough so that I find it easier than Access in almost every way and when I go back to Access, I keep looking for things I can't find there! It never becomes as effortless as Access code because the object model is much vaster, and you don't have the advantage of DAO being optimized for the UI to save time and effort. We (like a lot of shops) use some 3rd party tools instead of the basic Windows controls and reports. The 3rd party tools are heavily enhanced versions of the built in stuff with far more control available to the programmer. If you think .Net looks intimidating, take a look at Infragistics controls and the levels of properties you have to work with! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 30, 2007 1:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? >I see the progress more as a migration process something like a 90 >degree turn not as a 180. And of course that depends on how much programming you do in VBA. The more you do, the harder it is in one sense and the easier in another. It is harder because you already get so much accomplished so quickly in VBA and can't believe how tough it is to get anything done in VB.Net (at first anyway). The easier it is in the sense that you are already an accomplished programmer and "only" have to come up to speed on the differences. If only there weren't so many damned differences!!! I am trying to take the contents of a text box and place it into a single variable. Uhh-Uhhhh! In VBA you would get an automatic conversion but in VBA it (apparently) tries to stuff a control type into a single type and complains vigorously. Now ya'd think that if there is a textbox.ToString method there would be a ToSingle method right? I'm back to screaming "just do what I WANT, NOT what I SAY!!!". My computer yells back, and it isn't something I can repeat in public. And of course, in X thousands of hours all that will be behind me and I will type VB.NET code the way I type VBA code now. Forgetting all the pain (that is the human mind for ya) I will wonder why I didn't convert years ago. In the meantime I have ordered massive quantities of painkillers from my favorite internet pharmacy using those spam emails I receive so many of every week. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, April 30, 2007 3:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? Hi All: My 2 cents on this is that most if not all developers on the Access List are working on or/and will be moving towards Dot Net at one point. I see the progress more as a migration process something like a 90 degree turn not as a 180. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 30, 2007 10:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Does it belong in this list? Also, there are differences between VS 2003 and VS 2005 when it comes to creating typed datasets. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 30, 2007 5:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Charlotte Yes, that sounds like a learning experience. /gustav >>> kp at sdsonline.net 30-04-2007 04:31 >>> Charlotte - any chance of stepping us dot net newbies thru an example of what you mean? Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Saturday, April 28, 2007 2:18 AM Subject: Re: [AccessD] Dot Net, where to start? The chapters on ADO.Net give a good overview of datasets, data providers and the actual relational objects (tables, views, etc.), and it also compares ADO.Net and ADO as well. But I haven't seen any books describing the data tier structures in the way we built them. Most of the books start with directly binding a form to a data adapter, and we work the other way around. We build data "entities" that implement typed datasets and expose the behaviors and methods we need. We can then drop one of those entities on a form or report to provide the data connections we need. The working code is actually in a dataprovider class with the entity containing calls to the dataprovider and even to other entities if need be. Our model has evolved as we developed the apps and figured out what worked, and we have "refactored" (a much overused work in our shop) the bits and pieces many times over the course of the past two years. Charlotte Foust -- 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 -- 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 From jwcolby at colbyconsulting.com Mon Apr 30 16:35:58 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 30 Apr 2007 17:35:58 -0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: References: <0JHB006MNTMD9X70@l-daemon><006b01c78b68$04a684f0$657aa8c0@m6805> Message-ID: <007501c78b6f$8bb4a150$657aa8c0@m6805> One of my problems with all of the database books is that all assume that you are going to bind to a form. Yea, that is important but once you get past the data input / display, you still have data manipulations to do. I converted the code to find the population within a radius of a zip code. Other than the fact that it took me a dozen hours to cut/paste/fix code that was already written, it appears that something is just slightly off in the calcs. It looks to me like rounding errors across a dozen calcs is causing the numbers to come out slightly larger. Math.sin (for example) has a few decimal points more accuracy (waaay out there to the right) than the VBA cousins and I suspect that it is causing slightly larger values multiplied by slightly larger values ^ slightly larger values to ripple out to significantly larger values. We'll see. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 30, 2007 4:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? In .Net, you ALWAYS have to think about what you're instructing the language to do. You can't rely on the default methods or properties the way we could in Access, so if you want to populate a textbox, you use the Value property. I've worked in it long enough so that I find it easier than Access in almost every way and when I go back to Access, I keep looking for things I can't find there! It never becomes as effortless as Access code because the object model is much vaster, and you don't have the advantage of DAO being optimized for the UI to save time and effort. We (like a lot of shops) use some 3rd party tools instead of the basic Windows controls and reports. The 3rd party tools are heavily enhanced versions of the built in stuff with far more control available to the programmer. If you think .Net looks intimidating, take a look at Infragistics controls and the levels of properties you have to work with! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 30, 2007 1:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? >I see the progress more as a migration process something like a 90 >degree turn not as a 180. And of course that depends on how much programming you do in VBA. The more you do, the harder it is in one sense and the easier in another. It is harder because you already get so much accomplished so quickly in VBA and can't believe how tough it is to get anything done in VB.Net (at first anyway). The easier it is in the sense that you are already an accomplished programmer and "only" have to come up to speed on the differences. If only there weren't so many damned differences!!! I am trying to take the contents of a text box and place it into a single variable. Uhh-Uhhhh! In VBA you would get an automatic conversion but in VBA it (apparently) tries to stuff a control type into a single type and complains vigorously. Now ya'd think that if there is a textbox.ToString method there would be a ToSingle method right? I'm back to screaming "just do what I WANT, NOT what I SAY!!!". My computer yells back, and it isn't something I can repeat in public. And of course, in X thousands of hours all that will be behind me and I will type VB.NET code the way I type VBA code now. Forgetting all the pain (that is the human mind for ya) I will wonder why I didn't convert years ago. In the meantime I have ordered massive quantities of painkillers from my favorite internet pharmacy using those spam emails I receive so many of every week. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, April 30, 2007 3:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? Hi All: My 2 cents on this is that most if not all developers on the Access List are working on or/and will be moving towards Dot Net at one point. I see the progress more as a migration process something like a 90 degree turn not as a 180. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 30, 2007 10:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Does it belong in this list? Also, there are differences between VS 2003 and VS 2005 when it comes to creating typed datasets. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 30, 2007 5:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Charlotte Yes, that sounds like a learning experience. /gustav >>> kp at sdsonline.net 30-04-2007 04:31 >>> Charlotte - any chance of stepping us dot net newbies thru an example of what you mean? Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Saturday, April 28, 2007 2:18 AM Subject: Re: [AccessD] Dot Net, where to start? The chapters on ADO.Net give a good overview of datasets, data providers and the actual relational objects (tables, views, etc.), and it also compares ADO.Net and ADO as well. But I haven't seen any books describing the data tier structures in the way we built them. Most of the books start with directly binding a form to a data adapter, and we work the other way around. We build data "entities" that implement typed datasets and expose the behaviors and methods we need. We can then drop one of those entities on a form or report to provide the data connections we need. The working code is actually in a dataprovider class with the entity containing calls to the dataprovider and even to other entities if need be. Our model has evolved as we developed the apps and figured out what worked, and we have "refactored" (a much overused work in our shop) the bits and pieces many times over the course of the past two years. Charlotte Foust -- 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 -- 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 Jim.Hale at FleetPride.com Mon Apr 30 16:44:42 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 30 Apr 2007 16:44:42 -0500 Subject: [AccessD] Dot Net, where to start? Message-ID: "Migration" always brings to mind the thundering herd of wildebeest running hell bent for leather across the savanna- and the crocodiles are just floating in the river waiting, knowing lunch is about to be served. Well, I'm crocodile food, too old and tired to learn new tricks- no way I'm going to burn good hours learning dotnet when I could be using the time more productively to hone my Tx hold'em skills instead. Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, April 30, 2007 2:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? Hi All: My 2 cents on this is that most if not all developers on the Access List are working on or/and will be moving towards Dot Net at one point. I see the progress more as a migration process something like a 90 degree turn not as a 180. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 30, 2007 10:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Does it belong in this list? Also, there are differences between VS 2003 and VS 2005 when it comes to creating typed datasets. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 30, 2007 5:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Charlotte Yes, that sounds like a learning experience. /gustav >>> kp at sdsonline.net 30-04-2007 04:31 >>> Charlotte - any chance of stepping us dot net newbies thru an example of what you mean? Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Saturday, April 28, 2007 2:18 AM Subject: Re: [AccessD] Dot Net, where to start? The chapters on ADO.Net give a good overview of datasets, data providers and the actual relational objects (tables, views, etc.), and it also compares ADO.Net and ADO as well. But I haven't seen any books describing the data tier structures in the way we built them. Most of the books start with directly binding a form to a data adapter, and we work the other way around. We build data "entities" that implement typed datasets and expose the behaviors and methods we need. We can then drop one of those entities on a form or report to provide the data connections we need. The working code is actually in a dataprovider class with the entity containing calls to the dataprovider and even to other entities if need be. Our model has evolved as we developed the apps and figured out what worked, and we have "refactored" (a much overused work in our shop) the bits and pieces many times over the course of the past two years. Charlotte Foust -- 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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From galeper at gmail.com Mon Apr 30 17:10:12 2007 From: galeper at gmail.com (Gale Perez) Date: Mon, 30 Apr 2007 15:10:12 -0700 Subject: [AccessD] (1) Text Box Formatted as " >" and (2) function to get user name for Windows Message-ID: <5b2621db0704301510o68d4e9aeu35b66872155cd2dd@mail.gmail.com> Hi! It has been a while since I have developed in Access, and I'm reviewing my old databases (I am very indebted to this group for assistance in developing them). I cannot remember what the ">" character in the Format property of a text box does and hoped someone can tell me. I also had been given a function to get the Novell User Name of a user in order to set user permissions, etc. without having an actual login box (it gets the Novell user name automatically and compares that to the one stored in the table to see if the user is in the database). It works beautifully but now I am working in Windows, and I wondered whether a similar function exists for Windows (XP and other versions). Thank you! Gale From rockysmolin at bchacc.com Mon Apr 30 17:10:21 2007 From: rockysmolin at bchacc.com (rockysmolin at bchacc.com) Date: Mon, 30 Apr 2007 18:10:21 -0400 Subject: [AccessD] Reports to Excel Message-ID: <380-220074130221021550@M2W019.mail2web.com> Mark: My approach is always to start Excel, turn on the macro recorder, do what I want in Excel, turn off the macro recorder, and then crib the code out of Excel and paste into Access. Works every time and I don't have to acutally learn anything. Rocky Original Message: ----------------- From: Mark A Matte markamatte at hotmail.com Date: Mon, 30 Apr 2007 18:14:16 +0000 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Reports to Excel Thanks John, Got it all 'pretty' and stuff. The only thing left...I need to a put border around each cell??? Any hints? Thanks, Mark A. Matte >From: "JWColby" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Reports to Excel >Date: Mon, 30 Apr 2007 11:48:17 -0400 > >Automation. > > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Monday, April 30, 2007 11:30 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Reports to Excel > >Hello All, > >I have an A97 db. Is there a way to export to excel and control what color >the header row is in excel? > >Thanks, > >Mark A. Matte > >_________________________________________________________________ >Interest Rates NEAR 39yr LOWS! $430,000 Mortgage for $1,299/mo - Calculate >new payment >http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9632-19132&moid=1488 8 > >-- >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 _________________________________________________________________ Mortgage rates near historic lows. Refinance $200,000 loan for as low as $771/month* https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search =mortgage_text_links_88_h27f8&disc=y&vers=689&s=4056&p=5117 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- mail2web.com ? What can On Demand Business Solutions do for you? http://link.mail2web.com/Business/SharePoint From stuart at lexacorp.com.pg Mon Apr 30 17:23:14 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 01 May 2007 08:23:14 +1000 Subject: [AccessD] (1) Text Box Formatted as " >" and (2) function to get user name for Windows In-Reply-To: <5b2621db0704301510o68d4e9aeu35b66872155cd2dd@mail.gmail.com> References: <5b2621db0704301510o68d4e9aeu35b66872155cd2dd@mail.gmail.com> Message-ID: <46366C52.25936.38E67B78@stuart.lexacorp.com.pg> On 30 Apr 2007 at 15:10, Gale Perez wrote: > Hi! > > It has been a while since I have developed in Access, and I'm reviewing my > old databases (I am very indebted to this group for assistance in developing > them). I cannot remember what the ">" character in the Format property of a > text box does and hoped someone can tell me. > Displays characters as upper case. > I also had been given a function to get the Novell User Name of a user in > order to set user permissions, etc. without having an actual login box (it > gets the Novell user name automatically and compares that to the one stored > in the table to see if the user is in the database). It works beautifully > but now I am working in Windows, and I wondered whether a similar function > exists for Windows (XP and other versions). Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long Function UserName() As String Dim strUName As String Dim lngRetVal As Long strUName = Space$(16) lngRetVal = GetUserName(strUName, 16) strUName = Trim$(strUName) 'strip Chr$(0) from end of name UserName = Left$(strUName, Len(strUName) - 1) End Function -- Stuart From martyconnelly at shaw.ca Mon Apr 30 17:48:24 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 30 Apr 2007 15:48:24 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <0JHB006MNTMD9X70@l-daemon> References: <0JHB006MNTMD9X70@l-daemon> Message-ID: <46367238.6060600@shaw.ca> I would suggest, it is somewhere between 90 and 180 degrees, just so it could be an obtuse angle. Jim Lawrence wrote: >Hi All: > >My 2 cents on this is that most if not all developers on the Access List are >working on or/and will be moving towards Dot Net at one point. I see the >progress more as a migration process something like a 90 degree turn not as >a 180. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >Sent: Monday, April 30, 2007 10:55 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Dot Net, where to start? > >Does it belong in this list? Also, there are differences between VS >2003 and VS 2005 when it comes to creating typed datasets. > >Charlotte > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: Monday, April 30, 2007 5:01 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Dot Net, where to start? > >Hi Charlotte > >Yes, that sounds like a learning experience. > >/gustav > > > >>>>kp at sdsonline.net 30-04-2007 04:31 >>> >>>> >>>> >Charlotte - any chance of stepping us dot net newbies thru an example of >what you mean? > >Kath > ----- Original Message ----- > From: Charlotte Foust > To: Access Developers discussion and problem solving > Sent: Saturday, April 28, 2007 2:18 AM > Subject: Re: [AccessD] Dot Net, where to start? > > > The chapters on ADO.Net give a good overview of datasets, data >providers > and the actual relational objects (tables, views, etc.), and it also > compares ADO.Net and ADO as well. But I haven't seen any books > describing the data tier structures in the way we built them. Most of > the books start with directly binding a form to a data adapter, and we > work the other way around. We build data "entities" that implement > typed datasets and expose the behaviors and methods we need. We can > then drop one of those entities on a form or report to provide the >data > connections we need. The working code is actually in a dataprovider > class with the entity containing calls to the dataprovider and even to > other entities if need be. > > Our model has evolved as we developed the apps and figured out what > worked, and we have "refactored" (a much overused work in our shop) >the > bits and pieces many times over the course of the past two years. > > Charlotte Foust > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From mmattys at rochester.rr.com Mon Apr 30 18:25:07 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Mon, 30 Apr 2007 19:25:07 -0400 Subject: [AccessD] Dot Net, where to start? References: <0JHB006MNTMD9X70@l-daemon> <46367238.6060600@shaw.ca> Message-ID: <00e301c78b7e$cb246a50$0302a8c0@Laptop> Good one, Marty! Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Monday, April 30, 2007 6:48 PM Subject: Re: [AccessD] Dot Net, where to start? >I would suggest, it is somewhere between 90 and 180 degrees, > just so it could be an obtuse angle. > > Jim Lawrence wrote: > >>Hi All: >> >>My 2 cents on this is that most if not all developers on the Access List >>are >>working on or/and will be moving towards Dot Net at one point. I see the >>progress more as a migration process something like a 90 degree turn not >>as >>a 180. From ebarro at verizon.net Mon Apr 30 18:31:07 2007 From: ebarro at verizon.net (Eric Barro) Date: Mon, 30 Apr 2007 16:31:07 -0700 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: <004301c7868a$9e6cd590$657aa8c0@m6805> Message-ID: <0JHC007TC404LIX4@vms048.mailsrvcs.net> Have you looked into BULK INSERT in SQL? This is supposed to be a faster data import method. Using T-SQL you can do something like this... CREATE TABLE #tmpEmployees () BULK INSERT #tmpEmployees FROM 'c:\temp\import.csv' WITH (FORMATFILE = 'c:\temp\importCSV.fmt' importCSV.fmt would contain the file format...in this example it's fixed width 8.0 18 1 SQLCHAR 0 5 "" 1 suffix SQL_Latin1_General_CP1_CI_AS 2 SQLCHAR 0 30 "" 2 last_name SQL_Latin1_General_CP1_CI_AS 3 SQLCHAR 0 20 "" 3 first_name SQL_Latin1_General_CP1_CI_AS -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, April 24, 2007 9:07 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] using a saved SSIS with VB.Net The CSV file is on the same machine. It appears that the clause that pulls the source table (csv file) into memory is taking a ton of time. These are large files, the smallest are a little under 200 million bytes and the largest are up in the 3 gigabyte range. It appears that SQL Server does not read a few records and append them, but rather reads the whole CSV and then starts appending all of the assembled records. If I were a SQL Server pro I could probably speed this up considerably. Alas, I am not. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Tuesday, April 24, 2007 11:53 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net John, One of the keys to getting it into SQL Server faster is to have the CSV file on the server and not on a different machine. Network traffic can kill the process and slow it down significantly. Robert At 10:22 AM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 10:32:44 -0400 >From: "JWColby" >Subject: Re: [AccessD] using a saved SSIS with VB.Net >To: "'Access Developers discussion and problem solving'" > >Message-ID: <003101c7867d$6cce93a0$657aa8c0 at m6805> >Content-Type: text/plain; charset="us-ascii" > >Gustav, > >My bigger issue here is that there 56 of these files to import into SQL >Server, supposedly ~100 million records. I have done about 8 million >records so far. I really must get this thing automated such that it >just chunks through these CSV files without my having to be around to >start the next one. I am working now on setting up the append query >using that syntax below into a stored procedure so that I can then just replace the file name. >After that I will need to write something in VB.Net or whatever to >execute the stored procedure feeding in all of the file names from a >specific directory, deleting the file once the stored procedure >finishes the import for a given file. > >I have never written a stored procedure. >Obviously, given the above, I have never called a stored procedure from >code. > >So much to learn, so little time. > >Once this is imported I have to turn right around and export a subset >of fields from the table back out as 1 - 2 million record chunks for >CAS / DPV / NCOA processing, then I have to import THOSE back in to a >new table. > >And when this set of data is finished, I have another set of about the >same size on the way, to which I have to perform the same processes. I >soooooo need to get this process automated. > >John W. Colby -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007 5:26 PM From cfoust at infostatsystems.com Mon Apr 30 18:30:43 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 30 Apr 2007 16:30:43 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <46367238.6060600@shaw.ca> References: <0JHB006MNTMD9X70@l-daemon> <46367238.6060600@shaw.ca> Message-ID: ROTFL Well said! Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 30, 2007 3:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? I would suggest, it is somewhere between 90 and 180 degrees, just so it could be an obtuse angle. Jim Lawrence wrote: >Hi All: > >My 2 cents on this is that most if not all developers on the Access >List are working on or/and will be moving towards Dot Net at one point. >I see the progress more as a migration process something like a 90 >degree turn not as a 180. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: Monday, April 30, 2007 10:55 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Dot Net, where to start? > >Does it belong in this list? Also, there are differences between VS >2003 and VS 2005 when it comes to creating typed datasets. > >Charlotte > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: Monday, April 30, 2007 5:01 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Dot Net, where to start? > >Hi Charlotte > >Yes, that sounds like a learning experience. > >/gustav > > > >>>>kp at sdsonline.net 30-04-2007 04:31 >>> >>>> >>>> >Charlotte - any chance of stepping us dot net newbies thru an example >of what you mean? > >Kath > ----- Original Message ----- > From: Charlotte Foust > To: Access Developers discussion and problem solving > Sent: Saturday, April 28, 2007 2:18 AM > Subject: Re: [AccessD] Dot Net, where to start? > > > The chapters on ADO.Net give a good overview of datasets, data >providers > and the actual relational objects (tables, views, etc.), and it also > compares ADO.Net and ADO as well. But I haven't seen any books > describing the data tier structures in the way we built them. Most >of > the books start with directly binding a form to a data adapter, and >we > work the other way around. We build data "entities" that implement > typed datasets and expose the behaviors and methods we need. We can > then drop one of those entities on a form or report to provide the >data > connections we need. The working code is actually in a dataprovider > class with the entity containing calls to the dataprovider and even >to > other entities if need be. > > Our model has evolved as we developed the apps and figured out what > worked, and we have "refactored" (a much overused work in our shop) >the > bits and pieces many times over the course of the past two years. > > Charlotte Foust > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kp at sdsonline.net Mon Apr 30 19:33:15 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 1 May 2007 10:33:15 +1000 Subject: [AccessD] Dot Net, where to start? References: Message-ID: <006201c78b88$4f9e3550$6501a8c0@office> Well (she says selfishly) - I would start with 2005. And surely it would be OK if we discussed it on the vb list? That way pure Access could stay on AccessD? Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Tuesday, May 01, 2007 3:54 AM Subject: Re: [AccessD] Dot Net, where to start? Does it belong in this list? Also, there are differences between VS 2003 and VS 2005 when it comes to creating typed datasets. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 30, 2007 5:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Charlotte Yes, that sounds like a learning experience. /gustav >>> kp at sdsonline.net 30-04-2007 04:31 >>> Charlotte - any chance of stepping us dot net newbies thru an example of what you mean? Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Saturday, April 28, 2007 2:18 AM Subject: Re: [AccessD] Dot Net, where to start? The chapters on ADO.Net give a good overview of datasets, data providers and the actual relational objects (tables, views, etc.), and it also compares ADO.Net and ADO as well. But I haven't seen any books describing the data tier structures in the way we built them. Most of the books start with directly binding a form to a data adapter, and we work the other way around. We build data "entities" that implement typed datasets and expose the behaviors and methods we need. We can then drop one of those entities on a form or report to provide the data connections we need. The working code is actually in a dataprovider class with the entity containing calls to the dataprovider and even to other entities if need be. Our model has evolved as we developed the apps and figured out what worked, and we have "refactored" (a much overused work in our shop) the bits and pieces many times over the course of the past two years. Charlotte Foust -- 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 wdhindman at dejpolsystems.com Mon Apr 30 21:21:00 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 30 Apr 2007 22:21:00 -0400 Subject: [AccessD] Dot Net, where to start? References: <0JHB006MNTMD9X70@l-daemon> <46367238.6060600@shaw.ca> Message-ID: <001a01c78b97$5d2e33a0$7d7d6c4c@jisshowsbs.local> ...obtuse, eh ...no wonder JC is so enamored of it :) William Hindman ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Monday, April 30, 2007 6:48 PM Subject: Re: [AccessD] Dot Net, where to start? >I would suggest, it is somewhere between 90 and 180 degrees, > just so it could be an obtuse angle. > > Jim Lawrence wrote: > >>Hi All: >> >>My 2 cents on this is that most if not all developers on the Access List >>are >>working on or/and will be moving towards Dot Net at one point. I see the >>progress more as a migration process something like a 90 degree turn not >>as >>a 180. >> >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >>Sent: Monday, April 30, 2007 10:55 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] Dot Net, where to start? >> >>Does it belong in this list? Also, there are differences between VS >>2003 and VS 2005 when it comes to creating typed datasets. >> >>Charlotte >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >>Sent: Monday, April 30, 2007 5:01 AM >>To: accessd at databaseadvisors.com >>Subject: Re: [AccessD] Dot Net, where to start? >> >>Hi Charlotte >> >>Yes, that sounds like a learning experience. >> >>/gustav >> >> >> >>>>>kp at sdsonline.net 30-04-2007 04:31 >>> >>>>> >>>>> >>Charlotte - any chance of stepping us dot net newbies thru an example of >>what you mean? >> >>Kath >> ----- Original Message ----- >> From: Charlotte Foust >> To: Access Developers discussion and problem solving >> Sent: Saturday, April 28, 2007 2:18 AM >> Subject: Re: [AccessD] Dot Net, where to start? >> >> >> The chapters on ADO.Net give a good overview of datasets, data >>providers >> and the actual relational objects (tables, views, etc.), and it also >> compares ADO.Net and ADO as well. But I haven't seen any books >> describing the data tier structures in the way we built them. Most of >> the books start with directly binding a form to a data adapter, and we >> work the other way around. We build data "entities" that implement >> typed datasets and expose the behaviors and methods we need. We can >> then drop one of those entities on a form or report to provide the >>data >> connections we need. The working code is actually in a dataprovider >> class with the entity containing calls to the dataprovider and even to >> other entities if need be. >> >> Our model has evolved as we developed the apps and figured out what >> worked, and we have "refactored" (a much overused work in our shop) >>the >> bits and pieces many times over the course of the past two years. >> >> Charlotte Foust >> >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > > -- > Marty Connelly > Victoria, B.C. > Canada > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Sun Apr 1 04:40:21 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 01 Apr 2007 11:40:21 +0200 Subject: [AccessD] SQL Server - Time only in date field Message-ID: Hi John and Stuart It's easier than that; it behaves exactly like in Access (JET) except for two things: - SQL Server time is limited to real linear dates only, back to 1753-1-1, where JET goes back to an artificial value of 100-1-1. - SQL Server millisecond resolution is only 3.33 ms while JET goes down to 1 ms. Thus, the date of numeric date value zero is the same for both: 1899-12-30. This can be easily shown if you format a date/time field from SQL Server to a string which always include the date: ? Format(, "yyyy-mm-dd hh:nn:ss") Official doc is here: http://msdn2.microsoft.com/en-us/library/ms141036.aspx which also could imply that the data type of DT_DBTIME would fit your purpose. /gustav >>> stuart at lexacorp.com.pg 01-04-2007 01:40 >>> On 31 Mar 2007 at 14:33, JWColby wrote: > Can SQL Server handle a date with just a time portion in the field? IOW a > date of 12:03 am without a date? Yes. Does it just the way that Access does. It defaults to date 0 if no date part is specified. Date 0 is January 1, 1900 To retrieve the time as a string use Convert(char(8),myDate,8) for hh:mm:ss or Convert(char(12),myDate,14) if you want milliseconds. (108 and114 return the same thing) -- Stuart From Gustav at cactus.dk Sun Apr 1 05:04:02 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 01 Apr 2007 12:04:02 +0200 Subject: [AccessD] Column Positions Message-ID: Hi Shamil If this is in an Access environment, are there any benefits by specifying the Access Application object? Normally I don't use it - I'm mostly in Access - but maybe I should? Anyway, in Access this stripped down version seems to run with no glitches: Public Sub ResetToQBEFieldsOrder(ByVal queryName As String) Dim dbs As DAO.Database Dim qdf As DAO.QueryDef Dim frm As Form Dim index As Integer Set dbs = CurrentDb Set qdf = dbs.QueryDefs(queryName) DoCmd.OpenQuery queryName, acViewNormal Set frm = Screen.ActiveDatasheet.Form For index = 0 To qdf.Fields.Count - 1 frm.Controls(index).ColumnOrder = index + 1 Next DoCmd.Close acQuery, queryName, acSaveYes Set qdf = Nothing Set dbs = Nothing End Sub /gustav >>> shamil at users.mns.ru 30-03-2007 20:47 >>> Hello Gustav, Yes, that's OK - and now we start to play code optimization/generalization game :) (I'm using splitted code lines here to post ready to copy&paste code, hopefully it will not be screwed anymore): Public Sub ResetToQBEFieldsOrder( _ ByVal queryName As String, _ Optional ByRef rapp As _ Access.Application = Nothing) Dim app As Access.Application Dim dbs As DAO.Database Dim fld As DAO.Field Dim qdf As DAO.QueryDef Dim frm As Access.Form Dim ctl As Access.Control Set app = rapp If app Is Nothing Then _ Set app = Access.Application With app Set dbs = .CurrentDb Set qdf = dbs.QueryDefs(queryName) .DoCmd.OpenQuery queryName, acViewNormal Set frm = .Screen.ActiveDatasheet.Form For Each fld In qdf.Fields frm.Controls(fld.Name).ColumnOrder = _ fld.OrdinalPosition + 1 Next fld .DoCmd.Close acQuery, queryName, acSaveYes End With Set qdf = Nothing Set dbs = Nothing Set app = Nothing End Sub -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, March 30, 2007 10:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Column Positions Hi Shamil Bright idea! I hate when I have to say Yes to save the SQL of the query and I forgot to rearrange a column I have moved for some reason. Now I can just run this routine. The function can be simplified a bit by just using the count of fields: Public Sub ResetToQBEFieldsOrder(ByVal queryName As String) Dim app As Access.Application Dim dbs As DAO.Database Dim fld As DAO.Field Dim qdf As DAO.QueryDef Dim index As Integer Dim frm As Access.Form Set app = Access.Application Set dbs = app.CurrentDb Set qdf = dbs.QueryDefs(queryName) app.DoCmd.OpenQuery queryName, acViewNormal Set frm = app.Screen.ActiveDatasheet.Form For index = 0 To qdf.Fields.Count - 1 frm.Controls(index).ColumnOrder = index + 1 Next app.DoCmd.Close acQuery, queryName, acSaveYes Set qdf = Nothing Set dbs = Nothing Set app = Nothing End Sub /gustav >>> shamil at users.mns.ru 30-03-2007 19:17 >>> Hi John, Here is how column order can be "reset" to the column order in QBE grid: Public Sub ResetToQBEFieldsOrder(ByVal queryName As String) Dim app As Access.Application Dim dbs As DAO.Database Dim fld As DAO.Field Dim qdf As DAO.QueryDef Dim index As Integer Dim frm As Access.Form Dim ctl As Access.Control Set app = Access.Application Set dbs = app.CurrentDb Set qdf = dbs.QueryDefs(queryName) app.DoCmd.OpenQuery queryName, acViewNormal Set frm = app.Screen.ActiveDatasheet.Form index = 1 For Each fld In qdf.Fields Set ctl = frm.Controls(fld.Name) ctl.ColumnOrder = index index = index + 1 Next fld app.DoCmd.Close acQuery, queryName, acSaveYes Set qdf = Nothing Set dbs = Nothing Set app = Nothing End Sub I have just "cooked" this code as a sample - it seems to work not bad but please test it carefully if you plan to use it in production... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, March 30, 2007 8:27 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Column Positions I have no idea what happens if you don't either. I believe that it does NOT save your changes. However if you DO save the changes, then the positions in design view do not match the positions in data view, and I have never discovered a way to "reset" them to match. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, March 30, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Column Positions You mean, if you don't save the datasheet view, the query retains the new positions? I don't think I've ever paid any attention to this -- seems like I'm always asked to save the query -- but really, never paid attention to what happens if I don't. Or, am I someplace totally different that you guys? Susan H. In a query's datasheet view you can easily drag the columns around. Is there any way to reset them back to the way they are positioned in the query grid? The only way I have found to do this is to create a new query and just copy the SQL statement to the new one. Is there a easier way, or maybe a menu option? From stuart at lexacorp.com.pg Sun Apr 1 05:03:19 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 01 Apr 2007 20:03:19 +1000 Subject: [AccessD] SQL Server - Time only in date field In-Reply-To: References: Message-ID: <460F8367.15680.1548C5BE@stuart.lexacorp.com.pg> On 1 Apr 2007 at 11:40, Gustav Brock wrote: > Hi John and Stuart > > It's easier than that; it behaves exactly like in Access (JET) except for > two things: > > - SQL Server time is limited to real linear dates only, back to 1753-1-1, > where JET goes back to an artificial value of 100-1-1. - SQL Server > millisecond resolution is only 3.33 ms while JET goes down to 1 ms. > > Thus, the date of numeric date value zero is the same for both: 1899-12-30. > This can be easily shown if you format a date/time field from SQL Server to > a string which always include the date: Unfortunately, that's not true. In Access Date 0 is 1899-12-30, but in SQL server it is 1900-1-1. >From Transact SQL Help in BOL: Values with the datetime data type are stored internally by Microsoft SQL Server as two 4-byte integers. The first 4 bytes store the number of days before or after the base date, January 1, 1900. The base date is the system reference date. Values for datetime earlier than January 1, 1753, are not permitted. The other 4 bytes store the time of day represented as the number of milliseconds after midnight. The smalldatetime data type stores dates and times of day with less precision than datetime. SQL Server stores smalldatetime values as two 2- byte integers. The first 2 bytes store the number of days after January 1, 1900. The other 2 bytes store the number of minutes since midnight. Dates range from January 1, 1900, through June 6, 2079, with accuracy to the minute. -- Stuart From shamil at users.mns.ru Sun Apr 1 05:52:40 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 1 Apr 2007 14:52:40 +0400 Subject: [AccessD] Column Positions In-Reply-To: Message-ID: <000601c7744b$deb21350$6401a8c0@nant> Hi Gustav, With Access.Application parameter passed as optional you "reserve" opportunity to easily use the same code in Access Automation scenarios. I also often (in my "previous life" when I programmed a lot on VBA) did use: Optional ByRef rdbs as DAO.Database = Nothing That "saved my life" many times when the database to work with wasn't CurrentDB. For this subject case it's not needed because this code always operates with CurrenDb... The usage of: With app Is used to not have costly Automation "round-trip" of getting reference of MS Access instance. It's not needed when Access Automation is not used. Using explicit: app.DoCmd... .. App.CurrentDb .. Is good programming style IMO - when used that way then you get automatic habit to use it simira way when programming MS Word/MS Exce/... Automation - then copy & paste code between different VBA hosts will never result in (unexpectedly) activating/running "ghost" background instances of MS Access/Word/Excel/..., which are often not easy to "catch" where they come from, to "kill" them etc... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, April 01, 2007 2:04 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Column Positions Hi Shamil If this is in an Access environment, are there any benefits by specifying the Access Application object? Normally I don't use it - I'm mostly in Access - but maybe I should? Anyway, in Access this stripped down version seems to run with no glitches: Public Sub ResetToQBEFieldsOrder(ByVal queryName As String) Dim dbs As DAO.Database Dim qdf As DAO.QueryDef Dim frm As Form Dim index As Integer Set dbs = CurrentDb Set qdf = dbs.QueryDefs(queryName) DoCmd.OpenQuery queryName, acViewNormal Set frm = Screen.ActiveDatasheet.Form For index = 0 To qdf.Fields.Count - 1 frm.Controls(index).ColumnOrder = index + 1 Next DoCmd.Close acQuery, queryName, acSaveYes Set qdf = Nothing Set dbs = Nothing End Sub /gustav >>> shamil at users.mns.ru 30-03-2007 20:47 >>> Hello Gustav, Yes, that's OK - and now we start to play code optimization/generalization game :) (I'm using splitted code lines here to post ready to copy&paste code, hopefully it will not be screwed anymore): Public Sub ResetToQBEFieldsOrder( _ ByVal queryName As String, _ Optional ByRef rapp As _ Access.Application = Nothing) Dim app As Access.Application Dim dbs As DAO.Database Dim fld As DAO.Field Dim qdf As DAO.QueryDef Dim frm As Access.Form Dim ctl As Access.Control Set app = rapp If app Is Nothing Then _ Set app = Access.Application With app Set dbs = .CurrentDb Set qdf = dbs.QueryDefs(queryName) .DoCmd.OpenQuery queryName, acViewNormal Set frm = .Screen.ActiveDatasheet.Form For Each fld In qdf.Fields frm.Controls(fld.Name).ColumnOrder = _ fld.OrdinalPosition + 1 Next fld .DoCmd.Close acQuery, queryName, acSaveYes End With Set qdf = Nothing Set dbs = Nothing Set app = Nothing End Sub -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, March 30, 2007 10:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Column Positions Hi Shamil Bright idea! I hate when I have to say Yes to save the SQL of the query and I forgot to rearrange a column I have moved for some reason. Now I can just run this routine. The function can be simplified a bit by just using the count of fields: Public Sub ResetToQBEFieldsOrder(ByVal queryName As String) Dim app As Access.Application Dim dbs As DAO.Database Dim fld As DAO.Field Dim qdf As DAO.QueryDef Dim index As Integer Dim frm As Access.Form Set app = Access.Application Set dbs = app.CurrentDb Set qdf = dbs.QueryDefs(queryName) app.DoCmd.OpenQuery queryName, acViewNormal Set frm = app.Screen.ActiveDatasheet.Form For index = 0 To qdf.Fields.Count - 1 frm.Controls(index).ColumnOrder = index + 1 Next app.DoCmd.Close acQuery, queryName, acSaveYes Set qdf = Nothing Set dbs = Nothing Set app = Nothing End Sub /gustav >>> shamil at users.mns.ru 30-03-2007 19:17 >>> Hi John, Here is how column order can be "reset" to the column order in QBE grid: Public Sub ResetToQBEFieldsOrder(ByVal queryName As String) Dim app As Access.Application Dim dbs As DAO.Database Dim fld As DAO.Field Dim qdf As DAO.QueryDef Dim index As Integer Dim frm As Access.Form Dim ctl As Access.Control Set app = Access.Application Set dbs = app.CurrentDb Set qdf = dbs.QueryDefs(queryName) app.DoCmd.OpenQuery queryName, acViewNormal Set frm = app.Screen.ActiveDatasheet.Form index = 1 For Each fld In qdf.Fields Set ctl = frm.Controls(fld.Name) ctl.ColumnOrder = index index = index + 1 Next fld app.DoCmd.Close acQuery, queryName, acSaveYes Set qdf = Nothing Set dbs = Nothing Set app = Nothing End Sub I have just "cooked" this code as a sample - it seems to work not bad but please test it carefully if you plan to use it in production... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, March 30, 2007 8:27 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Column Positions I have no idea what happens if you don't either. I believe that it does NOT save your changes. However if you DO save the changes, then the positions in design view do not match the positions in data view, and I have never discovered a way to "reset" them to match. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, March 30, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Column Positions You mean, if you don't save the datasheet view, the query retains the new positions? I don't think I've ever paid any attention to this -- seems like I'm always asked to save the query -- but really, never paid attention to what happens if I don't. Or, am I someplace totally different that you guys? Susan H. In a query's datasheet view you can easily drag the columns around. Is there any way to reset them back to the way they are positioned in the query grid? The only way I have found to do this is to create a new query and just copy the SQL statement to the new one. Is there a easier way, or maybe a menu option? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hkotsch at arcor.de Sun Apr 1 06:32:35 2007 From: hkotsch at arcor.de (Helmut Kotsch) Date: Sun, 1 Apr 2007 13:32:35 +0200 Subject: [AccessD] Data source for PivotTable-Form in ACCESS 2000 Message-ID: Hi, this drives me crazy, 4 years ago I defined in an ACCESS 2000 application a "PivotTable-Form". The resulting EXCEL table inclusive the "Data update" works perfect. I now want to update/change the query for the "Data Source" but cannot find which query is behind the "PivotTable-Form" or behind the resulting EXCEL spreadsheet. When editing the properties for the "PivotTable-Form" or the EXCEL spreadsheet the "Data Source" is always blank. Question: Where does Access 2000 or EXCEL 2000 hide the respective data source (Query)?? Helmut From Gustav at cactus.dk Sun Apr 1 06:45:30 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 01 Apr 2007 13:45:30 +0200 Subject: [AccessD] SQL Server - Time only in date field Message-ID: Hi Stuart Sorry for the confusion. I assumed that John is operating in Access where the numeric value will be converted by the driver to match that of SQL Server by shifting the value by -2. Thus: insert into dbo_timetable (timefield) values (0) will insert the date 1899-12-30. However, if John operates within SQL Server - for example by executing a pass-through query like: insert into dbo.timetable (timefield) values (0) you are of course right - that date will be 1900-1-1. /gustav >>> stuart at lexacorp.com.pg 01-04-2007 12:03 >>> On 1 Apr 2007 at 11:40, Gustav Brock wrote: > Hi John and Stuart > > It's easier than that; it behaves exactly like in Access (JET) except for > two things: > > - SQL Server time is limited to real linear dates only, back to 1753-1-1, > where JET goes back to an artificial value of 100-1-1. - SQL Server > millisecond resolution is only 3.33 ms while JET goes down to 1 ms. > > Thus, the date of numeric date value zero is the same for both: 1899-12-30. > This can be easily shown if you format a date/time field from SQL Server to > a string which always include the date: Unfortunately, that's not true. In Access Date 0 is 1899-12-30, but in SQL server it is 1900-1-1. >From Transact SQL Help in BOL: Values with the datetime data type are stored internally by Microsoft SQL Server as two 4-byte integers. The first 4 bytes store the number of days before or after the base date, January 1, 1900. The base date is the system reference date. Values for datetime earlier than January 1, 1753, are not permitted. The other 4 bytes store the time of day represented as the number of milliseconds after midnight. The smalldatetime data type stores dates and times of day with less precision than datetime. SQL Server stores smalldatetime values as two 2- byte integers. The first 2 bytes store the number of days after January 1, 1900. The other 2 bytes store the number of minutes since midnight. Dates range from January 1, 1900, through June 6, 2079, with accuracy to the minute. -- Stuart From Gustav at cactus.dk Sun Apr 1 06:49:01 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 01 Apr 2007 13:49:01 +0200 Subject: [AccessD] Column Positions Message-ID: Hi Shamil Thanks, that explains. I will note this, should I ever have to do some serious programming in VBA outside Access. /gustav >>> shamil at users.mns.ru 01-04-2007 12:52 >>> Hi Gustav, With Access.Application parameter passed as optional you "reserve" opportunity to easily use the same code in Access Automation scenarios. I also often (in my "previous life" when I programmed a lot on VBA) did use: Optional ByRef rdbs as DAO.Database = Nothing That "saved my life" many times when the database to work with wasn't CurrentDB. For this subject case it's not needed because this code always operates with CurrenDb... The usage of: With app Is used to not have costly Automation "round-trip" of getting reference of MS Access instance. It's not needed when Access Automation is not used. Using explicit: app.DoCmd... .. App.CurrentDb .. Is good programming style IMO - when used that way then you get automatic habit to use it simira way when programming MS Word/MS Exce/... Automation - then copy & paste code between different VBA hosts will never result in (unexpectedly) activating/running "ghost" background instances of MS Access/Word/Excel/..., which are often not easy to "catch" where they come from, to "kill" them etc... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, April 01, 2007 2:04 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Column Positions Hi Shamil If this is in an Access environment, are there any benefits by specifying the Access Application object? Normally I don't use it - I'm mostly in Access - but maybe I should? From jwcolby at colbyconsulting.com Sun Apr 1 06:54:01 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Sun, 1 Apr 2007 07:54:01 -0400 Subject: [AccessD] SQL Server - Time only in date field In-Reply-To: References: Message-ID: <002601c77454$75812020$657aa8c0@m6805> In fact my question was more simple than that. I have values in the date fields that are #12:00:00 AM# for example. Those values are NOT valid in SQL Server, or at least will not upsize correctly. I had to find and fix all such values by adding some date to them to make them #1/1/1800 12:00:00 AM#. Once I did that, the table with such fields would upsize. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, April 01, 2007 7:45 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL Server - Time only in date field Hi Stuart Sorry for the confusion. I assumed that John is operating in Access where the numeric value will be converted by the driver to match that of SQL Server by shifting the value by -2. Thus: insert into dbo_timetable (timefield) values (0) will insert the date 1899-12-30. However, if John operates within SQL Server - for example by executing a pass-through query like: insert into dbo.timetable (timefield) values (0) you are of course right - that date will be 1900-1-1. /gustav >>> stuart at lexacorp.com.pg 01-04-2007 12:03 >>> On 1 Apr 2007 at 11:40, Gustav Brock wrote: > Hi John and Stuart > > It's easier than that; it behaves exactly like in Access (JET) except > for two things: > > - SQL Server time is limited to real linear dates only, back to > 1753-1-1, where JET goes back to an artificial value of 100-1-1. - > SQL Server millisecond resolution is only 3.33 ms while JET goes down to 1 ms. > > Thus, the date of numeric date value zero is the same for both: 1899-12-30. > This can be easily shown if you format a date/time field from SQL > Server to a string which always include the date: Unfortunately, that's not true. In Access Date 0 is 1899-12-30, but in SQL server it is 1900-1-1. >From Transact SQL Help in BOL: Values with the datetime data type are stored internally by Microsoft SQL Server as two 4-byte integers. The first 4 bytes store the number of days before or after the base date, January 1, 1900. The base date is the system reference date. Values for datetime earlier than January 1, 1753, are not permitted. The other 4 bytes store the time of day represented as the number of milliseconds after midnight. The smalldatetime data type stores dates and times of day with less precision than datetime. SQL Server stores smalldatetime values as two 2- byte integers. The first 2 bytes store the number of days after January 1, 1900. The other 2 bytes store the number of minutes since midnight. Dates range from January 1, 1900, through June 6, 2079, with accuracy to the minute. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sun Apr 1 07:10:23 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 01 Apr 2007 14:10:23 +0200 Subject: [AccessD] SQL Server - Time only in date field Message-ID: Hi John That is strange - or it may be a limitation in the upsize wizard - as #12:00:00 AM# is a perfectly valid date value in Access. /gustav >>> jwcolby at colbyconsulting.com 01-04-2007 13:54 >>> In fact my question was more simple than that. I have values in the date fields that are #12:00:00 AM# for example. Those values are NOT valid in SQL Server, or at least will not upsize correctly. I had to find and fix all such values by adding some date to them to make them #1/1/1800 12:00:00 AM#. Once I did that, the table with such fields would upsize. John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sun Apr 1 07:13:16 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Sun, 1 Apr 2007 08:13:16 -0400 Subject: [AccessD] Getting the PK of a SQL Server table Message-ID: <002701c77457$23ef98b0$657aa8c0@m6805> In an Access database the PKID (autonumber) of a table is available the instant after doing the insert or AddNew, so I would use code such as: With RS .Open "usystbllwsLog", gcnn, adOpenKeyset, adLockPessimistic 'build a logout record. .AddNew !LWSL_IDLWSU = mlngUserID !LWSL_FE = CurrentProject.name !LWSL_Login = blnLogIn !LWSL_WorkstationID = CurrentMachineName() mlngLogID = !LWSL_ID .Update .Close End With the code line mlngLogID = !LWSL_ID fails when used in SQL Server because the ID is not yet valid. How do I work around this when the table is out in SQL Server? John W. Colby Colby Consulting www.ColbyConsulting.com From Gustav at cactus.dk Sun Apr 1 07:30:04 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 01 Apr 2007 14:30:04 +0200 Subject: [AccessD] Getting the PK of a SQL Server table Message-ID: Hi John That depends, but I guess you need the classic function (session scope) of @@IDENTITY. Here's an explanation: http://www.sqlteam.com/item.asp?ItemID=319 /gustav >>> jwcolby at colbyconsulting.com 01-04-2007 14:13 >>> In an Access database the PKID (autonumber) of a table is available the instant after doing the insert or AddNew, so I would use code such as: With RS .Open "usystbllwsLog", gcnn, adOpenKeyset, adLockPessimistic 'build a logout record. .AddNew !LWSL_IDLWSU = mlngUserID !LWSL_FE = CurrentProject.name !LWSL_Login = blnLogIn !LWSL_WorkstationID = CurrentMachineName() mlngLogID = !LWSL_ID .Update .Close End With the code line mlngLogID = !LWSL_ID fails when used in SQL Server because the ID is not yet valid. How do I work around this when the table is out in SQL Server? John W. Colby Colby Consulting www.ColbyConsulting.com From bbruen at unwired.com.au Sun Apr 1 08:05:49 2007 From: bbruen at unwired.com.au (Bruce Bruen) Date: Sun, 1 Apr 2007 23:05:49 +1000 Subject: [AccessD] RSS In-Reply-To: <003d01c773ed$e2336190$0201a8c0@HAL9005> References: <003d01c773ed$e2336190$0201a8c0@HAL9005> Message-ID: <200704012305.52457.bbruen@unwired.com.au> On Sunday 01 April 2007 09:39, Rocky Smolin at Beach Access Software wrote: > Only as a consumer. We've got an RSS feed on our website > www.thesleepadvisor.com but my webmistress takes care of it all. Adding it > to a web site seemed pretty simple, though. You can probably see the > source code on the page yourself. Wouldn't make any sense to me. > > Rocky > Rocky, The "CD" image on the home page 404's. http://www.thesleepadvisor.com/order.html doesn't seem to exist. bruce From rockysmolin at bchacc.com Sun Apr 1 08:55:13 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 1 Apr 2007 06:55:13 -0700 Subject: [AccessD] Graphic Image Control Message-ID: <001101c77465$5f4b7c90$0201a8c0@HAL9005> Dear List: Does anyone know of an image control that would allow you to zoom in and scroll around an image? TIA Rocky From rockysmolin at bchacc.com Sun Apr 1 09:11:18 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 1 Apr 2007 07:11:18 -0700 Subject: [AccessD] RSS In-Reply-To: <200704012305.52457.bbruen@unwired.com.au> Message-ID: <001e01c77467$9e4194a0$0201a8c0@HAL9005> Bruce: The order page is http://www.thesleepadvisor.com/order.php It comes up OK here. Try the reload button. Maybe an old version is still in your cache. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen Sent: Sunday, April 01, 2007 6:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] RSS On Sunday 01 April 2007 09:39, Rocky Smolin at Beach Access Software wrote: > Only as a consumer. We've got an RSS feed on our website > www.thesleepadvisor.com but my webmistress takes care of it all. > Adding it to a web site seemed pretty simple, though. You can > probably see the source code on the page yourself. Wouldn't make any sense to me. > > Rocky > Rocky, The "CD" image on the home page 404's. http://www.thesleepadvisor.com/order.html doesn't seem to exist. bruce -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.24/741 - Release Date: 3/31/2007 8:54 PM From Gustav at cactus.dk Sun Apr 1 09:33:53 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 01 Apr 2007 16:33:53 +0200 Subject: [AccessD] Graphic Image Control Message-ID: Hi Rocky I can recommend csXImage: http://www.chestysoft.com/ximage It can zoom in several ways: http://www.chestysoft.com/ximage/manual.htm#sect8 It's about USD 150, but the support is excellent. /gustav >>> rockysmolin at bchacc.com 01-04-2007 15:55 >>> Dear List: Does anyone know of an image control that would allow you to zoom in and scroll around an image? TIA Rocky From rockysmolin at bchacc.com Sun Apr 1 10:02:55 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 1 Apr 2007 08:02:55 -0700 Subject: [AccessD] Graphic Image Control In-Reply-To: Message-ID: <002501c7746e$d42a6040$0201a8c0@HAL9005> Thanks Gustav. Will forward to the guy who asked the question. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, April 01, 2007 7:34 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Graphic Image Control Hi Rocky I can recommend csXImage: http://www.chestysoft.com/ximage It can zoom in several ways: http://www.chestysoft.com/ximage/manual.htm#sect8 It's about USD 150, but the support is excellent. /gustav >>> rockysmolin at bchacc.com 01-04-2007 15:55 >>> Dear List: Does anyone know of an image control that would allow you to zoom in and scroll around an image? TIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.24/741 - Release Date: 3/31/2007 8:54 PM From jwcolby at colbyconsulting.com Sun Apr 1 11:46:08 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Sun, 1 Apr 2007 12:46:08 -0400 Subject: [AccessD] SQL Server - Time only in date field In-Reply-To: References: Message-ID: <003901c7747d$442ccff0$657aa8c0@m6805> It is valid in ACCESS, but may not be in SQL SERVER. Or, as you say, it may be a limitation of the upsize wizard. All I know is that once I handled these (and other date problems) the table moved. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, April 01, 2007 8:10 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL Server - Time only in date field Hi John That is strange - or it may be a limitation in the upsize wizard - as #12:00:00 AM# is a perfectly valid date value in Access. /gustav >>> jwcolby at colbyconsulting.com 01-04-2007 13:54 >>> In fact my question was more simple than that. I have values in the date fields that are #12:00:00 AM# for example. Those values are NOT valid in SQL Server, or at least will not upsize correctly. I had to find and fix all such values by adding some date to them to make them #1/1/1800 12:00:00 AM#. Once I did that, the table with such fields would upsize. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sun Apr 1 12:03:08 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 01 Apr 2007 19:03:08 +0200 Subject: [AccessD] SQL Server - Time only in date field Message-ID: Hi John But isn't the upsize thingy an Access tool? This SQL should cause zero problems: insert into dbo_timetable (timefield) values (#12:00:00 AM#) Which "other date problems" did you encounter? The datetime data type of Access/JET is very strict on holding valid dates/times only. This sounds very weird. /gustav >>> jwcolby at colbyconsulting.com 01-04-2007 18:46 >>> It is valid in ACCESS, but may not be in SQL SERVER. Or, as you say, it may be a limitation of the upsize wizard. All I know is that once I handled these (and other date problems) the table moved. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, April 01, 2007 8:10 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL Server - Time only in date field Hi John That is strange - or it may be a limitation in the upsize wizard - as #12:00:00 AM# is a perfectly valid date value in Access. /gustav >>> jwcolby at colbyconsulting.com 01-04-2007 13:54 >>> In fact my question was more simple than that. I have values in the date fields that are #12:00:00 AM# for example. Those values are NOT valid in SQL Server, or at least will not upsize correctly. I had to find and fix all such values by adding some date to them to make them #1/1/1800 12:00:00 AM#. Once I did that, the table with such fields would upsize. John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sun Apr 1 12:17:17 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Sun, 1 Apr 2007 13:17:17 -0400 Subject: [AccessD] SQL Server - Time only in date field In-Reply-To: References: Message-ID: <003c01c77481$9bd6d760$657aa8c0@m6805> LOL, the upsizing wizard does not ETLL you what the problem is anymore, although I think it used to. Now it simply says "tblXXX failed to upsize". >From past experience I knew that dates were a problem. The "other date problems" were dates before the valid date range of SQL Server. Data entry errors had left dates of 1/23/0931 for example where the intent was 1/23/1931. Anything in 0931 is an invalid date to SQL Server but quite valid to Access. Likewise I had fields that only contained a date, using the Time() function of VBA. These are date fields that now contain something like #13:53:02# with NO DATE. These also failed to upsize until I placed a bogus date in front of the time. The upsizing wizard used to IIRC update the table but generate an error report with a list of records that failed to upsize. Now (Access 2003) it just silently fails and simply reports "tblXXX failed to upsize". No clue at all what went wrong. I happen to know from hard experience that dates caused me problems last time, and were in fact the ONLY thing that caused me problems in the upsizing wizard, so I went looking for bad dates in the specific tables that refused to upsize. Sure enough, that is what I found. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, April 01, 2007 1:03 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL Server - Time only in date field Hi John But isn't the upsize thingy an Access tool? This SQL should cause zero problems: insert into dbo_timetable (timefield) values (#12:00:00 AM#) Which "other date problems" did you encounter? The datetime data type of Access/JET is very strict on holding valid dates/times only. This sounds very weird. /gustav From rusty.hammond at cpiqpc.com Sun Apr 1 12:22:54 2007 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Sun, 1 Apr 2007 12:22:54 -0500 Subject: [AccessD] Getting the PK of a SQL Server table Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A2584BA36@cpixchng-1.cpiqpc.net> John, If you're working with linked SQL server tables in Access the LastModified property does the trick for me in a DAO recordset. I don't know if it's available in an ADO recordset like you are using but the following is how it might be used. With RS .Open "usystbllwsLog", gcnn, adOpenKeyset, adLockPessimistic 'build a logout record. .AddNew !LWSL_IDLWSU = mlngUserID !LWSL_FE = CurrentProject.name !LWSL_Login = blnLogIn !LWSL_WorkstationID = CurrentMachineName() .Update .BookMark = .LastModified mlngLogID = !LWSL_ID .Close End With HTH Rusty -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Sunday, April 01, 2007 7:13 AM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com Subject: [AccessD] Getting the PK of a SQL Server table In an Access database the PKID (autonumber) of a table is available the instant after doing the insert or AddNew, so I would use code such as: With RS .Open "usystbllwsLog", gcnn, adOpenKeyset, adLockPessimistic 'build a logout record. .AddNew !LWSL_IDLWSU = mlngUserID !LWSL_FE = CurrentProject.name !LWSL_Login = blnLogIn !LWSL_WorkstationID = CurrentMachineName() mlngLogID = !LWSL_ID .Update .Close End With the code line mlngLogID = !LWSL_ID fails when used in SQL Server because the ID is not yet valid. How do I work around this when the table is out in SQL Server? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From dwaters at usinternet.com Sun Apr 1 12:46:34 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 1 Apr 2007 12:46:34 -0500 Subject: [AccessD] SQL Server - Time only in date field In-Reply-To: <003c01c77481$9bd6d760$657aa8c0@m6805> References: <003c01c77481$9bd6d760$657aa8c0@m6805> Message-ID: <000c01c77485$b1579d50$0200a8c0@danwaters> Hi John, This is a side question - are you using the Access upsizing tool or the SSMA upsizing tool? Also, I know of a tool (I haven't used it) you can purchase from a company which provides a list of issues to look at prior to upsizing. It's at http://www.ssw.com.au/ssw/UpsizingPRO/. They also have a free trial version. I just looked at their site - their take on SSMA is that it's 'Not Ready'! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Sunday, April 01, 2007 12:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SQL Server - Time only in date field LOL, the upsizing wizard does not ETLL you what the problem is anymore, although I think it used to. Now it simply says "tblXXX failed to upsize". >From past experience I knew that dates were a problem. The "other date problems" were dates before the valid date range of SQL Server. Data entry errors had left dates of 1/23/0931 for example where the intent was 1/23/1931. Anything in 0931 is an invalid date to SQL Server but quite valid to Access. Likewise I had fields that only contained a date, using the Time() function of VBA. These are date fields that now contain something like #13:53:02# with NO DATE. These also failed to upsize until I placed a bogus date in front of the time. The upsizing wizard used to IIRC update the table but generate an error report with a list of records that failed to upsize. Now (Access 2003) it just silently fails and simply reports "tblXXX failed to upsize". No clue at all what went wrong. I happen to know from hard experience that dates caused me problems last time, and were in fact the ONLY thing that caused me problems in the upsizing wizard, so I went looking for bad dates in the specific tables that refused to upsize. Sure enough, that is what I found. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, April 01, 2007 1:03 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL Server - Time only in date field Hi John But isn't the upsize thingy an Access tool? This SQL should cause zero problems: insert into dbo_timetable (timefield) values (#12:00:00 AM#) Which "other date problems" did you encounter? The datetime data type of Access/JET is very strict on holding valid dates/times only. This sounds very weird. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kost36 at otenet.gr Sun Apr 1 12:55:42 2007 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Sun, 1 Apr 2007 20:55:42 +0300 Subject: [AccessD] searching into a union query... References: Message-ID: <008101c77487$01b2cad0$6701a8c0@kost36> hey group, I use the follown union SELECT [Title], [Year], [IDdirector], [IDcomposer] FROM [MT_basic_char] UNION ALL SELECT [title_collection], [year_collection], [IDdirector_collection], [IDcomposer_collection] FROM [RT_AM_COLLECTION_SUBFORM]; because of about 15000 records what I need to know is if there is a [Title] either in MT_basic_char or in RT_AM_COLLECTION I was wondering if it could be possible to make a button, when clicking to get back a searching form on that Union Query something like the default msaccess's Screen.PreviousControl.SetFocus DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70 but on that specific Union Query many thank's /kostas From jwcolby at colbyconsulting.com Sun Apr 1 12:57:43 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Sun, 1 Apr 2007 13:57:43 -0400 Subject: [AccessD] SQL Server - Time only in date field In-Reply-To: <000c01c77485$b1579d50$0200a8c0@danwaters> References: <003c01c77481$9bd6d760$657aa8c0@m6805> <000c01c77485$b1579d50$0200a8c0@danwaters> Message-ID: <004401c77487$414eaab0$657aa8c0@m6805> I used the Access upsizing tool. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, April 01, 2007 1:47 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SQL Server - Time only in date field Hi John, This is a side question - are you using the Access upsizing tool or the SSMA upsizing tool? Also, I know of a tool (I haven't used it) you can purchase from a company which provides a list of issues to look at prior to upsizing. It's at http://www.ssw.com.au/ssw/UpsizingPRO/. They also have a free trial version. I just looked at their site - their take on SSMA is that it's 'Not Ready'! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Sunday, April 01, 2007 12:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SQL Server - Time only in date field LOL, the upsizing wizard does not ETLL you what the problem is anymore, although I think it used to. Now it simply says "tblXXX failed to upsize". >From past experience I knew that dates were a problem. The "other date problems" were dates before the valid date range of SQL Server. Data entry errors had left dates of 1/23/0931 for example where the intent was 1/23/1931. Anything in 0931 is an invalid date to SQL Server but quite valid to Access. Likewise I had fields that only contained a date, using the Time() function of VBA. These are date fields that now contain something like #13:53:02# with NO DATE. These also failed to upsize until I placed a bogus date in front of the time. The upsizing wizard used to IIRC update the table but generate an error report with a list of records that failed to upsize. Now (Access 2003) it just silently fails and simply reports "tblXXX failed to upsize". No clue at all what went wrong. I happen to know from hard experience that dates caused me problems last time, and were in fact the ONLY thing that caused me problems in the upsizing wizard, so I went looking for bad dates in the specific tables that refused to upsize. Sure enough, that is what I found. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, April 01, 2007 1:03 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL Server - Time only in date field Hi John But isn't the upsize thingy an Access tool? This SQL should cause zero problems: insert into dbo_timetable (timefield) values (#12:00:00 AM#) Which "other date problems" did you encounter? The datetime data type of Access/JET is very strict on holding valid dates/times only. This sounds very weird. /gustav -- 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 jwcolby at colbyconsulting.com Sun Apr 1 13:00:14 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Sun, 1 Apr 2007 14:00:14 -0400 Subject: [AccessD] Getting the PK of a SQL Server table In-Reply-To: <8301C8A868251E4C8ECD3D4FFEA40F8A2584BA36@cpixchng-1.cpiqpc.net> References: <8301C8A868251E4C8ECD3D4FFEA40F8A2584BA36@cpixchng-1.cpiqpc.net> Message-ID: <004501c77487$9db43b30$657aa8c0@m6805> And in fact that is just what I did (more or less). Since this is framework code I strive for "any environment" so I changed it to !LWSL_WorkstationID = CurrentMachineName() On Error resume next mlngLogID = !LWSL_ID .Update if mlngLogID =0 then mlngLogID = !LWSL_ID endif .Close The first will work correctly for an MDB and if the value is still zero then the second picks up the slack. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rusty.hammond at cpiqpc.com Sent: Sunday, April 01, 2007 1:23 PM To: accessd at databaseadvisors.com; dba-sqlserver at databaseadvisors.com Subject: Re: [AccessD] Getting the PK of a SQL Server table John, If you're working with linked SQL server tables in Access the LastModified property does the trick for me in a DAO recordset. I don't know if it's available in an ADO recordset like you are using but the following is how it might be used. With RS .Open "usystbllwsLog", gcnn, adOpenKeyset, adLockPessimistic 'build a logout record. .AddNew !LWSL_IDLWSU = mlngUserID !LWSL_FE = CurrentProject.name !LWSL_Login = blnLogIn !LWSL_WorkstationID = CurrentMachineName() .Update .BookMark = .LastModified mlngLogID = !LWSL_ID .Close End With HTH Rusty -----Original Message----- From: JWColby [mailto:jwcolby at colbyconsulting.com] Sent: Sunday, April 01, 2007 7:13 AM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com Subject: [AccessD] Getting the PK of a SQL Server table In an Access database the PKID (autonumber) of a table is available the instant after doing the insert or AddNew, so I would use code such as: With RS .Open "usystbllwsLog", gcnn, adOpenKeyset, adLockPessimistic 'build a logout record. .AddNew !LWSL_IDLWSU = mlngUserID !LWSL_FE = CurrentProject.name !LWSL_Login = blnLogIn !LWSL_WorkstationID = CurrentMachineName() mlngLogID = !LWSL_ID .Update .Close End With the code line mlngLogID = !LWSL_ID fails when used in SQL Server because the ID is not yet valid. How do I work around this when the table is out in SQL Server? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Apr 1 13:08:50 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 1 Apr 2007 13:08:50 -0500 Subject: [AccessD] searching into a union query... In-Reply-To: <008101c77487$01b2cad0$6701a8c0@kost36> References: <008101c77487$01b2cad0$6701a8c0@kost36> Message-ID: <000d01c77488$cd213bb0$0200a8c0@danwaters> Hi Kostas, Off the top of my head, there is a wizard in Access to write a 'Look for Duplicates' query. You should be able to run it against this Union query. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Sunday, April 01, 2007 12:56 PM To: Access Developers discussion and problem solving Subject: [AccessD] searching into a union query... hey group, I use the follown union SELECT [Title], [Year], [IDdirector], [IDcomposer] FROM [MT_basic_char] UNION ALL SELECT [title_collection], [year_collection], [IDdirector_collection], [IDcomposer_collection] FROM [RT_AM_COLLECTION_SUBFORM]; because of about 15000 records what I need to know is if there is a [Title] either in MT_basic_char or in RT_AM_COLLECTION I was wondering if it could be possible to make a button, when clicking to get back a searching form on that Union Query something like the default msaccess's Screen.PreviousControl.SetFocus DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70 but on that specific Union 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 otenet.gr Sun Apr 1 13:20:23 2007 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Sun, 1 Apr 2007 21:20:23 +0300 Subject: [AccessD] searching into a union query... References: <008101c77487$01b2cad0$6701a8c0@kost36> <000d01c77488$cd213bb0$0200a8c0@danwaters> Message-ID: <00af01c7748a$716ce7e0$6701a8c0@kost36> Hi Dev, may be I was not so specific in my previous message. So, what I want to know is not the duplicates records general but typing a Title to know if that record there is into the database thank's /kostas ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Sunday, April 01, 2007 9:08 PM Subject: Re: [AccessD] searching into a union query... > Hi Kostas, > > Off the top of my head, there is a wizard in Access to write a 'Look for > Duplicates' query. You should be able to run it against this Union query. > > HTH, > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas > Konstantinidis > Sent: Sunday, April 01, 2007 12:56 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] searching into a union query... > > hey group, > I use the follown union > > SELECT [Title], [Year], [IDdirector], [IDcomposer] > FROM [MT_basic_char] > > UNION ALL SELECT [title_collection], [year_collection], > [IDdirector_collection], [IDcomposer_collection] > FROM [RT_AM_COLLECTION_SUBFORM]; > > because of about 15000 records what I need to know is if there is a > [Title] > either in MT_basic_char or in RT_AM_COLLECTION > I was wondering if it could be possible to make a button, when clicking to > get back a searching form on that Union Query > something like the default msaccess's > > Screen.PreviousControl.SetFocus > DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70 > > but on that specific Union 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 dwaters at usinternet.com Sun Apr 1 13:39:40 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 1 Apr 2007 13:39:40 -0500 Subject: [AccessD] searching into a union query... In-Reply-To: <00af01c7748a$716ce7e0$6701a8c0@kost36> References: <008101c77487$01b2cad0$6701a8c0@kost36><000d01c77488$cd213bb0$0200a8c0@danwaters> <00af01c7748a$716ce7e0$6701a8c0@kost36> Message-ID: <001101c7748d$1bfec280$0200a8c0@danwaters> This is what I do: Dim stg as String Dim rst as DAO.Recordset stg = "SELECT Title FROM tblName" _ & " WHERE Title = '" & txtTitle & "'" Set rst = Currentdb.Openrecordset(stg,dbopensnapshot) If rst.EOF = False then Msgbox txtTitle & " already exists!" End if rst.close Set rst = nothing Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Sunday, April 01, 2007 1:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] searching into a union query... Hi Dev, may be I was not so specific in my previous message. So, what I want to know is not the duplicates records general but typing a Title to know if that record there is into the database thank's /kostas ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Sunday, April 01, 2007 9:08 PM Subject: Re: [AccessD] searching into a union query... > Hi Kostas, > > Off the top of my head, there is a wizard in Access to write a 'Look for > Duplicates' query. You should be able to run it against this Union query. > > HTH, > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas > Konstantinidis > Sent: Sunday, April 01, 2007 12:56 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] searching into a union query... > > hey group, > I use the follown union > > SELECT [Title], [Year], [IDdirector], [IDcomposer] > FROM [MT_basic_char] > > UNION ALL SELECT [title_collection], [year_collection], > [IDdirector_collection], [IDcomposer_collection] > FROM [RT_AM_COLLECTION_SUBFORM]; > > because of about 15000 records what I need to know is if there is a > [Title] > either in MT_basic_char or in RT_AM_COLLECTION > I was wondering if it could be possible to make a button, when clicking to > get back a searching form on that Union Query > something like the default msaccess's > > Screen.PreviousControl.SetFocus > DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70 > > but on that specific Union 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 From kost36 at otenet.gr Sun Apr 1 15:32:39 2007 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Sun, 1 Apr 2007 23:32:39 +0300 Subject: [AccessD] searching into a union query... References: <008101c77487$01b2cad0$6701a8c0@kost36><000d01c77488$cd213bb0$0200a8c0@danwaters><00af01c7748a$716ce7e0$6701a8c0@kost36> <001101c7748d$1bfec280$0200a8c0@danwaters> Message-ID: <011901c7749c$ec0354f0$6701a8c0@kost36> I found an excellent job by Terry Kreft and Dev Ashish doing exactly what I need Search Tips: Version 2.6 from http://mvps.org/access/resources/downloads.htm Find Record 2000 Dan and Dev thank's a lot for your response /kostas ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Sunday, April 01, 2007 9:39 PM Subject: Re: [AccessD] searching into a union query... > This is what I do: > > Dim stg as String > Dim rst as DAO.Recordset > > stg = "SELECT Title FROM tblName" _ > & " WHERE Title = '" & txtTitle & "'" > Set rst = Currentdb.Openrecordset(stg,dbopensnapshot) > If rst.EOF = False then > Msgbox txtTitle & " already exists!" > End if > rst.close > Set rst = nothing > > > Dan > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas > Konstantinidis > Sent: Sunday, April 01, 2007 1:20 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] searching into a union query... > > Hi Dev, > may be I was not so specific in my previous message. > So, what I want to know is not the duplicates records general > but typing a Title to know if that record there is into the database > > thank's > /kostas > > > ----- Original Message ----- > From: "Dan Waters" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, April 01, 2007 9:08 PM > Subject: Re: [AccessD] searching into a union query... > > >> Hi Kostas, >> >> Off the top of my head, there is a wizard in Access to write a 'Look for >> Duplicates' query. You should be able to run it against this Union >> query. >> >> HTH, >> Dan >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas >> Konstantinidis >> Sent: Sunday, April 01, 2007 12:56 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] searching into a union query... >> >> hey group, >> I use the follown union >> >> SELECT [Title], [Year], [IDdirector], [IDcomposer] >> FROM [MT_basic_char] >> >> UNION ALL SELECT [title_collection], [year_collection], >> [IDdirector_collection], [IDcomposer_collection] >> FROM [RT_AM_COLLECTION_SUBFORM]; >> >> because of about 15000 records what I need to know is if there is a >> [Title] >> either in MT_basic_char or in RT_AM_COLLECTION >> I was wondering if it could be possible to make a button, when clicking >> to >> get back a searching form on that Union Query >> something like the default msaccess's >> >> Screen.PreviousControl.SetFocus >> DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70 >> >> but on that specific Union 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From ssharkins at setel.com Sun Apr 1 16:51:08 2007 From: ssharkins at setel.com (Susan Harkins) Date: Sun, 1 Apr 2007 17:51:08 -0400 Subject: [AccessD] Which is fasted as a list control's Row Source property? Message-ID: <000c01c774a7$db729af0$1bb82ad1@SusanOne> A literal SQL string or a fixed query? Susan H. From ab-mi at post3.tele.dk Sun Apr 1 17:49:39 2007 From: ab-mi at post3.tele.dk (Asger Blond) Date: Mon, 2 Apr 2007 00:49:39 +0200 Subject: [AccessD] Which is fasted as a list control's Row Source property? In-Reply-To: <000c01c774a7$db729af0$1bb82ad1@SusanOne> Message-ID: <000001c774b0$08f7c470$2101a8c0@AB> Same: Behind the scenes Access creates a fixed query for the literal string. You can see the hidden fixed query which is prefixed by a "~" using following code in a form module: Dim dbs As DAO.Database, qdf As DAO.QueryDef Set dbs = CurrentDb For Each qdf In dbs.QueryDefs Debug.Print qdf.Name Next qdf Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Susan Harkins Sendt: 1. april 2007 23:51 Til: 'Access Developers discussion and problem solving' Emne: [AccessD] Which is fasted as a list control's Row Source property? A literal SQL string or a fixed query? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at setel.com Sun Apr 1 18:25:33 2007 From: ssharkins at setel.com (Susan Harkins) Date: Sun, 1 Apr 2007 19:25:33 -0400 Subject: [AccessD] Which is fasted as a list control's Row Sourceproperty? In-Reply-To: <000001c774b0$08f7c470$2101a8c0@AB> References: <000c01c774a7$db729af0$1bb82ad1@SusanOne> <000001c774b0$08f7c470$2101a8c0@AB> Message-ID: <001601c774b5$0c332710$dd34fad1@SusanOne> Well, that's interesting. I couldn't really identify any of mine to a specific control object though. So, do you think there's no appreciable difference between the two then -- as a performance issue? It seems to me, that pure SQL should always be faster, regardless of how Access communicates it to Jet. Susan H. Same: Behind the scenes Access creates a fixed query for the literal string. You can see the hidden fixed query which is prefixed by a "~" using following code in a form module: Dim dbs As DAO.Database, qdf As DAO.QueryDef Set dbs = CurrentDb For Each qdf In dbs.QueryDefs Debug.Print qdf.Name Next qdf Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Susan Harkins Sendt: 1. april 2007 23:51 Til: 'Access Developers discussion and problem solving' Emne: [AccessD] Which is fasted as a list control's Row Source property? A literal SQL string or a fixed query? Susan H. -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.24/741 - Release Date: 3/31/2007 8:54 PM From ab-mi at post3.tele.dk Sun Apr 1 19:14:24 2007 From: ab-mi at post3.tele.dk (Asger Blond) Date: Mon, 2 Apr 2007 02:14:24 +0200 Subject: [AccessD] Which is fasted as a list control's RowSourceproperty? In-Reply-To: <001601c774b5$0c332710$dd34fad1@SusanOne> Message-ID: <000101c774bb$e4d3f170$2101a8c0@AB> Hi Susan, A fixed query is precompiled, making it faster than a pure SQL statement. That's why Access's performance-analyser in older versions recommended using stored (fixed/persisted) queries as record-sources and control-sources. Newer versions of Access - I don't remember when, but I think after 97 - doesn?t make this recommendation. Reason: not that pure SQL is faster, but because Access creates the persisted and precompiled query by itself. I always use pure SQL statements because I don't want to fill up my pane of query-objects in Access, and because it makes my forms and reports much more immune to cleaning up of queries: ever tried to delete an "obsolete" stored query, which was actually used by some component? I guess. Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Susan Harkins Sendt: 2. april 2007 01:26 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] Which is fasted as a list control's RowSourceproperty? Well, that's interesting. I couldn't really identify any of mine to a specific control object though. So, do you think there's no appreciable difference between the two then -- as a performance issue? It seems to me, that pure SQL should always be faster, regardless of how Access communicates it to Jet. Susan H. Same: Behind the scenes Access creates a fixed query for the literal string. You can see the hidden fixed query which is prefixed by a "~" using following code in a form module: Dim dbs As DAO.Database, qdf As DAO.QueryDef Set dbs = CurrentDb For Each qdf In dbs.QueryDefs Debug.Print qdf.Name Next qdf Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Susan Harkins Sendt: 1. april 2007 23:51 Til: 'Access Developers discussion and problem solving' Emne: [AccessD] Which is fasted as a list control's Row Source property? A literal SQL string or a fixed query? Susan H. -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.24/741 - Release Date: 3/31/2007 8:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at setel.com Sun Apr 1 20:25:01 2007 From: ssharkins at setel.com (Susan Harkins) Date: Sun, 1 Apr 2007 21:25:01 -0400 Subject: [AccessD] Which is fasted as a list control's RowSourceproperty? In-Reply-To: <000101c774bb$e4d3f170$2101a8c0@AB> References: <001601c774b5$0c332710$dd34fad1@SusanOne> <000101c774bb$e4d3f170$2101a8c0@AB> Message-ID: <002301c774c5$bce74180$dd34fad1@SusanOne> Access, and because it makes my forms and reports much more immune to cleaning up of queries: ever tried to delete an "obsolete" stored query, which was actually used by some component? I guess. =========I have to admit, I have. ;) Susan H. From Gustav at cactus.dk Mon Apr 2 02:22:01 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 02 Apr 2007 09:22:01 +0200 Subject: [AccessD] SQL Server - Time only in date field Message-ID: Hi John OK, the year 931 is clearly out of the range for SQL Server. The "missing" date from the time-only records must represent a bug in the upsizer tool. /gustav >>> jwcolby at colbyconsulting.com 01-04-2007 19:17 >>> LOL, the upsizing wizard does not ETLL you what the problem is anymore, although I think it used to. Now it simply says "tblXXX failed to upsize". >From past experience I knew that dates were a problem. The "other date problems" were dates before the valid date range of SQL Server. Data entry errors had left dates of 1/23/0931 for example where the intent was 1/23/1931. Anything in 0931 is an invalid date to SQL Server but quite valid to Access. Likewise I had fields that only contained a date, using the Time() function of VBA. These are date fields that now contain something like #13:53:02# with NO DATE. These also failed to upsize until I placed a bogus date in front of the time. The upsizing wizard used to IIRC update the table but generate an error report with a list of records that failed to upsize. Now (Access 2003) it just silently fails and simply reports "tblXXX failed to upsize". No clue at all what went wrong. I happen to know from hard experience that dates caused me problems last time, and were in fact the ONLY thing that caused me problems in the upsizing wizard, so I went looking for bad dates in the specific tables that refused to upsize. Sure enough, that is what I found. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, April 01, 2007 1:03 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL Server - Time only in date field Hi John But isn't the upsize thingy an Access tool? This SQL should cause zero problems: insert into dbo_timetable (timefield) values (#12:00:00 AM#) Which "other date problems" did you encounter? The datetime data type of Access/JET is very strict on holding valid dates/times only. This sounds very weird. /gustav From andy at minstersystems.co.uk Mon Apr 2 04:34:57 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 2 Apr 2007 9:34:57 +0000 Subject: [AccessD] ...monitoring be mdb size Message-ID: <20070402083500.7257E2B8D4F@smtp.nildram.co.uk> Hi William Only just spotted this. You've probably done it by now, but.. I have an MDB which runs on a nightly schedule. What it does is slightly different from yours in that it measures the difference in size between the the live BE (well a copy actually) and one which it Compacts. It then emails me telling me by how much the BE would shrink if I threw everyone out of the system to run a compact. It's only a few lines of code and nothing you couldn't do in your sleep but you're welcome to it if it's any use. -- Andy Lacey http://www.minstersystems.co.uk > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > William Hindman > Sent: 31 March 2007 22:23 > To: Access Developers discussion and problem solving > Subject: [AccessD] ...monitoring be mdb size > > > ...I want to monitor the size of my be mdb's and gen an > e-mail if they grow > by a certain percentage in a given time frame ...has anyone > already done > this and have a solution they're willing to share? > > William Hindman > ________________________________________________ Message sent using UebiMiau 2.7.2 From viner at EUnet.yu Mon Apr 2 04:52:40 2007 From: viner at EUnet.yu (Ervin Brindza) Date: Mon, 2 Apr 2007 11:52:40 +0200 Subject: [AccessD] ...monitoring be mdb size References: <20070402083500.7257E2B8D4F@smtp.nildram.co.uk> Message-ID: <016101c77510$cf92cf20$0100a8c0@RazvojErvin> Andy, me too, please, if is possible... Many thanks in advance, Ervin ----- Original Message ----- From: "Andy Lacey" To: "Access Developers discussion and problem solving" Sent: Monday, April 02, 2007 11:34 AM Subject: Re: [AccessD] ...monitoring be mdb size > Hi William > Only just spotted this. You've probably done it by now, but.. > > I have an MDB which runs on a nightly schedule. What it does is slightly > different from yours in that it measures the difference in size between > the > the live BE (well a copy actually) and one which it Compacts. It then > emails > me telling me by how much the BE would shrink if I threw everyone out of > the > system to run a compact. It's only a few lines of code and nothing you > couldn't do in your sleep but you're welcome to it if it's any use. > > -- > Andy Lacey > http://www.minstersystems.co.uk > >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> William Hindman >> Sent: 31 March 2007 22:23 >> To: Access Developers discussion and problem solving >> Subject: [AccessD] ...monitoring be mdb size >> >> >> ...I want to monitor the size of my be mdb's and gen an >> e-mail if they grow >> by a certain percentage in a given time frame ...has anyone >> already done >> this and have a solution they're willing to share? >> >> William Hindman >> > > > ________________________________________________ > Message sent using UebiMiau 2.7.2 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.446 / Virus Database: 268.18.24/742 - Release Date: 4/1/2007 > 8:49 PM > > From andy at minstersystems.co.uk Mon Apr 2 06:53:30 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 2 Apr 2007 11:53:30 +0000 Subject: [AccessD] ...monitoring be mdb size Message-ID: <20070402105334.567F44FEC5@smtp.nildram.co.uk> Well there's not a lot to it really ================================= Function CompactRepair() Const strOldMDB As String = "X:\y\z\your.mdb" 'Amend as necessary Const strNewMDB As String = "X:\y\z\Compacted.mdb" Dim strSubject As String Dim lngOldSize As Long Dim lngNewSize As Long Dim lngChange As Long Dim lngOldSizeKB As Long Dim lngNewSizeKB As Long Dim lngChangeKB As Long Dim lngOldSizeMB As Long Dim lngNewSizeMB As Long Dim lngChangeMB As Long Dim db As Database Dim strSQL As String On Error GoTo Repair_Err lngOldSize = FileLen(strOldMDB) DBEngine.RepairDatabase strOldMDB On Error Resume Next Kill strNewMDB On Error GoTo Compact_Err DBEngine.CompactDatabase strOldMDB, strNewMDB lngNewSize = FileLen(strNewMDB) lngChange = lngOldSize - lngNewSize lngOldSizeKB = lngOldSize / 1024 lngNewSizeKB = lngNewSize / 1024 lngChangeKB = lngChange / 1024 lngOldSizeMB = lngOldSizeKB / 1024 lngNewSizeMB = lngNewSizeKB / 1024 lngChangeMB = lngChangeKB / 1024 strSubject = "Repair & Compact: SUCCESS " & lngOldSizeMB & "mb To " & lngNewSizeMB & "mb (saving " & lngChangeMB & "mb)" 'My email routine takes two parameters - body and subject. You'll do your own thing no doubt. Call YourOwnEmailRoutine("Repair and Compact of " & strOldMDB & " ran successfully" & vbCrLf & vbCrLf _ & "Old Size " & Format(lngOldSizeKB, "#,##0") & "kb" & vbCrLf _ & "New Size " & Format(lngNewSizeKB, "#,##0") & "kb" & vbCrLf _ & "Reduction Of " & Format(lngChangeKB, "#,##0") & "kb" & vbCrLf & vbCrLf _ & "NOTE THAT THIS HAS ONLY BEEN RUN ON AN OFF-LINE COPY OF TITUSDAT.MDB FOR INFORMATION PURPOSES." _ , strSubject) 'I also keep a record in a stats table strSQL = "INSERT INTO COMPSTAT (CST_DATE, CST_FROM, CST_TO) VALUES(Now()," & lngOldSizeKB & ", " & lngNewSizeKB & ")" Set db = CurrentDb db.Execute strSQL CompactRepair_Exit: On Error Resume Next db.Close: Set db = Nothing Exit Function Repair_Err: strSubject = "Repair & Compact: FAILED" Call YourOwnEmailRoutine("Repair of " & strOldMDB & " failed with error " & Err & vbCrLf & vbCrLf & Err.Description, strSubject) Resume CompactRepair_Exit Resume 0 Compact_Err: strSubject = "Repair & Compact: FAILED" Call YourOwnEmailRoutine("Compact of " & strOldMDB & " failed with error " & Err & vbCrLf & vbCrLf & Err.Description, strSubject) Resume CompactRepair_Exit Resume 0 End Function ========================================== -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] ...monitoring be mdb size Date: 02/04/07 10:25 Andy, me too, please, if is possible... Many thanks in advance, Ervin ----- Original Message ----- From: "Andy Lacey" To: "Access Developers discussion and problem solving" Sent: Monday, April 02, 2007 11:34 AM Subject: Re: [AccessD] ...monitoring be mdb size > Hi William > Only just spotted this. You've probably done it by now, but.. > > I have an MDB which runs on a nightly schedule. What it does is slightly > different from yours in that it measures the difference in size between > the > the live BE (well a copy actually) and one which it Compacts. It then > emails > me telling me by how much the BE would shrink if I threw everyone out of > the > system to run a compact. It's only a few lines of code and nothing you > couldn't do in your sleep but you're welcome to it if it's any use. > > -- > Andy Lacey > http://www.minstersystems.co.uk > >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> William Hindman >> Sent: 31 March 2007 22:23 >> To: Access Developers discussion and problem solving >> Subject: [AccessD] ...monitoring be mdb size >> >> >> ...I want to monitor the size of my be mdb's and gen an >> e-mail if they grow >> by a certain percentage in a given time frame ...has anyone >> already done >> this and have a solution they're willing to share? >> >> William Hindman >> > ________________________________________________ Message sent using UebiMiau 2.7.2 From jwcolby at colbyconsulting.com Mon Apr 2 06:31:59 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 2 Apr 2007 07:31:59 -0400 Subject: [AccessD] Users in SQL Server Message-ID: <000901c7751a$872c5ee0$657aa8c0@m6805> Is there something that can be read from SQL Server to discover the count of and even a list of users logged in to a SQL Server database? I am moving a client from an MDB data store to SQL Server and need to get this information on demand, using VBA. John W. Colby Colby Consulting www.ColbyConsulting.com From prodevmg at yahoo.com Mon Apr 2 06:51:40 2007 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Mon, 2 Apr 2007 04:51:40 -0700 (PDT) Subject: [AccessD] Users in SQL Server Message-ID: <41363.41171.qm@web33114.mail.mud.yahoo.com> You can do a passthrough query to the master database and execute this system stored procedure. EXEC SP_WHO May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: JWColby To: Access Developers discussion and problem solving ; dba-sqlserver at databaseadvisors.com Sent: Monday, April 2, 2007 6:31:59 AM Subject: [AccessD] Users in SQL Server Is there something that can be read from SQL Server to discover the count of and even a list of users logged in to a SQL Server database? I am moving a client from an MDB data store to SQL Server and need to get this information on demand, using VBA. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ____________________________________________________________________________________ We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list. http://tv.yahoo.com/collections/265 From wdhindman at dejpolsystems.com Mon Apr 2 07:50:38 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 2 Apr 2007 08:50:38 -0400 Subject: [AccessD] ...monitoring be mdb size References: <20070402105334.567F44FEC5@smtp.nildram.co.uk> Message-ID: <000901c77525$847c8020$982b124c@50nm721> Andy ...thanks much ...I did find some code over on Dev's site that looked like it might be adapted to what I wanted ...but your's looks like it should do the job nicely ...I'll give it a shot ..tks again. William Hindman ----- Original Message ----- From: "Andy Lacey" To: "Access Developers discussion and problem solving" Sent: Monday, April 02, 2007 7:53 AM Subject: Re: [AccessD] ...monitoring be mdb size > Well there's not a lot to it really > ================================= > > Function CompactRepair() > Const strOldMDB As String = "X:\y\z\your.mdb" 'Amend as necessary > Const strNewMDB As String = "X:\y\z\Compacted.mdb" > > Dim strSubject As String > Dim lngOldSize As Long > Dim lngNewSize As Long > Dim lngChange As Long > Dim lngOldSizeKB As Long > Dim lngNewSizeKB As Long > Dim lngChangeKB As Long > Dim lngOldSizeMB As Long > Dim lngNewSizeMB As Long > Dim lngChangeMB As Long > Dim db As Database > Dim strSQL As String > > > On Error GoTo Repair_Err > lngOldSize = FileLen(strOldMDB) > DBEngine.RepairDatabase strOldMDB > > On Error Resume Next > Kill strNewMDB > On Error GoTo Compact_Err > DBEngine.CompactDatabase strOldMDB, strNewMDB > lngNewSize = FileLen(strNewMDB) > lngChange = lngOldSize - lngNewSize > > lngOldSizeKB = lngOldSize / 1024 > lngNewSizeKB = lngNewSize / 1024 > lngChangeKB = lngChange / 1024 > lngOldSizeMB = lngOldSizeKB / 1024 > lngNewSizeMB = lngNewSizeKB / 1024 > lngChangeMB = lngChangeKB / 1024 > > strSubject = "Repair & Compact: SUCCESS " & lngOldSizeMB & "mb To " & > lngNewSizeMB & "mb (saving " & lngChangeMB & "mb)" > > 'My email routine takes two parameters - body and subject. You'll do your > own thing no doubt. > Call YourOwnEmailRoutine("Repair and Compact of " & strOldMDB & " ran > successfully" & vbCrLf & vbCrLf _ > & "Old Size " & Format(lngOldSizeKB, "#,##0") & "kb" & vbCrLf _ > & "New Size " & Format(lngNewSizeKB, "#,##0") & "kb" & vbCrLf _ > & "Reduction Of " & Format(lngChangeKB, "#,##0") & "kb" & vbCrLf & vbCrLf > _ > & "NOTE THAT THIS HAS ONLY BEEN RUN ON AN OFF-LINE COPY OF TITUSDAT.MDB > FOR > INFORMATION PURPOSES." _ > , strSubject) > > 'I also keep a record in a stats table > strSQL = "INSERT INTO COMPSTAT (CST_DATE, CST_FROM, CST_TO) VALUES(Now()," > & > lngOldSizeKB & ", " & lngNewSizeKB & ")" > Set db = CurrentDb > db.Execute strSQL > > CompactRepair_Exit: > On Error Resume Next > db.Close: Set db = Nothing > Exit Function > > Repair_Err: > strSubject = "Repair & Compact: FAILED" > Call YourOwnEmailRoutine("Repair of " & strOldMDB & " failed with error " > & > Err & vbCrLf & vbCrLf & Err.Description, strSubject) > Resume CompactRepair_Exit > Resume 0 > > Compact_Err: > strSubject = "Repair & Compact: FAILED" > Call YourOwnEmailRoutine("Compact of " & strOldMDB & " failed with error " > & > Err & vbCrLf & vbCrLf & Err.Description, strSubject) > Resume CompactRepair_Exit > Resume 0 > > End Function > ========================================== > > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] ...monitoring be mdb size > Date: 02/04/07 10:25 > > > Andy, > me too, please, if is possible... > Many thanks in advance, > Ervin > ----- Original Message ----- > From: "Andy Lacey" > To: "Access Developers discussion and problem solving" > > Sent: Monday, April 02, 2007 11:34 AM > Subject: Re: [AccessD] ...monitoring be mdb size > > >> Hi William >> Only just spotted this. You've probably done it by now, but.. >> >> I have an MDB which runs on a nightly schedule. What it does is slightly >> different from yours in that it measures the difference in size between >> the >> the live BE (well a copy actually) and one which it Compacts. It then >> emails >> me telling me by how much the BE would shrink if I threw everyone out of >> the >> system to run a compact. It's only a few lines of code and nothing you >> couldn't do in your sleep but you're welcome to it if it's any use. >> >> -- >> Andy Lacey >> http://www.minstersystems.co.uk >> >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >>> William Hindman >>> Sent: 31 March 2007 22:23 >>> To: Access Developers discussion and problem solving >>> Subject: [AccessD] ...monitoring be mdb size >>> >>> >>> ...I want to monitor the size of my be mdb's and gen an >>> e-mail if they grow >>> by a certain percentage in a given time frame ...has anyone >>> already done >>> this and have a solution they're willing to share? >>> >>> William Hindman >>> >> > > > ________________________________________________ > Message sent using UebiMiau 2.7.2 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd666 at yahoo.com Mon Apr 2 07:54:05 2007 From: accessd666 at yahoo.com (Sad Der) Date: Mon, 2 Apr 2007 05:54:05 -0700 (PDT) Subject: [AccessD] VSTO and/or/vs Access 2007 In-Reply-To: Message-ID: <70344.76962.qm@web31607.mail.mud.yahoo.com> Thnx for the many replies and links! This was exactly what I needed to find. Summary, It is possible to use .Net using Add-ins. However, Charlotte is also correct in saying that it is not possible to write .Net code in Access! Regards, Sander --- Charlotte Foust wrote: > But those aren't created in Access, they're created > in VS.Net and used > as an add-in in Access. Not the same thing at all > as writing .Net code > in Access. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On > Behalf Of Stuart > McLachlan > Sent: Thursday, March 29, 2007 2:44 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VSTO and/or/vs Access 2007 > > http://msdn2.microsoft.com/en-us/library/aa902693.aspx > > > Microsoft Office Access 2007 adds a new capability, > making managed > add-ins (that is, add-ins that run code created by > using Microsoft > Visual Studio 2005, written in either Microsoft > Visual Basic or > Microsoft Visual C#) both possible and relatively > easy to create. Now > you can use professional tools for creating managed > applications, and > incorporate the rich and powerful functionality of > the Microsoft .NET > Framework. > ... > In this article, we demonstrate creating a simple > add-in by using the > Visual Studio Shared Add-in template. We provide > code and instructions > (in Visual Basic and in C#) so you can try this in > the language that you > prefer. > > > On 29 Mar 2007 at 9:45, Martin Reid wrote: > > > Sander > > > > You can consume .NET components within Access and > call web services > > etc. I have seen this done but haven't actually > done it. From the > > other side you can use access within .net > applications much like > > calling another database from a .NET application. > > > > There are several web casts available on using > Access 2003 and .NET > > > > http://www.officeusers.org/see/26427 > > http://www.oreilly.com/catalog/accesscook2/ > > > > But you may notice in all the tech stuff out there > re Office and .NET > > Access gets little attention. > > > > Martin > > > > > > Martin WP Reid > > Training and Assessment Unit > > Riddle Hall > > Belfast > > > > tel: 02890 974477 > > > > > > ________________________________ > > > > From: accessd-bounces at databaseadvisors.com on > behalf of Sad Der > > Sent: Thu 29/03/2007 07:29 > > To: Acces User Group > > Subject: [AccessD] VSTO and/or/vs Access 2007 > > > > > > > > Hi, > > > > Can anybody provide with some > links/info/docs/books etc about > > programming Access 2007 and what it's relation is > with VSTO. > > > > As I understand i can use vb.net / c# in Access > 2007. > > I cannot figure out how?!?! > > When opening Access 2007 and going to code...I see > vba. > > In VS2005 I cannot find an Office project for > access?! > > > > Many TIA! > > > > Regards, > > > > Sander > > > > > > > > > ______________________________________________________________________ > > ______ ________ Never miss an email again! Yahoo! > Toolbar alerts you > > the instant new Mail arrives. > > > http://tools.search.yahoo.com/toolbar/features/mail/ > -- AccessD > > mailing list AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > Website: > > http://www.databaseadvisors.com > > > > > > > > > -- > Stuart > > > -- > 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 > ____________________________________________________________________________________ Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=list&sid=396546091 From mmmtbig at bellsouth.net Mon Apr 2 09:05:46 2007 From: mmmtbig at bellsouth.net (Myke Myers) Date: Mon, 2 Apr 2007 10:05:46 -0400 Subject: [AccessD] MOD VBA Error Handler for Access 2003 In-Reply-To: <000901c773c2$d9d65320$6501a8c0@TBIG1> References: <000901c773c2$d9d65320$6501a8c0@TBIG1> Message-ID: <00cb01c77530$057210f0$6501a8c0@TBIG1> MZ-Tools has a good replacement with many other tools also. http://mztools.com/v3/download.htm -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Myke Myers Sent: Saturday, March 31, 2007 2:31 PM To: 'Database Advisors' Subject: [AccessD] MOD VBA Error Handler for Access 2003 I've been using the Access 2000 XP MOD 'VBA Error Handler' for years and I like it. I installed Access 2003 on the same computer and the VBA Error Handler appeared in the Visual Basic Add Ins and worked normally. I installed Access 2003 on a new computer and I can't find a way to get 'VBA Error Handler' installed. It's not in the Access 2003 Developer Extensions. I've searched the web and Google Group with no success. Anyone have a suggestion? TIA, Myke -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ebarro at verizon.net Mon Apr 2 09:47:17 2007 From: ebarro at verizon.net (Eric Barro) Date: Mon, 02 Apr 2007 07:47:17 -0700 Subject: [AccessD] Users in SQL Server In-Reply-To: <41363.41171.qm@web33114.mail.mud.yahoo.com> Message-ID: <0JFV00KQYL2YKZ00@vms048.mailsrvcs.net> Sp_who and sp_who2 will give you processes and connections...not unique users. This gives you a count of processes connected to the specified database name select count(*) from master.dbo.sysprocesses where dbid = db_id('databasename') This gives you unique logins connected to the specified database name select distinct loginame from master.dbo.sysprocesses where loginame = 'userlogin' and dbid = db_id('databasename') NOTE: if your application's processes use one login for all users then you won't get a true value. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Monday, April 02, 2007 4:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Users in SQL Server You can do a passthrough query to the master database and execute this system stored procedure. EXEC SP_WHO May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: JWColby To: Access Developers discussion and problem solving ; dba-sqlserver at databaseadvisors.com Sent: Monday, April 2, 2007 6:31:59 AM Subject: [AccessD] Users in SQL Server Is there something that can be read from SQL Server to discover the count of and even a list of users logged in to a SQL Server database? I am moving a client from an MDB data store to SQL Server and need to get this information on demand, using VBA. John W. Colby Colby Consulting www.ColbyConsulting.com From cfoust at infostatsystems.com Mon Apr 2 11:13:03 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 2 Apr 2007 09:13:03 -0700 Subject: [AccessD] OT Friday but not funny In-Reply-To: <000b01c7733e$0683b550$0200a8c0@danwaters> References: <00bb01c77338$e6dbb630$0201a8c0@HAL9005> <000b01c7733e$0683b550$0200a8c0@danwaters> Message-ID: >Tyrants and dictators do things like this to stay in power LOL Sounds like IT to me! Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, March 30, 2007 7:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday but not funny Well, a company could set up some methodology where you have at least two groups in house whose job it is to spy on each other, and create situations for them to constantly distrust each other. Then fire someone once in a while and 'imply' it was for security reasons. Tyrants and dictators do things like this to stay in power. Maybe it'll work in IT too! Dan -----Original Message----- Subject: Re: [AccessD] OT Friday but not funny If I run short, I can make my own. :) But all seriousness aside, our paper's business section seems to cover them. Maybe they've got a techie on staff. San Diego is also very highly wired. So there's maybe more than average readership for this stuff. But I was wondering if it's possible to stop an inside job. If there is some way to ultimately secure the data. Rocky -----Original Message----- Subject: Re: [AccessD] OT Friday but not funny Hi Rocky: You definitely seem to have to line on all the latest major database errors. :-) Jim -----Original Message----- Subject: [AccessD] OT Friday but not funny From: http://www.signonsandiego.com/uniontrib/20070330/news_1b30tjx.html TJX data breach now called world's largest 45.7 million cards were compromised You can read the details yourself but this snip stood out: The TJX case would "probably serve as a case study for computer security and business students for years to come," said Beth Givens, director of the San Diego-based Privacy Rights Clearinghouse. "This one could be considered a worst-case scenario." One reason, Givens said, is because of TJX's disclosure late Wednesday that it believed the hacker or hackers "had access to the decryption tool for the encryption software utilized by TJX." Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Apr 2 11:25:27 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 2 Apr 2007 09:25:27 -0700 Subject: [AccessD] MOD VBA Error Handler for Access 2003 In-Reply-To: <00cb01c77530$057210f0$6501a8c0@TBIG1> References: <000901c773c2$d9d65320$6501a8c0@TBIG1> <00cb01c77530$057210f0$6501a8c0@TBIG1> Message-ID: I couldn't get by without MZ-Tools! I even use it in VS 2005. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Myke Myers Sent: Monday, April 02, 2007 7:06 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MOD VBA Error Handler for Access 2003 MZ-Tools has a good replacement with many other tools also. http://mztools.com/v3/download.htm -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Myke Myers Sent: Saturday, March 31, 2007 2:31 PM To: 'Database Advisors' Subject: [AccessD] MOD VBA Error Handler for Access 2003 I've been using the Access 2000 XP MOD 'VBA Error Handler' for years and I like it. I installed Access 2003 on the same computer and the VBA Error Handler appeared in the Visual Basic Add Ins and worked normally. I installed Access 2003 on a new computer and I can't find a way to get 'VBA Error Handler' installed. It's not in the Access 2003 Developer Extensions. I've searched the web and Google Group with no success. Anyone have a suggestion? TIA, Myke -- 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 newsgrps at dalyn.co.nz Mon Apr 2 13:24:05 2007 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 03 Apr 2007 06:24:05 +1200 Subject: [AccessD] Access 97 Runtime and Windows Vista Message-ID: <20070402182248.PGCL19815.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> Hi Group, This was sent late Friday night but may have been overlooked in the excitement of the weekend. Has anyone tested whether Access 97 runtime will run with Windows Vista? Any potential problems to what out for? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From shamil at users.mns.ru Mon Apr 2 14:00:02 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 2 Apr 2007 23:00:02 +0400 Subject: [AccessD] Access 97 Runtime and Windows Vista In-Reply-To: <20070402182248.PGCL19815.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <000601c77559$1e8f37b0$6401a8c0@nant> Hello David, My guess is that MS Access 97 runtime should work fine on MS Windows Vista. MS Windows Vista is compatible and is based on "good old" MS Windows 95->98->(2000+XP+2003) versions - it's just 4% .NET based (http://www.grimes.demon.co.uk/dotnet/vistaAndDotnet.htm ) and all the rest is still (and will ever be?) COM-based... I didn't test MS Access 97 on MS Windows Vista but I have MS Access 2003 installed and it worked OK... VB6 works well on my MS Windows Vista system. I do not see why MS Access 97 runtime when properly installed (using SageKey scripts) should not work on MS Windows Vista. Just my guess... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Monday, April 02, 2007 10:24 PM To: accessd at databaseadvisors.com Subject: [AccessD] Access 97 Runtime and Windows Vista Hi Group, This was sent late Friday night but may have been overlooked in the excitement of the weekend. Has anyone tested whether Access 97 runtime will run with Windows Vista? Any potential problems to what out for? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Mon Apr 2 14:51:24 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Mon, 2 Apr 2007 12:51:24 -0700 Subject: [AccessD] Access 97 Runtime and Windows Vista In-Reply-To: <20070402182248.PGCL19815.fep02.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <001301c77560$4bc2b430$0200a8c0@murphy3234aaf1> David, I don't know about the 97 runtime but I do know that Access XP runtimes installed with Wise and Sagekey script installer do run on Vista, ours at least. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Monday, April 02, 2007 11:24 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access 97 Runtime and Windows Vista Hi Group, This was sent late Friday night but may have been overlooked in the excitement of the weekend. Has anyone tested whether Access 97 runtime will run with Windows Vista? Any potential problems to what out for? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Tue Apr 3 04:24:39 2007 From: accessd666 at yahoo.com (Sad Der) Date: Tue, 3 Apr 2007 02:24:39 -0700 (PDT) Subject: [AccessD] ADP - Reset connection => Error? Message-ID: <814078.68357.qm@web31610.mail.mud.yahoo.com> Hi, I need to reset the CurrentProject.Connection.ConnectionString value for my ADP (2002) When I try: CurrentProject.Connection.ConnectionString = strConnString I get the error: Operation is not allowed when the object is open. This is true because the following returns false: ?CurrentProject.Connection.State = adStateClosed So before setting the new connectstring property I try to close the connection but none of the below seem to work, although they do NOT return an error! Application.CurrentProject.CloseConnection CurrentProject.CloseConnection CurrentProject.Connection.Close set CurrentProject.Connection = nothing (?? just trying) Goal: How can I set a new connect string? Regards, Sander PS: I asked this before and got some good answers. Throughout the app several functions are used that use CurrentProject.Connection. These are called hundreds of times!! I do not want to modify that code. ____________________________________________________________________________________ Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html From Gustav at cactus.dk Tue Apr 3 05:28:40 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 03 Apr 2007 12:28:40 +0200 Subject: [AccessD] ADP - Reset connection => Error? Message-ID: Hi Sander I don't think you can cut the connection belonging to CurrentProject ... that would be like kicking your own feet away. I guess you need to create a new Connection object and then use that for whatever your purpose is. /gustav >>> accessd666 at yahoo.com 03-04-2007 11:24:39 >>> Hi, I need to reset the CurrentProject.Connection.ConnectionString value for my ADP (2002) When I try: CurrentProject.Connection.ConnectionString = strConnString I get the error: Operation is not allowed when the object is open. This is true because the following returns false: ?CurrentProject.Connection.State = adStateClosed So before setting the new connectstring property I try to close the connection but none of the below seem to work, although they do NOT return an error! Application.CurrentProject.CloseConnection CurrentProject.CloseConnection CurrentProject.Connection.Close set CurrentProject.Connection = nothing (?? just trying) Goal: How can I set a new connect string? Regards, Sander PS: I asked this before and got some good answers. Throughout the app several functions are used that use CurrentProject.Connection. These are called hundreds of times!! I do not want to modify that code. From accessd666 at yahoo.com Tue Apr 3 06:25:05 2007 From: accessd666 at yahoo.com (Sad Der) Date: Tue, 3 Apr 2007 04:25:05 -0700 (PDT) Subject: [AccessD] ADP - Reset connection => Error? In-Reply-To: Message-ID: <103875.36919.qm@web31608.mail.mud.yahoo.com> I need this because we need to set/check the databaseconnection from outside the database e.g. an ini file. If it isn't possible to reset the connection to another sql server, than we've got a problem.... As I said before. Throughout the code the CurrentProject.Connection is used to set the connectstring. I feel a Find/Replace comming on... Not something I would like to do because I have to test all changes. Sander PS: There are few changes (1-3) on the database per day but these can have major financial conseq. E.g. values below ?100.000 are neglected!! --- Gustav Brock wrote: > Hi Sander > > I don't think you can cut the connection belonging > to CurrentProject ... that would be like kicking > your own feet away. > I guess you need to create a new Connection object > and then use that for whatever your purpose is. > > /gustav > > >>> accessd666 at yahoo.com 03-04-2007 11:24:39 >>> > Hi, > > I need to reset the > CurrentProject.Connection.ConnectionString value for > my ADP (2002) > > When I try: > CurrentProject.Connection.ConnectionString = > strConnString > > I get the error: > Operation is not allowed when the object is open. > > This is true because the following returns false: > ?CurrentProject.Connection.State = adStateClosed > > So before setting the new connectstring property I > try > to close the connection but none of the below seem > to > work, although they do NOT return an error! > Application.CurrentProject.CloseConnection > CurrentProject.CloseConnection > CurrentProject.Connection.Close > set CurrentProject.Connection = nothing (?? just > trying) > > Goal: How can I set a new connect string? > > Regards, > Sander > PS: I asked this before and got some good answers. > Throughout the app several functions are used that > use > CurrentProject.Connection. These are called hundreds > of times!! I do not want to modify that code. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ____________________________________________________________________________________ Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html From accessd666 at yahoo.com Tue Apr 3 07:10:30 2007 From: accessd666 at yahoo.com (Sad Der) Date: Tue, 3 Apr 2007 05:10:30 -0700 (PDT) Subject: [AccessD] ADP - Reset connection => Error? SOLVED In-Reply-To: <103875.36919.qm@web31608.mail.mud.yahoo.com> Message-ID: <525747.82927.qm@web31606.mail.mud.yahoo.com> Gustav, You're idea works...only 1.000.000 changes to go ;-) Maybe a bit exadurated... Regards, Sander --- Sad Der wrote: > I need this because we need to set/check the > databaseconnection from outside the database e.g. an > ini file. > > If it isn't possible to reset the connection to > another sql server, than we've got a problem.... > > As I said before. Throughout the code the > CurrentProject.Connection is used to set the > connectstring. I feel a Find/Replace comming on... > Not > something I would like to do because I have to test > all changes. > > Sander > PS: There are few changes (1-3) on the database per > day but these can have major financial conseq. E.g. > values below ?100.000 are neglected!! > > --- Gustav Brock wrote: > > > Hi Sander > > > > I don't think you can cut the connection belonging > > to CurrentProject ... that would be like kicking > > your own feet away. > > I guess you need to create a new Connection object > > and then use that for whatever your purpose is. > > > > /gustav > > > > >>> accessd666 at yahoo.com 03-04-2007 11:24:39 >>> > > Hi, > > > > I need to reset the > > CurrentProject.Connection.ConnectionString value > for > > my ADP (2002) > > > > When I try: > > CurrentProject.Connection.ConnectionString = > > strConnString > > > > I get the error: > > Operation is not allowed when the object is open. > > > > This is true because the following returns false: > > ?CurrentProject.Connection.State = adStateClosed > > > > So before setting the new connectstring property I > > try > > to close the connection but none of the below seem > > to > > work, although they do NOT return an error! > > Application.CurrentProject.CloseConnection > > CurrentProject.CloseConnection > > CurrentProject.Connection.Close > > set CurrentProject.Connection = nothing (?? just > > trying) > > > > Goal: How can I set a new connect string? > > > > Regards, > > Sander > > PS: I asked this before and got some good answers. > > Throughout the app several functions are used that > > use > > CurrentProject.Connection. These are called > hundreds > > of times!! I do not want to modify that code. > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > ____________________________________________________________________________________ > Sucker-punch spam with award-winning protection. > Try the free Yahoo! Mail Beta. > http://advision.webevents.yahoo.com/mailbeta/features_spam.html > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ____________________________________________________________________________________ Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html From bbruen at unwired.com.au Tue Apr 3 07:16:32 2007 From: bbruen at unwired.com.au (Bruce Bruen) Date: Tue, 3 Apr 2007 22:16:32 +1000 Subject: [AccessD] ADP - Reset connection => Error? In-Reply-To: <103875.36919.qm@web31608.mail.mud.yahoo.com> References: <103875.36919.qm@web31608.mail.mud.yahoo.com> Message-ID: <200704032216.35054.bbruen@unwired.com.au> On Tuesday 03 April 2007 21:25, Sad Der wrote: > I need this because we need to set/check the > databaseconnection from outside the database e.g. an > ini file. .. > > --- Gustav Brock wrote: > > Hi Sander > > > > I don't think you can cut the connection belonging > > to CurrentProject ... that would be like kicking > > your own feet away. > > I guess you need to create a new Connection object > > and then use that for whatever your purpose is. > > .. Sander, You CANNOT do this, CurrentProject is just, sort of like [Me]. set Me = SomeOneElse ... ??? I know that CurrentProject is just about a great way to shortcut the local active connection, but it has it's pitfall's, and this is it! BTW: You can't even do this elsewhere. Even in a true OO language you can't ( this <= this.base; } or { this <= cMyAccount(YourAccount); } -- regards Bruce From askolits at ot.com Tue Apr 3 08:36:06 2007 From: askolits at ot.com (John Skolits) Date: Tue, 3 Apr 2007 09:36:06 -0400 Subject: [AccessD] Excel automation issue In-Reply-To: <008401c71400$b96b21f0$0200a8c0@murphy3234aaf1> Message-ID: <001e01c775f5$083448b0$0f01a8c0@officexp> I have a problem on my PC but it's not occurring on any other PC. When trying to do a CopyFromRecordset to Excel. I receive the following error. "Class does not support automation or does not support expected interface" The only new thing I have done lately was to install SqlServer 2005 and VB 2005. These were not installed previous to this issue and are not install on any of my other PCs. Ms Knowledgebase seems to point to using Access97 with Excel. But I'm running Access 2000. I have all the latest Service packs. I have totally removed Office and reinstalled. The other odd thing was I found an MDAC that's 2.8 SR1. Thinking it may fix the problem, I tried to run it and it said "This setup does not support installing on this operating system" Anyone run into this yet. John Skolits -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Wednesday, November 29, 2006 4:53 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Email Automation to Outlook problem It may be a windows event conflict. I am not sure if the timer is an Access thing or Access running a windows api. I do know that if Outlook happens to be sending or receiving when I try and send an email from Access an error is generated. This may be way out in left field but something to consider. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, November 29, 2006 1:23 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Email Automation to Outlook problem I'll have to give this a try...but if it had any updates...they would have to have been automatic...its an old box running 2K Server...and I haven't run any updates in quite sometime. The weird part for me...is I can run the code from a button...but not a timer event??? Thanks, Mark A. Matte >From: "William Hindman" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Email Automation to Outlook problem >Date: Wed, 29 Nov 2006 16:12:25 -0500 > >...have you tried a restore point before it started failing ...imnsho >Microsoft has returned to issuing updates without thoroughly vetting >them ...it seems everytime MS does an update these days, my phone >starts ringing :( > >William Hindman >----- Original Message ----- >From: "Mark A Matte" >To: >Sent: Wednesday, November 29, 2006 3:24 PM >Subject: Re: [AccessD] Email Automation to Outlook problem > > > >I am actually having a related issue right now. I have a db that > >imports data every 30 minutes...does an analysis...and emails > >results using outlook. > > It worked fine for a year...and now outlook crashes almost > >everytime >with > > "An unknown Error". If I execute the exact same code from a button > > instead of a timer, it runs fine...I'm lost at this time. I need a > > way to send >an > > email without using outlook...I guess? > > > > Thanks, > > > > Mark A. Matte > > > >>From: "Gustav Brock" > >>Reply-To: Access Developers discussion and problem > >>solving > >>To: > >>Subject: Re: [AccessD] Email Automation to Outlook problem > >>Date: Wed, 29 Nov 2006 18:09:03 +0100 > >> > >>Hi Susan and Chris > >> > >>Oh, that's another story - I don't use Outlook - so I cannot help. > >>Could it be an automatic Windows Updating issue? > >> > >>/gustav > >> > >> >>> ssharkins at setel.com 29-11-2006 17:40:32 >>> > >>Gustav, > >> > >> This is something that Outlook seems to do on its own -- at least > >>on my system. An address that's worked for years will suddenly not > >>send. In the header, I can see the apostrophes. I delete the > >>address, re-enter it, >and > >>9 > >>times out of 10, it goes. No clue... > >> > >> In my case, there's no code involved -- this is all Outlook. > >> > >>Susan H. > >> > >>The obvious solution is to adjust your code to stop wrapping the > >>address in apostrophes. > >>If, for some reason, that can't be done, change these to brackets like: > >> > >> > >> > >>-- > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > > > > _________________________________________________________________ > > Talk now to your Hotmail contacts with Windows Live Messenger. > > >http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http: >//get.live.com/messenger/overview > > > > -- > > 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 _________________________________________________________________ View Athletes Collections with Live Search http://sportmaps.live.com/index.html?source=hmemailtaglinenov06&FORM=MGAC01 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Apr 3 09:11:03 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 3 Apr 2007 09:11:03 -0500 Subject: [AccessD] Excel automation issue In-Reply-To: <001e01c775f5$083448b0$0f01a8c0@officexp> References: <008401c71400$b96b21f0$0200a8c0@murphy3234aaf1> <001e01c775f5$083448b0$0f01a8c0@officexp> Message-ID: <001b01c775f9$eb16e080$0200a8c0@danwaters> Hi John, I can only answer the MDAC 2.8 issue. You need to find the 'MDAC 2.8' page on MS's site. There are several versions of MDAC 2.8, each for a different Windows OS. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Tuesday, April 03, 2007 8:36 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Excel automation issue I have a problem on my PC but it's not occurring on any other PC. When trying to do a CopyFromRecordset to Excel. I receive the following error. "Class does not support automation or does not support expected interface" The only new thing I have done lately was to install SqlServer 2005 and VB 2005. These were not installed previous to this issue and are not install on any of my other PCs. Ms Knowledgebase seems to point to using Access97 with Excel. But I'm running Access 2000. I have all the latest Service packs. I have totally removed Office and reinstalled. The other odd thing was I found an MDAC that's 2.8 SR1. Thinking it may fix the problem, I tried to run it and it said "This setup does not support installing on this operating system" Anyone run into this yet. John Skolits From askolits at ot.com Tue Apr 3 09:34:14 2007 From: askolits at ot.com (John Skolits) Date: Tue, 3 Apr 2007 10:34:14 -0400 Subject: [AccessD] Excel automation issue In-Reply-To: <001b01c775f9$eb16e080$0200a8c0@danwaters> Message-ID: <006401c775fd$27584360$0f01a8c0@officexp> I just realized the SR-1 is not for XP. Only up till 2000 I guess I assumed that a later version of 2.8 would be for XP as well. Either way, I still have the automation issue which for the life of me . I can't figure out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, April 03, 2007 10:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Excel automation issue Hi John, I can only answer the MDAC 2.8 issue. You need to find the 'MDAC 2.8' page on MS's site. There are several versions of MDAC 2.8, each for a different Windows OS. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Tuesday, April 03, 2007 8:36 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Excel automation issue I have a problem on my PC but it's not occurring on any other PC. When trying to do a CopyFromRecordset to Excel. I receive the following error. "Class does not support automation or does not support expected interface" The only new thing I have done lately was to install SqlServer 2005 and VB 2005. These were not installed previous to this issue and are not install on any of my other PCs. Ms Knowledgebase seems to point to using Access97 with Excel. But I'm running Access 2000. I have all the latest Service packs. I have totally removed Office and reinstalled. The other odd thing was I found an MDAC that's 2.8 SR1. Thinking it may fix the problem, I tried to run it and it said "This setup does not support installing on this operating system" Anyone run into this yet. John Skolits -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Tue Apr 3 09:49:14 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 03 Apr 2007 14:49:14 +0000 Subject: [AccessD] Excel automation issue In-Reply-To: <006401c775fd$27584360$0f01a8c0@officexp> Message-ID: John, I had a similar error recently...but not exactly the same...only some machine had the error...but all machines 'appeared' to be the same. My problem was around DAO connections...in the VBA window, under tools...references...everyone had the same 3 things checked including DAO 3.6 What I later found to be the problem was not what is checked...but what is available to be checked. Apparently Access needs some of the old DLLs even though they are not checked in References. My culprit was DAO 3.51. The machines that were having the problem with what seemed to be sound code...were indeed missing the 3.51 dll even though the db supposedly was not being used. I copied the file to each machine, registered them...and everything worked fine. Your error and mine weren't the same, but from what I can remember very similar...and both were good code and referenced automation. at the time I found something on MS site describing the old dll missing issue...but I can't find it now. Good Luck, Mark A. Matte >From: "John Skolits" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Excel automation issue >Date: Tue, 3 Apr 2007 10:34:14 -0400 > >I just realized the SR-1 is not for XP. Only up till 2000 >I guess I assumed that a later version of 2.8 would be for XP as well. > >Either way, I still have the automation issue which for the life of me . I >can't figure out. > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters >Sent: Tuesday, April 03, 2007 10:11 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Excel automation issue > >Hi John, > >I can only answer the MDAC 2.8 issue. You need to find the 'MDAC 2.8' page >on MS's site. There are several versions of MDAC 2.8, each for a different >Windows OS. > >Dan > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits >Sent: Tuesday, April 03, 2007 8:36 AM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Excel automation issue > >I have a problem on my PC but it's not occurring on any other PC. > >When trying to do a CopyFromRecordset to Excel. I receive the following >error. > >"Class does not support automation or does not support expected interface" > >The only new thing I have done lately was to install SqlServer 2005 and VB >2005. These were not installed previous to this issue and are not install >on >any of my other PCs. > >Ms Knowledgebase seems to point to using Access97 with Excel. But I'm >running Access 2000. I have all the latest Service packs. > >I have totally removed Office and reinstalled. > >The other odd thing was I found an MDAC that's 2.8 SR1. Thinking it may fix >the problem, I tried to run it and it said "This setup does not support >installing on this operating system" > >Anyone run into this yet. > >John Skolits > > > >-- >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 _________________________________________________________________ Get a FREE Web site, company branded e-mail and more from Microsoft Office Live! http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/ From Jim.Hale at FleetPride.com Tue Apr 3 09:56:05 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 3 Apr 2007 09:56:05 -0500 Subject: [AccessD] Excel automation issue Message-ID: WAG. Is it possible the DAO reference was changed to an older version when you installed VB or the ADO reference replaced the DAO? Just a thought. Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Tuesday, April 03, 2007 9:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Excel automation issue I just realized the SR-1 is not for XP. Only up till 2000 I guess I assumed that a later version of 2.8 would be for XP as well. Either way, I still have the automation issue which for the life of me . I can't figure out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, April 03, 2007 10:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Excel automation issue Hi John, I can only answer the MDAC 2.8 issue. You need to find the 'MDAC 2.8' page on MS's site. There are several versions of MDAC 2.8, each for a different Windows OS. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Tuesday, April 03, 2007 8:36 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Excel automation issue I have a problem on my PC but it's not occurring on any other PC. When trying to do a CopyFromRecordset to Excel. I receive the following error. "Class does not support automation or does not support expected interface" The only new thing I have done lately was to install SqlServer 2005 and VB 2005. These were not installed previous to this issue and are not install on any of my other PCs. Ms Knowledgebase seems to point to using Access97 with Excel. But I'm running Access 2000. I have all the latest Service packs. I have totally removed Office and reinstalled. The other odd thing was I found an MDAC that's 2.8 SR1. Thinking it may fix the problem, I tried to run it and it said "This setup does not support installing on this operating system" Anyone run into this yet. John Skolits -- 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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From askolits at ot.com Tue Apr 3 10:13:29 2007 From: askolits at ot.com (John Skolits) Date: Tue, 3 Apr 2007 11:13:29 -0400 Subject: [AccessD] Excel automation issue - SOLVED! In-Reply-To: Message-ID: <007b01c77602$a3315580$0f01a8c0@officexp> Bingo. I copied over an older DAO 2.5/3.51 from one of my PCs. Added it to my References and removed DAO 3.60 from the reference. Compiled, and it worked. Closed Access. Opened it, removed Dao 2.5/3.51 reference and added back Dao 3.60. And everything is now fine. Weird. Thanks for all your help! John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, April 03, 2007 10:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Excel automation issue WAG. Is it possible the DAO reference was changed to an older version when you installed VB or the ADO reference replaced the DAO? Just a thought. Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Tuesday, April 03, 2007 9:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Excel automation issue I just realized the SR-1 is not for XP. Only up till 2000 I guess I assumed that a later version of 2.8 would be for XP as well. Either way, I still have the automation issue which for the life of me . I can't figure out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, April 03, 2007 10:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Excel automation issue Hi John, I can only answer the MDAC 2.8 issue. You need to find the 'MDAC 2.8' page on MS's site. There are several versions of MDAC 2.8, each for a different Windows OS. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Tuesday, April 03, 2007 8:36 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Excel automation issue I have a problem on my PC but it's not occurring on any other PC. When trying to do a CopyFromRecordset to Excel. I receive the following error. "Class does not support automation or does not support expected interface" The only new thing I have done lately was to install SqlServer 2005 and VB 2005. These were not installed previous to this issue and are not install on any of my other PCs. Ms Knowledgebase seems to point to using Access97 with Excel. But I'm running Access 2000. I have all the latest Service packs. I have totally removed Office and reinstalled. The other odd thing was I found an MDAC that's 2.8 SR1. Thinking it may fix the problem, I tried to run it and it said "This setup does not support installing on this operating system" Anyone run into this yet. John Skolits -- 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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Tue Apr 3 14:11:41 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 3 Apr 2007 15:11:41 -0400 Subject: [AccessD] Excel automation issue References: Message-ID: <001f01c77623$eaa12230$982b124c@50nm721> ...two things I watch for here ...when code requires DAO 3.51 to compile it means I've got legacy code from an older version of Access running ...and when I start getting automation errors on one system and not on others, it usually points to the DAO/ADO references being out of sequence on that system ...which can happen when you do third party installs ...one reason I got religion about coding explicitly to DAO or ADO and not forcing Access to guess. William Hindman ----- Original Message ----- From: "Mark A Matte" To: Sent: Tuesday, April 03, 2007 10:49 AM Subject: Re: [AccessD] Excel automation issue > John, > > I had a similar error recently...but not exactly the same...only some > machine had the error...but all machines 'appeared' to be the same. My > problem was around DAO connections...in the VBA window, under > tools...references...everyone had the same 3 things checked including DAO > 3.6 > > What I later found to be the problem was not what is checked...but what is > available to be checked. Apparently Access needs some of the old DLLs > even > though they are not checked in References. My culprit was DAO 3.51. The > machines that were having the problem with what seemed to be sound > code...were indeed missing the 3.51 dll even though the db supposedly was > not being used. I copied the file to each machine, registered them...and > everything worked fine. > > Your error and mine weren't the same, but from what I can remember very > similar...and both were good code and referenced automation. > > at the time I found something on MS site describing the old dll missing > issue...but I can't find it now. > > Good Luck, > > Mark A. Matte > > >>From: "John Skolits" >>Reply-To: Access Developers discussion and problem >>solving >>To: "'Access Developers discussion and problem >>solving'" >>Subject: Re: [AccessD] Excel automation issue >>Date: Tue, 3 Apr 2007 10:34:14 -0400 >> >>I just realized the SR-1 is not for XP. Only up till 2000 >>I guess I assumed that a later version of 2.8 would be for XP as well. >> >>Either way, I still have the automation issue which for the life of me . I >>can't figure out. >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters >>Sent: Tuesday, April 03, 2007 10:11 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] Excel automation issue >> >>Hi John, >> >>I can only answer the MDAC 2.8 issue. You need to find the 'MDAC 2.8' >>page >>on MS's site. There are several versions of MDAC 2.8, each for a >>different >>Windows OS. >> >>Dan >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits >>Sent: Tuesday, April 03, 2007 8:36 AM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] Excel automation issue >> >>I have a problem on my PC but it's not occurring on any other PC. >> >>When trying to do a CopyFromRecordset to Excel. I receive the following >>error. >> >>"Class does not support automation or does not support expected interface" >> >>The only new thing I have done lately was to install SqlServer 2005 and VB >>2005. These were not installed previous to this issue and are not install >>on >>any of my other PCs. >> >>Ms Knowledgebase seems to point to using Access97 with Excel. But I'm >>running Access 2000. I have all the latest Service packs. >> >>I have totally removed Office and reinstalled. >> >>The other odd thing was I found an MDAC that's 2.8 SR1. Thinking it may >>fix >>the problem, I tried to run it and it said "This setup does not support >>installing on this operating system" >> >>Anyone run into this yet. >> >>John Skolits >> >> >> >>-- >>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 > > _________________________________________________________________ > Get a FREE Web site, company branded e-mail and more from Microsoft Office > Live! http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/ > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From markamatte at hotmail.com Tue Apr 3 14:23:36 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 03 Apr 2007 19:23:36 +0000 Subject: [AccessD] Excel automation issue In-Reply-To: <001f01c77623$eaa12230$982b124c@50nm721> Message-ID: My issue reared its ugly head in an A97 db that was created, and currently running, in A97. The thing that concerned me was that I thought that if the libraries were not 'checked' under references...they were not used. But in this case DAO 3.6 was checked and DAO 3.51 was not in the list. Once I added the 3.51 dll to the machine and registered it(3.51 still NOT checked in references) the db ran fine...so this means that A97 still needed the other dll's even though they weren't checked. With this being the case...what is the point of selecting the references if it is just going to use what it wants anyway? I'm confused again? Mark A. Matte >From: "William Hindman" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Excel automation issue >Date: Tue, 3 Apr 2007 15:11:41 -0400 > >...two things I watch for here ...when code requires DAO 3.51 to compile it >means I've got legacy code from an older version of Access running ...and >when I start getting automation errors on one system and not on others, it >usually points to the DAO/ADO references being out of sequence on that >system ...which can happen when you do third party installs ...one reason I >got religion about coding explicitly to DAO or ADO and not forcing Access >to >guess. >William Hindman > >----- Original Message ----- >From: "Mark A Matte" >To: >Sent: Tuesday, April 03, 2007 10:49 AM >Subject: Re: [AccessD] Excel automation issue > > > > John, > > > > I had a similar error recently...but not exactly the same...only some > > machine had the error...but all machines 'appeared' to be the same. My > > problem was around DAO connections...in the VBA window, under > > tools...references...everyone had the same 3 things checked including >DAO > > 3.6 > > > > What I later found to be the problem was not what is checked...but what >is > > available to be checked. Apparently Access needs some of the old DLLs > > even > > though they are not checked in References. My culprit was DAO 3.51. The > > machines that were having the problem with what seemed to be sound > > code...were indeed missing the 3.51 dll even though the db supposedly >was > > not being used. I copied the file to each machine, registered >them...and > > everything worked fine. > > > > Your error and mine weren't the same, but from what I can remember very > > similar...and both were good code and referenced automation. > > > > at the time I found something on MS site describing the old dll missing > > issue...but I can't find it now. > > > > Good Luck, > > > > Mark A. Matte > > > > > >>From: "John Skolits" > >>Reply-To: Access Developers discussion and problem > >>solving > >>To: "'Access Developers discussion and problem > >>solving'" > >>Subject: Re: [AccessD] Excel automation issue > >>Date: Tue, 3 Apr 2007 10:34:14 -0400 > >> > >>I just realized the SR-1 is not for XP. Only up till 2000 > >>I guess I assumed that a later version of 2.8 would be for XP as well. > >> > >>Either way, I still have the automation issue which for the life of me . >I > >>can't figure out. > >> > >> > >> > >>-----Original Message----- > >>From: accessd-bounces at databaseadvisors.com > >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > >>Sent: Tuesday, April 03, 2007 10:11 AM > >>To: 'Access Developers discussion and problem solving' > >>Subject: Re: [AccessD] Excel automation issue > >> > >>Hi John, > >> > >>I can only answer the MDAC 2.8 issue. You need to find the 'MDAC 2.8' > >>page > >>on MS's site. There are several versions of MDAC 2.8, each for a > >>different > >>Windows OS. > >> > >>Dan > >> > >>-----Original Message----- > >>From: accessd-bounces at databaseadvisors.com > >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits > >>Sent: Tuesday, April 03, 2007 8:36 AM > >>To: 'Access Developers discussion and problem solving' > >>Subject: [AccessD] Excel automation issue > >> > >>I have a problem on my PC but it's not occurring on any other PC. > >> > >>When trying to do a CopyFromRecordset to Excel. I receive the following > >>error. > >> > >>"Class does not support automation or does not support expected >interface" > >> > >>The only new thing I have done lately was to install SqlServer 2005 and >VB > >>2005. These were not installed previous to this issue and are not >install > >>on > >>any of my other PCs. > >> > >>Ms Knowledgebase seems to point to using Access97 with Excel. But I'm > >>running Access 2000. I have all the latest Service packs. > >> > >>I have totally removed Office and reinstalled. > >> > >>The other odd thing was I found an MDAC that's 2.8 SR1. Thinking it may > >>fix > >>the problem, I tried to run it and it said "This setup does not support > >>installing on this operating system" > >> > >>Anyone run into this yet. > >> > >>John Skolits > >> > >> > >> > >>-- > >>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 > > > > _________________________________________________________________ > > Get a FREE Web site, company branded e-mail and more from Microsoft >Office > > Live! http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/ > > > > -- > > 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 _________________________________________________________________ Can?t afford to quit your job? ? Earn your AS, BS, or MS degree online in 1 year. http://www.classesusa.com/clickcount.cfm?id=866145&goto=http%3A%2F%2Fwww.classesusa.com%2Ffeaturedschools%2Fonlinedegreesmp%2Fform-dyn1.html%3Fsplovr%3D866143 From Gustav at cactus.dk Wed Apr 4 03:24:06 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 04 Apr 2007 10:24:06 +0200 Subject: [AccessD] How to match values that don't match from two tables Message-ID: Hi all You have two tables each holding a field of some value, say an amount. You wish to match the values in the first table with the closest value in the other table. Here is one method with a subquery using Abs() to calculate the difference: SELECT tblA.*, tblB.* FROM tblA, tblB WHERE tblB.ID= (Select Top 1 B.ID From tblB As B, tblA As A Where A.ID = tblA.ID Order By Abs(A.ColumnA - B.ColumnB)); The IDs are the unique keys for the tables. /gustav From paul.hartland at fsmail.net Wed Apr 4 04:11:06 2007 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 4 Apr 2007 11:11:06 +0200 (CEST) Subject: [AccessD] OT - Open Web Link From Visual Basic Message-ID: <13990550.813121175677866842.JavaMail.www@wwinf3203> To all, Think I am going mad, I am sure I have done this before and it's pretty easy....Basically I have a visual basic form with a menu option, when a user clicks that menu I want to open a link in a new browser. Can anyone help me on this. Thanks in advance for all your help. Paul Hartland paul.hartland at fsmail.net 07730 523179 From accessd at shaw.ca Wed Apr 4 05:06:33 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 04 Apr 2007 03:06:33 -0700 Subject: [AccessD] How to match values that don't match from two tables In-Reply-To: Message-ID: <0JFY00FUGX82EUD1@l-daemon> Gustav: Now that is a very slick piece of code. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, April 04, 2007 1:24 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to match values that don't match from two tables Hi all You have two tables each holding a field of some value, say an amount. You wish to match the values in the first table with the closest value in the other table. Here is one method with a subquery using Abs() to calculate the difference: SELECT tblA.*, tblB.* FROM tblA, tblB WHERE tblB.ID= (Select Top 1 B.ID From tblB As B, tblA As A Where A.ID = tblA.ID Order By Abs(A.ColumnA - B.ColumnB)); The IDs are the unique keys for the tables. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Wed Apr 4 06:23:04 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 4 Apr 2007 07:23:04 -0400 Subject: [AccessD] How to match values that don't match from two tables References: <0JFY00FUGX82EUD1@l-daemon> Message-ID: <000701c776ab$9dc6b8c0$982b124c@50nm721> ...goes into my library. William Hindman ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 04, 2007 6:06 AM Subject: Re: [AccessD] How to match values that don't match from two tables > Gustav: > > Now that is a very slick piece of code. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Wednesday, April 04, 2007 1:24 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] How to match values that don't match from two tables > > Hi all > > You have two tables each holding a field of some value, say an amount. > You wish to match the values in the first table with the closest value in > the other table. > > Here is one method with a subquery using Abs() to calculate the > difference: > > SELECT > tblA.*, > tblB.* > FROM > tblA, > tblB > WHERE > tblB.ID= > (Select Top 1 > B.ID > From > tblB As B, > tblA As A > Where > A.ID = tblA.ID > Order By > Abs(A.ColumnA - B.ColumnB)); > > The IDs are the unique keys for the tables. > > /gustav > > > -- > 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 Wed Apr 4 08:17:57 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 04 Apr 2007 23:17:57 +1000 Subject: [AccessD] OT - Open Web Link From Visual Basic In-Reply-To: <13990550.813121175677866842.JavaMail.www@wwinf3203> References: <13990550.813121175677866842.JavaMail.www@wwinf3203> Message-ID: <4613A585.15412.256E0AEE@stuart.lexacorp.com.pg> On 4 Apr 2007 at 11:11, paul.hartland at fsmail.net wrote: > Think I am going mad, I am sure I have done this before and it's pretty > easy....Basically I have a visual basic form with a menu option, when a user > clicks that menu I want to open a link in a new browser. > > Can anyone help me on this. Private Sub Command0_Click() Application.FollowHyperlink "http://www.lexacorp.com.pg" End Sub -- Stuart From ewaldt at gdls.com Wed Apr 4 09:27:16 2007 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Wed, 4 Apr 2007 10:27:16 -0400 Subject: [AccessD] Simulate AutoFilter In-Reply-To: Message-ID: I'd like to create a form in Access which simulates the AutoFilter functionality in Excel. Basically, it's the size of the files (1.5 million records) that makes Excel less useful than it would be otherwise. I doubt the company wants to spring for Office 2007 just now to have Excel's capacity increase. Does anyone know of a sample database or just some instruction on how to build such a puppy? I've got about 40 fields; will this require 40 combo boxes, or is there another way? TIA. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From fuller.artful at gmail.com Wed Apr 4 09:47:42 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 4 Apr 2007 10:47:42 -0400 Subject: [AccessD] Simulate AutoFilter In-Reply-To: References: Message-ID: <29f585dd0704040747x6d12c182y369ef624aec710a@mail.gmail.com> For this kind of thing I suggest trying out the built-in filter-by-form and see how you like that. Arthur On 4/4/07, ewaldt at gdls.com wrote: > > I'd like to create a form in Access which simulates the AutoFilter > functionality in Excel. Basically, it's the size of the files (1.5 million > records) that makes Excel less useful than it would be otherwise. I doubt > the company wants to spring for Office 2007 just now to have Excel's > capacity increase. > > Does anyone know of a sample database or just some instruction on how to > build such a puppy? I've got about 40 fields; will this require 40 combo > boxes, or is there another way? > > TIA. > > Thomas F. Ewald > Stryker Mass Properties > General Dynamics Land Systems > > > > > > > This is an e-mail from General Dynamics Land Systems. It is for the > intended recipient only and may contain confidential and privileged > information. No one else may read, print, store, copy, forward or act in > reliance on it or its attachments. If you are not the intended recipient, > please return this message to the sender and delete the message and any > attachments from your computer. Your cooperation is appreciated. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From j.r.porter at strath.ac.uk Wed Apr 4 11:26:56 2007 From: j.r.porter at strath.ac.uk (John Porter) Date: Wed, 4 Apr 2007 17:26:56 +0100 Subject: [AccessD] Function references produce #Name? error In-Reply-To: <460B84EC.15634.6746584F@stuart.lexacorp.com.pg> References: , <5E1BB9C46D0B4E448812F5DEDEF234D0C5AA37@BE-SCAM2.ds.strath.ac.uk> <460B84EC.15634.6746584F@stuart.lexacorp.com.pg> Message-ID: <5E1BB9C46D0B4E448812F5DEDEF234D0CF89B7@BE-SCAM2.ds.strath.ac.uk> There were no missing references, but adding or deleting a reference (any reference, it appears) fixed the problem. This wasn't just because the change caused decompilation, because a trivial change to the code had no effect. My thanks to all who contributed suggestions. Regards, John R. Porter IT Services University of Strathclyde Jordanhill Campus 86 Southbrae Drive Glasgow G13 1PP e-mail: j.r.porter at strath.ac.uk Tel.: 0141 950 3289 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: 29 March 2007 00:21 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Function references produce #Name? error SOunds like a missing reference. In the VBE, go to Tools-References and look for one with an X beside it. On 28 Mar 2007 at 11:09, John Porter wrote: > When I installed an Access 2003 application on a client's machine, I > found that, if the control source of a text box is an expression > including a function reference (e.g. Ucase('a')) the text box displays > a #Name? error. This happens even if I choose to 'unblock unsafe > expressions' when opening the app., or set macro security to low. > > Functions evaluate correctly in VBA code. In a new app. created on the > client's machine, function refs. work OK in a text box, and if I > import the objects from the problem app., everything works fine. > > I'd be really grateful if anyone could suggest an explanation or > solution of this problem. > > Regards, > > > John R. Porter > IT Services > University of Strathclyde > Jordanhill Campus > 86 Southbrae Drive > Glasgow > G13 1PP > e-mail: j.r.porter at strath.ac.uk > Tel.: 0141 950 3289 > > -- > 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 ewaldt at gdls.com Wed Apr 4 12:10:48 2007 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Wed, 4 Apr 2007 13:10:48 -0400 Subject: [AccessD] Simulate AutoFilter In-Reply-To: Message-ID: Thanks, but unfortunately the filter-by-form doesn't yield a list of all the candidates for each field like Excel's AutoFilter does. "Is Null" and "Is Not Null" doesn't help much. With 40+ fields, most of which they want to filter on, I can't require them to know all the candidates for each field. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems Message: 9 Date: Wed, 4 Apr 2007 10:47:42 -0400 From: "Arthur Fuller" Subject: Re: [AccessD] Simulate AutoFilter To: "Access Developers discussion and problem solving" Message-ID: <29f585dd0704040747x6d12c182y369ef624aec710a at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed For this kind of thing I suggest trying out the built-in filter-by-form and see how you like that. Arthur On 4/4/07, ewaldt at gdls.com wrote: > > I'd like to create a form in Access which simulates the AutoFilter > functionality in Excel. Basically, it's the size of the files (1.5 million > records) that makes Excel less useful than it would be otherwise. I doubt > the company wants to spring for Office 2007 just now to have Excel's > capacity increase. > > Does anyone know of a sample database or just some instruction on how to > build such a puppy? I've got about 40 fields; will this require 40 combo > boxes, or is there another way? > > TIA. > > Thomas F. Ewald > Stryker Mass Properties > General Dynamics Land Systems This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From rl_stewart at highstream.net Wed Apr 4 12:22:38 2007 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 04 Apr 2007 12:22:38 -0500 Subject: [AccessD] Simulate AutoFilter In-Reply-To: References: Message-ID: <200704041727.l34HRIU05827@databaseadvisors.com> Thomas, First, are you nuts? Loading 1.5 million records just to filter them. That is extremely poor design. And to even consider Excel for the task...well, I won't say what I think about that. Build a search form. Create a subform on it that will display the results of the things selected as part of the search. Do not load the source for the subform until you click on a button to 'find' the results of the search criteria entered. As part of the search, give them a field for the top X number of records. And do not let them exceed a certain number. Even you military contractor types should be able to use it. :-) I can say that because I developed the FRACAS system that Stewart & Stevenson used in the FMTV production system for the Army. So, I know how backward engineers can be. I also worked at YPG as a RAM-D engineer. As well as reporting on some of the testing on the M1A1 systems. Robert At 12:00 PM 4/4/2007, you wrote: >Date: Wed, 4 Apr 2007 10:27:16 -0400 >From: ewaldt at gdls.com >Subject: [AccessD] Simulate AutoFilter >To: accessd at databaseadvisors.com >Message-ID: > > > >Content-Type: text/plain; charset="US-ASCII" > >I'd like to create a form in Access which simulates the AutoFilter >functionality in Excel. Basically, it's the size of the files (1.5 million >records) that makes Excel less useful than it would be otherwise. I doubt >the company wants to spring for Office 2007 just now to have Excel's >capacity increase. > >Does anyone know of a sample database or just some instruction on how to >build such a puppy? I've got about 40 fields; will this require 40 combo >boxes, or is there another way? > >TIA. > >Thomas F. Ewald >Stryker Mass Properties >General Dynamics Land Systems From rl_stewart at highstream.net Wed Apr 4 12:48:30 2007 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 04 Apr 2007 12:48:30 -0500 Subject: [AccessD] Simulate AutoFilter In-Reply-To: References: <200704041719.l34HJEIh015576@maiss02h.gdls.com> Message-ID: <200704041752.l34HqHU15390@databaseadvisors.com> Even on their worst days, the engineers at YPG did not want to search 1.5 mil records on a single screen. If they want to filter based on all 40 columns, then add combo boxes for all of them. Then build the SQL for the subform source dynamically based on the comboboxes that have been used to select data. It will be a lot of code-behind, but it will never break like the Excel thing did. At 12:41 PM 4/4/2007, you wrote: >Thanks. My sanity is questionable at best. > >I would never have recommended Excel for this job. The department >asking for help actually used Excel for this before I got here. A >guy put together some VBA to import the text data into Excel, >splitting it into several sheets, of course. He has left, and the >VBA now bombs (no pun intended). Since it no longer works, and since >it took 25 minutes to load when it did, they've asked for my help. > >Limiting them in any way but their own applied filters is not an option. > >If I can't find a way to fake an AutoFilter, I guess I'll use a >zillion or so comboboxes and go from there. > >Thomas F. Ewald >Stryker Mass Properties >General Dynamics Land Systems > > > > > > >Thomas, > >First, are you nuts? Loading 1.5 million records just to filter them. >That is extremely poor design. > >And to even consider Excel for the task...well, I won't say what I >think about that. > >Build a search form. Create a subform on it that will display the >results of the things selected as part of the search. Do not load >the source for the subform until you click on a button to 'find' the >results of the search criteria entered. As part of the search, give >them a field for the top X number of records. And do not let them >exceed a certain number. > >Even you military contractor types should be able to use it. :-) > >I can say that because I developed the FRACAS system that Stewart >& Stevenson used in the FMTV production system for the Army. So, I >know how backward engineers can be. I also worked at YPG as a RAM-D >engineer. As well as reporting on some of the testing on the M1A1 >systems. > >Robert > >At 12:00 PM 4/4/2007, you wrote: > >Date: Wed, 4 Apr 2007 10:27:16 -0400 > >From: ewaldt at gdls.com > >Subject: [AccessD] Simulate AutoFilter > >To: accessd at databaseadvisors.com > >Message-ID: > > > > .gdls.com> > > > >Content-Type: text/plain; charset="US-ASCII" > > > >I'd like to create a form in Access which simulates the AutoFilter > >functionality in Excel. Basically, it's the size of the files (1.5 million > >records) that makes Excel less useful than it would be otherwise. I doubt > >the company wants to spring for Office 2007 just now to have Excel's > >capacity increase. > > > >Does anyone know of a sample database or just some instruction on how to > >build such a puppy? I've got about 40 fields; will this require 40 combo > >boxes, or is there another way? > > > >TIA. > > > >Thomas F. Ewald > >Stryker Mass Properties > >General Dynamics Land Systems > > > >This is an e-mail from General Dynamics Land Systems. It is for the >intended recipient only and may contain confidential and privileged >information. No one else may read, print, store, copy, forward or >act in reliance on it or its attachments. If you are not the >intended recipient, please return this message to the sender and >delete the message and any attachments from your computer. Your >cooperation is appreciated. From sgoodhall at comcast.net Wed Apr 4 13:14:52 2007 From: sgoodhall at comcast.net (sgoodhall at comcast.net) Date: Wed, 04 Apr 2007 18:14:52 +0000 Subject: [AccessD] Simulate AutoFilter Message-ID: <040420071814.638.4613EB1C00077E330000027E220682469304040E080B0101099C@comcast.net> I found this article (http://msdn2.microsoft.com/en-us/library/aa480727.aspx) describing how to do this in .NET 2005. Even there it ain't simple. Regards, Steve Goodhall -------------- Original message ---------------------- From: "Robert L. Stewart" > Even on their worst days, the engineers at YPG did not want > to search 1.5 mil records on a single screen. > > If they want to filter based on all 40 columns, then add > combo boxes for all of them. Then build the SQL for the > subform source dynamically based on the comboboxes that > have been used to select data. It will be a lot of code-behind, > but it will never break like the Excel thing did. > > > At 12:41 PM 4/4/2007, you wrote: > > >Thanks. My sanity is questionable at best. > > > >I would never have recommended Excel for this job. The department > >asking for help actually used Excel for this before I got here. A > >guy put together some VBA to import the text data into Excel, > >splitting it into several sheets, of course. He has left, and the > >VBA now bombs (no pun intended). Since it no longer works, and since > >it took 25 minutes to load when it did, they've asked for my help. > > > >Limiting them in any way but their own applied filters is not an option. > > > >If I can't find a way to fake an AutoFilter, I guess I'll use a > >zillion or so comboboxes and go from there. > > > >Thomas F. Ewald > >Stryker Mass Properties > >General Dynamics Land Systems > > > > > > > > > > > > > >Thomas, > > > >First, are you nuts? Loading 1.5 million records just to filter them. > >That is extremely poor design. > > > >And to even consider Excel for the task...well, I won't say what I > >think about that. > > > >Build a search form. Create a subform on it that will display the > >results of the things selected as part of the search. Do not load > >the source for the subform until you click on a button to 'find' the > >results of the search criteria entered. As part of the search, give > >them a field for the top X number of records. And do not let them > >exceed a certain number. > > > >Even you military contractor types should be able to use it. :-) > > > >I can say that because I developed the FRACAS system that Stewart > >& Stevenson used in the FMTV production system for the Army. So, I > >know how backward engineers can be. I also worked at YPG as a RAM-D > >engineer. As well as reporting on some of the testing on the M1A1 > >systems. > > > >Robert > > > >At 12:00 PM 4/4/2007, you wrote: > > >Date: Wed, 4 Apr 2007 10:27:16 -0400 > > >From: ewaldt at gdls.com > > >Subject: [AccessD] Simulate AutoFilter > > >To: accessd at databaseadvisors.com > > >Message-ID: > > > > > > > .gdls.com> > > > > > >Content-Type: text/plain; charset="US-ASCII" > > > > > >I'd like to create a form in Access which simulates the AutoFilter > > >functionality in Excel. Basically, it's the size of the files (1.5 million > > >records) that makes Excel less useful than it would be otherwise. I doubt > > >the company wants to spring for Office 2007 just now to have Excel's > > >capacity increase. > > > > > >Does anyone know of a sample database or just some instruction on how to > > >build such a puppy? I've got about 40 fields; will this require 40 combo > > >boxes, or is there another way? > > > > > >TIA. > > > > > >Thomas F. Ewald > > >Stryker Mass Properties > > >General Dynamics Land Systems > > > > > > > >This is an e-mail from General Dynamics Land Systems. It is for the > >intended recipient only and may contain confidential and privileged > >information. No one else may read, print, store, copy, forward or > >act in reliance on it or its attachments. If you are not the > >intended recipient, please return this message to the sender and > >delete the message and any attachments from your computer. Your > >cooperation is appreciated. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Apr 4 13:28:26 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 4 Apr 2007 14:28:26 -0400 Subject: [AccessD] Simulate AutoFilter In-Reply-To: <200704041727.l34HRIU05827@databaseadvisors.com> References: <200704041727.l34HRIU05827@databaseadvisors.com> Message-ID: <009b01c776e7$093771e0$657aa8c0@m6805> >I also worked at YPG as a RAM-D engineer. And I grew up in the Bard valley, the shortcut between Yuma and the YPG. My uncle was a test driver for the tanks and other vehicles out there, in fact he was killed in a rollover of a vehicle he was testing. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Wednesday, April 04, 2007 1:23 PM To: accessd at databaseadvisors.com Cc: ewaldt at gdls.com Subject: Re: [AccessD] Simulate AutoFilter Thomas, First, are you nuts? Loading 1.5 million records just to filter them. That is extremely poor design. And to even consider Excel for the task...well, I won't say what I think about that. Build a search form. Create a subform on it that will display the results of the things selected as part of the search. Do not load the source for the subform until you click on a button to 'find' the results of the search criteria entered. As part of the search, give them a field for the top X number of records. And do not let them exceed a certain number. Even you military contractor types should be able to use it. :-) I can say that because I developed the FRACAS system that Stewart & Stevenson used in the FMTV production system for the Army. So, I know how backward engineers can be. I also worked at YPG as a RAM-D engineer. As well as reporting on some of the testing on the M1A1 systems. Robert From dwaters at usinternet.com Wed Apr 4 13:52:59 2007 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 4 Apr 2007 13:52:59 -0500 Subject: [AccessD] Simulate AutoFilter In-Reply-To: <200704041752.l34HqHU15390@databaseadvisors.com> References: <200704041719.l34HJEIh015576@maiss02h.gdls.com> <200704041752.l34HqHU15390@databaseadvisors.com> Message-ID: <001f01c776ea$773c8bf0$0200a8c0@danwaters> Thomas, I've done this many times, and it takes a lot of repetitive code, but it does work well. An Example: '-- SELECT CASE BASED ON A COMBOBOX '-- cboStage IS THE FIRST FIELD IN THE LIST If Not IsNull(cboStage) Then Select Case cboStage Case "All" stgSQL = "Stage IS NOT NULL" Case "Open" stgSQL = "DateClosed IS NULL" blnFirstControl = True Case "Description" stgSQL = "Stage = 'Description'" blnFirstControl = True Case "Root Cause" stgSQL = "Stage = 'Root Cause'" blnFirstControl = True Case "Implement/Verify" stgSQL = "Stage = 'Implement/Verify'" blnFirstControl = True Case "Closed" stgSQL = "DateClosed Is Not Null" blnFirstControl = True End Select End If '-- TEXT BOX OR COMBOBOX '-- ALL SUBSEQUENT FIELDS USE blnFirstControl If Not IsNull(cboType) Then If blnFirstControl = True Then stgSQL = stgSQL & " AND Type = '" & cboType & "'" Else stgSQL = "Type = '" & cboType & "'" blnFirstControl = True End If End If '-- PARTIAL SEARCH FIELDS stgComments = "*" & txtComments & "*" If Not IsNull(txtComments) Then If blnFirstControl = True Then stgSQL = stgSQL & " AND Comments Like '" & stgComments & "'" Else stgSQL = "Comments Like '" & stgComments & "'" blnFirstControl = True End If End If '-- DATES RANGES If Not IsNull(txtDateReportedAfter) Then If blnFirstControl = True Then stgSQL = stgSQL & " AND DateReported >= #" & txtDateReportedAfter & "#" Else stgSQL = "DateReported >= #" & txtDateReportedAfter & "#" blnFirstControl = True End If End If '-- FINISH THE SEARCH CRITERIA STRING stgSQL = "WHERE " & stgSQL HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Wednesday, April 04, 2007 12:49 PM To: ewaldt at gdls.com Cc: accessd at databaseadvisors.com Subject: Re: [AccessD] Simulate AutoFilter Even on their worst days, the engineers at YPG did not want to search 1.5 mil records on a single screen. If they want to filter based on all 40 columns, then add combo boxes for all of them. Then build the SQL for the subform source dynamically based on the comboboxes that have been used to select data. It will be a lot of code-behind, but it will never break like the Excel thing did. At 12:41 PM 4/4/2007, you wrote: >Thanks. My sanity is questionable at best. > >I would never have recommended Excel for this job. The department >asking for help actually used Excel for this before I got here. A >guy put together some VBA to import the text data into Excel, >splitting it into several sheets, of course. He has left, and the >VBA now bombs (no pun intended). Since it no longer works, and since >it took 25 minutes to load when it did, they've asked for my help. > >Limiting them in any way but their own applied filters is not an option. > >If I can't find a way to fake an AutoFilter, I guess I'll use a >zillion or so comboboxes and go from there. > >Thomas F. Ewald >Stryker Mass Properties >General Dynamics Land Systems > > > > > > >Thomas, > >First, are you nuts? Loading 1.5 million records just to filter them. >That is extremely poor design. > >And to even consider Excel for the task...well, I won't say what I >think about that. > >Build a search form. Create a subform on it that will display the >results of the things selected as part of the search. Do not load >the source for the subform until you click on a button to 'find' the >results of the search criteria entered. As part of the search, give >them a field for the top X number of records. And do not let them >exceed a certain number. > >Even you military contractor types should be able to use it. :-) > >I can say that because I developed the FRACAS system that Stewart >& Stevenson used in the FMTV production system for the Army. So, I >know how backward engineers can be. I also worked at YPG as a RAM-D >engineer. As well as reporting on some of the testing on the M1A1 >systems. > >Robert > >At 12:00 PM 4/4/2007, you wrote: > >Date: Wed, 4 Apr 2007 10:27:16 -0400 > >From: ewaldt at gdls.com > >Subject: [AccessD] Simulate AutoFilter > >To: accessd at databaseadvisors.com > >Message-ID: > > > > .gdls.com> > > > >Content-Type: text/plain; charset="US-ASCII" > > > >I'd like to create a form in Access which simulates the AutoFilter > >functionality in Excel. Basically, it's the size of the files (1.5 million > >records) that makes Excel less useful than it would be otherwise. I doubt > >the company wants to spring for Office 2007 just now to have Excel's > >capacity increase. > > > >Does anyone know of a sample database or just some instruction on how to > >build such a puppy? I've got about 40 fields; will this require 40 combo > >boxes, or is there another way? > > > >TIA. > > > >Thomas F. Ewald > >Stryker Mass Properties > >General Dynamics Land Systems > > > >This is an e-mail from General Dynamics Land Systems. It is for the >intended recipient only and may contain confidential and privileged >information. No one else may read, print, store, copy, forward or >act in reliance on it or its attachments. If you are not the >intended recipient, please return this message to the sender and >delete the message and any attachments from your computer. Your >cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Wed Apr 4 14:02:04 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 4 Apr 2007 23:02:04 +0400 Subject: [AccessD] Simulate AutoFilter In-Reply-To: Message-ID: <000901c776eb$bc5f9000$6401a8c0@nant> Thomas, You can make a form with 40 textboxes, one "slipping" combobox and subform. If we assume that Group By/Select distinct on your 1.5 million records on any of 40 fields is satisfactory speedy (<=3 sec to complete) (is it like that?) then on GotFocus event of a textbox you can put over textbox (by using VBA event processing code) a "slipping" combobox and fill its rowsource with corresponding Group By data etc... If getting filter values using Group By isn't a speedy enough process then you can use temp database and fill it on start-up of your application and show a progress bar form to the user recommending him to take a break and drink some coffee while your filter form/temp database is getting initialized... In any case there will be not that much VBA coding to implement this filtering form... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Wednesday, April 04, 2007 6:27 PM To: accessd at databaseadvisors.com Subject: [AccessD] Simulate AutoFilter I'd like to create a form in Access which simulates the AutoFilter functionality in Excel. Basically, it's the size of the files (1.5 million records) that makes Excel less useful than it would be otherwise. I doubt the company wants to spring for Office 2007 just now to have Excel's capacity increase. Does anyone know of a sample database or just some instruction on how to build such a puppy? I've got about 40 fields; will this require 40 combo boxes, or is there another way? TIA. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Apr 4 14:32:37 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 04 Apr 2007 12:32:37 -0700 Subject: [AccessD] Access-D member awarded MS Access MVP In-Reply-To: <009b01c776e7$093771e0$657aa8c0@m6805> References: <200704041727.l34HRIU05827@databaseadvisors.com> <009b01c776e7$093771e0$657aa8c0@m6805> Message-ID: <4613FD55.9070907@shaw.ca> Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP award! If you have never seen AD's samples , they're well worth a look: http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. -- Marty Connelly Victoria, B.C. Canada From markamatte at hotmail.com Wed Apr 4 14:37:42 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 04 Apr 2007 19:37:42 +0000 Subject: [AccessD] Simulate AutoFilter In-Reply-To: <000901c776eb$bc5f9000$6401a8c0@nant> Message-ID: Shamil, Sounds very interesting...but what do you mean by "slipping"? Does it move? Thanks, Mark A. Matte >From: "Shamil Salakhetdinov" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Simulate AutoFilter >Date: Wed, 4 Apr 2007 23:02:04 +0400 > >Thomas, > >You can make a form with 40 textboxes, one "slipping" combobox and subform. >If we assume that Group By/Select distinct on your 1.5 million records on >any of 40 fields is satisfactory speedy (<=3 sec to complete) (is it like >that?) then on GotFocus event of a textbox you can put over textbox (by >using VBA event processing code) a "slipping" combobox and fill its >rowsource with corresponding Group By data etc... > >If getting filter values using Group By isn't a speedy enough process then >you can use temp database and fill it on start-up of your application and >show a progress bar form to the user recommending him to take a break and >drink some coffee while your filter form/temp database is getting >initialized... > >In any case there will be not that much VBA coding to implement this >filtering form... > >-- >Shamil > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com >Sent: Wednesday, April 04, 2007 6:27 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Simulate AutoFilter > >I'd like to create a form in Access which simulates the AutoFilter >functionality in Excel. Basically, it's the size of the files (1.5 million >records) that makes Excel less useful than it would be otherwise. I doubt >the company wants to spring for Office 2007 just now to have Excel's >capacity increase. > >Does anyone know of a sample database or just some instruction on how to >build such a puppy? I've got about 40 fields; will this require 40 combo >boxes, or is there another way? > >TIA. > >Thomas F. Ewald >Stryker Mass Properties >General Dynamics Land Systems > > > > > > >This is an e-mail from General Dynamics Land Systems. It is for the >intended >recipient only and may contain confidential and privileged information. No >one else may read, print, store, copy, forward or act in reliance on it or >its attachments. If you are not the intended recipient, please return this >message to the sender and delete the message and any attachments from your >computer. Your cooperation is appreciated. > >-- >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 _________________________________________________________________ Exercise your brain! Try Flexicon. http://games.msn.com/en/flexicon/default.htm?icid=flexicon_hmemailtaglineapril07 From mwp.reid at qub.ac.uk Wed Apr 4 14:38:43 2007 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 4 Apr 2007 20:38:43 +0100 Subject: [AccessD] Access-D member awarded MS Access MVP References: <200704041727.l34HRIU05827@databaseadvisors.com><009b01c776e7$093771e0$657aa8c0@m6805> <4613FD55.9070907@shaw.ca> Message-ID: Wonderful. Congrats AD much deserved. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of MartyConnelly Sent: Wed 04/04/2007 20:32 To: Access Developers discussion and problem solving Subject: [AccessD] Access-D member awarded MS Access MVP Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP award! If you have never seen AD's samples , they're well worth a look: http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davidmcafee at gmail.com Wed Apr 4 14:43:15 2007 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 4 Apr 2007 12:43:15 -0700 Subject: [AccessD] Access-D member awarded MS Access MVP In-Reply-To: References: <200704041727.l34HRIU05827@databaseadvisors.com> <009b01c776e7$093771e0$657aa8c0@m6805> <4613FD55.9070907@shaw.ca> Message-ID: <8786a4c00704041243s7334bdd0nf23a4565cd545f5a@mail.gmail.com> Congrats AD! On 4/4/07, Martin Reid wrote: > > Wonderful. Congrats AD much deserved. > > Martin > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974477 > > > ________________________________ > > From: accessd-bounces at databaseadvisors.com on behalf of MartyConnelly > Sent: Wed 04/04/2007 20:32 > To: Access Developers discussion and problem solving > Subject: [AccessD] Access-D member awarded MS Access MVP > > > > > Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP > award! > > If you have never seen AD's samples , they're well worth a look: > > http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. > > -- > Marty Connelly > Victoria, B.C. > Canada > > -- > 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 ssharkins at setel.com Wed Apr 4 14:48:07 2007 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 4 Apr 2007 15:48:07 -0400 Subject: [AccessD] Access-D member awarded MS Access MVP In-Reply-To: <4613FD55.9070907@shaw.ca> References: <200704041727.l34HRIU05827@databaseadvisors.com><009b01c776e7$093771e0$657aa8c0@m6805> <4613FD55.9070907@shaw.ca> Message-ID: <000501c776f2$2d85b8d0$87b82ad1@SusanOne> Wow! I'm impressed! Congratulations! Susan H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Wednesday, April 04, 2007 3:33 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access-D member awarded MS Access MVP Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP award! If you have never seen AD's samples , they're well worth a look: http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.24/741 - Release Date: 3/31/2007 8:54 PM From shamil at users.mns.ru Wed Apr 4 15:08:28 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 5 Apr 2007 00:08:28 +0400 Subject: [AccessD] Simulate AutoFilter In-Reply-To: Message-ID: <000601c776f5$0474d860$6401a8c0@nant> Mark, By "slipping" I mean a combobox, which can be moved onto/showed upon one of the 40 textboxes - the one, which gets focus. Should I've better called it "jumping" or even "vagabond" combobox? :) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, April 04, 2007 11:38 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Simulate AutoFilter Shamil, Sounds very interesting...but what do you mean by "slipping"? Does it move? Thanks, Mark A. Matte >From: "Shamil Salakhetdinov" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Simulate AutoFilter >Date: Wed, 4 Apr 2007 23:02:04 +0400 > >Thomas, > >You can make a form with 40 textboxes, one "slipping" combobox and subform. >If we assume that Group By/Select distinct on your 1.5 million records on >any of 40 fields is satisfactory speedy (<=3 sec to complete) (is it like >that?) then on GotFocus event of a textbox you can put over textbox (by >using VBA event processing code) a "slipping" combobox and fill its >rowsource with corresponding Group By data etc... > >If getting filter values using Group By isn't a speedy enough process then >you can use temp database and fill it on start-up of your application and >show a progress bar form to the user recommending him to take a break and >drink some coffee while your filter form/temp database is getting >initialized... > >In any case there will be not that much VBA coding to implement this >filtering form... > >-- >Shamil > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com >Sent: Wednesday, April 04, 2007 6:27 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Simulate AutoFilter > >I'd like to create a form in Access which simulates the AutoFilter >functionality in Excel. Basically, it's the size of the files (1.5 million >records) that makes Excel less useful than it would be otherwise. I doubt >the company wants to spring for Office 2007 just now to have Excel's >capacity increase. > >Does anyone know of a sample database or just some instruction on how to >build such a puppy? I've got about 40 fields; will this require 40 combo >boxes, or is there another way? > >TIA. > >Thomas F. Ewald >Stryker Mass Properties >General Dynamics Land Systems > > > > > > >This is an e-mail from General Dynamics Land Systems. It is for the >intended >recipient only and may contain confidential and privileged information. No >one else may read, print, store, copy, forward or act in reliance on it or >its attachments. If you are not the intended recipient, please return this >message to the sender and delete the message and any attachments from your >computer. Your cooperation is appreciated. > >-- >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 _________________________________________________________________ Exercise your brain! Try Flexicon. http://games.msn.com/en/flexicon/default.htm?icid=flexicon_hmemailtaglineapr il07 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Apr 4 15:27:19 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 4 Apr 2007 13:27:19 -0700 Subject: [AccessD] Changing Printer Message-ID: <003c01c776f7$a5ba7b10$0201a8c0@HAL9005> Dear List: I have a client who installed a bar code printer. If he makes it the default printer that screws up all of this print previews on other reports. So I'd like to change the default printer from inside the form that prints the bar code labels and change it back to the default when done. Does anyone know of or have a code snip that does this? MTIA, Rocky Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com From garykjos at gmail.com Wed Apr 4 15:47:27 2007 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 4 Apr 2007 15:47:27 -0500 Subject: [AccessD] Changing Printer In-Reply-To: <003c01c776f7$a5ba7b10$0201a8c0@HAL9005> References: <003c01c776f7$a5ba7b10$0201a8c0@HAL9005> Message-ID: Why wouldn't you just change the report with the barcode to print to the specific printer? And leave the default alone. What happens if he has multiple applications going at once and the default printer is presto chango switched to the little barcode dude? GK On 4/4/07, Rocky Smolin at Beach Access Software wrote: > Dear List: > > I have a client who installed a bar code printer. If he makes it the > default printer that screws up all of this print previews on other reports. > > So I'd like to change the default printer from inside the form that prints > the bar code labels and change it back to the default when done. > > Does anyone know of or have a code snip that does this? > > MTIA, > > Rocky > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > www.bchacc.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From cfoust at infostatsystems.com Wed Apr 4 15:57:45 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 4 Apr 2007 13:57:45 -0700 Subject: [AccessD] Access-D member awarded MS Access MVP In-Reply-To: <000501c776f2$2d85b8d0$87b82ad1@SusanOne> References: <200704041727.l34HRIU05827@databaseadvisors.com><009b01c776e7$093771e0$657aa8c0@m6805><4613FD55.9070907@shaw.ca> <000501c776f2$2d85b8d0$87b82ad1@SusanOne> Message-ID: And *I'm* impressed he still hangs around with us!! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, April 04, 2007 12:48 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access-D member awarded MS Access MVP Wow! I'm impressed! Congratulations! Susan H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Wednesday, April 04, 2007 3:33 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access-D member awarded MS Access MVP Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP award! If you have never seen AD's samples , they're well worth a look: http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.24/741 - Release Date: 3/31/2007 8:54 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Wed Apr 4 16:43:59 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 4 Apr 2007 17:43:59 -0400 Subject: [AccessD] Access-D member awarded MS Access MVP References: <200704041727.l34HRIU05827@databaseadvisors.com><009b01c776e7$093771e0$657aa8c0@m6805> <4613FD55.9070907@shaw.ca> Message-ID: <002501c77702$5e44de00$982b124c@50nm721> ...well MS finally got something right! :) ...congrats AD. William Hindman ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Wednesday, April 04, 2007 3:32 PM Subject: [AccessD] Access-D member awarded MS Access MVP > > Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP > award! > > If you have never seen AD's samples , they're well worth a look: > > http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. > > -- > Marty Connelly > Victoria, B.C. > Canada > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Wed Apr 4 16:48:26 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 4 Apr 2007 17:48:26 -0400 Subject: [AccessD] Changing Printer References: <003c01c776f7$a5ba7b10$0201a8c0@HAL9005> Message-ID: <003601c77702$fa46c390$982b124c@50nm721> ...I use the "Select specific printer" option in the report set-up ...that report always uses the selected printer and the rest use the default ...if the bar-code printer is not available for some reason, the user will get a pop-up dialog asking if they want to select another printer. William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 04, 2007 4:27 PM Subject: [AccessD] Changing Printer > Dear List: > > I have a client who installed a bar code printer. If he makes it the > default printer that screws up all of this print previews on other > reports. > > So I'd like to change the default printer from inside the form that prints > the bar code labels and change it back to the default when done. > > Does anyone know of or have a code snip that does this? > > MTIA, > > Rocky > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > www.bchacc.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Wed Apr 4 16:58:26 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 04 Apr 2007 14:58:26 -0700 Subject: [AccessD] Access-D member awarded MS Access MVP In-Reply-To: <4613FD55.9070907@shaw.ca> Message-ID: <0JFZ00F0AU6K9670@l-daemon> Congratulations A.D. Tejpal. Well Done. Jim From accessd at shaw.ca Wed Apr 4 17:21:43 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 04 Apr 2007 15:21:43 -0700 Subject: [AccessD] Access-D member awarded MS Access MVP In-Reply-To: <4613FD55.9070907@shaw.ca> Message-ID: <0JFZ00CGDV998690@l-daemon> Hi Marty: Where did you get this information? I have been unable to confirm the details. TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Wednesday, April 04, 2007 12:33 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access-D member awarded MS Access MVP Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP award! If you have never seen AD's samples , they're well worth a look: http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Apr 4 17:28:53 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 4 Apr 2007 15:28:53 -0700 Subject: [AccessD] Changing Printer In-Reply-To: Message-ID: <004701c77708$a06f2230$0201a8c0@HAL9005> I'd prefer to change the printer for that one report rather than the default printer. Problem is that I don't have that printer - don't know the name. He's sophisticated enough that I could walk him through changing it in the design view of the report but every time I send him an update he'd have to go through the same change. So I'd like to be able to do it in the load or open event of the report. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Wednesday, April 04, 2007 1:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Printer Why wouldn't you just change the report with the barcode to print to the specific printer? And leave the default alone. What happens if he has multiple applications going at once and the default printer is presto chango switched to the little barcode dude? GK On 4/4/07, Rocky Smolin at Beach Access Software wrote: > Dear List: > > I have a client who installed a bar code printer. If he makes it the > default printer that screws up all of this print previews on other reports. > > So I'd like to change the default printer from inside the form that > prints the bar code labels and change it back to the default when done. > > Does anyone know of or have a code snip that does this? > > MTIA, > > Rocky > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > www.bchacc.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM From rockysmolin at bchacc.com Wed Apr 4 17:32:03 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 4 Apr 2007 15:32:03 -0700 Subject: [AccessD] Changing Printer In-Reply-To: <003601c77702$fa46c390$982b124c@50nm721> Message-ID: <004801c77709$11b3b730$0201a8c0@HAL9005> Actually, I just reviewed the code. It's not a report. It's a bunch of calls to an object. Bartender (cute, huh) is the name of the program and I call it from inside the form. Code snip: Set btFormat = btApp.Formats.Open(Me.fldFABLabelFile, False, "") btFormat.SetNamedSubStringValue "Part No. (P)", Me.fldFABPartNumber btFormat.SetNamedSubStringValue "Quantity", Me.fldContainerTotalPieces btFormat.SetNamedSubStringValue "OrderNumber", Me.cboJobs.Column(1) btFormat.SetNamedSubStringValue "ContainerNumber", Me.fldContainerContainer btFormat.SetNamedSubStringValue "Serial", Me.fldContainerID btFormat.SetNamedSubStringValue "PO #", Nz(Me.fldJobsEndCustomerPONumber) btFormat.SetNamedSubStringValue "LOT #", strVendorLot btFormat.SetNamedSubStringValue "Quantity Identifier", "Q" btFormat.SetNamedSubStringValue "R#", Nz(Me.fldFABEngineeringChangeNumber) btFormat.SetNamedSubStringValue "EngineeringChangeNumber", Nz(Me.fldFABEngineeringChangeNumber) btFormat.PrintOut False, False So I need to change the default printer and then change it back again. I used to have some code somewher to do this but can't find it. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, April 04, 2007 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Printer ...I use the "Select specific printer" option in the report set-up ...that report always uses the selected printer and the rest use the default ...if the bar-code printer is not available for some reason, the user will get a pop-up dialog asking if they want to select another printer. William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 04, 2007 4:27 PM Subject: [AccessD] Changing Printer > Dear List: > > I have a client who installed a bar code printer. If he makes it the > default printer that screws up all of this print previews on other > reports. > > So I'd like to change the default printer from inside the form that prints > the bar code labels and change it back to the default when done. > > Does anyone know of or have a code snip that does this? > > MTIA, > > Rocky > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > www.bchacc.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM From rockysmolin at bchacc.com Wed Apr 4 17:36:54 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 4 Apr 2007 15:36:54 -0700 Subject: [AccessD] Changing Printer In-Reply-To: <004701c77708$a06f2230$0201a8c0@HAL9005> Message-ID: <004b01c77709$bf9b8580$0201a8c0@HAL9005> Oops. Just reviewed the code Gary. I'm sending the stuff to the bar code printer through a form. See my code snip in reply to William. I think I have to change the default printer. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 04, 2007 3:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer I'd prefer to change the printer for that one report rather than the default printer. Problem is that I don't have that printer - don't know the name. He's sophisticated enough that I could walk him through changing it in the design view of the report but every time I send him an update he'd have to go through the same change. So I'd like to be able to do it in the load or open event of the report. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Wednesday, April 04, 2007 1:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Printer Why wouldn't you just change the report with the barcode to print to the specific printer? And leave the default alone. What happens if he has multiple applications going at once and the default printer is presto chango switched to the little barcode dude? GK On 4/4/07, Rocky Smolin at Beach Access Software wrote: > Dear List: > > I have a client who installed a bar code printer. If he makes it the > default printer that screws up all of this print previews on other reports. > > So I'd like to change the default printer from inside the form that > prints the bar code labels and change it back to the default when done. > > Does anyone know of or have a code snip that does this? > > MTIA, > > Rocky > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > www.bchacc.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM From ebarro at verizon.net Wed Apr 4 17:41:02 2007 From: ebarro at verizon.net (Eric Barro) Date: Wed, 04 Apr 2007 15:41:02 -0700 Subject: [AccessD] Changing Printer In-Reply-To: <004801c77709$11b3b730$0201a8c0@HAL9005> Message-ID: <0JFZ009ZOWCKVDU0@vms042.mailsrvcs.net> Rocky, LOL! Guess what...I have a web-based app developed in C# that calls Bartender.exe as a COM object. I provide the default printer in code this way... btFormat = btApp.Formats.Open(labelFormatFileName, false, labelPrinter) Where labelFormatFileName and labelPrinter are string values. Since you don't know the printer name you can simply present him with a select printer form that pulls up all available connected printers and then pass the value from the combobox to your function so that it passes it on to the labelPrinter variable. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 04, 2007 3:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Actually, I just reviewed the code. It's not a report. It's a bunch of calls to an object. Bartender (cute, huh) is the name of the program and I call it from inside the form. Code snip: Set btFormat = btApp.Formats.Open(Me.fldFABLabelFile, False, "") btFormat.SetNamedSubStringValue "Part No. (P)", Me.fldFABPartNumber btFormat.SetNamedSubStringValue "Quantity", Me.fldContainerTotalPieces btFormat.SetNamedSubStringValue "OrderNumber", Me.cboJobs.Column(1) btFormat.SetNamedSubStringValue "ContainerNumber", Me.fldContainerContainer btFormat.SetNamedSubStringValue "Serial", Me.fldContainerID btFormat.SetNamedSubStringValue "PO #", Nz(Me.fldJobsEndCustomerPONumber) btFormat.SetNamedSubStringValue "LOT #", strVendorLot btFormat.SetNamedSubStringValue "Quantity Identifier", "Q" btFormat.SetNamedSubStringValue "R#", Nz(Me.fldFABEngineeringChangeNumber) btFormat.SetNamedSubStringValue "EngineeringChangeNumber", Nz(Me.fldFABEngineeringChangeNumber) btFormat.PrintOut False, False So I need to change the default printer and then change it back again. I used to have some code somewher to do this but can't find it. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, April 04, 2007 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Printer ...I use the "Select specific printer" option in the report set-up ...that report always uses the selected printer and the rest use the default ...if the bar-code printer is not available for some reason, the user will get a pop-up dialog asking if they want to select another printer. William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 04, 2007 4:27 PM Subject: [AccessD] Changing Printer > Dear List: > > I have a client who installed a bar code printer. If he makes it the > default printer that screws up all of this print previews on other > reports. > > So I'd like to change the default printer from inside the form that > prints the bar code labels and change it back to the default when done. > > Does anyone know of or have a code snip that does this? > > MTIA, > > Rocky > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > www.bchacc.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/744 - Release Date: 4/3/2007 5:32 AM From rockysmolin at bchacc.com Wed Apr 4 18:51:24 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 4 Apr 2007 16:51:24 -0700 Subject: [AccessD] Changing Printer In-Reply-To: <0JFZ009ZOWCKVDU0@vms042.mailsrvcs.net> Message-ID: <005201c77714$27af0020$0201a8c0@HAL9005> Excellent! That's too easy. I didn't know there was a printer parameter on the .Open but I see it now - I just have it as a "" string. I already put a combo box on the form with the installed printers and save the selection in a front end preferences table. Thank you. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Wednesday, April 04, 2007 3:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Rocky, LOL! Guess what...I have a web-based app developed in C# that calls Bartender.exe as a COM object. I provide the default printer in code this way... btFormat = btApp.Formats.Open(labelFormatFileName, false, labelPrinter) Where labelFormatFileName and labelPrinter are string values. Since you don't know the printer name you can simply present him with a select printer form that pulls up all available connected printers and then pass the value from the combobox to your function so that it passes it on to the labelPrinter variable. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 04, 2007 3:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Actually, I just reviewed the code. It's not a report. It's a bunch of calls to an object. Bartender (cute, huh) is the name of the program and I call it from inside the form. Code snip: Set btFormat = btApp.Formats.Open(Me.fldFABLabelFile, False, "") btFormat.SetNamedSubStringValue "Part No. (P)", Me.fldFABPartNumber btFormat.SetNamedSubStringValue "Quantity", Me.fldContainerTotalPieces btFormat.SetNamedSubStringValue "OrderNumber", Me.cboJobs.Column(1) btFormat.SetNamedSubStringValue "ContainerNumber", Me.fldContainerContainer btFormat.SetNamedSubStringValue "Serial", Me.fldContainerID btFormat.SetNamedSubStringValue "PO #", Nz(Me.fldJobsEndCustomerPONumber) btFormat.SetNamedSubStringValue "LOT #", strVendorLot btFormat.SetNamedSubStringValue "Quantity Identifier", "Q" btFormat.SetNamedSubStringValue "R#", Nz(Me.fldFABEngineeringChangeNumber) btFormat.SetNamedSubStringValue "EngineeringChangeNumber", Nz(Me.fldFABEngineeringChangeNumber) btFormat.PrintOut False, False So I need to change the default printer and then change it back again. I used to have some code somewher to do this but can't find it. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, April 04, 2007 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Printer ...I use the "Select specific printer" option in the report set-up ...that report always uses the selected printer and the rest use the default ...if the bar-code printer is not available for some reason, the user will get a pop-up dialog asking if they want to select another printer. William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 04, 2007 4:27 PM Subject: [AccessD] Changing Printer > Dear List: > > I have a client who installed a bar code printer. If he makes it the > default printer that screws up all of this print previews on other > reports. > > So I'd like to change the default printer from inside the form that > prints the bar code labels and change it back to the default when done. > > Does anyone know of or have a code snip that does this? > > MTIA, > > Rocky > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > www.bchacc.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/744 - Release Date: 4/3/2007 5:32 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM From ebarro at verizon.net Wed Apr 4 19:07:56 2007 From: ebarro at verizon.net (Eric Barro) Date: Wed, 04 Apr 2007 17:07:56 -0700 Subject: [AccessD] Changing Printer In-Reply-To: <005201c77714$27af0020$0201a8c0@HAL9005> Message-ID: <0JG000DMM0DDKS32@vms044.mailsrvcs.net> Rocky, You're welcome! Here's a snippet of code you might be interested in. You can provide a JPG preview of the label before your client prints it. :) //export the labelformat image to a JPG file newFile = btFormat.FileName.Replace(labelFormatPath, labelFormatExportPath); btFormat.ExportToFile(newFile.Replace(".btw", ".JPG"), "JPG" , BarTender.BtColors.btColors24Bit, BarTender.BtResolution.btResolutionPrinter, BarTender.BtSaveOptions.btSaveChanges); The code is in C#. Minor mods needed for the replace syntax since in VB this is a function instead of a method. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 04, 2007 4:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Excellent! That's too easy. I didn't know there was a printer parameter on the .Open but I see it now - I just have it as a "" string. I already put a combo box on the form with the installed printers and save the selection in a front end preferences table. Thank you. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Wednesday, April 04, 2007 3:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Rocky, LOL! Guess what...I have a web-based app developed in C# that calls Bartender.exe as a COM object. I provide the default printer in code this way... btFormat = btApp.Formats.Open(labelFormatFileName, false, labelPrinter) Where labelFormatFileName and labelPrinter are string values. Since you don't know the printer name you can simply present him with a select printer form that pulls up all available connected printers and then pass the value from the combobox to your function so that it passes it on to the labelPrinter variable. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 04, 2007 3:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Actually, I just reviewed the code. It's not a report. It's a bunch of calls to an object. Bartender (cute, huh) is the name of the program and I call it from inside the form. Code snip: Set btFormat = btApp.Formats.Open(Me.fldFABLabelFile, False, "") btFormat.SetNamedSubStringValue "Part No. (P)", Me.fldFABPartNumber btFormat.SetNamedSubStringValue "Quantity", Me.fldContainerTotalPieces btFormat.SetNamedSubStringValue "OrderNumber", Me.cboJobs.Column(1) btFormat.SetNamedSubStringValue "ContainerNumber", Me.fldContainerContainer btFormat.SetNamedSubStringValue "Serial", Me.fldContainerID btFormat.SetNamedSubStringValue "PO #", Nz(Me.fldJobsEndCustomerPONumber) btFormat.SetNamedSubStringValue "LOT #", strVendorLot btFormat.SetNamedSubStringValue "Quantity Identifier", "Q" btFormat.SetNamedSubStringValue "R#", Nz(Me.fldFABEngineeringChangeNumber) btFormat.SetNamedSubStringValue "EngineeringChangeNumber", Nz(Me.fldFABEngineeringChangeNumber) btFormat.PrintOut False, False So I need to change the default printer and then change it back again. I used to have some code somewher to do this but can't find it. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, April 04, 2007 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Printer ...I use the "Select specific printer" option in the report set-up ...that report always uses the selected printer and the rest use the default ...if the bar-code printer is not available for some reason, the user will get a pop-up dialog asking if they want to select another printer. William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 04, 2007 4:27 PM Subject: [AccessD] Changing Printer > Dear List: > > I have a client who installed a bar code printer. If he makes it the > default printer that screws up all of this print previews on other > reports. > > So I'd like to change the default printer from inside the form that > prints the bar code labels and change it back to the default when done. > > Does anyone know of or have a code snip that does this? > > MTIA, > > Rocky > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > www.bchacc.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/744 - Release Date: 4/3/2007 5:32 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/744 - Release Date: 4/3/2007 5:32 AM From martyconnelly at shaw.ca Wed Apr 4 19:53:38 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 04 Apr 2007 17:53:38 -0700 Subject: [AccessD] Access-D member awarded MS Access MVP In-Reply-To: <0JFZ00CGDV998690@l-daemon> References: <0JFZ00CGDV998690@l-daemon> Message-ID: <46144892.2050104@shaw.ca> A couple of other Access MVP's announced it Roger Carlson on Access-D and Bill Mosca on MS Access Professional Yahoo. The MVP's have their own newsletter, web site and mail list. In fact they have a 3-Day meeting every year in Seattle. A slightly out of date list of Access MVP's can be found here. https://mvp.support.microsoft.com/communities/mvp.aspx?product=1&competency=Microsoft+Office+Access Once your on the list, it is permanent ;) I know one Access MVP who tried to resign MS wouldn't let him. He had a big disagreement with MS. Funnily enough he is now working full time for MS. That got him off the list. Jim Lawrence wrote: >Hi Marty: > >Where did you get this information? I have been unable to confirm the >details. > >TIA >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Wednesday, April 04, 2007 12:33 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Access-D member awarded MS Access MVP > > >Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP >award! > >If you have never seen AD's samples , they're well worth a look: > >http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. > > > -- Marty Connelly Victoria, B.C. Canada From wdhindman at dejpolsystems.com Wed Apr 4 21:10:17 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 4 Apr 2007 22:10:17 -0400 Subject: [AccessD] Access-D member awarded MS Access MVP References: <0JFZ00CGDV998690@l-daemon> Message-ID: <000501c77727$8ef29180$982b124c@50nm721> http://www.abhishekkant.net/2007/04/new-mvps-announced-in-south-asia.html William Hindman ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 04, 2007 6:21 PM Subject: Re: [AccessD] Access-D member awarded MS Access MVP > Hi Marty: > > Where did you get this information? I have been unable to confirm the > details. > > TIA > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly > Sent: Wednesday, April 04, 2007 12:33 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access-D member awarded MS Access MVP > > > Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP > award! > > If you have never seen AD's samples , they're well worth a look: > > http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. > > -- > Marty Connelly > Victoria, B.C. > Canada > > -- > 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 accessd at shaw.ca Wed Apr 4 22:23:34 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 04 Apr 2007 20:23:34 -0700 Subject: [AccessD] Access-D member awarded MS Access MVP In-Reply-To: <46144892.2050104@shaw.ca> Message-ID: <0JG0004HE98BCK00@l-daemon> Hi Marty: Thanks for the information. Much appreciated; but that still does not answer the question of how, where and why you know A.D. Tejpal is now an MVP. Do you have a 'secret' source that you can not be divulged? I have taken the liberty of posting A.D.'s win to the web site but am still hesitant without proper validation or any collaboration. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Wednesday, April 04, 2007 5:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access-D member awarded MS Access MVP A couple of other Access MVP's announced it Roger Carlson on Access-D and Bill Mosca on MS Access Professional Yahoo. The MVP's have their own newsletter, web site and mail list. In fact they have a 3-Day meeting every year in Seattle. A slightly out of date list of Access MVP's can be found here. https://mvp.support.microsoft.com/communities/mvp.aspx?product=1&competency= Microsoft+Office+Access Once your on the list, it is permanent ;) I know one Access MVP who tried to resign MS wouldn't let him. He had a big disagreement with MS. Funnily enough he is now working full time for MS. That got him off the list. Jim Lawrence wrote: >Hi Marty: > >Where did you get this information? I have been unable to confirm the >details. > >TIA >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Wednesday, April 04, 2007 12:33 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Access-D member awarded MS Access MVP > > >Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP >award! > >If you have never seen AD's samples , they're well worth a look: > >http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Apr 4 22:33:20 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 04 Apr 2007 20:33:20 -0700 Subject: [AccessD] Access-D member awarded MS Access MVP In-Reply-To: <000501c77727$8ef29180$982b124c@50nm721> Message-ID: <0JG000FPC9OL93M0@l-daemon> Hi William: Thank you, for that info. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, April 04, 2007 7:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access-D member awarded MS Access MVP http://www.abhishekkant.net/2007/04/new-mvps-announced-in-south-asia.html William Hindman ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 04, 2007 6:21 PM Subject: Re: [AccessD] Access-D member awarded MS Access MVP > Hi Marty: > > Where did you get this information? I have been unable to confirm the > details. > > TIA > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly > Sent: Wednesday, April 04, 2007 12:33 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access-D member awarded MS Access MVP > > > Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP > award! > > If you have never seen AD's samples , they're well worth a look: > > http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. > > -- > Marty Connelly > Victoria, B.C. > Canada > > -- > 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 From adtp at hotmail.com Thu Apr 5 09:00:30 2007 From: adtp at hotmail.com (A.D.TEJPAL) Date: Thu, 5 Apr 2007 19:30:30 +0530 Subject: [AccessD] Access-D member awarded MS Access MVP References: <200704041727.l34HRIU05827@databaseadvisors.com><009b01c776e7$093771e0$657aa8c0@m6805> <4613FD55.9070907@shaw.ca> Message-ID: Marty, My sincere thanks. I have no illusions about my limitations and am well aware that Access-D is graced with a galaxy of experts far more qualified than me. In this context, I take the compliments from my fellow members as an expression of goodwill that I hold precious. Right through my association with this forum, I have been benefiting immensely from the wealth of knowledge contributed by various members. I would like to record my grateful thanks to my colleagues (mentioned below, in the order of the messages received) for so kindly taking time out to write words of encouragement: Martin Reid, David McAfee, Susan Harkins, Charlotte Foust, William Hindman, Jim Lawrence, Best wishes, A.D.Tejpal ----- Original Message ----- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Thursday, April 05, 2007 01:02 Subject: [AccessD] Access-D member awarded MS Access MVP Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP award! If you have never seen AD's samples , they're well worth a look: http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. Marty Connelly Victoria, B.C. Canada From rockysmolin at bchacc.com Thu Apr 5 09:09:45 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 5 Apr 2007 07:09:45 -0700 Subject: [AccessD] Changing Printer In-Reply-To: <0JG000DMM0DDKS32@vms044.mailsrvcs.net> Message-ID: <00aa01c7778c$10621a60$0201a8c0@HAL9005> Eric: A redundant thanks again, Eric. I got the terse reply from my client this A.M. "Got it. It works. Good job Rocky!" I pasted your snip into my code commented out in case he ever comes up with the requirement. I assume that the code will create the jpg but not display it. You have to trigger the display yourself? Best regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Wednesday, April 04, 2007 5:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Rocky, You're welcome! Here's a snippet of code you might be interested in. You can provide a JPG preview of the label before your client prints it. :) //export the labelformat image to a JPG file newFile = btFormat.FileName.Replace(labelFormatPath, labelFormatExportPath); btFormat.ExportToFile(newFile.Replace(".btw", ".JPG"), "JPG" , BarTender.BtColors.btColors24Bit, BarTender.BtResolution.btResolutionPrinter, BarTender.BtSaveOptions.btSaveChanges); The code is in C#. Minor mods needed for the replace syntax since in VB this is a function instead of a method. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 04, 2007 4:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Excellent! That's too easy. I didn't know there was a printer parameter on the .Open but I see it now - I just have it as a "" string. I already put a combo box on the form with the installed printers and save the selection in a front end preferences table. Thank you. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Wednesday, April 04, 2007 3:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Rocky, LOL! Guess what...I have a web-based app developed in C# that calls Bartender.exe as a COM object. I provide the default printer in code this way... btFormat = btApp.Formats.Open(labelFormatFileName, false, labelPrinter) Where labelFormatFileName and labelPrinter are string values. Since you don't know the printer name you can simply present him with a select printer form that pulls up all available connected printers and then pass the value from the combobox to your function so that it passes it on to the labelPrinter variable. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 04, 2007 3:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Actually, I just reviewed the code. It's not a report. It's a bunch of calls to an object. Bartender (cute, huh) is the name of the program and I call it from inside the form. Code snip: Set btFormat = btApp.Formats.Open(Me.fldFABLabelFile, False, "") btFormat.SetNamedSubStringValue "Part No. (P)", Me.fldFABPartNumber btFormat.SetNamedSubStringValue "Quantity", Me.fldContainerTotalPieces btFormat.SetNamedSubStringValue "OrderNumber", Me.cboJobs.Column(1) btFormat.SetNamedSubStringValue "ContainerNumber", Me.fldContainerContainer btFormat.SetNamedSubStringValue "Serial", Me.fldContainerID btFormat.SetNamedSubStringValue "PO #", Nz(Me.fldJobsEndCustomerPONumber) btFormat.SetNamedSubStringValue "LOT #", strVendorLot btFormat.SetNamedSubStringValue "Quantity Identifier", "Q" btFormat.SetNamedSubStringValue "R#", Nz(Me.fldFABEngineeringChangeNumber) btFormat.SetNamedSubStringValue "EngineeringChangeNumber", Nz(Me.fldFABEngineeringChangeNumber) btFormat.PrintOut False, False So I need to change the default printer and then change it back again. I used to have some code somewher to do this but can't find it. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, April 04, 2007 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Printer ...I use the "Select specific printer" option in the report set-up ...that report always uses the selected printer and the rest use the default ...if the bar-code printer is not available for some reason, the user will get a pop-up dialog asking if they want to select another printer. William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 04, 2007 4:27 PM Subject: [AccessD] Changing Printer > Dear List: > > I have a client who installed a bar code printer. If he makes it the > default printer that screws up all of this print previews on other > reports. > > So I'd like to change the default printer from inside the form that > prints the bar code labels and change it back to the default when done. > > Does anyone know of or have a code snip that does this? > > MTIA, > > Rocky > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > www.bchacc.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/744 - Release Date: 4/3/2007 5:32 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/744 - Release Date: 4/3/2007 5:32 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM From ebarro at verizon.net Thu Apr 5 09:21:13 2007 From: ebarro at verizon.net (Eric Barro) Date: Thu, 05 Apr 2007 07:21:13 -0700 Subject: [AccessD] Changing Printer In-Reply-To: <00aa01c7778c$10621a60$0201a8c0@HAL9005> Message-ID: <0JG100IMR3VIQT02@vms040.mailsrvcs.net> Yes the code simply outputs the JPG image. You will need code to display it for your user. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, April 05, 2007 7:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Eric: A redundant thanks again, Eric. I got the terse reply from my client this A.M. "Got it. It works. Good job Rocky!" I pasted your snip into my code commented out in case he ever comes up with the requirement. I assume that the code will create the jpg but not display it. You have to trigger the display yourself? Best regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Wednesday, April 04, 2007 5:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Rocky, You're welcome! Here's a snippet of code you might be interested in. You can provide a JPG preview of the label before your client prints it. :) //export the labelformat image to a JPG file newFile = btFormat.FileName.Replace(labelFormatPath, labelFormatExportPath); btFormat.ExportToFile(newFile.Replace(".btw", ".JPG"), "JPG" , BarTender.BtColors.btColors24Bit, BarTender.BtResolution.btResolutionPrinter, BarTender.BtSaveOptions.btSaveChanges); The code is in C#. Minor mods needed for the replace syntax since in VB this is a function instead of a method. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 04, 2007 4:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Excellent! That's too easy. I didn't know there was a printer parameter on the .Open but I see it now - I just have it as a "" string. I already put a combo box on the form with the installed printers and save the selection in a front end preferences table. Thank you. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Wednesday, April 04, 2007 3:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Rocky, LOL! Guess what...I have a web-based app developed in C# that calls Bartender.exe as a COM object. I provide the default printer in code this way... btFormat = btApp.Formats.Open(labelFormatFileName, false, labelPrinter) Where labelFormatFileName and labelPrinter are string values. Since you don't know the printer name you can simply present him with a select printer form that pulls up all available connected printers and then pass the value from the combobox to your function so that it passes it on to the labelPrinter variable. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 04, 2007 3:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Printer Actually, I just reviewed the code. It's not a report. It's a bunch of calls to an object. Bartender (cute, huh) is the name of the program and I call it from inside the form. Code snip: Set btFormat = btApp.Formats.Open(Me.fldFABLabelFile, False, "") btFormat.SetNamedSubStringValue "Part No. (P)", Me.fldFABPartNumber btFormat.SetNamedSubStringValue "Quantity", Me.fldContainerTotalPieces btFormat.SetNamedSubStringValue "OrderNumber", Me.cboJobs.Column(1) btFormat.SetNamedSubStringValue "ContainerNumber", Me.fldContainerContainer btFormat.SetNamedSubStringValue "Serial", Me.fldContainerID btFormat.SetNamedSubStringValue "PO #", Nz(Me.fldJobsEndCustomerPONumber) btFormat.SetNamedSubStringValue "LOT #", strVendorLot btFormat.SetNamedSubStringValue "Quantity Identifier", "Q" btFormat.SetNamedSubStringValue "R#", Nz(Me.fldFABEngineeringChangeNumber) btFormat.SetNamedSubStringValue "EngineeringChangeNumber", Nz(Me.fldFABEngineeringChangeNumber) btFormat.PrintOut False, False So I need to change the default printer and then change it back again. I used to have some code somewher to do this but can't find it. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, April 04, 2007 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Printer ...I use the "Select specific printer" option in the report set-up ...that report always uses the selected printer and the rest use the default ...if the bar-code printer is not available for some reason, the user will get a pop-up dialog asking if they want to select another printer. William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 04, 2007 4:27 PM Subject: [AccessD] Changing Printer > Dear List: > > I have a client who installed a bar code printer. If he makes it the > default printer that screws up all of this print previews on other > reports. > > So I'd like to change the default printer from inside the form that > prints the bar code labels and change it back to the default when done. > > Does anyone know of or have a code snip that does this? > > MTIA, > > Rocky > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > > > www.bchacc.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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/744 - Release Date: 4/3/2007 5:32 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/744 - Release Date: 4/3/2007 5:32 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 4/3/2007 12:48 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: 4/4/2007 1:09 PM From rockysmolin at bchacc.com Thu Apr 5 10:48:26 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 5 Apr 2007 08:48:26 -0700 Subject: [AccessD] Access-D member awarded MS Access MVP In-Reply-To: Message-ID: <00d001c77799$d99c76c0$0201a8c0@HAL9005> A.D.: Let me add my belated congratulations on your MVP award. I tried to send it offline but the address I have for you is no longer valid. Had they called me or anyone on the AccessD list, it would have happened much sooner. But no one deserves it more. With best regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Thursday, April 05, 2007 7:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access-D member awarded MS Access MVP Marty, My sincere thanks. I have no illusions about my limitations and am well aware that Access-D is graced with a galaxy of experts far more qualified than me. In this context, I take the compliments from my fellow members as an expression of goodwill that I hold precious. Right through my association with this forum, I have been benefiting immensely from the wealth of knowledge contributed by various members. I would like to record my grateful thanks to my colleagues (mentioned below, in the order of the messages received) for so kindly taking time out to write words of encouragement: Martin Reid, David McAfee, Susan Harkins, Charlotte Foust, William Hindman, Jim Lawrence, Best wishes, A.D.Tejpal ----- Original Message ----- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Thursday, April 05, 2007 01:02 Subject: [AccessD] Access-D member awarded MS Access MVP Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP award! If you have never seen AD's samples , they're well worth a look: http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: 4/4/2007 1:09 PM From jwcolby at colbyconsulting.com Thu Apr 5 11:34:26 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 5 Apr 2007 12:34:26 -0400 Subject: [AccessD] Access-D member awarded MS Access MVP In-Reply-To: <00d001c77799$d99c76c0$0201a8c0@HAL9005> References: <00d001c77799$d99c76c0$0201a8c0@HAL9005> Message-ID: <000101c777a0$472c5970$657aa8c0@m6805> Likewise, my belated congrats. MVP truly is a recognition of your ability, and given your contributions to this list I would say a well deserved recognition. Good Job. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, April 05, 2007 11:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access-D member awarded MS Access MVP A.D.: Let me add my belated congratulations on your MVP award. I tried to send it offline but the address I have for you is no longer valid. Had they called me or anyone on the AccessD list, it would have happened much sooner. But no one deserves it more. With best regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Thursday, April 05, 2007 7:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access-D member awarded MS Access MVP Marty, My sincere thanks. I have no illusions about my limitations and am well aware that Access-D is graced with a galaxy of experts far more qualified than me. In this context, I take the compliments from my fellow members as an expression of goodwill that I hold precious. Right through my association with this forum, I have been benefiting immensely from the wealth of knowledge contributed by various members. I would like to record my grateful thanks to my colleagues (mentioned below, in the order of the messages received) for so kindly taking time out to write words of encouragement: Martin Reid, David McAfee, Susan Harkins, Charlotte Foust, William Hindman, Jim Lawrence, Best wishes, A.D.Tejpal ----- Original Message ----- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Thursday, April 05, 2007 01:02 Subject: [AccessD] Access-D member awarded MS Access MVP Congrats. A.D. Tejpal has been awarded the Microsoft Office Access MVP award! If you have never seen AD's samples , they're well worth a look: http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: 4/4/2007 1:09 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Apr 5 12:09:08 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 5 Apr 2007 10:09:08 -0700 Subject: [AccessD] WANs and Access Message-ID: <00f801c777a5$1fb233b0$0201a8c0@HAL9005> Had a prospect ask me how robust my application would be running over a WAN. Broadband connection but 'slow' according to his description. Plus folks dialing in from remote locations but at least 50MBPS. Anyone have any experience with this or know of any limitations with Access in this regard? MTIA, Rocky From accessd at shaw.ca Thu Apr 5 12:17:40 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 05 Apr 2007 10:17:40 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: <00aa01c7778c$10621a60$0201a8c0@HAL9005> Message-ID: <0JG100CYZBUFXSF0@l-daemon> Hi All: There seems to be an interesting design for MS SQL Database. For those who have used classes here is a new implementation: http://msdn2.microsoft.com/en-us/library/bb245675.aspx http://www.sqlserverbible.com/ordbms.htm Jim From dwaters at usinternet.com Thu Apr 5 12:32:19 2007 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 5 Apr 2007 12:32:19 -0500 Subject: [AccessD] WANs and Access In-Reply-To: <00f801c777a5$1fb233b0$0201a8c0@HAL9005> References: <00f801c777a5$1fb233b0$0201a8c0@HAL9005> Message-ID: <003e01c777a8$5d24c390$0200a8c0@danwaters> Hi Rocky, I have a customer who has plants across North America, all on the same WAN. I don't know what their throughput rate is though. After using the system in one location for about a year, we tried putting some client apps at the other sites. The two folks I work directly with were there at the time, and have told me that the app was as quick there as it is here! I was surprised - and happy. My system is split FE/BE, and the usage is not high. On the other hand, from home through their VPN connection, it takes me 20 minutes to open their system with my PC, so I don't. Good Luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, April 05, 2007 12:09 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WANs and Access Had a prospect ask me how robust my application would be running over a WAN. Broadband connection but 'slow' according to his description. Plus folks dialing in from remote locations but at least 50MBPS. Anyone have any experience with this or know of any limitations with Access in this regard? MTIA, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Donald.A.McGillivray at sprint.com Thu Apr 5 13:00:44 2007 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Thu, 5 Apr 2007 13:00:44 -0500 Subject: [AccessD] WANs and Access In-Reply-To: <00f801c777a5$1fb233b0$0201a8c0@HAL9005> References: <00f801c777a5$1fb233b0$0201a8c0@HAL9005> Message-ID: Rocky, I have an app (not a commercial app - just something to support my users in their jobs) that runs on a server located in California, and my users (in California, Kansas, and Florida) connect via terminal services (Remote Desktop Connection) over our company's WAN. FE and BE reside on the server, and each user gets a new instance of the FE in his/her TS. My user count is usually <= 10, and the user experience is nearly the same as if the app were running as a FE/BE on their workstation. When I connect from home, via VPN over a DSL connection, the response is nearly the same as when I'm at my desk at work. Even via dialup, it's slower, but not so slow that I go crazy. Don't know whether this strategy is appropriate to your situation, but may be worth a look see. Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, April 05, 2007 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WANs and Access Had a prospect ask me how robust my application would be running over a WAN. Broadband connection but 'slow' according to his description. Plus folks dialing in from remote locations but at least 50MBPS. Anyone have any experience with this or know of any limitations with Access in this regard? MTIA, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Thu Apr 5 13:07:58 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 5 Apr 2007 14:07:58 -0400 Subject: [AccessD] WANs and Access References: <00f801c777a5$1fb233b0$0201a8c0@HAL9005> Message-ID: <001b01c777ad$5875ef40$982b124c@50nm721> ...unplanned disconnects, even momentary, are the bane of any file server db system ...in my experience Access and WAN requires a Terminal Server or Citrix implementation to be both reliable and fast ...not to say it can't be done otherwise but that my experience with such sucks because disconnects are almost inevitable ...however, if you do go the TS route, your Access app can actually be faster in the user's view even though he's hundreds of miles away. ...btw, if you do look at this route, Citrix costs more than TS but their support is a whole lot better imnsho and well worth the extra bucks. TS in the mean time, is actually an older version of Citrix that MS licensed and has done some work with. William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Thursday, April 05, 2007 1:09 PM Subject: [AccessD] WANs and Access > Had a prospect ask me how robust my application would be running over a > WAN. > Broadband connection but 'slow' according to his description. Plus folks > dialing in from remote locations but at least 50MBPS. Anyone have any > experience with this or know of any limitations with Access in this > regard? > > MTIA, > > Rocky > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Thu Apr 5 13:06:58 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Apr 2007 11:06:58 -0700 Subject: [AccessD] WANs and Access In-Reply-To: <00f801c777a5$1fb233b0$0201a8c0@HAL9005> References: <00f801c777a5$1fb233b0$0201a8c0@HAL9005> Message-ID: Rocky, I think it depends on the WAN, but we try to persuade our clients not to try it, particularly if the broadband connection is "iffy" or "slow". We've had a few do it anyhow because their IT departments were sure they could make it work. They live with it. Remote dialup is ugly at any speed unless you use a VPN and log into an active local workstation and run the app from there. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, April 05, 2007 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WANs and Access Had a prospect ask me how robust my application would be running over a WAN. Broadband connection but 'slow' according to his description. Plus folks dialing in from remote locations but at least 50MBPS. Anyone have any experience with this or know of any limitations with Access in this regard? MTIA, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Apr 5 13:11:47 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Apr 2007 11:11:47 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: <0JG100CYZBUFXSF0@l-daemon> References: <00aa01c7778c$10621a60$0201a8c0@HAL9005> <0JG100CYZBUFXSF0@l-daemon> Message-ID: Interesting article, particularly since it seems to encompass a lot of the design approaches we already use in VB.Net. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, April 05, 2007 10:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] New database design for MS SQL Hi All: There seems to be an interesting design for MS SQL Database. For those who have used classes here is a new implementation: http://msdn2.microsoft.com/en-us/library/bb245675.aspx http://www.sqlserverbible.com/ordbms.htm Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Apr 5 13:15:37 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 05 Apr 2007 11:15:37 -0700 Subject: [AccessD] WANs and Access In-Reply-To: <00f801c777a5$1fb233b0$0201a8c0@HAL9005> Message-ID: <0JG100AJ4EIZJ0Y0@l-daemon> Hi Rocky: If you need any help with setting up applications running at different locations I could offer some help in that area as I have definitely done enough of that type of work. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, April 05, 2007 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WANs and Access Had a prospect ask me how robust my application would be running over a WAN. Broadband connection but 'slow' according to his description. Plus folks dialing in from remote locations but at least 50MBPS. Anyone have any experience with this or know of any limitations with Access in this regard? MTIA, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Apr 5 13:18:42 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 5 Apr 2007 14:18:42 -0400 Subject: [AccessD] WANs and Access In-Reply-To: <001b01c777ad$5875ef40$982b124c@50nm721> References: <00f801c777a5$1fb233b0$0201a8c0@HAL9005> <001b01c777ad$5875ef40$982b124c@50nm721> Message-ID: <001101c777ae$d79c7b80$657aa8c0@m6805> If the location with the file server has workstations with Windows 2003, you can use remote desktop, at least two instances per computer. Thus if the client already had people inside that location (with windows 2003) running the app, then another user could remote in to their machine and use the db. They would have to have their own account etc. Remote access is IMHO definitely the way to go, whether TS or other. As William says, disconnects will corrupt the database if the FE is running remotely. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Thursday, April 05, 2007 2:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] WANs and Access ...unplanned disconnects, even momentary, are the bane of any file server db system ...in my experience Access and WAN requires a Terminal Server or Citrix implementation to be both reliable and fast ...not to say it can't be done otherwise but that my experience with such sucks because disconnects are almost inevitable ...however, if you do go the TS route, your Access app can actually be faster in the user's view even though he's hundreds of miles away. ...btw, if you do look at this route, Citrix costs more than TS but their support is a whole lot better imnsho and well worth the extra bucks. TS in the mean time, is actually an older version of Citrix that MS licensed and has done some work with. William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Thursday, April 05, 2007 1:09 PM Subject: [AccessD] WANs and Access > Had a prospect ask me how robust my application would be running over a > WAN. > Broadband connection but 'slow' according to his description. Plus folks > dialing in from remote locations but at least 50MBPS. Anyone have any > experience with this or know of any limitations with Access in this > regard? > > MTIA, > > Rocky > > > > > > -- > 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 accessd at shaw.ca Thu Apr 5 13:24:20 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 05 Apr 2007 11:24:20 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: Message-ID: <0JG100L1REXIDTG0@l-daemon> Hi Charlotte: So let us see some samples... Most of us here are at least conversant in .Net and would find it very informative. TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 11:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Interesting article, particularly since it seems to encompass a lot of the design approaches we already use in VB.Net. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, April 05, 2007 10:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] New database design for MS SQL Hi All: There seems to be an interesting design for MS SQL Database. For those who have used classes here is a new implementation: http://msdn2.microsoft.com/en-us/library/bb245675.aspx http://www.sqlserverbible.com/ordbms.htm Jim -- 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 cfoust at infostatsystems.com Thu Apr 5 14:06:42 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Apr 2007 12:06:42 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: <0JG100L1REXIDTG0@l-daemon> References: <0JG100L1REXIDTG0@l-daemon> Message-ID: Eeek! How on earth would I do that?? I can explain that we use a data tier that abstracts the actual data structures by building "entity" classes that implement a typeddataset for that data entity and interface classes that define what the data providers will expose for the entity. The entity/typeddataset can address and manipulate a single table or multiple related tables simultaneously. We use an OleDbProvider project that houses the SQL (in XML files) and code classes specific to a related group of tables and their children. The entity classes call into the data provider classes, so the code to do a particular thing (i.e., get the next ID number for a particular table for a particular set of parameters) is in a single location. We build "business rules" into the entity classes that take care of things like returning an exception if a record is being deleted and there are related records that need to be deleted or reassigned. We also use them to cascade changes/deletions/insertions to tables where it can't be done automatically. For instance, when we create a new Well record, the data tier automatically creates and initial wellBore record and doesn't allow the user to delete that wellbore except by deleting the well. Someday, if I ever find the time, I'm going to try modelling this in Access! Any questions?? LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, April 05, 2007 11:24 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: So let us see some samples... Most of us here are at least conversant in .Net and would find it very informative. TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 11:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Interesting article, particularly since it seems to encompass a lot of the design approaches we already use in VB.Net. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, April 05, 2007 10:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] New database design for MS SQL Hi All: There seems to be an interesting design for MS SQL Database. For those who have used classes here is a new implementation: http://msdn2.microsoft.com/en-us/library/bb245675.aspx http://www.sqlserverbible.com/ordbms.htm Jim -- 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 From rockysmolin at bchacc.com Thu Apr 5 14:54:30 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 5 Apr 2007 12:54:30 -0700 Subject: [AccessD] WANs and Access In-Reply-To: <0JG100AJ4EIZJ0Y0@l-daemon> Message-ID: <013001c777bc$39d3d750$0201a8c0@HAL9005> Thanks to everyone for their replies on this. I will forward your comments to the prospect and let him decide how to proceed. Best, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, April 05, 2007 11:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] WANs and Access Hi Rocky: If you need any help with setting up applications running at different locations I could offer some help in that area as I have definitely done enough of that type of work. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, April 05, 2007 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WANs and Access Had a prospect ask me how robust my application would be running over a WAN. Broadband connection but 'slow' according to his description. Plus folks dialing in from remote locations but at least 50MBPS. Anyone have any experience with this or know of any limitations with Access in this regard? MTIA, Rocky -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: 4/4/2007 1:09 PM From wdhindman at dejpolsystems.com Thu Apr 5 15:06:49 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 5 Apr 2007 16:06:49 -0400 Subject: [AccessD] New database design for MS SQL References: <0JG100L1REXIDTG0@l-daemon> Message-ID: <000d01c777bd$f38e6bf0$982b124c@50nm721> ...questions? ...not me ...I'm actually sorry Jim asked :) ...until I read that, I thought my schemas were so cool, eh. William Hindman ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, April 05, 2007 3:06 PM Subject: Re: [AccessD] New database design for MS SQL > Eeek! How on earth would I do that?? > > I can explain that we use a data tier that abstracts the actual data > structures by building "entity" classes that implement a typeddataset > for that data entity and interface classes that define what the data > providers will expose for the entity. The entity/typeddataset can > address and manipulate a single table or multiple related tables > simultaneously. We use an OleDbProvider project that houses the SQL (in > XML files) and code classes specific to a related group of tables and > their children. The entity classes call into the data provider classes, > so the code to do a particular thing (i.e., get the next ID number for a > particular table for a particular set of parameters) is in a single > location. > > We build "business rules" into the entity classes that take care of > things like returning an exception if a record is being deleted and > there are related records that need to be deleted or reassigned. We > also use them to cascade changes/deletions/insertions to tables where it > can't be done automatically. For instance, when we create a new Well > record, the data tier automatically creates and initial wellBore record > and doesn't allow the user to delete that wellbore except by deleting > the well. Someday, if I ever find the time, I'm going to try modelling > this in Access! > > Any questions?? LOL > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Thursday, April 05, 2007 11:24 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] New database design for MS SQL > > Hi Charlotte: > > So let us see some samples... Most of us here are at least conversant in > .Net and would find it very informative. > > TIA > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Thursday, April 05, 2007 11:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] New database design for MS SQL > > Interesting article, particularly since it seems to encompass a lot of > the design approaches we already use in VB.Net. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Thursday, April 05, 2007 10:18 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] New database design for MS SQL > > Hi All: > > There seems to be an interesting design for MS SQL Database. For those > who have used classes here is a new implementation: > > http://msdn2.microsoft.com/en-us/library/bb245675.aspx > http://www.sqlserverbible.com/ordbms.htm > > Jim > > -- > 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 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at Marlow.com Thu Apr 5 15:31:37 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 5 Apr 2007 15:31:37 -0500 Subject: [AccessD] WANs and Access In-Reply-To: <00f801c777a5$1fb233b0$0201a8c0@HAL9005> Message-ID: Depends on the speed of their WAN. 50 mbps is a typical wireless speed, so it's not bad at all... However, go down to a T1, which is great for the net, but an Access .mdb will take a bit just to open. Complex queries will take a while. I would recommend a web based front end. Would work fine even over dialup. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, April 05, 2007 12:09 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WANs and Access Had a prospect ask me how robust my application would be running over a WAN. Broadband connection but 'slow' according to his description. Plus folks dialing in from remote locations but at least 50MBPS. Anyone have any experience with this or know of any limitations with Access in this regard? MTIA, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Apr 5 15:40:33 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Apr 2007 13:40:33 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: <000d01c777bd$f38e6bf0$982b124c@50nm721> References: <0JG100L1REXIDTG0@l-daemon> <000d01c777bd$f38e6bf0$982b124c@50nm721> Message-ID: Hey, I just work here! LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Thursday, April 05, 2007 1:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL ...questions? ...not me ...I'm actually sorry Jim asked :) ...until I read that, I thought my schemas were so cool, eh. William Hindman ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, April 05, 2007 3:06 PM Subject: Re: [AccessD] New database design for MS SQL > Eeek! How on earth would I do that?? > > I can explain that we use a data tier that abstracts the actual data > structures by building "entity" classes that implement a typeddataset > for that data entity and interface classes that define what the data > providers will expose for the entity. The entity/typeddataset can > address and manipulate a single table or multiple related tables > simultaneously. We use an OleDbProvider project that houses the SQL (in > XML files) and code classes specific to a related group of tables and > their children. The entity classes call into the data provider classes, > so the code to do a particular thing (i.e., get the next ID number for a > particular table for a particular set of parameters) is in a single > location. > > We build "business rules" into the entity classes that take care of > things like returning an exception if a record is being deleted and > there are related records that need to be deleted or reassigned. We > also use them to cascade changes/deletions/insertions to tables where it > can't be done automatically. For instance, when we create a new Well > record, the data tier automatically creates and initial wellBore record > and doesn't allow the user to delete that wellbore except by deleting > the well. Someday, if I ever find the time, I'm going to try modelling > this in Access! > > Any questions?? LOL > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Thursday, April 05, 2007 11:24 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] New database design for MS SQL > > Hi Charlotte: > > So let us see some samples... Most of us here are at least conversant in > .Net and would find it very informative. > > TIA > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Thursday, April 05, 2007 11:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] New database design for MS SQL > > Interesting article, particularly since it seems to encompass a lot of > the design approaches we already use in VB.Net. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Thursday, April 05, 2007 10:18 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] New database design for MS SQL > > Hi All: > > There seems to be an interesting design for MS SQL Database. For those > who have used classes here is a new implementation: > > http://msdn2.microsoft.com/en-us/library/bb245675.aspx > http://www.sqlserverbible.com/ordbms.htm > > Jim > > -- > 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 > -- > 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 accessd at shaw.ca Thu Apr 5 16:21:46 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 05 Apr 2007 14:21:46 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: Message-ID: <0JG1009F8N570201@l-daemon> Hi Charlotte: You bet... but if I asked all the questions that I want to ask the List would reject that email due to size limitations. Maybe some questions from the bottom or Server end. Is there any white-papers on the design or is this the concept of some in-house guru?... or your-self. Is there any recommended reference material? Can I assume you are using SQL 2005? Is the SQL data stored as XML data or translated on the fly? Is all the business logic stored on the server or is it managed at the FE? Can I assume a desktop design? These are just a few of the broad questions I would like to know further details on... ...and what is a Well record and wellBore record or is this something to do with wells? That is all for now TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 12:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Eeek! How on earth would I do that?? I can explain that we use a data tier that abstracts the actual data structures by building "entity" classes that implement a typeddataset for that data entity and interface classes that define what the data providers will expose for the entity. The entity/typeddataset can address and manipulate a single table or multiple related tables simultaneously. We use an OleDbProvider project that houses the SQL (in XML files) and code classes specific to a related group of tables and their children. The entity classes call into the data provider classes, so the code to do a particular thing (i.e., get the next ID number for a particular table for a particular set of parameters) is in a single location. We build "business rules" into the entity classes that take care of things like returning an exception if a record is being deleted and there are related records that need to be deleted or reassigned. We also use them to cascade changes/deletions/insertions to tables where it can't be done automatically. For instance, when we create a new Well record, the data tier automatically creates and initial wellBore record and doesn't allow the user to delete that wellbore except by deleting the well. Someday, if I ever find the time, I'm going to try modelling this in Access! Any questions?? LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, April 05, 2007 11:24 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: So let us see some samples... Most of us here are at least conversant in .Net and would find it very informative. TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 11:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Interesting article, particularly since it seems to encompass a lot of the design approaches we already use in VB.Net. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, April 05, 2007 10:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] New database design for MS SQL Hi All: There seems to be an interesting design for MS SQL Database. For those who have used classes here is a new implementation: http://msdn2.microsoft.com/en-us/library/bb245675.aspx http://www.sqlserverbible.com/ordbms.htm Jim -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Apr 5 16:45:30 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 5 Apr 2007 14:45:30 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: <0JG1009F8N570201@l-daemon> References: <0JG1009F8N570201@l-daemon> Message-ID: No white papers. We started rolling our own and called in a consulting firm to review the fledgling solution and point out deficiencies. They did admit when they came back for a later review that they'd never seen a Win-based .Net app this large and complex, but we aren't ready (maybe I should say our clients aren't ready) to convert totally to web-based yet. We're using either SQL 2005 or Access 2000 format BE because some of our clients are on drilling rigs in the middle of the ocean and don't have SQL Server handy. The embedded SQL for the provider adapters is stored in XML files and we read it in using a streamreader and pass it back to the calling data provider routine. The only business logic on the server is in cascading updates and deletes, etc., nothing else except relationships at this point because we still have to handle both SQL Server and Access back ends. The business logic is in its own assembly that's part of the overall solution. Not sure what you mean by a desktop design. We create and supply software to the drilling industry--oil, gas, geothermal--so a well is a hole in the ground plus everything associated with that. A wellbore, is the hole itself, which may be the original hole in the ground or a sidetrack drilled as an offshoot of another wellbore. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, April 05, 2007 2:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: You bet... but if I asked all the questions that I want to ask the List would reject that email due to size limitations. Maybe some questions from the bottom or Server end. Is there any white-papers on the design or is this the concept of some in-house guru?... or your-self. Is there any recommended reference material? Can I assume you are using SQL 2005? Is the SQL data stored as XML data or translated on the fly? Is all the business logic stored on the server or is it managed at the FE? Can I assume a desktop design? These are just a few of the broad questions I would like to know further details on... ...and what is a Well record and wellBore record or is this something to do with wells? That is all for now TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 12:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Eeek! How on earth would I do that?? I can explain that we use a data tier that abstracts the actual data structures by building "entity" classes that implement a typeddataset for that data entity and interface classes that define what the data providers will expose for the entity. The entity/typeddataset can address and manipulate a single table or multiple related tables simultaneously. We use an OleDbProvider project that houses the SQL (in XML files) and code classes specific to a related group of tables and their children. The entity classes call into the data provider classes, so the code to do a particular thing (i.e., get the next ID number for a particular table for a particular set of parameters) is in a single location. We build "business rules" into the entity classes that take care of things like returning an exception if a record is being deleted and there are related records that need to be deleted or reassigned. We also use them to cascade changes/deletions/insertions to tables where it can't be done automatically. For instance, when we create a new Well record, the data tier automatically creates and initial wellBore record and doesn't allow the user to delete that wellbore except by deleting the well. Someday, if I ever find the time, I'm going to try modelling this in Access! From prodevmg at yahoo.com Thu Apr 5 22:13:28 2007 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 5 Apr 2007 20:13:28 -0700 (PDT) Subject: [AccessD] Change the focus from Access to an IE window. Message-ID: <297990.21670.qm@web33101.mail.mud.yahoo.com> I have URL's in a table. When clicked from a form the website opens. I want to move the focus from Access to the newly opened window. How do I do that? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ____________________________________________________________________________________ Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html From jwcolby at colbyconsulting.com Thu Apr 5 23:14:20 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 6 Apr 2007 00:14:20 -0400 Subject: [AccessD] Recover SQL Server Message-ID: <000901c77802$0d82c490$657aa8c0@m6805> Is it possible to recover a set of SQL Server databases that were mounted (active) when my computer died? I have the database files themselves out on a data drive, and I have the SQL Server directory and all of its sub directories out on the same drive, but the system that ran that sql server is unrecoverable. And of course I do not have a recent backup. John W. Colby Colby Consulting www.ColbyConsulting.com From ebarro at verizon.net Thu Apr 5 23:34:28 2007 From: ebarro at verizon.net (Eric Barro) Date: Thu, 05 Apr 2007 21:34:28 -0700 Subject: [AccessD] Recover SQL Server In-Reply-To: <000901c77802$0d82c490$657aa8c0@m6805> Message-ID: <0JG20062Q7DNMEUB@vms046.mailsrvcs.net> Just attach the databases using Query Analyzer or Enterprise Manager. EXEC sp_attach_db @dbname = 'pubs', @filename1 = 'C:\Program Files\Microsoft SQL Server\MSSQL\Data\pubs.mdf', @filename2 = 'C:\Program Files\Microsoft SQL Server\MSSQL\Data\pubs_log.ldf' -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, April 05, 2007 9:14 PM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com Subject: [AccessD] Recover SQL Server Is it possible to recover a set of SQL Server databases that were mounted (active) when my computer died? I have the database files themselves out on a data drive, and I have the SQL Server directory and all of its sub directories out on the same drive, but the system that ran that sql server is unrecoverable. And of course I do not have a recent backup. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: 4/4/2007 1:09 PM From wdhindman at dejpolsystems.com Fri Apr 6 00:41:24 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 6 Apr 2007 01:41:24 -0400 Subject: [AccessD] Recover SQL Server References: <0JG20062Q7DNMEUB@vms046.mailsrvcs.net> Message-ID: <001901c7780e$37b088e0$982b124c@50nm721> ...geez Eric. you could have allowed JC to at least sweat a bit longer :) William Hindman ----- Original Message ----- From: "Eric Barro" To: "'Access Developers discussion and problem solving'" Sent: Friday, April 06, 2007 12:34 AM Subject: Re: [AccessD] Recover SQL Server > Just attach the databases using Query Analyzer or Enterprise Manager. > > EXEC sp_attach_db @dbname = 'pubs', > @filename1 = 'C:\Program Files\Microsoft SQL > Server\MSSQL\Data\pubs.mdf', > @filename2 = 'C:\Program Files\Microsoft SQL > Server\MSSQL\Data\pubs_log.ldf' > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Thursday, April 05, 2007 9:14 PM > To: 'Access Developers discussion and problem solving'; > dba-sqlserver at databaseadvisors.com > Subject: [AccessD] Recover SQL Server > > Is it possible to recover a set of SQL Server databases that were mounted > (active) when my computer died? I have the database files themselves out > on > a data drive, and I have the SQL Server directory and all of its sub > directories out on the same drive, but the system that ran that sql server > is unrecoverable. And of course I do not have a recent backup. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: 4/4/2007 > 1:09 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Fri Apr 6 00:40:20 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 05 Apr 2007 22:40:20 -0700 Subject: [AccessD] Change the focus from Access to an IE window. In-Reply-To: <297990.21670.qm@web33101.mail.mud.yahoo.com> References: <297990.21670.qm@web33101.mail.mud.yahoo.com> Message-ID: <4615DD44.5060907@shaw.ca> Here is how to open IE with various sized windows and toolbars just pass your URL to .Navigate property. It doesn't have to be a URL can be file like pdf or xsl; local or remote Sub testIEvarious() '------------------ ' display various formats Tiffs PDF XLS local or remote 'If you add a reference to "Microsoft Internet Controls" '(SHDOCVW.DLL) you should be able to do: 'Public IE as .... and find "InternetExplorer" in the popup menu. 'So then you have what you wrote, which is early-bound, 'and you can use that as follows: ' Public IE As InternetExplorer ' Set IE = New InternetExplorer Dim objExplorer As Object Dim strReturn As String Set objExplorer = CreateObject("InternetExplorer.Application") 'Set objDocument = objExplorer.Document objExplorer.Navigate "about:blank" objExplorer.Toolbar = False objExplorer.StatusBar = False objExplorer.MenuBar = True objExplorer.FullScreen = False objExplorer.AddressBar = False objExplorer.Width = 800 objExplorer.Height = 570 objExplorer.Left = 0 objExplorer.Top = 0 objExplorer.Visible = 1 'objExplorer.Navigate "http://www.databaseadvisors.com/" 'objExplorer.Navigate "192.168.0.1/st_devic.html" 'objExplorer.navigate "http://checkip.dyndns.org/" objExplorer.Navigate "http://www.adobe.com/prodlist.pdf#page=3" 'objExplorer.navigate "C:\records management\aircanadacasestudy.pdf#page=4" 'objExplorer.Navigate "C:\records management\Copy of rim_guide_sarbanes.xls" 'objExplorer.Navigate "http://www.swimseattle.org/Forms/ScholorshipPolicy2003-2004.pdf" 'objExplorer.Navigate "file://C:\records management\aircanadacasestudy.pdf#page=3" 'objExplorer.navigate "C:\records management\aircanadacasestudy.pdf#page=2" 'objExplorer.Navigate "http://www.adobe.com/products/server/pdfs/customer_FAQ.pdf#page=3&zoom=200,250,100" 'objExplorer.Navigate "C:\Documents and Settings\marty\My Documents\My Pictures\VS.tif" 'objExplorer.Navigate "res://msxml.dll/defaultss.xsl" Do While (objExplorer.Busy) Loop MsgBox "finished" Set objExplorer = Nothing End Sub Lonnie Johnson wrote: >I have URL's in a table. When clicked from a form the website opens. I want to move the focus from Access to the newly opened window. How do I do that? > >May God bless you beyond your imagination! >Lonnie Johnson >ProDev, Professional Development of MS Access Databases >Visit me at ==> http://www.prodev.us > > > -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Fri Apr 6 05:34:20 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 06 Apr 2007 03:34:20 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: Message-ID: <0JG200558NU51JV0@l-daemon> Hi Charlotte: I will comment inline -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL No white papers. We started rolling our own and called in a consulting firm to review the fledgling solution and point out deficiencies. They did admit when they came back for a later review that they'd never seen a Win-based .Net app this large and complex, but we aren't ready (maybe I should say our clients aren't ready) to convert totally to web-based yet. Comment: Sounds very impressive. We're using either SQL 2005 or Access 2000 format BE because some of our clients are on drilling rigs in the middle of the ocean and don't have SQL Server handy. The embedded SQL for the provider adapters is stored in XML files and we read it in using a streamreader and pass it back to the calling data provider routine. The only business logic on the server is in cascading updates and deletes, etc., nothing else except relationships at this point because we still have to handle both SQL Server and Access back ends. The business logic is in its own assembly that's part of the overall solution. Not sure what you mean by a desktop design. Comment: 'Desktop design' is my description of an application that has it core functionality supported at the client end; or win-based or thick client (this could also be describing the actual client?) ...As opposed to thin client application where most of my work seems to be migrating. We create and supply software to the drilling industry--oil, gas, geothermal--so a well is a hole in the ground plus everything associated with that. A wellbore, is the hole itself, which may be the original hole in the ground or a sidetrack drilled as an offshoot of another wellbore. Comment: A very good explanation of your business. I would be interested in how the data tier actually works or maybe just an overview ...without divulging any trade secrets of course... like how the data tier layer abstracts the actual data structures. Is your office using the XML option in .Net datasets, through classes to connect via an OLE (third party?) to the actual tables being either MDB or MS SQL? (Handling XML in MS SQL 2005 is built-in but I was unaware that Access had the same capabilities.) I am not interested in specifics just the concepts... Maybe a bird's-eye view? Charlotte Foust MTIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, April 05, 2007 2:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: You bet... but if I asked all the questions that I want to ask the List would reject that email due to size limitations. Maybe some questions from the bottom or Server end. Is there any white-papers on the design or is this the concept of some in-house guru?... or your-self. Is there any recommended reference material? Can I assume you are using SQL 2005? Is the SQL data stored as XML data or translated on the fly? Is all the business logic stored on the server or is it managed at the FE? Can I assume a desktop design? These are just a few of the broad questions I would like to know further details on... ...and what is a Well record and wellBore record or is this something to do with wells? That is all for now TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 12:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Eeek! How on earth would I do that?? I can explain that we use a data tier that abstracts the actual data structures by building "entity" classes that implement a typeddataset for that data entity and interface classes that define what the data providers will expose for the entity. The entity/typeddataset can address and manipulate a single table or multiple related tables simultaneously. We use an OleDbProvider project that houses the SQL (in XML files) and code classes specific to a related group of tables and their children. The entity classes call into the data provider classes, so the code to do a particular thing (i.e., get the next ID number for a particular table for a particular set of parameters) is in a single location. We build "business rules" into the entity classes that take care of things like returning an exception if a record is being deleted and there are related records that need to be deleted or reassigned. We also use them to cascade changes/deletions/insertions to tables where it can't be done automatically. For instance, when we create a new Well record, the data tier automatically creates and initial wellBore record and doesn't allow the user to delete that wellbore except by deleting the well. Someday, if I ever find the time, I'm going to try modelling this in Access! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Apr 6 07:25:31 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 06 Apr 2007 14:25:31 +0200 Subject: [AccessD] SMS Message-ID: Hi all If you consider sending SMS messages from your app, here is a commercial provider which sports an extensive array of APIs including COM: http://www.clickatell.com/brochure/products/developer_solutions.php Also, the page has links to much relevant info on SMS including the special requirements for sending SMS to US receivers: http://www.clickatell.com/brochure/sms_info.php I have not worked with this, so I cannot provide further advice. /gustav From accessd at shaw.ca Fri Apr 6 07:57:49 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 06 Apr 2007 05:57:49 -0700 Subject: [AccessD] SMS In-Reply-To: Message-ID: <0JG200DM3UH9B6A0@l-daemon> Hi Gustav: This looks very interesting and I will keep this ink as a reference. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 06, 2007 5:26 AM To: accessd at databaseadvisors.com Subject: [AccessD] SMS Hi all If you consider sending SMS messages from your app, here is a commercial provider which sports an extensive array of APIs including COM: http://www.clickatell.com/brochure/products/developer_solutions.php Also, the page has links to much relevant info on SMS including the special requirements for sending SMS to US receivers: http://www.clickatell.com/brochure/sms_info.php I have not worked with this, so I cannot provide further advice. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Apr 6 08:38:20 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 06 Apr 2007 15:38:20 +0200 Subject: [AccessD] Change the focus from Access to an IE window. Message-ID: Hi Lonnie That is how my A2003 and IE7 behave by default. I don't even know how to change that. /gustav >>> prodevmg at yahoo.com 06-04-2007 05:13 >>> I have URL's in a table. When clicked from a form the website opens. I want to move the focus from Access to the newly opened window. How do I do that? From rockysmolin at bchacc.com Fri Apr 6 08:39:22 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 6 Apr 2007 06:39:22 -0700 Subject: [AccessD] FW: ** important ** just - say - no ... Message-ID: <003201c77850$fc4278c0$0201a8c0@HAL9005> Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com _____ From: Joe K Anderson [mailto:ja at alldatacorp.com] Sent: Thursday, April 05, 2007 5:47 PM To: "Undisclosed-Recipient:;"@nethere.net Subject: ** important ** just - say - no ... I know that many of you WILL want to look at naked, nude pix of Brittany Spears ... especially with her shaved head (who knows what else is shaved). HOWEVER ... JUST SAY NO !!!! As you can read below (and elsewhere) ... and may have already heard about ... you will very well end up having a reeeeeeally bad hair day (worse than Brittany) if you get the Zero-Day virus! So ... GET the Microsoft Patch ... in addition to any smoking or other types of patches you may have. JUST do it !!! This affects ALL recent versions of Windows ... 2000, XP ... and the new super-secure Windows Vista !! (right!). Also the Firefox browser ... my favorite! Note: This does not typically come in the form of an email attachment, rather just an email with a 'clickable' like, probably behind a teaser pic of Brittany ... you know ... showing a little skin or whatnot. JUST SAY NO!!! And don't open any frickin' email attachments either unless you know EXACTLY who it has been sleeping with (even then??) ... especially if it's from your Mother!!!! joe Critical Flaw Forces Microsoft to Deliver Patch ASAP Apparently Microsoft discovered a critical flaw in its Animated Cursor files on Windows that allows nefarious people to take remote control over PCs. The exploit is also being used to spread spam via an e-mail that promises viewers naked pictures of "Britiney Speers" in addition to compromising a number of sites in the Asia/Pacific region that are now being used to spread malicious code. For Microsoft, this latest security lapse negates the good will the company earned last month when it released no major security updates, especially when you consider the fact that these attacks are apparently closely linked to similar attacks made during the Super Bowl. But Microsoft shouldn't feel too bad about taking so long to get a fix out because the folks at Firefox are vulnerable to the same type of attacks, while others warn that anything built using AJAX is likely to have its own set of security woes. ***************************************************** -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: 4/4/2007 1:09 PM From listmaster at databaseadvisors.com Fri Apr 6 08:40:34 2007 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Fri, 06 Apr 2007 09:40:34 -0400 Subject: [AccessD] Administrivia - Server Upgrades Message-ID: <46161592.19068.306522A@listmaster.databaseadvisors.com> Hello all, I hope you are all having a good Easter Weekend and that you won't miss the lists too much. I have to do an upgrade on the server, so it will be mostly up, but at some points going down over this weekend. If, at the end of the day, you are having problems, please e-mail me at listmaster at databaseadvisors.com or IF THAT DOES NOT WORK, e-mail me at bryan at carbonnell.ca The main reason for this upgrade is for spam control. We are getting hammered at the server and I need to implement a spam control solution. Again, if you have any problems, contact me at listmaster at databaseadvisors.com or bryan at carbonnell.ca -- Bryan Carbonnell - listmaster at databaseadvisors.com From prodevmg at yahoo.com Fri Apr 6 08:52:34 2007 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Fri, 6 Apr 2007 06:52:34 -0700 (PDT) Subject: [AccessD] Change the focus from Access to an IE window. Message-ID: <337978.6942.qm@web33113.mail.mud.yahoo.com> Yes. The majority of the time it works that way in my app as well. But we are seeing a considerable amount of times that it does not work that way. Especially when the user has more than one IE window open already. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Friday, April 6, 2007 8:38:20 AM Subject: Re: [AccessD] Change the focus from Access to an IE window. Hi Lonnie That is how my A2003 and IE7 behave by default. I don't even know how to change that. /gustav >>> prodevmg at yahoo.com 06-04-2007 05:13 >>> I have URL's in a table. When clicked from a form the website opens. I want to move the focus from Access to the newly opened window. How do I do that? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ____________________________________________________________________________________ Don't get soaked. Take a quick peek at the forecast with the Yahoo! Search weather shortcut. http://tools.search.yahoo.com/shortcuts/#loc_weather From jimdettman at verizon.net Fri Apr 6 08:57:21 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 06 Apr 2007 09:57:21 -0400 Subject: [AccessD] WANs and Access In-Reply-To: <00f801c777a5$1fb233b0$0201a8c0@HAL9005> References: <00f801c777a5$1fb233b0$0201a8c0@HAL9005> Message-ID: <00fb01c77853$7fbf4a50$8abea8c0@XPS> Rocky, <> Access with JET as a db engine is not designed to run over a WAN and sooner or later, you will have corruption. You need to use Citrix or Terminal Services for remote users if your using JET. Alternative is Access with an SQL backend of some type. That you can do over a WAN. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, April 05, 2007 1:09 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WANs and Access Had a prospect ask me how robust my application would be running over a WAN. Broadband connection but 'slow' according to his description. Plus folks dialing in from remote locations but at least 50MBPS. Anyone have any experience with this or know of any limitations with Access in this regard? MTIA, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Apr 6 09:05:09 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 6 Apr 2007 10:05:09 -0400 Subject: [AccessD] Recover SQL Server In-Reply-To: <001901c7780e$37b088e0$982b124c@50nm721> References: <0JG20062Q7DNMEUB@vms046.mailsrvcs.net> <001901c7780e$37b088e0$982b124c@50nm721> Message-ID: <002301c77854$96d843d0$657aa8c0@m6805> Believe me, I have been sweating plenty already. 8>(~) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, April 06, 2007 1:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Recover SQL Server ...geez Eric. you could have allowed JC to at least sweat a bit longer :) William Hindman ----- Original Message ----- From: "Eric Barro" To: "'Access Developers discussion and problem solving'" Sent: Friday, April 06, 2007 12:34 AM Subject: Re: [AccessD] Recover SQL Server > Just attach the databases using Query Analyzer or Enterprise Manager. > > EXEC sp_attach_db @dbname = 'pubs', > @filename1 = 'C:\Program Files\Microsoft SQL > Server\MSSQL\Data\pubs.mdf', > @filename2 = 'C:\Program Files\Microsoft SQL > Server\MSSQL\Data\pubs_log.ldf' > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Thursday, April 05, 2007 9:14 PM > To: 'Access Developers discussion and problem solving'; > dba-sqlserver at databaseadvisors.com > Subject: [AccessD] Recover SQL Server > > Is it possible to recover a set of SQL Server databases that were mounted > (active) when my computer died? I have the database files themselves out > on > a data drive, and I have the SQL Server directory and all of its sub > directories out on the same drive, but the system that ran that sql server > is unrecoverable. And of course I do not have a recent backup. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: 4/4/2007 > 1:09 PM > > > -- > 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 wdhindman at dejpolsystems.com Fri Apr 6 09:40:25 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 6 Apr 2007 10:40:25 -0400 Subject: [AccessD] Recover SQL Server References: <0JG20062Q7DNMEUB@vms046.mailsrvcs.net><001901c7780e$37b088e0$982b124c@50nm721> <002301c77854$96d843d0$657aa8c0@m6805> Message-ID: <001401c77859$847374d0$982b124c@50nm721> ...amazing how often us old horses don't do as we say ...can't count the number of times I've been caught without a backup when I really needed one ...and then resolve to never do that again ...until the next time :) William Hindman ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Friday, April 06, 2007 10:05 AM Subject: Re: [AccessD] Recover SQL Server > Believe me, I have been sweating plenty already. 8>(~) > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Friday, April 06, 2007 1:41 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Recover SQL Server > > ...geez Eric. you could have allowed JC to at least sweat a bit longer :) > > William Hindman > > ----- Original Message ----- > From: "Eric Barro" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, April 06, 2007 12:34 AM > Subject: Re: [AccessD] Recover SQL Server > > >> Just attach the databases using Query Analyzer or Enterprise Manager. >> >> EXEC sp_attach_db @dbname = 'pubs', >> @filename1 = 'C:\Program Files\Microsoft SQL >> Server\MSSQL\Data\pubs.mdf', >> @filename2 = 'C:\Program Files\Microsoft SQL >> Server\MSSQL\Data\pubs_log.ldf' >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >> Sent: Thursday, April 05, 2007 9:14 PM >> To: 'Access Developers discussion and problem solving'; >> dba-sqlserver at databaseadvisors.com >> Subject: [AccessD] Recover SQL Server >> >> Is it possible to recover a set of SQL Server databases that were mounted >> (active) when my computer died? I have the database files themselves out >> on >> a data drive, and I have the SQL Server directory and all of its sub >> directories out on the same drive, but the system that ran that sql >> server >> is unrecoverable. And of course I do not have a recent backup. >> >> John W. Colby >> Colby Consulting >> www.ColbyConsulting.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: 4/4/2007 >> 1:09 PM >> >> >> -- >> 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 > From garykjos at gmail.com Fri Apr 6 09:51:50 2007 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 6 Apr 2007 09:51:50 -0500 Subject: [AccessD] Recover SQL Server In-Reply-To: <001401c77859$847374d0$982b124c@50nm721> References: <0JG20062Q7DNMEUB@vms046.mailsrvcs.net> <001901c7780e$37b088e0$982b124c@50nm721> <002301c77854$96d843d0$657aa8c0@m6805> <001401c77859$847374d0$982b124c@50nm721> Message-ID: As I recall his database is HUGE though and he was still looking for a method to back it up. Good luck getting it back online John. So much for that RAID disk technology saving you eh? ;-) Got bit by something else than a drive failure I take it? GK On 4/6/07, William Hindman wrote: > ...amazing how often us old horses don't do as we say ...can't count the > number of times I've been caught without a backup when I really needed one > ...and then resolve to never do that again ...until the next time :) > William Hindman > ----- Original Message ----- > From: "JWColby" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, April 06, 2007 10:05 AM > Subject: Re: [AccessD] Recover SQL Server > > > > Believe me, I have been sweating plenty already. 8>(~) > > > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > > Sent: Friday, April 06, 2007 1:41 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Recover SQL Server > > > > ...geez Eric. you could have allowed JC to at least sweat a bit longer :) > > > > William Hindman > > > > ----- Original Message ----- > > From: "Eric Barro" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Friday, April 06, 2007 12:34 AM > > Subject: Re: [AccessD] Recover SQL Server > > > > > >> Just attach the databases using Query Analyzer or Enterprise Manager. > >> > >> EXEC sp_attach_db @dbname = 'pubs', > >> @filename1 = 'C:\Program Files\Microsoft SQL > >> Server\MSSQL\Data\pubs.mdf', > >> @filename2 = 'C:\Program Files\Microsoft SQL > >> Server\MSSQL\Data\pubs_log.ldf' > >> > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > >> Sent: Thursday, April 05, 2007 9:14 PM > >> To: 'Access Developers discussion and problem solving'; > >> dba-sqlserver at databaseadvisors.com > >> Subject: [AccessD] Recover SQL Server > >> > >> Is it possible to recover a set of SQL Server databases that were mounted > >> (active) when my computer died? I have the database files themselves out > >> on > >> a data drive, and I have the SQL Server directory and all of its sub > >> directories out on the same drive, but the system that ran that sql > >> server > >> is unrecoverable. And of course I do not have a recent backup. > >> > >> John W. Colby > >> Colby Consulting > >> www.ColbyConsulting.com > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > >> -- > >> No virus found in this incoming message. > >> Checked by AVG Free Edition. > >> Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: 4/4/2007 > >> 1:09 PM > >> > >> > >> -- > >> 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 > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From rockysmolin at bchacc.com Fri Apr 6 10:24:49 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 6 Apr 2007 08:24:49 -0700 Subject: [AccessD] WANs and Access In-Reply-To: <0JG100AJ4EIZJ0Y0@l-daemon> Message-ID: <004d01c7785f$b79a7dd0$0201a8c0@HAL9005> I'll forward your name to the client. He's in Canada. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, April 05, 2007 11:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] WANs and Access Hi Rocky: If you need any help with setting up applications running at different locations I could offer some help in that area as I have definitely done enough of that type of work. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, April 05, 2007 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WANs and Access Had a prospect ask me how robust my application would be running over a WAN. Broadband connection but 'slow' according to his description. Plus folks dialing in from remote locations but at least 50MBPS. Anyone have any experience with this or know of any limitations with Access in this regard? MTIA, Rocky -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: 4/4/2007 1:09 PM From cfoust at infostatsystems.com Fri Apr 6 11:04:44 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 6 Apr 2007 09:04:44 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: <0JG200558NU51JV0@l-daemon> References: <0JG200558NU51JV0@l-daemon> Message-ID: Our executable installs on the client at this point in its existence, and our clients are *frequently* thick! We haven't split the business logic off to the server because there isn't always a server. When I mentioned Access, I was talking about the data store, not the front end. Our XML files have nothing to do with Access. FE is VS.Net but the app is designed to work locally (say, on a rig) or with the data store in SQL Server on a server (usually an office installation). The application has to be flexible enough to run either way and to be capable of switching between the two, if need be (they tend to move their licenses around!). Rather than creating different versions of the app for the varying environments, we simply built one that would work across the board. That may change someday, but we're still in the process of migrating our apps and our clients into the new century. LOL A dataset is a disconnected datastore, so it doesn't care where the BE is or what engine it runs in. A _recordset_ is like a query, a flat list of rows, but a dataset represents the separate sets of rows from one or more tables. A TYPED Dataset (as opposed to untyped) is a kind of class and models the details of the data structure in code. You can create them from scratch or using the built in tools to "generate" one. They then become objects in the project that our entity classes wrap, exposing only the programming methods and events we want to make available. Drop an entity on a form, and you have automatically connected the form to the datastore the entity represents, so you can program to its columns, methods, and properties as if it were a recordsource in an Access form. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, April 06, 2007 3:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: I will comment inline -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL No white papers. We started rolling our own and called in a consulting firm to review the fledgling solution and point out deficiencies. They did admit when they came back for a later review that they'd never seen a Win-based .Net app this large and complex, but we aren't ready (maybe I should say our clients aren't ready) to convert totally to web-based yet. Comment: Sounds very impressive. We're using either SQL 2005 or Access 2000 format BE because some of our clients are on drilling rigs in the middle of the ocean and don't have SQL Server handy. The embedded SQL for the provider adapters is stored in XML files and we read it in using a streamreader and pass it back to the calling data provider routine. The only business logic on the server is in cascading updates and deletes, etc., nothing else except relationships at this point because we still have to handle both SQL Server and Access back ends. The business logic is in its own assembly that's part of the overall solution. Not sure what you mean by a desktop design. Comment: 'Desktop design' is my description of an application that has it core functionality supported at the client end; or win-based or thick client (this could also be describing the actual client?) ...As opposed to thin client application where most of my work seems to be migrating. We create and supply software to the drilling industry--oil, gas, geothermal--so a well is a hole in the ground plus everything associated with that. A wellbore, is the hole itself, which may be the original hole in the ground or a sidetrack drilled as an offshoot of another wellbore. Comment: A very good explanation of your business. I would be interested in how the data tier actually works or maybe just an overview ...without divulging any trade secrets of course... like how the data tier layer abstracts the actual data structures. Is your office using the XML option in .Net datasets, through classes to connect via an OLE (third party?) to the actual tables being either MDB or MS SQL? (Handling XML in MS SQL 2005 is built-in but I was unaware that Access had the same capabilities.) I am not interested in specifics just the concepts... Maybe a bird's-eye view? Charlotte Foust MTIA Jim From ebarro at verizon.net Fri Apr 6 11:24:40 2007 From: ebarro at verizon.net (Eric Barro) Date: Fri, 06 Apr 2007 09:24:40 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: Message-ID: <0JG3003QE49CR2A2@vms040.mailsrvcs.net> The concept of a dataset in .NET is that of a database container. The dataset contains datatables. In essence you can copy the whole database structure into memory so that you can minimize roundtrips to the server. Once you have the tables or recordsets in memory your app can process data, apply business rules, etc... And then you can connect back to the database and update the database tables using your updated recordsets or datatables. In web-based apps I've seen code that creates an instance of the dataset using session variables (a pointer to the actual dataset). Anytime the application needs the dataset it just needs to use the session variable that represents the dataset and perform any operations. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 06, 2007 9:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Our executable installs on the client at this point in its existence, and our clients are *frequently* thick! We haven't split the business logic off to the server because there isn't always a server. When I mentioned Access, I was talking about the data store, not the front end. Our XML files have nothing to do with Access. FE is VS.Net but the app is designed to work locally (say, on a rig) or with the data store in SQL Server on a server (usually an office installation). The application has to be flexible enough to run either way and to be capable of switching between the two, if need be (they tend to move their licenses around!). Rather than creating different versions of the app for the varying environments, we simply built one that would work across the board. That may change someday, but we're still in the process of migrating our apps and our clients into the new century. LOL A dataset is a disconnected datastore, so it doesn't care where the BE is or what engine it runs in. A _recordset_ is like a query, a flat list of rows, but a dataset represents the separate sets of rows from one or more tables. A TYPED Dataset (as opposed to untyped) is a kind of class and models the details of the data structure in code. You can create them from scratch or using the built in tools to "generate" one. They then become objects in the project that our entity classes wrap, exposing only the programming methods and events we want to make available. Drop an entity on a form, and you have automatically connected the form to the datastore the entity represents, so you can program to its columns, methods, and properties as if it were a recordsource in an Access form. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, April 06, 2007 3:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: I will comment inline -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL No white papers. We started rolling our own and called in a consulting firm to review the fledgling solution and point out deficiencies. They did admit when they came back for a later review that they'd never seen a Win-based .Net app this large and complex, but we aren't ready (maybe I should say our clients aren't ready) to convert totally to web-based yet. Comment: Sounds very impressive. We're using either SQL 2005 or Access 2000 format BE because some of our clients are on drilling rigs in the middle of the ocean and don't have SQL Server handy. The embedded SQL for the provider adapters is stored in XML files and we read it in using a streamreader and pass it back to the calling data provider routine. The only business logic on the server is in cascading updates and deletes, etc., nothing else except relationships at this point because we still have to handle both SQL Server and Access back ends. The business logic is in its own assembly that's part of the overall solution. Not sure what you mean by a desktop design. Comment: 'Desktop design' is my description of an application that has it core functionality supported at the client end; or win-based or thick client (this could also be describing the actual client?) ...As opposed to thin client application where most of my work seems to be migrating. We create and supply software to the drilling industry--oil, gas, geothermal--so a well is a hole in the ground plus everything associated with that. A wellbore, is the hole itself, which may be the original hole in the ground or a sidetrack drilled as an offshoot of another wellbore. Comment: A very good explanation of your business. I would be interested in how the data tier actually works or maybe just an overview ...without divulging any trade secrets of course... like how the data tier layer abstracts the actual data structures. Is your office using the XML option in .Net datasets, through classes to connect via an OLE (third party?) to the actual tables being either MDB or MS SQL? (Handling XML in MS SQL 2005 is built-in but I was unaware that Access had the same capabilities.) I am not interested in specifics just the concepts... Maybe a bird's-eye view? Charlotte Foust MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.26/748 - Release Date: 4/5/2007 3:33 PM From jimdettman at verizon.net Fri Apr 6 12:00:43 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 06 Apr 2007 13:00:43 -0400 Subject: [AccessD] New database design for MS SQL In-Reply-To: References: <0JG200558NU51JV0@l-daemon> Message-ID: <001201c7786d$21be8190$8abea8c0@XPS> Charlotte, This is a lot like what I work with in VFP and a framework called VMP. The Framework lets you create fully 3-tier apps breaking out the Business Rules and Data Services classes into a Business Object. The BO can be compiled separately into a COM object, so I can write a presentation tier in just about anything (Access, VFP, VB, etc). The Data Services like you describe below hides the BE data store and provides cascaded updates/deletes, constraints, etc. I'm about to undertake a major development project and am going back and forth between doing this in VFP/VMP as a full 3-tier app or sticking with the tried and true Access approach (it would be my first full 3-tier app with VFP/VMP). I've got to talk to the client a few more times to get a sense of what direction they'll be heading in the future, but I'm leaning towards VFP at the moment. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 06, 2007 12:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Our executable installs on the client at this point in its existence, and our clients are *frequently* thick! We haven't split the business logic off to the server because there isn't always a server. When I mentioned Access, I was talking about the data store, not the front end. Our XML files have nothing to do with Access. FE is VS.Net but the app is designed to work locally (say, on a rig) or with the data store in SQL Server on a server (usually an office installation). The application has to be flexible enough to run either way and to be capable of switching between the two, if need be (they tend to move their licenses around!). Rather than creating different versions of the app for the varying environments, we simply built one that would work across the board. That may change someday, but we're still in the process of migrating our apps and our clients into the new century. LOL A dataset is a disconnected datastore, so it doesn't care where the BE is or what engine it runs in. A _recordset_ is like a query, a flat list of rows, but a dataset represents the separate sets of rows from one or more tables. A TYPED Dataset (as opposed to untyped) is a kind of class and models the details of the data structure in code. You can create them from scratch or using the built in tools to "generate" one. They then become objects in the project that our entity classes wrap, exposing only the programming methods and events we want to make available. Drop an entity on a form, and you have automatically connected the form to the datastore the entity represents, so you can program to its columns, methods, and properties as if it were a recordsource in an Access form. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, April 06, 2007 3:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: I will comment inline -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL No white papers. We started rolling our own and called in a consulting firm to review the fledgling solution and point out deficiencies. They did admit when they came back for a later review that they'd never seen a Win-based .Net app this large and complex, but we aren't ready (maybe I should say our clients aren't ready) to convert totally to web-based yet. Comment: Sounds very impressive. We're using either SQL 2005 or Access 2000 format BE because some of our clients are on drilling rigs in the middle of the ocean and don't have SQL Server handy. The embedded SQL for the provider adapters is stored in XML files and we read it in using a streamreader and pass it back to the calling data provider routine. The only business logic on the server is in cascading updates and deletes, etc., nothing else except relationships at this point because we still have to handle both SQL Server and Access back ends. The business logic is in its own assembly that's part of the overall solution. Not sure what you mean by a desktop design. Comment: 'Desktop design' is my description of an application that has it core functionality supported at the client end; or win-based or thick client (this could also be describing the actual client?) ...As opposed to thin client application where most of my work seems to be migrating. We create and supply software to the drilling industry--oil, gas, geothermal--so a well is a hole in the ground plus everything associated with that. A wellbore, is the hole itself, which may be the original hole in the ground or a sidetrack drilled as an offshoot of another wellbore. Comment: A very good explanation of your business. I would be interested in how the data tier actually works or maybe just an overview ...without divulging any trade secrets of course... like how the data tier layer abstracts the actual data structures. Is your office using the XML option in .Net datasets, through classes to connect via an OLE (third party?) to the actual tables being either MDB or MS SQL? (Handling XML in MS SQL 2005 is built-in but I was unaware that Access had the same capabilities.) I am not interested in specifics just the concepts... Maybe a bird's-eye view? Charlotte Foust MTIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Apr 6 12:10:54 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 6 Apr 2007 10:10:54 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: <001201c7786d$21be8190$8abea8c0@XPS> References: <0JG200558NU51JV0@l-daemon> <001201c7786d$21be8190$8abea8c0@XPS> Message-ID: I don't know VFP, but I'd say go with the full 3-tier approach. It offers so much more flexibility than our beloved Access can right now. Since Access itself is moving toward being a front end, the next versions may see it gain a lot of those capabilities, but for now they aren't there. The .Net framework hasn't yet found its way into Access. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, April 06, 2007 10:01 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Charlotte, This is a lot like what I work with in VFP and a framework called VMP. The Framework lets you create fully 3-tier apps breaking out the Business Rules and Data Services classes into a Business Object. The BO can be compiled separately into a COM object, so I can write a presentation tier in just about anything (Access, VFP, VB, etc). The Data Services like you describe below hides the BE data store and provides cascaded updates/deletes, constraints, etc. I'm about to undertake a major development project and am going back and forth between doing this in VFP/VMP as a full 3-tier app or sticking with the tried and true Access approach (it would be my first full 3-tier app with VFP/VMP). I've got to talk to the client a few more times to get a sense of what direction they'll be heading in the future, but I'm leaning towards VFP at the moment. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 06, 2007 12:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Our executable installs on the client at this point in its existence, and our clients are *frequently* thick! We haven't split the business logic off to the server because there isn't always a server. When I mentioned Access, I was talking about the data store, not the front end. Our XML files have nothing to do with Access. FE is VS.Net but the app is designed to work locally (say, on a rig) or with the data store in SQL Server on a server (usually an office installation). The application has to be flexible enough to run either way and to be capable of switching between the two, if need be (they tend to move their licenses around!). Rather than creating different versions of the app for the varying environments, we simply built one that would work across the board. That may change someday, but we're still in the process of migrating our apps and our clients into the new century. LOL A dataset is a disconnected datastore, so it doesn't care where the BE is or what engine it runs in. A _recordset_ is like a query, a flat list of rows, but a dataset represents the separate sets of rows from one or more tables. A TYPED Dataset (as opposed to untyped) is a kind of class and models the details of the data structure in code. You can create them from scratch or using the built in tools to "generate" one. They then become objects in the project that our entity classes wrap, exposing only the programming methods and events we want to make available. Drop an entity on a form, and you have automatically connected the form to the datastore the entity represents, so you can program to its columns, methods, and properties as if it were a recordsource in an Access form. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, April 06, 2007 3:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: I will comment inline -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL No white papers. We started rolling our own and called in a consulting firm to review the fledgling solution and point out deficiencies. They did admit when they came back for a later review that they'd never seen a Win-based .Net app this large and complex, but we aren't ready (maybe I should say our clients aren't ready) to convert totally to web-based yet. Comment: Sounds very impressive. We're using either SQL 2005 or Access 2000 format BE because some of our clients are on drilling rigs in the middle of the ocean and don't have SQL Server handy. The embedded SQL for the provider adapters is stored in XML files and we read it in using a streamreader and pass it back to the calling data provider routine. The only business logic on the server is in cascading updates and deletes, etc., nothing else except relationships at this point because we still have to handle both SQL Server and Access back ends. The business logic is in its own assembly that's part of the overall solution. Not sure what you mean by a desktop design. Comment: 'Desktop design' is my description of an application that has it core functionality supported at the client end; or win-based or thick client (this could also be describing the actual client?) ...As opposed to thin client application where most of my work seems to be migrating. We create and supply software to the drilling industry--oil, gas, geothermal--so a well is a hole in the ground plus everything associated with that. A wellbore, is the hole itself, which may be the original hole in the ground or a sidetrack drilled as an offshoot of another wellbore. Comment: A very good explanation of your business. I would be interested in how the data tier actually works or maybe just an overview ...without divulging any trade secrets of course... like how the data tier layer abstracts the actual data structures. Is your office using the XML option in .Net datasets, through classes to connect via an OLE (third party?) to the actual tables being either MDB or MS SQL? (Handling XML in MS SQL 2005 is built-in but I was unaware that Access had the same capabilities.) I am not interested in specifics just the concepts... Maybe a bird's-eye view? Charlotte Foust MTIA Jim -- 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 mwp.reid at qub.ac.uk Fri Apr 6 13:12:51 2007 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 6 Apr 2007 19:12:51 +0100 Subject: [AccessD] New database design for MS SQL References: <0JG200558NU51JV0@l-daemon><001201c7786d$21be8190$8abea8c0@XPS> Message-ID: www.asp.net Covers a lot of this with some good video tutorials I used this as a reference site in my book Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Charlotte Foust Sent: Fri 06/04/2007 18:10 To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL I don't know VFP, but I'd say go with the full 3-tier approach. It offers so much more flexibility than our beloved Access can right now. Since Access itself is moving toward being a front end, the next versions may see it gain a lot of those capabilities, but for now they aren't there. The .Net framework hasn't yet found its way into Access. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, April 06, 2007 10:01 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Charlotte, This is a lot like what I work with in VFP and a framework called VMP. The Framework lets you create fully 3-tier apps breaking out the Business Rules and Data Services classes into a Business Object. The BO can be compiled separately into a COM object, so I can write a presentation tier in just about anything (Access, VFP, VB, etc). The Data Services like you describe below hides the BE data store and provides cascaded updates/deletes, constraints, etc. I'm about to undertake a major development project and am going back and forth between doing this in VFP/VMP as a full 3-tier app or sticking with the tried and true Access approach (it would be my first full 3-tier app with VFP/VMP). I've got to talk to the client a few more times to get a sense of what direction they'll be heading in the future, but I'm leaning towards VFP at the moment. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 06, 2007 12:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Our executable installs on the client at this point in its existence, and our clients are *frequently* thick! We haven't split the business logic off to the server because there isn't always a server. When I mentioned Access, I was talking about the data store, not the front end. Our XML files have nothing to do with Access. FE is VS.Net but the app is designed to work locally (say, on a rig) or with the data store in SQL Server on a server (usually an office installation). The application has to be flexible enough to run either way and to be capable of switching between the two, if need be (they tend to move their licenses around!). Rather than creating different versions of the app for the varying environments, we simply built one that would work across the board. That may change someday, but we're still in the process of migrating our apps and our clients into the new century. LOL A dataset is a disconnected datastore, so it doesn't care where the BE is or what engine it runs in. A _recordset_ is like a query, a flat list of rows, but a dataset represents the separate sets of rows from one or more tables. A TYPED Dataset (as opposed to untyped) is a kind of class and models the details of the data structure in code. You can create them from scratch or using the built in tools to "generate" one. They then become objects in the project that our entity classes wrap, exposing only the programming methods and events we want to make available. Drop an entity on a form, and you have automatically connected the form to the datastore the entity represents, so you can program to its columns, methods, and properties as if it were a recordsource in an Access form. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, April 06, 2007 3:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: I will comment inline -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL No white papers. We started rolling our own and called in a consulting firm to review the fledgling solution and point out deficiencies. They did admit when they came back for a later review that they'd never seen a Win-based .Net app this large and complex, but we aren't ready (maybe I should say our clients aren't ready) to convert totally to web-based yet. Comment: Sounds very impressive. We're using either SQL 2005 or Access 2000 format BE because some of our clients are on drilling rigs in the middle of the ocean and don't have SQL Server handy. The embedded SQL for the provider adapters is stored in XML files and we read it in using a streamreader and pass it back to the calling data provider routine. The only business logic on the server is in cascading updates and deletes, etc., nothing else except relationships at this point because we still have to handle both SQL Server and Access back ends. The business logic is in its own assembly that's part of the overall solution. Not sure what you mean by a desktop design. Comment: 'Desktop design' is my description of an application that has it core functionality supported at the client end; or win-based or thick client (this could also be describing the actual client?) ...As opposed to thin client application where most of my work seems to be migrating. We create and supply software to the drilling industry--oil, gas, geothermal--so a well is a hole in the ground plus everything associated with that. A wellbore, is the hole itself, which may be the original hole in the ground or a sidetrack drilled as an offshoot of another wellbore. Comment: A very good explanation of your business. I would be interested in how the data tier actually works or maybe just an overview ...without divulging any trade secrets of course... like how the data tier layer abstracts the actual data structures. Is your office using the XML option in .Net datasets, through classes to connect via an OLE (third party?) to the actual tables being either MDB or MS SQL? (Handling XML in MS SQL 2005 is built-in but I was unaware that Access had the same capabilities.) I am not interested in specifics just the concepts... Maybe a bird's-eye view? Charlotte Foust MTIA Jim -- 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 From dwaters at usinternet.com Fri Apr 6 13:52:24 2007 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 6 Apr 2007 13:52:24 -0500 Subject: [AccessD] New database design for MS SQL In-Reply-To: <001201c7786d$21be8190$8abea8c0@XPS> References: <0JG200558NU51JV0@l-daemon> <001201c7786d$21be8190$8abea8c0@XPS> Message-ID: <002601c7787c$b7fbaa70$0200a8c0@danwaters> Jim, This is an article about Microsoft slowly letting go of VFP. It may become open-source to some extent. http://adtmag.com/article.aspx?id=20382 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, April 06, 2007 12:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Charlotte, This is a lot like what I work with in VFP and a framework called VMP. The Framework lets you create fully 3-tier apps breaking out the Business Rules and Data Services classes into a Business Object. The BO can be compiled separately into a COM object, so I can write a presentation tier in just about anything (Access, VFP, VB, etc). The Data Services like you describe below hides the BE data store and provides cascaded updates/deletes, constraints, etc. I'm about to undertake a major development project and am going back and forth between doing this in VFP/VMP as a full 3-tier app or sticking with the tried and true Access approach (it would be my first full 3-tier app with VFP/VMP). I've got to talk to the client a few more times to get a sense of what direction they'll be heading in the future, but I'm leaning towards VFP at the moment. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 06, 2007 12:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Our executable installs on the client at this point in its existence, and our clients are *frequently* thick! We haven't split the business logic off to the server because there isn't always a server. When I mentioned Access, I was talking about the data store, not the front end. Our XML files have nothing to do with Access. FE is VS.Net but the app is designed to work locally (say, on a rig) or with the data store in SQL Server on a server (usually an office installation). The application has to be flexible enough to run either way and to be capable of switching between the two, if need be (they tend to move their licenses around!). Rather than creating different versions of the app for the varying environments, we simply built one that would work across the board. That may change someday, but we're still in the process of migrating our apps and our clients into the new century. LOL A dataset is a disconnected datastore, so it doesn't care where the BE is or what engine it runs in. A _recordset_ is like a query, a flat list of rows, but a dataset represents the separate sets of rows from one or more tables. A TYPED Dataset (as opposed to untyped) is a kind of class and models the details of the data structure in code. You can create them from scratch or using the built in tools to "generate" one. They then become objects in the project that our entity classes wrap, exposing only the programming methods and events we want to make available. Drop an entity on a form, and you have automatically connected the form to the datastore the entity represents, so you can program to its columns, methods, and properties as if it were a recordsource in an Access form. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, April 06, 2007 3:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: I will comment inline -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL No white papers. We started rolling our own and called in a consulting firm to review the fledgling solution and point out deficiencies. They did admit when they came back for a later review that they'd never seen a Win-based .Net app this large and complex, but we aren't ready (maybe I should say our clients aren't ready) to convert totally to web-based yet. Comment: Sounds very impressive. We're using either SQL 2005 or Access 2000 format BE because some of our clients are on drilling rigs in the middle of the ocean and don't have SQL Server handy. The embedded SQL for the provider adapters is stored in XML files and we read it in using a streamreader and pass it back to the calling data provider routine. The only business logic on the server is in cascading updates and deletes, etc., nothing else except relationships at this point because we still have to handle both SQL Server and Access back ends. The business logic is in its own assembly that's part of the overall solution. Not sure what you mean by a desktop design. Comment: 'Desktop design' is my description of an application that has it core functionality supported at the client end; or win-based or thick client (this could also be describing the actual client?) ...As opposed to thin client application where most of my work seems to be migrating. We create and supply software to the drilling industry--oil, gas, geothermal--so a well is a hole in the ground plus everything associated with that. A wellbore, is the hole itself, which may be the original hole in the ground or a sidetrack drilled as an offshoot of another wellbore. Comment: A very good explanation of your business. I would be interested in how the data tier actually works or maybe just an overview ...without divulging any trade secrets of course... like how the data tier layer abstracts the actual data structures. Is your office using the XML option in .Net datasets, through classes to connect via an OLE (third party?) to the actual tables being either MDB or MS SQL? (Handling XML in MS SQL 2005 is built-in but I was unaware that Access had the same capabilities.) I am not interested in specifics just the concepts... Maybe a bird's-eye view? Charlotte Foust MTIA Jim -- 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 jimdettman at verizon.net Fri Apr 6 14:51:21 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 06 Apr 2007 15:51:21 -0400 Subject: [AccessD] New database design for MS SQL In-Reply-To: <002601c7787c$b7fbaa70$0200a8c0@danwaters> References: <0JG200558NU51JV0@l-daemon> <001201c7786d$21be8190$8abea8c0@XPS> <002601c7787c$b7fbaa70$0200a8c0@danwaters> Message-ID: <006a01c77884$f3f849e0$8abea8c0@XPS> Dan, Yes, Microsoft has announced that there will be no new versions of VFP. Standard support dies in 2010 and Extended support in 2015. The language however is mature and stable enough that I have no qualms about writing a new app with it. I use another language to this day called NPL, which started out as Wang Basic. I'm still supporting some of my clients on code that I wrote back in the 80's. The language has been "dead" for ten years or more, but the code still does what they want it to and is still running. So the timeframe for support and the fact that VFP is now officially dead doesn't bother me. Look how many of us still use DAO. I'm giving it serious consideration because it brings a lot to the table that I simply can't do with Access. But so far, I've also found that it takes longer to develop an app as well (probably me; hard to teach an old dog new tricks). BTW, The open source initiative is not for VFP itself (which many articles have claimed), but for the Senda add-on, which Microsoft will be releasing shortly. It allows VFP to integrate with .Net and SQL Server 2005 to a greater extent. But it already has all the features I need to develop a solid app and I'm not counting on any of it. About the only thing that might be nice is the OO menuing add-on. It's the only part of VFP that's not OO. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, April 06, 2007 2:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Jim, This is an article about Microsoft slowly letting go of VFP. It may become open-source to some extent. http://adtmag.com/article.aspx?id=20382 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, April 06, 2007 12:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Charlotte, This is a lot like what I work with in VFP and a framework called VMP. The Framework lets you create fully 3-tier apps breaking out the Business Rules and Data Services classes into a Business Object. The BO can be compiled separately into a COM object, so I can write a presentation tier in just about anything (Access, VFP, VB, etc). The Data Services like you describe below hides the BE data store and provides cascaded updates/deletes, constraints, etc. I'm about to undertake a major development project and am going back and forth between doing this in VFP/VMP as a full 3-tier app or sticking with the tried and true Access approach (it would be my first full 3-tier app with VFP/VMP). I've got to talk to the client a few more times to get a sense of what direction they'll be heading in the future, but I'm leaning towards VFP at the moment. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 06, 2007 12:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Our executable installs on the client at this point in its existence, and our clients are *frequently* thick! We haven't split the business logic off to the server because there isn't always a server. When I mentioned Access, I was talking about the data store, not the front end. Our XML files have nothing to do with Access. FE is VS.Net but the app is designed to work locally (say, on a rig) or with the data store in SQL Server on a server (usually an office installation). The application has to be flexible enough to run either way and to be capable of switching between the two, if need be (they tend to move their licenses around!). Rather than creating different versions of the app for the varying environments, we simply built one that would work across the board. That may change someday, but we're still in the process of migrating our apps and our clients into the new century. LOL A dataset is a disconnected datastore, so it doesn't care where the BE is or what engine it runs in. A _recordset_ is like a query, a flat list of rows, but a dataset represents the separate sets of rows from one or more tables. A TYPED Dataset (as opposed to untyped) is a kind of class and models the details of the data structure in code. You can create them from scratch or using the built in tools to "generate" one. They then become objects in the project that our entity classes wrap, exposing only the programming methods and events we want to make available. Drop an entity on a form, and you have automatically connected the form to the datastore the entity represents, so you can program to its columns, methods, and properties as if it were a recordsource in an Access form. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, April 06, 2007 3:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: I will comment inline -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL No white papers. We started rolling our own and called in a consulting firm to review the fledgling solution and point out deficiencies. They did admit when they came back for a later review that they'd never seen a Win-based .Net app this large and complex, but we aren't ready (maybe I should say our clients aren't ready) to convert totally to web-based yet. Comment: Sounds very impressive. We're using either SQL 2005 or Access 2000 format BE because some of our clients are on drilling rigs in the middle of the ocean and don't have SQL Server handy. The embedded SQL for the provider adapters is stored in XML files and we read it in using a streamreader and pass it back to the calling data provider routine. The only business logic on the server is in cascading updates and deletes, etc., nothing else except relationships at this point because we still have to handle both SQL Server and Access back ends. The business logic is in its own assembly that's part of the overall solution. Not sure what you mean by a desktop design. Comment: 'Desktop design' is my description of an application that has it core functionality supported at the client end; or win-based or thick client (this could also be describing the actual client?) ...As opposed to thin client application where most of my work seems to be migrating. We create and supply software to the drilling industry--oil, gas, geothermal--so a well is a hole in the ground plus everything associated with that. A wellbore, is the hole itself, which may be the original hole in the ground or a sidetrack drilled as an offshoot of another wellbore. Comment: A very good explanation of your business. I would be interested in how the data tier actually works or maybe just an overview ...without divulging any trade secrets of course... like how the data tier layer abstracts the actual data structures. Is your office using the XML option in .Net datasets, through classes to connect via an OLE (third party?) to the actual tables being either MDB or MS SQL? (Handling XML in MS SQL 2005 is built-in but I was unaware that Access had the same capabilities.) I am not interested in specifics just the concepts... Maybe a bird's-eye view? Charlotte Foust MTIA Jim -- 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 From jimdettman at verizon.net Fri Apr 6 14:51:21 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 06 Apr 2007 15:51:21 -0400 Subject: [AccessD] New database design for MS SQL In-Reply-To: References: <0JG200558NU51JV0@l-daemon> <001201c7786d$21be8190$8abea8c0@XPS> Message-ID: <006b01c77884$f4df7590$8abea8c0@XPS> Charlotte, << It offers so much more flexibility than our beloved Access can right now.>> That's what I've been thinking. I am worried that they are going to want a web interface for their nurses that are remote and possibly at some point give Doctors and Attorneys access to the system. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 06, 2007 1:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL I don't know VFP, but I'd say go with the full 3-tier approach. It offers so much more flexibility than our beloved Access can right now. Since Access itself is moving toward being a front end, the next versions may see it gain a lot of those capabilities, but for now they aren't there. The .Net framework hasn't yet found its way into Access. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, April 06, 2007 10:01 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Charlotte, This is a lot like what I work with in VFP and a framework called VMP. The Framework lets you create fully 3-tier apps breaking out the Business Rules and Data Services classes into a Business Object. The BO can be compiled separately into a COM object, so I can write a presentation tier in just about anything (Access, VFP, VB, etc). The Data Services like you describe below hides the BE data store and provides cascaded updates/deletes, constraints, etc. I'm about to undertake a major development project and am going back and forth between doing this in VFP/VMP as a full 3-tier app or sticking with the tried and true Access approach (it would be my first full 3-tier app with VFP/VMP). I've got to talk to the client a few more times to get a sense of what direction they'll be heading in the future, but I'm leaning towards VFP at the moment. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 06, 2007 12:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Our executable installs on the client at this point in its existence, and our clients are *frequently* thick! We haven't split the business logic off to the server because there isn't always a server. When I mentioned Access, I was talking about the data store, not the front end. Our XML files have nothing to do with Access. FE is VS.Net but the app is designed to work locally (say, on a rig) or with the data store in SQL Server on a server (usually an office installation). The application has to be flexible enough to run either way and to be capable of switching between the two, if need be (they tend to move their licenses around!). Rather than creating different versions of the app for the varying environments, we simply built one that would work across the board. That may change someday, but we're still in the process of migrating our apps and our clients into the new century. LOL A dataset is a disconnected datastore, so it doesn't care where the BE is or what engine it runs in. A _recordset_ is like a query, a flat list of rows, but a dataset represents the separate sets of rows from one or more tables. A TYPED Dataset (as opposed to untyped) is a kind of class and models the details of the data structure in code. You can create them from scratch or using the built in tools to "generate" one. They then become objects in the project that our entity classes wrap, exposing only the programming methods and events we want to make available. Drop an entity on a form, and you have automatically connected the form to the datastore the entity represents, so you can program to its columns, methods, and properties as if it were a recordsource in an Access form. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, April 06, 2007 3:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: I will comment inline -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL No white papers. We started rolling our own and called in a consulting firm to review the fledgling solution and point out deficiencies. They did admit when they came back for a later review that they'd never seen a Win-based .Net app this large and complex, but we aren't ready (maybe I should say our clients aren't ready) to convert totally to web-based yet. Comment: Sounds very impressive. We're using either SQL 2005 or Access 2000 format BE because some of our clients are on drilling rigs in the middle of the ocean and don't have SQL Server handy. The embedded SQL for the provider adapters is stored in XML files and we read it in using a streamreader and pass it back to the calling data provider routine. The only business logic on the server is in cascading updates and deletes, etc., nothing else except relationships at this point because we still have to handle both SQL Server and Access back ends. The business logic is in its own assembly that's part of the overall solution. Not sure what you mean by a desktop design. Comment: 'Desktop design' is my description of an application that has it core functionality supported at the client end; or win-based or thick client (this could also be describing the actual client?) ...As opposed to thin client application where most of my work seems to be migrating. We create and supply software to the drilling industry--oil, gas, geothermal--so a well is a hole in the ground plus everything associated with that. A wellbore, is the hole itself, which may be the original hole in the ground or a sidetrack drilled as an offshoot of another wellbore. Comment: A very good explanation of your business. I would be interested in how the data tier actually works or maybe just an overview ...without divulging any trade secrets of course... like how the data tier layer abstracts the actual data structures. Is your office using the XML option in .Net datasets, through classes to connect via an OLE (third party?) to the actual tables being either MDB or MS SQL? (Handling XML in MS SQL 2005 is built-in but I was unaware that Access had the same capabilities.) I am not interested in specifics just the concepts... Maybe a bird's-eye view? Charlotte Foust MTIA Jim -- 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 From jimdettman at verizon.net Fri Apr 6 14:55:21 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 06 Apr 2007 15:55:21 -0400 Subject: [AccessD] New database design for MS SQL In-Reply-To: References: <0JG200558NU51JV0@l-daemon><001201c7786d$21be8190$8abea8c0@XPS> Message-ID: <000601c77885$86005260$8abea8c0@XPS> Thanks for the link as this is a direction I want to start heading in... Here's a link I just picked up the other day on ASP development. Seems to be pretty good from what I've read so far. Starts of really sl o w....which is good for me Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, April 06, 2007 2:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL www.asp.net Covers a lot of this with some good video tutorials I used this as a reference site in my book Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Charlotte Foust Sent: Fri 06/04/2007 18:10 To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL I don't know VFP, but I'd say go with the full 3-tier approach. It offers so much more flexibility than our beloved Access can right now. Since Access itself is moving toward being a front end, the next versions may see it gain a lot of those capabilities, but for now they aren't there. The .Net framework hasn't yet found its way into Access. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, April 06, 2007 10:01 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Charlotte, This is a lot like what I work with in VFP and a framework called VMP. The Framework lets you create fully 3-tier apps breaking out the Business Rules and Data Services classes into a Business Object. The BO can be compiled separately into a COM object, so I can write a presentation tier in just about anything (Access, VFP, VB, etc). The Data Services like you describe below hides the BE data store and provides cascaded updates/deletes, constraints, etc. I'm about to undertake a major development project and am going back and forth between doing this in VFP/VMP as a full 3-tier app or sticking with the tried and true Access approach (it would be my first full 3-tier app with VFP/VMP). I've got to talk to the client a few more times to get a sense of what direction they'll be heading in the future, but I'm leaning towards VFP at the moment. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 06, 2007 12:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Our executable installs on the client at this point in its existence, and our clients are *frequently* thick! We haven't split the business logic off to the server because there isn't always a server. When I mentioned Access, I was talking about the data store, not the front end. Our XML files have nothing to do with Access. FE is VS.Net but the app is designed to work locally (say, on a rig) or with the data store in SQL Server on a server (usually an office installation). The application has to be flexible enough to run either way and to be capable of switching between the two, if need be (they tend to move their licenses around!). Rather than creating different versions of the app for the varying environments, we simply built one that would work across the board. That may change someday, but we're still in the process of migrating our apps and our clients into the new century. LOL A dataset is a disconnected datastore, so it doesn't care where the BE is or what engine it runs in. A _recordset_ is like a query, a flat list of rows, but a dataset represents the separate sets of rows from one or more tables. A TYPED Dataset (as opposed to untyped) is a kind of class and models the details of the data structure in code. You can create them from scratch or using the built in tools to "generate" one. They then become objects in the project that our entity classes wrap, exposing only the programming methods and events we want to make available. Drop an entity on a form, and you have automatically connected the form to the datastore the entity represents, so you can program to its columns, methods, and properties as if it were a recordsource in an Access form. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, April 06, 2007 3:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: I will comment inline -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL No white papers. We started rolling our own and called in a consulting firm to review the fledgling solution and point out deficiencies. They did admit when they came back for a later review that they'd never seen a Win-based .Net app this large and complex, but we aren't ready (maybe I should say our clients aren't ready) to convert totally to web-based yet. Comment: Sounds very impressive. We're using either SQL 2005 or Access 2000 format BE because some of our clients are on drilling rigs in the middle of the ocean and don't have SQL Server handy. The embedded SQL for the provider adapters is stored in XML files and we read it in using a streamreader and pass it back to the calling data provider routine. The only business logic on the server is in cascading updates and deletes, etc., nothing else except relationships at this point because we still have to handle both SQL Server and Access back ends. The business logic is in its own assembly that's part of the overall solution. Not sure what you mean by a desktop design. Comment: 'Desktop design' is my description of an application that has it core functionality supported at the client end; or win-based or thick client (this could also be describing the actual client?) ...As opposed to thin client application where most of my work seems to be migrating. We create and supply software to the drilling industry--oil, gas, geothermal--so a well is a hole in the ground plus everything associated with that. A wellbore, is the hole itself, which may be the original hole in the ground or a sidetrack drilled as an offshoot of another wellbore. Comment: A very good explanation of your business. I would be interested in how the data tier actually works or maybe just an overview ...without divulging any trade secrets of course... like how the data tier layer abstracts the actual data structures. Is your office using the XML option in .Net datasets, through classes to connect via an OLE (third party?) to the actual tables being either MDB or MS SQL? (Handling XML in MS SQL 2005 is built-in but I was unaware that Access had the same capabilities.) I am not interested in specifics just the concepts... Maybe a bird's-eye view? Charlotte Foust MTIA Jim -- 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 From jimdettman at verizon.net Fri Apr 6 15:08:30 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 06 Apr 2007 16:08:30 -0400 Subject: [AccessD] New database design for MS SQL In-Reply-To: References: <0JG200558NU51JV0@l-daemon><001201c7786d$21be8190$8abea8c0@XPS> Message-ID: <001001c77887$58eddc50$8abea8c0@XPS> Let's try that again... http://www.webwizguide.com/asp/tutorials/default.asp Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, April 06, 2007 2:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL www.asp.net Covers a lot of this with some good video tutorials I used this as a reference site in my book Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Charlotte Foust Sent: Fri 06/04/2007 18:10 To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL I don't know VFP, but I'd say go with the full 3-tier approach. It offers so much more flexibility than our beloved Access can right now. Since Access itself is moving toward being a front end, the next versions may see it gain a lot of those capabilities, but for now they aren't there. The .Net framework hasn't yet found its way into Access. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, April 06, 2007 10:01 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Charlotte, This is a lot like what I work with in VFP and a framework called VMP. The Framework lets you create fully 3-tier apps breaking out the Business Rules and Data Services classes into a Business Object. The BO can be compiled separately into a COM object, so I can write a presentation tier in just about anything (Access, VFP, VB, etc). The Data Services like you describe below hides the BE data store and provides cascaded updates/deletes, constraints, etc. I'm about to undertake a major development project and am going back and forth between doing this in VFP/VMP as a full 3-tier app or sticking with the tried and true Access approach (it would be my first full 3-tier app with VFP/VMP). I've got to talk to the client a few more times to get a sense of what direction they'll be heading in the future, but I'm leaning towards VFP at the moment. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 06, 2007 12:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Our executable installs on the client at this point in its existence, and our clients are *frequently* thick! We haven't split the business logic off to the server because there isn't always a server. When I mentioned Access, I was talking about the data store, not the front end. Our XML files have nothing to do with Access. FE is VS.Net but the app is designed to work locally (say, on a rig) or with the data store in SQL Server on a server (usually an office installation). The application has to be flexible enough to run either way and to be capable of switching between the two, if need be (they tend to move their licenses around!). Rather than creating different versions of the app for the varying environments, we simply built one that would work across the board. That may change someday, but we're still in the process of migrating our apps and our clients into the new century. LOL A dataset is a disconnected datastore, so it doesn't care where the BE is or what engine it runs in. A _recordset_ is like a query, a flat list of rows, but a dataset represents the separate sets of rows from one or more tables. A TYPED Dataset (as opposed to untyped) is a kind of class and models the details of the data structure in code. You can create them from scratch or using the built in tools to "generate" one. They then become objects in the project that our entity classes wrap, exposing only the programming methods and events we want to make available. Drop an entity on a form, and you have automatically connected the form to the datastore the entity represents, so you can program to its columns, methods, and properties as if it were a recordsource in an Access form. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, April 06, 2007 3:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] New database design for MS SQL Hi Charlotte: I will comment inline -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, April 05, 2007 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL No white papers. We started rolling our own and called in a consulting firm to review the fledgling solution and point out deficiencies. They did admit when they came back for a later review that they'd never seen a Win-based .Net app this large and complex, but we aren't ready (maybe I should say our clients aren't ready) to convert totally to web-based yet. Comment: Sounds very impressive. We're using either SQL 2005 or Access 2000 format BE because some of our clients are on drilling rigs in the middle of the ocean and don't have SQL Server handy. The embedded SQL for the provider adapters is stored in XML files and we read it in using a streamreader and pass it back to the calling data provider routine. The only business logic on the server is in cascading updates and deletes, etc., nothing else except relationships at this point because we still have to handle both SQL Server and Access back ends. The business logic is in its own assembly that's part of the overall solution. Not sure what you mean by a desktop design. Comment: 'Desktop design' is my description of an application that has it core functionality supported at the client end; or win-based or thick client (this could also be describing the actual client?) ...As opposed to thin client application where most of my work seems to be migrating. We create and supply software to the drilling industry--oil, gas, geothermal--so a well is a hole in the ground plus everything associated with that. A wellbore, is the hole itself, which may be the original hole in the ground or a sidetrack drilled as an offshoot of another wellbore. Comment: A very good explanation of your business. I would be interested in how the data tier actually works or maybe just an overview ...without divulging any trade secrets of course... like how the data tier layer abstracts the actual data structures. Is your office using the XML option in .Net datasets, through classes to connect via an OLE (third party?) to the actual tables being either MDB or MS SQL? (Handling XML in MS SQL 2005 is built-in but I was unaware that Access had the same capabilities.) I am not interested in specifics just the concepts... Maybe a bird's-eye view? Charlotte Foust MTIA Jim -- 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 From listmaster at databaseadvisors.com Fri Apr 6 19:17:16 2007 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Fri, 06 Apr 2007 20:17:16 -0400 Subject: [AccessD] Administrivia - Server Upgrade Complete Message-ID: <4616AACC.16681.54D3C94@listmaster.databaseadvisors.com> Well, the server upgrade has been completed. Hopefully you didn't notice too much of a disruption through out the day today. If you run across anything out of the ordinary, please e-mail me at listmaster at databaseadvisors.com or if that does not work, bryan at carbonnell.ca -- Bryan Carbonnell - listmaster at databaseadvisors.com From martyconnelly at shaw.ca Fri Apr 6 19:42:44 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 06 Apr 2007 17:42:44 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: <006b01c77884$f4df7590$8abea8c0@XPS> References: <0JG200558NU51JV0@l-daemon> <001201c7786d$21be8190$8abea8c0@XPS> <006b01c77884$f4df7590$8abea8c0@XPS> Message-ID: <4616E904.9040903@shaw.ca> In Canada with Web based Apps on health and legal sites, you will have to soon consider using two tier authentication for security to conform with. The Personal Information Protection and Electronic Documents Act, also known by the awkward acronym PIPEDA, which came into full effect on Jan. 2004. There have been several sites in Ontario that have been compromised when password only. Nurses were leaving userids etc on postit notes and patients were looking through STD reporting sites that were supposed to be doctor only access. So it is biometrics or dongles or USB keys (some with cyclical keys are into the $20 range). Forget fingerprint devices, Discovery channel showed a method to defeat this 6 months ago. By the way this will probably start to apply to HIPPA and European Data Privacy Acts. This isn't being enforced yet but will be soon. Jim Dettman wrote: >Charlotte, > ><< It offers so much more flexibility than our beloved Access can right >now.>> > > That's what I've been thinking. I am worried that they are going to want >a web interface for their nurses that are remote and possibly at some point >give Doctors and Attorneys access to the system. > >Jim. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >Sent: Friday, April 06, 2007 1:11 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] New database design for MS SQL > >I don't know VFP, but I'd say go with the full 3-tier approach. It >offers so much more flexibility than our beloved Access can right now. >Since Access itself is moving toward being a front end, the next >versions may see it gain a lot of those capabilities, but for now they >aren't there. The .Net framework hasn't yet found its way into Access. > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman >Sent: Friday, April 06, 2007 10:01 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] New database design for MS SQL > >Charlotte, > > This is a lot like what I work with in VFP and a framework called VMP. >The Framework lets you create fully 3-tier apps breaking out the >Business Rules and Data Services classes into a Business Object. The BO >can be compiled separately into a COM object, so I can write a >presentation tier in just about anything (Access, VFP, VB, etc). > > The Data Services like you describe below hides the BE data store and >provides cascaded updates/deletes, constraints, etc. > > I'm about to undertake a major development project and am going back >and forth between doing this in VFP/VMP as a full 3-tier app or sticking >with the tried and true Access approach (it would be my first full >3-tier app with VFP/VMP). > > I've got to talk to the client a few more times to get a sense of what >direction they'll be heading in the future, but I'm leaning towards VFP >at the moment. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: Friday, April 06, 2007 12:05 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] New database design for MS SQL > >Our executable installs on the client at this point in its existence, >and our clients are *frequently* thick! We haven't split the business >logic off to the server because there isn't always a server. When I >mentioned Access, I was talking about the data store, not the front end. >Our XML files have nothing to do with Access. FE is VS.Net but the app >is designed to work locally (say, on a rig) or with the data store in >SQL Server on a server (usually an office installation). The >application has to be flexible enough to run either way and to be >capable of switching between the two, if need be (they tend to move >their licenses around!). Rather than creating different versions of the >app for the varying environments, we simply built one that would work >across the board. That may change someday, but we're still in the >process of migrating our apps and our clients into the new century. LOL > >A dataset is a disconnected datastore, so it doesn't care where the BE >is or what engine it runs in. A _recordset_ is like a query, a flat >list of rows, but a dataset represents the separate sets of rows from >one or more tables. A TYPED Dataset (as opposed to untyped) is a kind >of class and models the details of the data structure in code. You can >create them from scratch or using the built in tools to "generate" one. >They then become objects in the project that our entity classes wrap, >exposing only the programming methods and events we want to make >available. Drop an entity on a form, and you have automatically >connected the form to the datastore the entity represents, so you can >program to its columns, methods, and properties as if it were a >recordsource in an Access form. > >Charlotte Foust > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence >Sent: Friday, April 06, 2007 3:34 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] New database design for MS SQL > >Hi Charlotte: > >I will comment inline > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: Thursday, April 05, 2007 2:46 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] New database design for MS SQL > >No white papers. We started rolling our own and called in a consulting >firm to review the fledgling solution and point out deficiencies. They >did admit when they came back for a later review that they'd never seen >a Win-based .Net app this large and complex, but we aren't ready (maybe >I should say our clients aren't ready) to convert totally to web-based >yet. > >Comment: Sounds very impressive. > >We're using either SQL 2005 or Access 2000 format BE because some of our >clients are on drilling rigs in the middle of the ocean and don't have >SQL Server handy. The embedded SQL for the provider adapters is stored >in XML files and we read it in using a streamreader and pass it back to >the calling data provider routine. The only business logic on the >server is in cascading updates and deletes, etc., nothing else except >relationships at this point because we still have to handle both SQL >Server and Access back ends. The business logic is in its own assembly >that's part of the overall solution. Not sure what you mean by a >desktop design. > >Comment: 'Desktop design' is my description of an application that has >it core functionality supported at the client end; or win-based or thick >client (this could also be describing the actual client?) ...As opposed >to thin client application where most of my work seems to be migrating. > >We create and supply software to the drilling industry--oil, gas, >geothermal--so a well is a hole in the ground plus everything associated >with that. A wellbore, is the hole itself, which may be the original >hole in the ground or a sidetrack drilled as an offshoot of another >wellbore. > >Comment: A very good explanation of your business. I would be interested >in how the data tier actually works or maybe just an overview ...without >divulging any trade secrets of course... like how the data tier layer >abstracts the actual data structures. Is your office using the XML >option in .Net datasets, through classes to connect via an OLE (third >party?) to the actual tables being either MDB or MS SQL? (Handling XML >in MS SQL 2005 is built-in but I was unaware that Access had the same >capabilities.) I am not interested in specifics just the concepts... >Maybe a bird's-eye view? > >Charlotte Foust > >MTIA > >Jim > > -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Fri Apr 6 22:04:48 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 06 Apr 2007 20:04:48 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: <4616E904.9040903@shaw.ca> Message-ID: <0JG30008ZXPT8Q32@l-daemon> When will it be when all that is needed is a drop of blood to confirm the users DNA. It might be difficult to create a system for people that is people proof. The cost to implementing the level of security you described below will be incredible. Anything like a key will not work as someone is bound to leave it just hanging from the terminal or sitting next to the station or just loss it... (A key to one of the local banks just found laying on our street one day) and then there is backup copies etc... And then there is biometrics and for any who saw the SCIFI movie Gaidica. It all sound like a combination someone's idea of a money making adventure and someone's knee-jerk reaction to a couple of exaggerated events. Now if you want to hear my opinion... just ask. :-) Good research as always Marty. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, April 06, 2007 5:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL In Canada with Web based Apps on health and legal sites, you will have to soon consider using two tier authentication for security to conform with. The Personal Information Protection and Electronic Documents Act, also known by the awkward acronym PIPEDA, which came into full effect on Jan. 2004. There have been several sites in Ontario that have been compromised when password only. Nurses were leaving userids etc on postit notes and patients were looking through STD reporting sites that were supposed to be doctor only access. So it is biometrics or dongles or USB keys (some with cyclical keys are into the $20 range). Forget fingerprint devices, Discovery channel showed a method to defeat this 6 months ago. By the way this will probably start to apply to HIPPA and European Data Privacy Acts. This isn't being enforced yet but will be soon. Jim Dettman wrote: >Charlotte, > ><< It offers so much more flexibility than our beloved Access can right >now.>> > > That's what I've been thinking. I am worried that they are going to want >a web interface for their nurses that are remote and possibly at some point >give Doctors and Attorneys access to the system. > >Jim. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >Sent: Friday, April 06, 2007 1:11 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] New database design for MS SQL > >I don't know VFP, but I'd say go with the full 3-tier approach. It >offers so much more flexibility than our beloved Access can right now. >Since Access itself is moving toward being a front end, the next >versions may see it gain a lot of those capabilities, but for now they >aren't there. The .Net framework hasn't yet found its way into Access. > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman >Sent: Friday, April 06, 2007 10:01 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] New database design for MS SQL > >Charlotte, > > This is a lot like what I work with in VFP and a framework called VMP. >The Framework lets you create fully 3-tier apps breaking out the >Business Rules and Data Services classes into a Business Object. The BO >can be compiled separately into a COM object, so I can write a >presentation tier in just about anything (Access, VFP, VB, etc). > > The Data Services like you describe below hides the BE data store and >provides cascaded updates/deletes, constraints, etc. > > I'm about to undertake a major development project and am going back >and forth between doing this in VFP/VMP as a full 3-tier app or sticking >with the tried and true Access approach (it would be my first full >3-tier app with VFP/VMP). > > I've got to talk to the client a few more times to get a sense of what >direction they'll be heading in the future, but I'm leaning towards VFP >at the moment. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: Friday, April 06, 2007 12:05 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] New database design for MS SQL > >Our executable installs on the client at this point in its existence, >and our clients are *frequently* thick! We haven't split the business >logic off to the server because there isn't always a server. When I >mentioned Access, I was talking about the data store, not the front end. >Our XML files have nothing to do with Access. FE is VS.Net but the app >is designed to work locally (say, on a rig) or with the data store in >SQL Server on a server (usually an office installation). The >application has to be flexible enough to run either way and to be >capable of switching between the two, if need be (they tend to move >their licenses around!). Rather than creating different versions of the >app for the varying environments, we simply built one that would work >across the board. That may change someday, but we're still in the >process of migrating our apps and our clients into the new century. LOL > >A dataset is a disconnected datastore, so it doesn't care where the BE >is or what engine it runs in. A _recordset_ is like a query, a flat >list of rows, but a dataset represents the separate sets of rows from >one or more tables. A TYPED Dataset (as opposed to untyped) is a kind >of class and models the details of the data structure in code. You can >create them from scratch or using the built in tools to "generate" one. >They then become objects in the project that our entity classes wrap, >exposing only the programming methods and events we want to make >available. Drop an entity on a form, and you have automatically >connected the form to the datastore the entity represents, so you can >program to its columns, methods, and properties as if it were a >recordsource in an Access form. > >Charlotte Foust > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence >Sent: Friday, April 06, 2007 3:34 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] New database design for MS SQL > >Hi Charlotte: > >I will comment inline > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: Thursday, April 05, 2007 2:46 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] New database design for MS SQL > >No white papers. We started rolling our own and called in a consulting >firm to review the fledgling solution and point out deficiencies. They >did admit when they came back for a later review that they'd never seen >a Win-based .Net app this large and complex, but we aren't ready (maybe >I should say our clients aren't ready) to convert totally to web-based >yet. > >Comment: Sounds very impressive. > >We're using either SQL 2005 or Access 2000 format BE because some of our >clients are on drilling rigs in the middle of the ocean and don't have >SQL Server handy. The embedded SQL for the provider adapters is stored >in XML files and we read it in using a streamreader and pass it back to >the calling data provider routine. The only business logic on the >server is in cascading updates and deletes, etc., nothing else except >relationships at this point because we still have to handle both SQL >Server and Access back ends. The business logic is in its own assembly >that's part of the overall solution. Not sure what you mean by a >desktop design. > >Comment: 'Desktop design' is my description of an application that has >it core functionality supported at the client end; or win-based or thick >client (this could also be describing the actual client?) ...As opposed >to thin client application where most of my work seems to be migrating. > >We create and supply software to the drilling industry--oil, gas, >geothermal--so a well is a hole in the ground plus everything associated >with that. A wellbore, is the hole itself, which may be the original >hole in the ground or a sidetrack drilled as an offshoot of another >wellbore. > >Comment: A very good explanation of your business. I would be interested >in how the data tier actually works or maybe just an overview ...without >divulging any trade secrets of course... like how the data tier layer >abstracts the actual data structures. Is your office using the XML >option in .Net datasets, through classes to connect via an OLE (third >party?) to the actual tables being either MDB or MS SQL? (Handling XML >in MS SQL 2005 is built-in but I was unaware that Access had the same >capabilities.) I am not interested in specifics just the concepts... >Maybe a bird's-eye view? > >Charlotte Foust > >MTIA > >Jim > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at unwired.com.au Sat Apr 7 07:21:57 2007 From: bbruen at unwired.com.au (Bruce Bruen) Date: Sat, 7 Apr 2007 22:21:57 +1000 Subject: [AccessD] Is it possible... Message-ID: <200704072222.00209.bbruen@unwired.com.au> .. to change the orientation of a report half way through. I've not tried this before. But now I've got a sub report that occurs several pages into a report and it would fit better if the page orientation was landscape. In fact it would only fit at all. Page 1 has summary information, 5 subreports (4 graphs and a short table) Page 2-n has an item by item subreport Page 2n+1 I want to put an analysis summary of the (2-n) items I have the sub report for the analysis, its' "beautiful", but it needs to be landscaped. AS I said, I've not tried this before, I tried various .Orientation and various PrtDevMode hacks but I'm beginnig to think it's not possible? -- regards Bruce From bbruen at unwired.com.au Sat Apr 7 08:01:07 2007 From: bbruen at unwired.com.au (Bruce Bruen) Date: Sat, 7 Apr 2007 23:01:07 +1000 Subject: [AccessD] Reports - Conditional formatting question In-Reply-To: <200703290105.l2T15uU24698@databaseadvisors.com> References: <200703290105.l2T15uU24698@databaseadvisors.com> Message-ID: <200704072301.08468.bbruen@unwired.com.au> On Thursday 29 March 2007 11:05, Darren DICK wrote: > Hi Bruce > > If the background is transparent then you can't apply a colour - well you > can but it won't be seen > > So you need to test for your condition in code then you have to set the > .background = 1 (Normal) as well and vice versa when turning it off - > .background =0 if your condition is not met > > This is gonna fail in a continuous form by the way a it will apply the > .background to all field in the continuous list > > Haven't tested it but hope this helps > > Gimme a yell and I will show you a cool way I handle marking records as > "current" - or not using conditional formatting > > > See ya > > DD Hi Darren, I finaly gave up and went with the four available conditional formats (see my PEBCAK response. It works, just... but it aint optimal. I'll pre-empt your offer on the "current" idea as I'm trying to get around 5 or 6 or 7 or ...AAARRRGGHHH... 8 or ... "conditions" on a row, and find a way of highlighting the anomalous items. There are about ~7 different "confirmed" anomalies. 1) The service request has not been addressed at all. (conditionalformat ="Highlight") 2) The service request has not been addressed within (conditionalformat = "Extreme") 3) The request has been addressed and resolved. (conditionalformat ="Normal") 4) The request has been addressed, but not resolved. (conditionalformat = "Highlight" - but would like a slightly different colour) 5) The request has been addressed, but not resolved and the resolution timeframe has expired. (conditionalformat = "Extreme" but should be with an oxy_torch_flame) 6) The SR has been (manually) escalated - but is still outstanding. (conditionalformat ="Moderate" + "_zzzzzzzzzzzz" ((SEP)) ) 7) The SR response requirement has been over-ridden [conditionalformat = KILLER! :-( ] ("colour=red,fontsize=172") 8) The SR response requirement has been over-ridden and is overdue (conditionalformat = "colour=several_thousand_degrees_kelvin_ >_ red, fontsize=2.326^23, ring bells, flash lights, phone_dad_for_a_lift_home, light_blue_touch_paper_and_stand_clear") There may be a couple of gazillion levels between each of the above, I've only been able to ascertain this many. "[$DEITY] help me to find the description if there are any more above (8). :-) bruce From fuller.artful at gmail.com Sat Apr 7 09:46:38 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 7 Apr 2007 10:46:38 -0400 Subject: [AccessD] WANs and Access In-Reply-To: <004d01c7785f$b79a7dd0$0201a8c0@HAL9005> References: <0JG100AJ4EIZJ0Y0@l-daemon> <004d01c7785f$b79a7dd0$0201a8c0@HAL9005> Message-ID: <29f585dd0704070746s19f4e01eu35258d0409d3df1f@mail.gmail.com> I have considerable experience doing this. In one case I had 4 offices hooked together in a WAN, all running the same Access app. That's when I became an expert at Access replication. I put a copy of the BE on a server in each office, that the local users talked to. In the HQ office, a box was running Synchronizer and updated the branch BEs every 5 minutes, as I recall. Thus the longest it could take for any remote user to see changes made by a local user was 10 minutes. But even in the case of collisions, Replication Manager handled them flawlessly. This delivered much better performance than the straight WAN approach, which I tried first and was very unsatisfied with the performance. Using replication over the WAN resulted in much greater performance. Arthur On 4/6/07, Rocky Smolin at Beach Access Software wrote: > > I'll forward your name to the client. He's in Canada. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Thursday, April 05, 2007 11:16 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] WANs and Access > > Hi Rocky: > > If you need any help with setting up applications running at different > locations I could offer some help in that area as I have definitely done > enough of that type of work. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Thursday, April 05, 2007 10:09 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] WANs and Access > > Had a prospect ask me how robust my application would be running over a > WAN. > Broadband connection but 'slow' according to his description. Plus folks > dialing in from remote locations but at least 50MBPS. Anyone have any > experience with this or know of any limitations with Access in this > regard? > > MTIA, > > Rocky > > > > > > -- > 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 > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: 4/4/2007 > 1:09 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Sat Apr 7 09:56:33 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 7 Apr 2007 07:56:33 -0700 Subject: [AccessD] WANs and Access In-Reply-To: <29f585dd0704070746s19f4e01eu35258d0409d3df1f@mail.gmail.com> Message-ID: <001701c77924$ef2b14b0$0201a8c0@HAL9005> Were the remotes doing updates, then? Or read only? In this case the remotes will be traveling, signing in from hotels and job sites and such. So I suppose they could run the replication ad hoc? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, April 07, 2007 7:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] WANs and Access I have considerable experience doing this. In one case I had 4 offices hooked together in a WAN, all running the same Access app. That's when I became an expert at Access replication. I put a copy of the BE on a server in each office, that the local users talked to. In the HQ office, a box was running Synchronizer and updated the branch BEs every 5 minutes, as I recall. Thus the longest it could take for any remote user to see changes made by a local user was 10 minutes. But even in the case of collisions, Replication Manager handled them flawlessly. This delivered much better performance than the straight WAN approach, which I tried first and was very unsatisfied with the performance. Using replication over the WAN resulted in much greater performance. Arthur On 4/6/07, Rocky Smolin at Beach Access Software wrote: > > I'll forward your name to the client. He's in Canada. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim > Lawrence > Sent: Thursday, April 05, 2007 11:16 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] WANs and Access > > Hi Rocky: > > If you need any help with setting up applications running at different > locations I could offer some help in that area as I have definitely > done enough of that type of work. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Thursday, April 05, 2007 10:09 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] WANs and Access > > Had a prospect ask me how robust my application would be running over > a WAN. > Broadband connection but 'slow' according to his description. Plus > folks dialing in from remote locations but at least 50MBPS. Anyone > have any experience with this or know of any limitations with Access > in this regard? > > MTIA, > > Rocky > > > > > > -- > 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 > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: > 4/4/2007 > 1:09 PM > > > -- > 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.26/750 - Release Date: 4/6/2007 9:30 PM From dwaters at usinternet.com Sat Apr 7 10:46:44 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 7 Apr 2007 10:46:44 -0500 Subject: [AccessD] Reports - Conditional formatting question In-Reply-To: <200704072301.08468.bbruen@unwired.com.au> References: <200703290105.l2T15uU24698@databaseadvisors.com> <200704072301.08468.bbruen@unwired.com.au> Message-ID: <000301c7792b$f20b7420$0200a8c0@danwaters> Hi Bruce, ---------------------------------------------------------------------------- This is another approach: COLOR STATUS MEANING Green New Today (received today) Unanswered (but hasn't exceeded time limit) Yellow Over (over response time limit) Status 4 Orange Status 5 Status 6 Red Status 7 Status 8 You can set up four background colors, and then within the colors you can use a text field and give a name for the status of that SR. I put in three examples above. This could give people the ability to quickly discriminate among the 4 colors, but then know more when they read the Level field. You get an unlimited number of levels this way, or perhaps 2 levels for green, 4 levels for yellow, etc. ---------------------------------------------------------------------------- Another approach could be: COLOR1 COLOR2 (Meaning) Green White Green Light Gray Green Dark Gray Green Black Yellow White Yellow Light Gray Yellow Dark Gray Yellow Black This would give an escalating gray scale within each of the 4 colors. You get 16 color combinations with this approach. ---------------------------------------------------------------------------- HTH! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen Sent: Saturday, April 07, 2007 8:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Reports - Conditional formatting question On Thursday 29 March 2007 11:05, Darren DICK wrote: > Hi Bruce > > If the background is transparent then you can't apply a colour - well you > can but it won't be seen > > So you need to test for your condition in code then you have to set the > .background = 1 (Normal) as well and vice versa when turning it off - > .background =0 if your condition is not met > > This is gonna fail in a continuous form by the way a it will apply the > .background to all field in the continuous list > > Haven't tested it but hope this helps > > Gimme a yell and I will show you a cool way I handle marking records as > "current" - or not using conditional formatting > > > See ya > > DD Hi Darren, I finaly gave up and went with the four available conditional formats (see my PEBCAK response. It works, just... but it aint optimal. I'll pre-empt your offer on the "current" idea as I'm trying to get around 5 or 6 or 7 or ...AAARRRGGHHH... 8 or ... "conditions" on a row, and find a way of highlighting the anomalous items. There are about ~7 different "confirmed" anomalies. 1) The service request has not been addressed at all. (conditionalformat ="Highlight") 2) The service request has not been addressed within (conditionalformat = "Extreme") 3) The request has been addressed and resolved. (conditionalformat ="Normal") 4) The request has been addressed, but not resolved. (conditionalformat = "Highlight" - but would like a slightly different colour) 5) The request has been addressed, but not resolved and the resolution timeframe has expired. (conditionalformat = "Extreme" but should be with an oxy_torch_flame) 6) The SR has been (manually) escalated - but is still outstanding. (conditionalformat ="Moderate" + "_zzzzzzzzzzzz" ((SEP)) ) 7) The SR response requirement has been over-ridden [conditionalformat = KILLER! :-( ] ("colour=red,fontsize=172") 8) The SR response requirement has been over-ridden and is overdue (conditionalformat = "colour=several_thousand_degrees_kelvin_ >_ red, fontsize=2.326^23, ring bells, flash lights, phone_dad_for_a_lift_home, light_blue_touch_paper_and_stand_clear") There may be a couple of gazillion levels between each of the above, I've only been able to ascertain this many. "[$DEITY] help me to find the description if there are any more above (8). :-) bruce -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Sat Apr 7 10:48:05 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Sat, 07 Apr 2007 11:48:05 -0400 Subject: [AccessD] New database design for MS SQL In-Reply-To: <4616E904.9040903@shaw.ca> References: <0JG200558NU51JV0@l-daemon> <001201c7786d$21be8190$8abea8c0@XPS> <006b01c77884$f4df7590$8abea8c0@XPS> <4616E904.9040903@shaw.ca> Message-ID: <000001c7792c$2229b8b0$8abea8c0@XPS> Marty, Yes, one of my big concerns with this app is security. That's also why I'm approaching their requirement of possible web access with some hesitation. If there will not be a web interface, then the allure of doing a 3-tier design becomes a lot less. The main app is going to be using SQL Server for the BE, so it will be tight and access to the system will be through Terminal Services. It's the web thing that worries me, although that's not in the scope as yet. In the states, we need to deal with the HIPAA (Health Insurance Portability and Accountability Act), which I need to get some info on, as I'm not sure how far I need to go with security. I'm assuming the worst at this point. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, April 06, 2007 8:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL In Canada with Web based Apps on health and legal sites, you will have to soon consider using two tier authentication for security to conform with. The Personal Information Protection and Electronic Documents Act, also known by the awkward acronym PIPEDA, which came into full effect on Jan. 2004. There have been several sites in Ontario that have been compromised when password only. Nurses were leaving userids etc on postit notes and patients were looking through STD reporting sites that were supposed to be doctor only access. So it is biometrics or dongles or USB keys (some with cyclical keys are into the $20 range). Forget fingerprint devices, Discovery channel showed a method to defeat this 6 months ago. By the way this will probably start to apply to HIPPA and European Data Privacy Acts. This isn't being enforced yet but will be soon. Jim Dettman wrote: >Charlotte, > ><< It offers so much more flexibility than our beloved Access can right >now.>> > > That's what I've been thinking. I am worried that they are going to want >a web interface for their nurses that are remote and possibly at some point >give Doctors and Attorneys access to the system. > >Jim. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >Sent: Friday, April 06, 2007 1:11 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] New database design for MS SQL > >I don't know VFP, but I'd say go with the full 3-tier approach. It >offers so much more flexibility than our beloved Access can right now. >Since Access itself is moving toward being a front end, the next >versions may see it gain a lot of those capabilities, but for now they >aren't there. The .Net framework hasn't yet found its way into Access. > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman >Sent: Friday, April 06, 2007 10:01 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] New database design for MS SQL > >Charlotte, > > This is a lot like what I work with in VFP and a framework called VMP. >The Framework lets you create fully 3-tier apps breaking out the >Business Rules and Data Services classes into a Business Object. The BO >can be compiled separately into a COM object, so I can write a >presentation tier in just about anything (Access, VFP, VB, etc). > > The Data Services like you describe below hides the BE data store and >provides cascaded updates/deletes, constraints, etc. > > I'm about to undertake a major development project and am going back >and forth between doing this in VFP/VMP as a full 3-tier app or sticking >with the tried and true Access approach (it would be my first full >3-tier app with VFP/VMP). > > I've got to talk to the client a few more times to get a sense of what >direction they'll be heading in the future, but I'm leaning towards VFP >at the moment. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: Friday, April 06, 2007 12:05 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] New database design for MS SQL > >Our executable installs on the client at this point in its existence, >and our clients are *frequently* thick! We haven't split the business >logic off to the server because there isn't always a server. When I >mentioned Access, I was talking about the data store, not the front end. >Our XML files have nothing to do with Access. FE is VS.Net but the app >is designed to work locally (say, on a rig) or with the data store in >SQL Server on a server (usually an office installation). The >application has to be flexible enough to run either way and to be >capable of switching between the two, if need be (they tend to move >their licenses around!). Rather than creating different versions of the >app for the varying environments, we simply built one that would work >across the board. That may change someday, but we're still in the >process of migrating our apps and our clients into the new century. LOL > >A dataset is a disconnected datastore, so it doesn't care where the BE >is or what engine it runs in. A _recordset_ is like a query, a flat >list of rows, but a dataset represents the separate sets of rows from >one or more tables. A TYPED Dataset (as opposed to untyped) is a kind >of class and models the details of the data structure in code. You can >create them from scratch or using the built in tools to "generate" one. >They then become objects in the project that our entity classes wrap, >exposing only the programming methods and events we want to make >available. Drop an entity on a form, and you have automatically >connected the form to the datastore the entity represents, so you can >program to its columns, methods, and properties as if it were a >recordsource in an Access form. > >Charlotte Foust > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence >Sent: Friday, April 06, 2007 3:34 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] New database design for MS SQL > >Hi Charlotte: > >I will comment inline > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: Thursday, April 05, 2007 2:46 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] New database design for MS SQL > >No white papers. We started rolling our own and called in a consulting >firm to review the fledgling solution and point out deficiencies. They >did admit when they came back for a later review that they'd never seen >a Win-based .Net app this large and complex, but we aren't ready (maybe >I should say our clients aren't ready) to convert totally to web-based >yet. > >Comment: Sounds very impressive. > >We're using either SQL 2005 or Access 2000 format BE because some of our >clients are on drilling rigs in the middle of the ocean and don't have >SQL Server handy. The embedded SQL for the provider adapters is stored >in XML files and we read it in using a streamreader and pass it back to >the calling data provider routine. The only business logic on the >server is in cascading updates and deletes, etc., nothing else except >relationships at this point because we still have to handle both SQL >Server and Access back ends. The business logic is in its own assembly >that's part of the overall solution. Not sure what you mean by a >desktop design. > >Comment: 'Desktop design' is my description of an application that has >it core functionality supported at the client end; or win-based or thick >client (this could also be describing the actual client?) ...As opposed >to thin client application where most of my work seems to be migrating. > >We create and supply software to the drilling industry--oil, gas, >geothermal--so a well is a hole in the ground plus everything associated >with that. A wellbore, is the hole itself, which may be the original >hole in the ground or a sidetrack drilled as an offshoot of another >wellbore. > >Comment: A very good explanation of your business. I would be interested >in how the data tier actually works or maybe just an overview ...without >divulging any trade secrets of course... like how the data tier layer >abstracts the actual data structures. Is your office using the XML >option in .Net datasets, through classes to connect via an OLE (third >party?) to the actual tables being either MDB or MS SQL? (Handling XML >in MS SQL 2005 is built-in but I was unaware that Access had the same >capabilities.) I am not interested in specifics just the concepts... >Maybe a bird's-eye view? > >Charlotte Foust > >MTIA > >Jim > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Sat Apr 7 11:07:50 2007 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Sat, 7 Apr 2007 12:07:50 -0400 Subject: [AccessD] Syntax for finding value of an item in a collection Message-ID: <00a301c7792e$e3e412a0$0a00a8c0@PCRURI35> I have a collection for control names (e.g., colControls) which contains certain controls (e.g. txtLastName) on a form (e.g. frmFormA). For example, colControls(1) = "[Forms]![frmFormA]![txtLastName]". Let's say that txtLastname currently contains the name "Smith. What is the syntax for finding the VALUE of colControls(1) , i.e., "Smith"? Thanks, Barb From rockysmolin at bchacc.com Sat Apr 7 12:13:18 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 7 Apr 2007 10:13:18 -0700 Subject: [AccessD] Automation Problem - Closing Word Message-ID: <002701c77938$09aa1760$0201a8c0@HAL9005> Dear List: I am getting the text of a document into a string variable from a word doc. Then I want to close word. I get the text of the document OK (which then goes into an email). But with the code below, the document closes but Word says open. How can I get WORD closed up? Dim objWord As Object ' Get the body text Set objWord = CreateObject("Word.Application") objWord.Documents.Open (argDocument) objWord.Selection.WholeStory strBody = objWord.Selection 'MsgBox strBody objWord.Documents.Close Set objWord = Nothing MTIA Rocky From martyconnelly at shaw.ca Sat Apr 7 12:16:39 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 07 Apr 2007 10:16:39 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: <000001c7792c$2229b8b0$8abea8c0@XPS> References: <0JG200558NU51JV0@l-daemon> <001201c7786d$21be8190$8abea8c0@XPS> <006b01c77884$f4df7590$8abea8c0@XPS> <4616E904.9040903@shaw.ca> <000001c7792c$2229b8b0$8abea8c0@XPS> Message-ID: <4617D1F7.2070008@shaw.ca> Two tier authentication with a USB Fob is supposed to verify the guy with the password and the USB token are the same. In other words the password hasn't been loaned out. The token alone won't get you in. There are $5 USB tokens on the market now but may require some server hardware possibly in 2K to 5K dollar range. Until this year the price was around $60. Here are some cheap Canadian examples. http://www.itbusiness.ca/it/client/en/home/News.asp?id=41998 I have been looking for a case study where someone has hooked this into Sharepoint sites. The vendors might be able to provide it. Some continental European banks have been doing client web app with USB tokens (even at an 60 Euro cost) for a couple of years. Charlotte may have done some HIPPA work. Aside from this there has to be a lot of data encryption. Jim Dettman wrote: >Marty, > > Yes, one of my big concerns with this app is security. That's also why >I'm approaching their requirement of possible web access with some >hesitation. If there will not be a web interface, then the allure of doing >a 3-tier design becomes a lot less. > > The main app is going to be using SQL Server for the BE, so it will be >tight and access to the system will be through Terminal Services. It's the >web thing that worries me, although that's not in the scope as yet. > > In the states, we need to deal with the HIPAA (Health Insurance >Portability and Accountability Act), which I need to get some info on, as >I'm not sure how far I need to go with security. I'm assuming the worst at >this point. > >Jim. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Friday, April 06, 2007 8:43 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] New database design for MS SQL > >In Canada with Web based Apps on health and legal sites, you will >have to soon consider using two tier authentication for security to >conform with. >The Personal Information Protection and Electronic Documents Act, >also known by the awkward acronym PIPEDA, which came into full effect on >Jan. 2004. >There have been several sites in Ontario that have been compromised when >password only. >Nurses were leaving userids etc on postit notes and patients were >looking through >STD reporting sites that were supposed to be doctor only access. >So it is biometrics or dongles or USB keys (some with cyclical keys are >into the $20 range). >Forget fingerprint devices, Discovery channel showed a method to defeat >this 6 months ago. >By the way this will probably start to apply to HIPPA and European Data >Privacy Acts. >This isn't being enforced yet but will be soon. > > >Jim Dettman wrote: > > > >>Charlotte, >> >><< It offers so much more flexibility than our beloved Access can right >>now.>> >> >> That's what I've been thinking. I am worried that they are going to want >>a web interface for their nurses that are remote and possibly at some point >>give Doctors and Attorneys access to the system. >> >>Jim. >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >>Sent: Friday, April 06, 2007 1:11 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] New database design for MS SQL >> >>I don't know VFP, but I'd say go with the full 3-tier approach. It >>offers so much more flexibility than our beloved Access can right now. >>Since Access itself is moving toward being a front end, the next >>versions may see it gain a lot of those capabilities, but for now they >>aren't there. The .Net framework hasn't yet found its way into Access. >> >>Charlotte Foust >> >> -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Sat Apr 7 12:19:45 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 07 Apr 2007 10:19:45 -0700 Subject: [AccessD] Automation Problem - Closing Word In-Reply-To: <002701c77938$09aa1760$0201a8c0@HAL9005> References: <002701c77938$09aa1760$0201a8c0@HAL9005> Message-ID: <4617D2B1.8070305@shaw.ca> Add this line objWord.Documents.Close objWord.Quit Set objWord = Nothing Rocky Smolin at Beach Access Software wrote: >Dear List: > >I am getting the text of a document into a string variable from a word doc. >Then I want to close word. I get the text of the document OK (which then >goes into an email). > >But with the code below, the document closes but Word says open. How can >I get WORD closed up? > > Dim objWord As Object > > ' Get the body text > Set objWord = CreateObject("Word.Application") > objWord.Documents.Open (argDocument) > objWord.Selection.WholeStory > strBody = objWord.Selection > 'MsgBox strBody > objWord.Documents.Close > Set objWord = Nothing > > >MTIA > >Rocky > > > > > > > -- Marty Connelly Victoria, B.C. Canada From gustav at cactus.dk Sat Apr 7 12:20:06 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 07 Apr 2007 19:20:06 +0200 Subject: [AccessD] Is it possible... Message-ID: Hi Bruce You could output the report twice to postscript files, then use Ghostscript to select and mix the pages of your choice into one new postscript or PDF file or directly to a Postscript printer. /gustav >>> bbruen at unwired.com.au 07-04-07 14:21 >>> .. to change the orientation of a report half way through. I've not tried this before. But now I've got a sub report that occurs several pages into a report and it would fit better if the page orientation was landscape. In fact it would only fit at all. Page 1 has summary information, 5 subreports (4 graphs and a short table) Page 2-n has an item by item subreport Page 2n+1 I want to put an analysis summary of the (2-n) items I have the sub report for the analysis, its' "beautiful", but it needs to be landscaped. AS I said, I've not tried this before, I tried various .Orientation and various PrtDevMode hacks but I'm beginnig to think it's not possible? -- regards Bruce From gustav at cactus.dk Sat Apr 7 13:00:42 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 07 Apr 2007 20:00:42 +0200 Subject: [AccessD] Syntax for finding value of an item in a collection Message-ID: Hi Barb Couldn't that be: varValue = Me.Controls(Split(colControls(1), "!")(2)).Value or: varValue = Forms(Split(colControls(1), "!")(1)).Controls(Split(colControls(1), "!")(2)).Value /gustav >>> BarbaraRyan at cox.net 07-04-07 18:07 >>> I have a collection for control names (e.g., colControls) which contains certain controls (e.g. txtLastName) on a form (e.g. frmFormA). For example, colControls(1) = "[Forms]![frmFormA]![txtLastName]". Let's say that txtLastname currently contains the name "Smith. What is the syntax for finding the VALUE of colControls(1) , i.e., "Smith"? Thanks, Barb From rockysmolin at bchacc.com Sat Apr 7 13:30:13 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 7 Apr 2007 11:30:13 -0700 Subject: [AccessD] Automation Problem - Closing Word In-Reply-To: <4617D2B1.8070305@shaw.ca> Message-ID: <002f01c77942$c83b9960$0201a8c0@HAL9005> Aha. Quit. Thank you. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Saturday, April 07, 2007 10:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Automation Problem - Closing Word Add this line objWord.Documents.Close objWord.Quit Set objWord = Nothing Rocky Smolin at Beach Access Software wrote: >Dear List: > >I am getting the text of a document into a string variable from a word doc. >Then I want to close word. I get the text of the document OK (which >then goes into an email). > >But with the code below, the document closes but Word says open. How can >I get WORD closed up? > > Dim objWord As Object > > ' Get the body text > Set objWord = CreateObject("Word.Application") > objWord.Documents.Open (argDocument) > objWord.Selection.WholeStory > strBody = objWord.Selection > 'MsgBox strBody > objWord.Documents.Close > Set objWord = Nothing > > >MTIA > >Rocky > > > > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.26/750 - Release Date: 4/6/2007 9:30 PM From BarbaraRyan at cox.net Sat Apr 7 14:03:40 2007 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Sat, 7 Apr 2007 15:03:40 -0400 Subject: [AccessD] Syntax for finding value of an item in a collection References: Message-ID: <00cc01c77947$74aa5f70$0a00a8c0@PCRURI35> Hi, Gustav.... Thanks for your reply. I forgot to mention that I am using the collection within a class. I just discovered that varValue = mfrm.Controls(i).Value seems to work. I thought I had already tried that approach --- I may have been referencing a control type not having a value property. Thanks, Barb ----- Original Message ----- From: "Gustav Brock" To: Sent: Saturday, April 07, 2007 2:00 PM Subject: Re: [AccessD] Syntax for finding value of an item in a collection > Hi Barb > > Couldn't that be: > > varValue = Me.Controls(Split(colControls(1), "!")(2)).Value > or: > varValue = Forms(Split(colControls(1), > "!")(1)).Controls(Split(colControls(1), "!")(2)).Value > > /gustav > >>>> BarbaraRyan at cox.net 07-04-07 18:07 >>> > I have a collection for control names (e.g., colControls) which contains > certain controls (e.g. txtLastName) on a form (e.g. frmFormA). For > example, colControls(1) = "[Forms]![frmFormA]![txtLastName]". > > Let's say that txtLastname currently contains the name "Smith. What is > the syntax for finding the VALUE of colControls(1) , i.e., "Smith"? > > Thanks, > Barb > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dajomigo at dgsolutions.net.au Sat Apr 7 17:41:45 2007 From: dajomigo at dgsolutions.net.au (David & Joanne Gould) Date: Sun, 08 Apr 2007 08:41:45 +1000 Subject: [AccessD] mystery software keys Message-ID: <200704072240.l37MdsZO049166@carby.powerband.net.au> I have a friend who has a list of software keys from microsoft that came with software cd's. Unfortunately, the cd's have been separated from the CD case and he doesn't know what cd key belongs to what software. Does any know if there is a tool around that can identify what software and version a key is from it's code? Hope this makes sense. TIA David Gould DG Solutions From nd500_lo at charter.net Sat Apr 7 17:52:08 2007 From: nd500_lo at charter.net (Dian) Date: Sat, 7 Apr 2007 15:52:08 -0700 Subject: [AccessD] mystery software keys In-Reply-To: <200704072240.l37MdsZO049166@carby.powerband.net.au> References: <200704072240.l37MdsZO049166@carby.powerband.net.au> Message-ID: <000001c77967$5f477760$6400a8c0@dsunit1> I don't know of one...my first suggestion is to call Microsoft and let them sort it...second suggestion...set up baby db to keep it controlled...sorry...I'm quiet, but not dead... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David & Joanne Gould Sent: Saturday, April 07, 2007 3:42 PM To: accessd at databaseadvisors.com Subject: [AccessD] mystery software keys I have a friend who has a list of software keys from microsoft that came with software cd's. Unfortunately, the cd's have been separated from the CD case and he doesn't know what cd key belongs to what software. Does any know if there is a tool around that can identify what software and version a key is from it's code? Hope this makes sense. TIA David Gould DG Solutions -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From david.gray at tpg.com.au Sat Apr 7 18:21:08 2007 From: david.gray at tpg.com.au (David Gray) Date: Sun, 8 Apr 2007 09:21:08 +1000 Subject: [AccessD] mystery software keys In-Reply-To: <000001c77967$5f477760$6400a8c0@dsunit1> References: <200704072240.l37MdsZO049166@carby.powerband.net.au> <000001c77967$5f477760$6400a8c0@dsunit1> Message-ID: <000601c7796b$6cb74480$4625cd80$@gray@tpg.com.au> I've always thought Microsoft should print the name of the software with the key. I wonder why they don't? Is it a security thing? Although I can't see how! The keys should also be in a bigger font for us oldies. The number of times I mistake an 8 for a B and visa versa. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dian Sent: Sunday, 8 April 2007 8:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] mystery software keys I don't know of one...my first suggestion is to call Microsoft and let them sort it...second suggestion...set up baby db to keep it controlled...sorry...I'm quiet, but not dead... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David & Joanne Gould Sent: Saturday, April 07, 2007 3:42 PM To: accessd at databaseadvisors.com Subject: [AccessD] mystery software keys I have a friend who has a list of software keys from microsoft that came with software cd's. Unfortunately, the cd's have been separated from the CD case and he doesn't know what cd key belongs to what software. Does any know if there is a tool around that can identify what software and version a key is from it's code? Hope this makes sense. TIA David Gould DG Solutions -- 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 bill_patten at earthlink.net Sat Apr 7 19:25:38 2007 From: bill_patten at earthlink.net (Bill Patten) Date: Sat, 7 Apr 2007 17:25:38 -0700 Subject: [AccessD] mystery software keys In-Reply-To: <200704072240.l37MdsZO049166@carby.powerband.net.au> References: <200704072240.l37MdsZO049166@carby.powerband.net.au> Message-ID: Hi David, If the software is already installed in a computer or computers you can sometimes search the registry for say the first 5 characters of the key , for example I searched for T499P and the PDKey was located in hklm\software\\\\Visual Studio\\\ So I would know that that key was for my VS 2005. Any that can be found can be marked perhaps shortening the list of unknown. You can also use a program called SIW that will show many licenses under it's secret tab. SIW does not work on Vista 64 but does on XP. Google SIW Hope this helps a little Bill ----- Original Message ----- From: "David & Joanne Gould" To: Sent: Saturday, April 07, 2007 3:41 PM Subject: [AccessD] mystery software keys >I have a friend who has a list of software keys from microsoft that > came with software cd's. Unfortunately, the cd's have been separated > from the CD case and he doesn't know what cd key belongs to what > software. Does any know if there is a tool around that can identify > what software and version a key is from it's code? > > Hope this makes sense. > > TIA > > David Gould > DG Solutions > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From nd500_lo at charter.net Sat Apr 7 20:07:46 2007 From: nd500_lo at charter.net (Dian) Date: Sat, 7 Apr 2007 18:07:46 -0700 Subject: [AccessD] mystery software keys In-Reply-To: References: <200704072240.l37MdsZO049166@carby.powerband.net.au> Message-ID: <000001c7797a$546b7d10$6400a8c0@dsunit1> I was harsh...and I apologize for that...have some friends looking for the way (assuming it cannot be found on the computer in question) to find what he needs. I'm very sorry...just found it irritating that someone didn't keep ALL the info together...it's a (siiiiiiiiiiiiiiiiiiiigh) db thing... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten Sent: Saturday, April 07, 2007 5:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] mystery software keys Hi David, If the software is already installed in a computer or computers you can sometimes search the registry for say the first 5 characters of the key , for example I searched for T499P and the PDKey was located in hklm\software\\\\Visual Studio\\\ So I would know that that key was for my VS 2005. Any that can be found can be marked perhaps shortening the list of unknown. You can also use a program called SIW that will show many licenses under it's secret tab. SIW does not work on Vista 64 but does on XP. Google SIW Hope this helps a little Bill ----- Original Message ----- From: "David & Joanne Gould" To: Sent: Saturday, April 07, 2007 3:41 PM Subject: [AccessD] mystery software keys >I have a friend who has a list of software keys from microsoft that > came with software cd's. Unfortunately, the cd's have been separated > from the CD case and he doesn't know what cd key belongs to what > software. Does any know if there is a tool around that can identify > what software and version a key is from it's code? > > Hope this makes sense. > > TIA > > David Gould > DG Solutions > > > -- > 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 dwaters at usinternet.com Sat Apr 7 20:58:09 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 7 Apr 2007 20:58:09 -0500 Subject: [AccessD] mystery software keys In-Reply-To: References: <200704072240.l37MdsZO049166@carby.powerband.net.au> Message-ID: <001d01c77981$5bafabd0$0200a8c0@danwaters> I've used Belarc Advisor and it sometimes shows keys (along with every other piece of info about your PC!). It's at: http://www.belarc.com/free_download.html Dan -----Original Message----- Subject: Re: [AccessD] mystery software keys Hi David, If the software is already installed in a computer or computers you can sometimes search the registry for say the first 5 characters of the key , for example I searched for T499P and the PDKey was located in hklm\software\\\\Visual Studio\\\ So I would know that that key was for my VS 2005. Any that can be found can be marked perhaps shortening the list of unknown. You can also use a program called SIW that will show many licenses under it's secret tab. SIW does not work on Vista 64 but does on XP. Google SIW Hope this helps a little Bill ----- Original Message ----- Subject: [AccessD] mystery software keys >I have a friend who has a list of software keys from microsoft that > came with software cd's. Unfortunately, the cd's have been separated > from the CD case and he doesn't know what cd key belongs to what > software. Does any know if there is a tool around that can identify > what software and version a key is from it's code? > > Hope this makes sense. > > TIA > > David Gould > DG Solutions > From bbruen at unwired.com.au Sun Apr 8 04:36:19 2007 From: bbruen at unwired.com.au (Bruce Bruen) Date: Sun, 8 Apr 2007 19:36:19 +1000 Subject: [AccessD] Is it possible... In-Reply-To: References: Message-ID: <200704081936.20179.bbruen@unwired.com.au> On Sunday 08 April 2007 03:20, Gustav Brock wrote: > Hi Bruce > > You could output the report twice to postscript files, then use Ghostscript > to select and mix the pages of your choice into one new postscript or PDF > file or directly to a Postscript printer. > > /gustav YUK! (No Offense Intended) I take it that its not (hacklessly) possible then. -- regards Bruce From adtp at hotmail.com Sun Apr 8 08:56:53 2007 From: adtp at hotmail.com (A.D.TEJPAL) Date: Sun, 8 Apr 2007 19:26:53 +0530 Subject: [AccessD] Is it possible... References: <200704072222.00209.bbruen@unwired.com.au> Message-ID: Bruce, Apparently, your requirement translates into printing first portion of the report (containing n number of pages) in portrait layout, followed by remaining portion in landscape layout. If the presumption made above is correct, are you in a position to set up two separate reports in respective layouts? If so, it should be possible to ensure that page numbering for second report is in continuation to the first one, so that overall, it constitutes one report. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Bruce Bruen To: Access Developers discussion and problem solving Sent: Sunday, April 08, 2007 15:06 Subject: Re: [AccessD] Is it possible... On Sunday 08 April 2007 03:20, Gustav Brock wrote: > Hi Bruce > > You could output the report twice to postscript files, then use Ghostscript > to select and mix the pages of your choice into one new postscript or PDF > file or directly to a Postscript printer. > > /gustav YUK! (No Offense Intended) I take it that its not (hacklessly) possible then. regards Bruce ----- Original Message ----- From: Bruce Bruen To: Access Developers discussion and problem solving Sent: Saturday, April 07, 2007 17:51 Subject: [AccessD] Is it possible... .. to change the orientation of a report half way through. I've not tried this before. But now I've got a sub report that occurs several pages into a report and it would fit better if the page orientation was landscape. In fact it would only fit at all. Page 1 has summary information, 5 subreports (4 graphs and a short table) Page 2-n has an item by item subreport Page 2n+1 I want to put an analysis summary of the (2-n) items I have the sub report for the analysis, its' "beautiful", but it needs to be landscaped. AS I said, I've not tried this before, I tried various .Orientation and various PrtDevMode hacks but I'm beginnig to think it's not possible? regards Bruce From gustav at cactus.dk Sun Apr 8 16:35:03 2007 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 08 Apr 2007 23:35:03 +0200 Subject: [AccessD] Is it possible... Message-ID: Hi Bruce Not as far as I know. Problem is that you cannot ask the report to send custom control or Postscript code to the printer. Thus, you'll have - somehow - to split the print job into several, each with its own printer setup, or output the print job to a file which you later manipulate before sending it to print. /gustav >>> bbruen at unwired.com.au 08-04-07 11:36 >>> On Sunday 08 April 2007 03:20, Gustav Brock wrote: > Hi Bruce > > You could output the report twice to postscript files, then use Ghostscript > to select and mix the pages of your choice into one new postscript or PDF > file or directly to a Postscript printer. > > /gustav YUK! (No Offense Intended) I take it that its not (hacklessly) possible then. -- regards Bruce From rockysmolin at bchacc.com Sun Apr 8 17:18:48 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 8 Apr 2007 15:18:48 -0700 Subject: [AccessD] Is it possible... In-Reply-To: Message-ID: <003701c77a2b$e162a7f0$0201a8c0@HAL9005> Gustav: What would happen if he made two sub reports - 1 in portrait and one in landscape - then dropped them both onto a parent report? Would the fist sub-report come out with a different orientation than the second? Or would they both follow the orientation of the parent report regardless of how they were set up? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, April 08, 2007 2:35 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Is it possible... Hi Bruce Not as far as I know. Problem is that you cannot ask the report to send custom control or Postscript code to the printer. Thus, you'll have - somehow - to split the print job into several, each with its own printer setup, or output the print job to a file which you later manipulate before sending it to print. /gustav >>> bbruen at unwired.com.au 08-04-07 11:36 >>> On Sunday 08 April 2007 03:20, Gustav Brock wrote: > Hi Bruce > > You could output the report twice to postscript files, then use > Ghostscript to select and mix the pages of your choice into one new > postscript or PDF file or directly to a Postscript printer. > > /gustav YUK! (No Offense Intended) I take it that its not (hacklessly) possible then. -- regards Bruce -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.0.0/751 - Release Date: 4/7/2007 10:57 PM From wdhindman at dejpolsystems.com Sun Apr 8 22:07:51 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 8 Apr 2007 23:07:51 -0400 Subject: [AccessD] Is it possible... References: <200704081936.20179.bbruen@unwired.com.au> Message-ID: <000501c77a54$436989a0$982b124c@jisshowsbs.local> Bruce ...never say never ...my code library is loaded with things written by people here that I would have sworn were impossible in Access ...most of which I manage to use successfully without ever groking what they are going on about :) ...though I've not tried to switch orientation in the middle of a report myself, I know you can pause a report at a specific page, change the printer tray, print a page from that tray, and then pause and change back using the printdev mode properties as in mskb 200546 ...so long as the printer driver supports those properties ...and since page orientation is also a property of printdev mode, it would seem worth the time to try changing it at the same time you change printer trays using virtually the same code. ...if not, then you might have to look at creating separate reports and numbering the pages of each correctly. ...or if you want to walk on the wild side, use Lebans rotate text code to brute force design a portrait formatted subreport to look like a landscape format. ...if you do get it to work, let us in on the secret, eh. William Hindman ----- Original Message ----- From: "Bruce Bruen" To: "Access Developers discussion and problem solving" Sent: Sunday, April 08, 2007 5:36 AM Subject: Re: [AccessD] Is it possible... > On Sunday 08 April 2007 03:20, Gustav Brock wrote: >> Hi Bruce >> >> You could output the report twice to postscript files, then use >> Ghostscript >> to select and mix the pages of your choice into one new postscript or PDF >> file or directly to a Postscript printer. >> >> /gustav > > YUK! (No Offense Intended) I take it that its not (hacklessly) possible > then. > > -- > regards > > Bruce > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Mon Apr 9 05:14:46 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 09 Apr 2007 12:14:46 +0200 Subject: [AccessD] Is it possible... Message-ID: Hi Rocky As far as I know, the parent report controls all printer settings; those of the subreport(s) are ignored. /gustav >>> rockysmolin at bchacc.com 09-04-2007 00:18 >>> Gustav: What would happen if he made two sub reports - 1 in portrait and one in landscape - then dropped them both onto a parent report? Would the fist sub-report come out with a different orientation than the second? Or would they both follow the orientation of the parent report regardless of how they were set up? Rocky From Gustav at cactus.dk Mon Apr 9 05:29:04 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 09 Apr 2007 12:29:04 +0200 Subject: [AccessD] Is it possible... Message-ID: Hi Bruce and William It may be possible, but remember that you may encounter two problems: first, changing printer objects may fail in restricted (corporate) environments, and even if you succeed you may end up with two or more print jobs which - again in corporate environments - may get mixed with other print jobs. However, the physical printer is perfectly capable of switching side orientation between pages - in PCL it is one single command - and that command is issued routinely by most applications before printing a page. That's why I assume it would be realistic to locate this command in a saved print file, change it, and then print the file - which would result in one print job. I've never had the need, though, for such fancy printing, so it is no more than an idea. /gustav >>> wdhindman at dejpolsystems.com 09-04-2007 05:07 >>> Bruce ...never say never ...my code library is loaded with things written by people here that I would have sworn were impossible in Access ...most of which I manage to use successfully without ever groking what they are going on about :) ...though I've not tried to switch orientation in the middle of a report myself, I know you can pause a report at a specific page, change the printer tray, print a page from that tray, and then pause and change back using the printdev mode properties as in mskb 200546 ...so long as the printer driver supports those properties ...and since page orientation is also a property of printdev mode, it would seem worth the time to try changing it at the same time you change printer trays using virtually the same code. ...if not, then you might have to look at creating separate reports and numbering the pages of each correctly. ...or if you want to walk on the wild side, use Lebans rotate text code to brute force design a portrait formatted subreport to look like a landscape format. ...if you do get it to work, let us in on the secret, eh. William Hindman ----- Original Message ----- From: "Bruce Bruen" To: "Access Developers discussion and problem solving" Sent: Sunday, April 08, 2007 5:36 AM Subject: Re: [AccessD] Is it possible... > On Sunday 08 April 2007 03:20, Gustav Brock wrote: >> Hi Bruce >> >> You could output the report twice to postscript files, then use Ghostscript >> to select and mix the pages of your choice into one new postscript or PDF >> file or directly to a Postscript printer. >> >> /gustav > > YUK! (No Offense Intended) I take it that its not (hacklessly) possible then. > > -- > regards > > Bruce From bheid at sc.rr.com Mon Apr 9 09:19:46 2007 From: bheid at sc.rr.com (Bobby Heid) Date: Mon, 9 Apr 2007 10:19:46 -0400 Subject: [AccessD] Users in SQL Server In-Reply-To: <0JFV00KQYL2YKZ00@vms048.mailsrvcs.net> References: <41363.41171.qm@web33114.mail.mud.yahoo.com> <0JFV00KQYL2YKZ00@vms048.mailsrvcs.net> Message-ID: <004301c77ab2$20c0c4a0$2c01a8c0@bhxp> Also, note that for best scalability and best practices, users should connect to the database, do what they need, then disconnect. So really, the users should not be connected to the database all of the time as in Access. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Monday, April 02, 2007 10:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Users in SQL Server Sp_who and sp_who2 will give you processes and connections...not unique users. This gives you a count of processes connected to the specified database name select count(*) from master.dbo.sysprocesses where dbid = db_id('databasename') This gives you unique logins connected to the specified database name select distinct loginame from master.dbo.sysprocesses where loginame = 'userlogin' and dbid = db_id('databasename') NOTE: if your application's processes use one login for all users then you won't get a true value. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Monday, April 02, 2007 4:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Users in SQL Server You can do a passthrough query to the master database and execute this system stored procedure. EXEC SP_WHO May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: JWColby To: Access Developers discussion and problem solving ; dba-sqlserver at databaseadvisors.com Sent: Monday, April 2, 2007 6:31:59 AM Subject: [AccessD] Users in SQL Server Is there something that can be read from SQL Server to discover the count of and even a list of users logged in to a SQL Server database? I am moving a client from an MDB data store to SQL Server and need to get this information on demand, using VBA. John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Mon Apr 9 09:30:24 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 9 Apr 2007 10:30:24 -0400 Subject: [AccessD] Users in SQL Server In-Reply-To: <004301c77ab2$20c0c4a0$2c01a8c0@bhxp> References: <41363.41171.qm@web33114.mail.mud.yahoo.com><0JFV00KQYL2YKZ00@vms048.mailsrvcs.net> <004301c77ab2$20c0c4a0$2c01a8c0@bhxp> Message-ID: <003701c77ab3$9cbd1300$657aa8c0@m6805> For best practices, users should be selected at random to be publicly Colbyized (20,000 feet, out the door without a parachute), thereby keeping the rest in line. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Monday, April 09, 2007 10:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Users in SQL Server Also, note that for best scalability and best practices, users should connect to the database, do what they need, then disconnect. So really, the users should not be connected to the database all of the time as in Access. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Monday, April 02, 2007 10:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Users in SQL Server Sp_who and sp_who2 will give you processes and connections...not unique users. This gives you a count of processes connected to the specified database name select count(*) from master.dbo.sysprocesses where dbid = db_id('databasename') This gives you unique logins connected to the specified database name select distinct loginame from master.dbo.sysprocesses where loginame = 'userlogin' and dbid = db_id('databasename') NOTE: if your application's processes use one login for all users then you won't get a true value. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Monday, April 02, 2007 4:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Users in SQL Server You can do a passthrough query to the master database and execute this system stored procedure. EXEC SP_WHO May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: JWColby To: Access Developers discussion and problem solving ; dba-sqlserver at databaseadvisors.com Sent: Monday, April 2, 2007 6:31:59 AM Subject: [AccessD] Users in SQL Server Is there something that can be read from SQL Server to discover the count of and even a list of users logged in to a SQL Server database? I am moving a client from an MDB data store to SQL Server and need to get this information on demand, using VBA. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Apr 9 10:06:49 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 9 Apr 2007 08:06:49 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: <4617D1F7.2070008@shaw.ca> References: <0JG200558NU51JV0@l-daemon><001201c7786d$21be8190$8abea8c0@XPS><006b01c77884$f4df7590$8abea8c0@XPS> <4616E904.9040903@shaw.ca><000001c7792c$2229b8b0$8abea8c0@XPS> <4617D1F7.2070008@shaw.ca> Message-ID: Charlotte has done NO HIPPA work and is eternally grateful for that same miracle! Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Saturday, April 07, 2007 10:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Two tier authentication with a USB Fob is supposed to verify the guy with the password and the USB token are the same. In other words the password hasn't been loaned out. The token alone won't get you in. There are $5 USB tokens on the market now but may require some server hardware possibly in 2K to 5K dollar range. Until this year the price was around $60. Here are some cheap Canadian examples. http://www.itbusiness.ca/it/client/en/home/News.asp?id=41998 I have been looking for a case study where someone has hooked this into Sharepoint sites. The vendors might be able to provide it. Some continental European banks have been doing client web app with USB tokens (even at an 60 Euro cost) for a couple of years. Charlotte may have done some HIPPA work. Aside from this there has to be a lot of data encryption. Jim Dettman wrote: >Marty, > > Yes, one of my big concerns with this app is security. That's also >why I'm approaching their requirement of possible web access with some >hesitation. If there will not be a web interface, then the allure of >doing a 3-tier design becomes a lot less. > > The main app is going to be using SQL Server for the BE, so it will >be tight and access to the system will be through Terminal Services. >It's the web thing that worries me, although that's not in the scope as yet. > > In the states, we need to deal with the HIPAA (Health Insurance >Portability and Accountability Act), which I need to get some info on, >as I'm not sure how far I need to go with security. I'm assuming the >worst at this point. > >Jim. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >MartyConnelly >Sent: Friday, April 06, 2007 8:43 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] New database design for MS SQL > >In Canada with Web based Apps on health and legal sites, you will have >to soon consider using two tier authentication for security to conform >with. >The Personal Information Protection and Electronic Documents Act, also >known by the awkward acronym PIPEDA, which came into full effect on >Jan. 2004. >There have been several sites in Ontario that have been compromised >when password only. >Nurses were leaving userids etc on postit notes and patients were >looking through STD reporting sites that were supposed to be doctor >only access. >So it is biometrics or dongles or USB keys (some with cyclical keys are >into the $20 range). >Forget fingerprint devices, Discovery channel showed a method to defeat >this 6 months ago. >By the way this will probably start to apply to HIPPA and European Data >Privacy Acts. >This isn't being enforced yet but will be soon. > > >Jim Dettman wrote: > > > >>Charlotte, >> >><< It offers so much more flexibility than our beloved Access can >>right now.>> >> >> That's what I've been thinking. I am worried that they are going to >>want a web interface for their nurses that are remote and possibly at >>some point give Doctors and Attorneys access to the system. >> >>Jim. >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >>Foust >>Sent: Friday, April 06, 2007 1:11 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] New database design for MS SQL >> >>I don't know VFP, but I'd say go with the full 3-tier approach. It >>offers so much more flexibility than our beloved Access can right now. >>Since Access itself is moving toward being a front end, the next >>versions may see it gain a lot of those capabilities, but for now they >>aren't there. The .Net framework hasn't yet found its way into Access. >> >>Charlotte Foust >> >> -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Mon Apr 9 11:39:02 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 9 Apr 2007 11:39:02 -0500 Subject: [AccessD] Wrong number of records returned in Union query Message-ID: I have a simple select query that returns a different number of records when it is run by itself than when it is run inside a union query. I believe it is because duplicate records (which I need) are being dropped. I have tried the distinct and distinctrow key words in the union query to no avail. Can someone tell me how to fix this? Thanks The SQL for the union query is as follows ( the first query is the broken one: SELECT DISTINCT qryPlanCapex_sub.fldCOMPY, qryPlanCapex_sub.fldDEPT, qryPlanCapex_sub.Name, qryPlanCapex_sub.fldProjectNo, qryPlanCapex_sub.fldDescr, qryPlanCapex_sub.fldYr, qryPlanCapex_sub.fldQtr, qryPlanCapex_sub.fldAmt, qryPlanCapex_sub.Kind, qryPlanCapex_sub.fldRegion, qryPlanCapex_sub.PlanPrNO, qryPlanCapex_sub.fldArea FROM qryPlanCapex_sub; Union SELECT qryYTD_Capex_ApprovedAmt_sub.fldCOMPY, qryYTD_Capex_ApprovedAmt_sub.fldDEPT, qryYTD_Capex_ApprovedAmt_sub.Name, qryYTD_Capex_ApprovedAmt_sub.CAR_Number, qryYTD_Capex_ApprovedAmt_sub.Description, qryYTD_Capex_ApprovedAmt_sub.Yr, qryYTD_Capex_ApprovedAmt_sub.Qtr, qryYTD_Capex_ApprovedAmt_sub.CAR_Amount, qryYTD_Capex_ApprovedAmt_sub.Kind, qryYTD_Capex_ApprovedAmt_sub.fldRegion, qryYTD_Capex_ApprovedAmt_sub.Internal_Asset_ID, qryYTD_Capex_ApprovedAmt_sub.GLMBRANCHES.fldArea FROM qryYTD_Capex_ApprovedAmt_sub; UNION SELECT qryYTD_Capex_sub.fldCOMPY, qryYTD_Capex_sub.fldDEPT, qryYTD_Capex_sub.Name, qryYTD_Capex_sub.CAR_Number, qryYTD_Capex_sub.Description, qryYTD_Capex_sub.Yr, qryYTD_Capex_sub.Qtr, qryYTD_Capex_sub.Acquired_Value, qryYTD_Capex_sub.Kind, qryYTD_Capex_sub.fldRegion, qryYTD_Capex_sub.Internal_Asset_ID,qryYTD_Capex_sub.GLMBRANCHES.fldArea FROM qryYTD_Capex_sub; *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Gustav at cactus.dk Mon Apr 9 12:00:38 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 09 Apr 2007 19:00:38 +0200 Subject: [AccessD] Wrong number of records returned in Union query Message-ID: Hi Jim You are on the track. You need: UNION ALL /gustav >>> Jim.Hale at fleetpride.com 09-04-2007 18:39 >>> I have a simple select query that returns a different number of records when it is run by itself than when it is run inside a union query. I believe it is because duplicate records (which I need) are being dropped. I have tried the distinct and distinctrow key words in the union query to no avail. Can someone tell me how to fix this? Thanks The SQL for the union query is as follows ( the first query is the broken one: SELECT DISTINCT qryPlanCapex_sub.fldCOMPY, qryPlanCapex_sub.fldDEPT, qryPlanCapex_sub.Name, qryPlanCapex_sub.fldProjectNo, qryPlanCapex_sub.fldDescr, qryPlanCapex_sub.fldYr, qryPlanCapex_sub.fldQtr, qryPlanCapex_sub.fldAmt, qryPlanCapex_sub.Kind, qryPlanCapex_sub.fldRegion, qryPlanCapex_sub.PlanPrNO, qryPlanCapex_sub.fldArea FROM qryPlanCapex_sub; Union SELECT qryYTD_Capex_ApprovedAmt_sub.fldCOMPY, qryYTD_Capex_ApprovedAmt_sub.fldDEPT, qryYTD_Capex_ApprovedAmt_sub.Name, qryYTD_Capex_ApprovedAmt_sub.CAR_Number, qryYTD_Capex_ApprovedAmt_sub.Description, qryYTD_Capex_ApprovedAmt_sub.Yr, qryYTD_Capex_ApprovedAmt_sub.Qtr, qryYTD_Capex_ApprovedAmt_sub.CAR_Amount, qryYTD_Capex_ApprovedAmt_sub.Kind, qryYTD_Capex_ApprovedAmt_sub.fldRegion, qryYTD_Capex_ApprovedAmt_sub.Internal_Asset_ID, qryYTD_Capex_ApprovedAmt_sub.GLMBRANCHES.fldArea FROM qryYTD_Capex_ApprovedAmt_sub; UNION SELECT qryYTD_Capex_sub.fldCOMPY, qryYTD_Capex_sub.fldDEPT, qryYTD_Capex_sub.Name, qryYTD_Capex_sub.CAR_Number, qryYTD_Capex_sub.Description, qryYTD_Capex_sub.Yr, qryYTD_Capex_sub.Qtr, qryYTD_Capex_sub.Acquired_Value, qryYTD_Capex_sub.Kind, qryYTD_Capex_sub.fldRegion, qryYTD_Capex_sub.Internal_Asset_ID,qryYTD_Capex_sub.GLMBRANCHES.fldArea FROM qryYTD_Capex_sub; From ewaldt at gdls.com Mon Apr 9 12:09:09 2007 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Mon, 9 Apr 2007 13:09:09 -0400 Subject: [AccessD] Wrong number of records returned in Union query In-Reply-To: Message-ID: If you want the duplicates, why are you using the "DISTINCT" keyword, which tells Access that you don't want them? If you want the duplicates, don't use either of the distinct or distinctrow keywords. Sorry if this is too simple, but your SQL code doesn't seem to match what you say you're looking for. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems Date: Mon, 9 Apr 2007 11:39:02 -0500 From: "Hale, Jim" Subject: [AccessD] Wrong number of records returned in Union query To: accessd at databaseadvisors.com Message-ID: Content-Type: text/plain I have a simple select query that returns a different number of records when it is run by itself than when it is run inside a union query. I believe it is because duplicate records (which I need) are being dropped. I have tried the distinct and distinctrow key words in the union query to no avail. Can someone tell me how to fix this? Thanks The SQL for the union query is as follows ( the first query is the broken one: SELECT DISTINCT qryPlanCapex_sub.fldCOMPY, qryPlanCapex_sub.fldDEPT, qryPlanCapex_sub.Name, qryPlanCapex_sub.fldProjectNo, qryPlanCapex_sub.fldDescr, qryPlanCapex_sub.fldYr, qryPlanCapex_sub.fldQtr, qryPlanCapex_sub.fldAmt, qryPlanCapex_sub.Kind, qryPlanCapex_sub.fldRegion, qryPlanCapex_sub.PlanPrNO, qryPlanCapex_sub.fldArea FROM qryPlanCapex_sub; Union SELECT qryYTD_Capex_ApprovedAmt_sub.fldCOMPY, qryYTD_Capex_ApprovedAmt_sub.fldDEPT, qryYTD_Capex_ApprovedAmt_sub.Name, qryYTD_Capex_ApprovedAmt_sub.CAR_Number, qryYTD_Capex_ApprovedAmt_sub.Description, qryYTD_Capex_ApprovedAmt_sub.Yr, qryYTD_Capex_ApprovedAmt_sub.Qtr, qryYTD_Capex_ApprovedAmt_sub.CAR_Amount, qryYTD_Capex_ApprovedAmt_sub.Kind, qryYTD_Capex_ApprovedAmt_sub.fldRegion, qryYTD_Capex_ApprovedAmt_sub.Internal_Asset_ID, qryYTD_Capex_ApprovedAmt_sub.GLMBRANCHES.fldArea FROM qryYTD_Capex_ApprovedAmt_sub; UNION SELECT qryYTD_Capex_sub.fldCOMPY, qryYTD_Capex_sub.fldDEPT, qryYTD_Capex_sub.Name, qryYTD_Capex_sub.CAR_Number, qryYTD_Capex_sub.Description, qryYTD_Capex_sub.Yr, qryYTD_Capex_sub.Qtr, qryYTD_Capex_sub.Acquired_Value, qryYTD_Capex_sub.Kind, qryYTD_Capex_sub.fldRegion, qryYTD_Capex_sub.Internal_Asset_ID,qryYTD_Capex_sub.GLMBRANCHES.fldArea FROM qryYTD_Capex_sub; This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From accessd at shaw.ca Mon Apr 9 12:29:33 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 09 Apr 2007 10:29:33 -0700 Subject: [AccessD] Wrong number of records returned in Union query In-Reply-To: Message-ID: <0JG800HL4R2ZBXO2@l-daemon> Jim UNION ALL will get them all. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, April 09, 2007 9:39 AM To: accessd at databaseadvisors.com Subject: [AccessD] Wrong number of records returned in Union query I have a simple select query that returns a different number of records when it is run by itself than when it is run inside a union query. I believe it is because duplicate records (which I need) are being dropped. I have tried the distinct and distinctrow key words in the union query to no avail. Can someone tell me how to fix this? Thanks The SQL for the union query is as follows ( the first query is the broken one: SELECT DISTINCT qryPlanCapex_sub.fldCOMPY, qryPlanCapex_sub.fldDEPT, qryPlanCapex_sub.Name, qryPlanCapex_sub.fldProjectNo, qryPlanCapex_sub.fldDescr, qryPlanCapex_sub.fldYr, qryPlanCapex_sub.fldQtr, qryPlanCapex_sub.fldAmt, qryPlanCapex_sub.Kind, qryPlanCapex_sub.fldRegion, qryPlanCapex_sub.PlanPrNO, qryPlanCapex_sub.fldArea FROM qryPlanCapex_sub; Union SELECT qryYTD_Capex_ApprovedAmt_sub.fldCOMPY, qryYTD_Capex_ApprovedAmt_sub.fldDEPT, qryYTD_Capex_ApprovedAmt_sub.Name, qryYTD_Capex_ApprovedAmt_sub.CAR_Number, qryYTD_Capex_ApprovedAmt_sub.Description, qryYTD_Capex_ApprovedAmt_sub.Yr, qryYTD_Capex_ApprovedAmt_sub.Qtr, qryYTD_Capex_ApprovedAmt_sub.CAR_Amount, qryYTD_Capex_ApprovedAmt_sub.Kind, qryYTD_Capex_ApprovedAmt_sub.fldRegion, qryYTD_Capex_ApprovedAmt_sub.Internal_Asset_ID, qryYTD_Capex_ApprovedAmt_sub.GLMBRANCHES.fldArea FROM qryYTD_Capex_ApprovedAmt_sub; UNION SELECT qryYTD_Capex_sub.fldCOMPY, qryYTD_Capex_sub.fldDEPT, qryYTD_Capex_sub.Name, qryYTD_Capex_sub.CAR_Number, qryYTD_Capex_sub.Description, qryYTD_Capex_sub.Yr, qryYTD_Capex_sub.Qtr, qryYTD_Capex_sub.Acquired_Value, qryYTD_Capex_sub.Kind, qryYTD_Capex_sub.fldRegion, qryYTD_Capex_sub.Internal_Asset_ID,qryYTD_Capex_sub.GLMBRANCHES.fldArea FROM qryYTD_Capex_sub; *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Mon Apr 9 12:39:29 2007 From: JHewson at karta.com (Jim Hewson) Date: Mon, 9 Apr 2007 12:39:29 -0500 Subject: [AccessD] Wrong number of records returned in Union query In-Reply-To: References: Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C05074202@karta-exc-int.Karta.com> Jim, I would think that taking out "DISTINCT" in the first query would work. Another option - one that I use - is to create each query separately and insure the results of each query are what is needed. Then use a simple union between them. For example: If your first query was qryPlanCapex and your second was qryYTD_PlanCapex the your union query would be: SELECT * >From qryPlanCapex Union select * >From qryYTD_PlanCapex As long as each query has the same number of fields and are in the same order it should work. HTH Jim jhewson at karta.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, April 09, 2007 11:39 AM To: accessd at databaseadvisors.com Subject: [AccessD] Wrong number of records returned in Union query I have a simple select query that returns a different number of records when it is run by itself than when it is run inside a union query. I believe it is because duplicate records (which I need) are being dropped. I have tried the distinct and distinctrow key words in the union query to no avail. Can someone tell me how to fix this? Thanks The SQL for the union query is as follows ( the first query is the broken one: SELECT DISTINCT qryPlanCapex_sub.fldCOMPY, qryPlanCapex_sub.fldDEPT, qryPlanCapex_sub.Name, qryPlanCapex_sub.fldProjectNo, qryPlanCapex_sub.fldDescr, qryPlanCapex_sub.fldYr, qryPlanCapex_sub.fldQtr, qryPlanCapex_sub.fldAmt, qryPlanCapex_sub.Kind, qryPlanCapex_sub.fldRegion, qryPlanCapex_sub.PlanPrNO, qryPlanCapex_sub.fldArea FROM qryPlanCapex_sub; Union SELECT qryYTD_Capex_ApprovedAmt_sub.fldCOMPY, qryYTD_Capex_ApprovedAmt_sub.fldDEPT, qryYTD_Capex_ApprovedAmt_sub.Name, qryYTD_Capex_ApprovedAmt_sub.CAR_Number, qryYTD_Capex_ApprovedAmt_sub.Description, qryYTD_Capex_ApprovedAmt_sub.Yr, qryYTD_Capex_ApprovedAmt_sub.Qtr, qryYTD_Capex_ApprovedAmt_sub.CAR_Amount, qryYTD_Capex_ApprovedAmt_sub.Kind, qryYTD_Capex_ApprovedAmt_sub.fldRegion, qryYTD_Capex_ApprovedAmt_sub.Internal_Asset_ID, qryYTD_Capex_ApprovedAmt_sub.GLMBRANCHES.fldArea FROM qryYTD_Capex_ApprovedAmt_sub; UNION SELECT qryYTD_Capex_sub.fldCOMPY, qryYTD_Capex_sub.fldDEPT, qryYTD_Capex_sub.Name, qryYTD_Capex_sub.CAR_Number, qryYTD_Capex_sub.Description, qryYTD_Capex_sub.Yr, qryYTD_Capex_sub.Qtr, qryYTD_Capex_sub.Acquired_Value, qryYTD_Capex_sub.Kind, qryYTD_Capex_sub.fldRegion, qryYTD_Capex_sub.Internal_Asset_ID,qryYTD_Capex_sub.GLMBRANCHES.fldArea FROM qryYTD_Capex_sub; *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Mon Apr 9 12:56:57 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 09 Apr 2007 17:56:57 +0000 Subject: [AccessD] Wrong number of records returned in Union query In-Reply-To: <9C382E065F54AE48BC3AA7925DCBB01C05074202@karta-exc-int.Karta.com> Message-ID: I've replied to this post before...but I have not seen it show up... this is from the help file:"By default, no duplicate records are returned when you use a UNION operation; however, you can include the ALL predicate to ensure that all records are returned. This also makes the query run faster." Good Luck, Mark >From: "Jim Hewson" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Wrong number of records returned in Union query >Date: Mon, 9 Apr 2007 12:39:29 -0500 > >Jim, >I would think that taking out "DISTINCT" in the first query would work. >Another option - one that I use - is to create each query separately and >insure the results of each query are what is needed. >Then use a simple union between them. >For example: >If your first query was qryPlanCapex and your second was qryYTD_PlanCapex >the your union query would be: > >SELECT * > >From qryPlanCapex >Union select * > >From qryYTD_PlanCapex > >As long as each query has the same number of fields and are in the same >order it should work. > >HTH > >Jim >jhewson at karta.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim >Sent: Monday, April 09, 2007 11:39 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Wrong number of records returned in Union query > >I have a simple select query that returns a different number of records >when it is run by itself than when it is run inside a union query. I >believe >it is because duplicate records (which I need) are being dropped. I have >tried the distinct and distinctrow key words in the union query to no >avail. >Can someone tell me how to fix this? Thanks > >The SQL for the union query is as follows ( the first query is the broken >one: > >SELECT DISTINCT qryPlanCapex_sub.fldCOMPY, qryPlanCapex_sub.fldDEPT, >qryPlanCapex_sub.Name, qryPlanCapex_sub.fldProjectNo, >qryPlanCapex_sub.fldDescr, qryPlanCapex_sub.fldYr, qryPlanCapex_sub.fldQtr, >qryPlanCapex_sub.fldAmt, qryPlanCapex_sub.Kind, qryPlanCapex_sub.fldRegion, >qryPlanCapex_sub.PlanPrNO, qryPlanCapex_sub.fldArea FROM qryPlanCapex_sub; >Union >SELECT qryYTD_Capex_ApprovedAmt_sub.fldCOMPY, >qryYTD_Capex_ApprovedAmt_sub.fldDEPT, qryYTD_Capex_ApprovedAmt_sub.Name, >qryYTD_Capex_ApprovedAmt_sub.CAR_Number, >qryYTD_Capex_ApprovedAmt_sub.Description, qryYTD_Capex_ApprovedAmt_sub.Yr, >qryYTD_Capex_ApprovedAmt_sub.Qtr, qryYTD_Capex_ApprovedAmt_sub.CAR_Amount, >qryYTD_Capex_ApprovedAmt_sub.Kind, qryYTD_Capex_ApprovedAmt_sub.fldRegion, >qryYTD_Capex_ApprovedAmt_sub.Internal_Asset_ID, >qryYTD_Capex_ApprovedAmt_sub.GLMBRANCHES.fldArea >FROM qryYTD_Capex_ApprovedAmt_sub; >UNION >SELECT qryYTD_Capex_sub.fldCOMPY, qryYTD_Capex_sub.fldDEPT, >qryYTD_Capex_sub.Name, qryYTD_Capex_sub.CAR_Number, >qryYTD_Capex_sub.Description, qryYTD_Capex_sub.Yr, qryYTD_Capex_sub.Qtr, >qryYTD_Capex_sub.Acquired_Value, qryYTD_Capex_sub.Kind, >qryYTD_Capex_sub.fldRegion, >qryYTD_Capex_sub.Internal_Asset_ID,qryYTD_Capex_sub.GLMBRANCHES.fldArea >FROM qryYTD_Capex_sub; > >*********************************************************************** >The information transmitted is intended solely for the individual or >entity to which it is addressed and may contain confidential and/or >privileged material. Any review, retransmission, dissemination or >other use of or taking action in reliance upon this information by >persons or entities other than the intended recipient is prohibited. >If you have received this email in error please contact the sender and >delete the material from any computer. As a recipient of this email, >you are responsible for screening its contents and the contents of any >attachments for the presence of viruses. No liability is accepted for >any damages caused by any virus transmitted by this email. >-- >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 _________________________________________________________________ Mortgage refinance is Hot. *Terms. Get a 5.375%* fix rate. Check savings https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h2bbb&disc=y&vers=925&s=4056&p=5117 From Jim.Hale at FleetPride.com Mon Apr 9 12:55:21 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 9 Apr 2007 12:55:21 -0500 Subject: [AccessD] Wrong number of records returned in Union query Message-ID: That did the trick! Thanks Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 09, 2007 12:01 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Wrong number of records returned in Union query Hi Jim You are on the track. You need: UNION ALL /gustav >>> Jim.Hale at fleetpride.com 09-04-2007 18:39 >>> I have a simple select query that returns a different number of records when it is run by itself than when it is run inside a union query. I believe it is because duplicate records (which I need) are being dropped. I have tried the distinct and distinctrow key words in the union query to no avail. Can someone tell me how to fix this? Thanks The SQL for the union query is as follows ( the first query is the broken one: SELECT DISTINCT qryPlanCapex_sub.fldCOMPY, qryPlanCapex_sub.fldDEPT, qryPlanCapex_sub.Name, qryPlanCapex_sub.fldProjectNo, qryPlanCapex_sub.fldDescr, qryPlanCapex_sub.fldYr, qryPlanCapex_sub.fldQtr, qryPlanCapex_sub.fldAmt, qryPlanCapex_sub.Kind, qryPlanCapex_sub.fldRegion, qryPlanCapex_sub.PlanPrNO, qryPlanCapex_sub.fldArea FROM qryPlanCapex_sub; Union SELECT qryYTD_Capex_ApprovedAmt_sub.fldCOMPY, qryYTD_Capex_ApprovedAmt_sub.fldDEPT, qryYTD_Capex_ApprovedAmt_sub.Name, qryYTD_Capex_ApprovedAmt_sub.CAR_Number, qryYTD_Capex_ApprovedAmt_sub.Description, qryYTD_Capex_ApprovedAmt_sub.Yr, qryYTD_Capex_ApprovedAmt_sub.Qtr, qryYTD_Capex_ApprovedAmt_sub.CAR_Amount, qryYTD_Capex_ApprovedAmt_sub.Kind, qryYTD_Capex_ApprovedAmt_sub.fldRegion, qryYTD_Capex_ApprovedAmt_sub.Internal_Asset_ID, qryYTD_Capex_ApprovedAmt_sub.GLMBRANCHES.fldArea FROM qryYTD_Capex_ApprovedAmt_sub; UNION SELECT qryYTD_Capex_sub.fldCOMPY, qryYTD_Capex_sub.fldDEPT, qryYTD_Capex_sub.Name, qryYTD_Capex_sub.CAR_Number, qryYTD_Capex_sub.Description, qryYTD_Capex_sub.Yr, qryYTD_Capex_sub.Qtr, qryYTD_Capex_sub.Acquired_Value, qryYTD_Capex_sub.Kind, qryYTD_Capex_sub.fldRegion, qryYTD_Capex_sub.Internal_Asset_ID,qryYTD_Capex_sub.GLMBRANCHES.fldArea FROM qryYTD_Capex_sub; -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Jim.Hale at FleetPride.com Mon Apr 9 12:57:59 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 9 Apr 2007 12:57:59 -0500 Subject: [AccessD] Wrong number of records returned in Union query Message-ID: Union All worked. I tried Distinct when I was fiddling around trying to find a solution. Thanks Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Monday, April 09, 2007 12:09 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Wrong number of records returned in Union query If you want the duplicates, why are you using the "DISTINCT" keyword, which tells Access that you don't want them? If you want the duplicates, don't use either of the distinct or distinctrow keywords. Sorry if this is too simple, but your SQL code doesn't seem to match what you say you're looking for. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems Date: Mon, 9 Apr 2007 11:39:02 -0500 From: "Hale, Jim" Subject: [AccessD] Wrong number of records returned in Union query To: accessd at databaseadvisors.com Message-ID: Content-Type: text/plain I have a simple select query that returns a different number of records when it is run by itself than when it is run inside a union query. I believe it is because duplicate records (which I need) are being dropped. I have tried the distinct and distinctrow key words in the union query to no avail. Can someone tell me how to fix this? Thanks The SQL for the union query is as follows ( the first query is the broken one: *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From fuller.artful at gmail.com Mon Apr 9 13:37:35 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 9 Apr 2007 14:37:35 -0400 Subject: [AccessD] WANs and Access In-Reply-To: <001701c77924$ef2b14b0$0201a8c0@HAL9005> References: <29f585dd0704070746s19f4e01eu35258d0409d3df1f@mail.gmail.com> <001701c77924$ef2b14b0$0201a8c0@HAL9005> Message-ID: <29f585dd0704091137t5c79f28cjb424ec28b29f75b1@mail.gmail.com> The best approach for them is to set up a Terminal Services box in the office and have them log into it. It can run the Access app which in turn talks to a BE residing on another server. That way they get maximal speed and they are talking to the HQ database. On 4/7/07, Rocky Smolin at Beach Access Software wrote: > > Were the remotes doing updates, then? Or read only? > > In this case the remotes will be traveling, signing in from hotels and job > sites and such. So I suppose they could run the replication ad hoc? > > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Saturday, April 07, 2007 7:47 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] WANs and Access > > I have considerable experience doing this. In one case I had 4 offices > hooked together in a WAN, all running the same Access app. That's when I > became an expert at Access replication. I put a copy of the BE on a server > in each office, that the local users talked to. In the HQ office, a box > was > running Synchronizer and updated the branch BEs every 5 minutes, as I > recall. Thus the longest it could take for any remote user to see changes > made by a local user was 10 minutes. But even in the case of collisions, > Replication Manager handled them flawlessly. > > This delivered much better performance than the straight WAN approach, > which > I tried first and was very unsatisfied with the performance. Using > replication over the WAN resulted in much greater performance. > > Arthur > > > On 4/6/07, Rocky Smolin at Beach Access Software > wrote: > > > > I'll forward your name to the client. He's in Canada. > > > > Rocky > > > > > > > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim > > Lawrence > > Sent: Thursday, April 05, 2007 11:16 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] WANs and Access > > > > Hi Rocky: > > > > If you need any help with setting up applications running at different > > locations I could offer some help in that area as I have definitely > > done enough of that type of work. > > > > Jim > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin at Beach Access Software > > Sent: Thursday, April 05, 2007 10:09 AM > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] WANs and Access > > > > Had a prospect ask me how robust my application would be running over > > a WAN. > > Broadband connection but 'slow' according to his description. Plus > > folks dialing in from remote locations but at least 50MBPS. Anyone > > have any experience with this or know of any limitations with Access > > in this regard? > > > > MTIA, > > > > Rocky > > > > > > > > > > > > -- > > 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 > > > > -- > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: > > 4/4/2007 > > 1:09 PM > > > > > > -- > > 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 > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.446 / Virus Database: 268.18.26/750 - Release Date: 4/6/2007 > 9:30 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Mon Apr 9 14:54:50 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 09 Apr 2007 15:54:50 -0400 Subject: [AccessD] Case management and external files Message-ID: <000301c77ae0$ef9634d0$8abea8c0@XPS> Greetings All, Question: anyone done work with case management and external files (i.e medical records, faxes, Word Docs, etc)? I know it's always best to leave them external, but beyond that: a. Any best practices you've found for linking them to a given case - i.e. do you tag them or place them in a per claim specific directory? b. How do you handle inbound faxes? Any recommendations on software? c. What about e-mails with attachments? Manual operation to cut/save the attachment or something more automatic? Any insights would be helpful. Thanks, Jim From accessd at shaw.ca Mon Apr 9 15:11:19 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 09 Apr 2007 13:11:19 -0700 Subject: [AccessD] Case management and external files In-Reply-To: <000301c77ae0$ef9634d0$8abea8c0@XPS> Message-ID: <0JG800K84YKLF3S2@l-daemon> Hi Jim: For the one office I was commissioned to write a application that could manage all their projects. One of the components was the handling of account files, spreadsheets, invoices and other miscellaneous text file and graphics. These files were storied externally in a public/private set of directories but their locations were all transparently managed for the MS Access application. MS Access can be setup to access Outlook emails but how it would also manage attachments is something I have never researched. If there is any way I could help just let me know. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, April 09, 2007 12:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Case management and external files Greetings All, Question: anyone done work with case management and external files (i.e medical records, faxes, Word Docs, etc)? I know it's always best to leave them external, but beyond that: a. Any best practices you've found for linking them to a given case - i.e. do you tag them or place them in a per claim specific directory? b. How do you handle inbound faxes? Any recommendations on software? c. What about e-mails with attachments? Manual operation to cut/save the attachment or something more automatic? Any insights would be helpful. Thanks, Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Apr 9 15:22:15 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 09 Apr 2007 13:22:15 -0700 Subject: [AccessD] Case management and external files In-Reply-To: <000301c77ae0$ef9634d0$8abea8c0@XPS> References: <000301c77ae0$ef9634d0$8abea8c0@XPS> Message-ID: <461AA077.8000302@shaw.ca> One option, you might want to look at, are some of the more popular legal case management solutions. These are in the $200-300 range. The enterprise editions store info in SQL Server. You should have a basic series file numbering system to start with based on some sort of taxonomy. Look at TimeMatters, Legal Files, Billing Matters, and PracticeMaster, Amicus Attorney Both PracticeMaster and TimeMatters work with Outlook through MAPI and SMTP. http://www.abanet.org/tech/ltrc/ http://www.abanet.org/tech/ltrc/charts/casemanagementcomparison.html http://www.timematters.com/products/timematters/ Jim Dettman wrote: >Greetings All, > > Question: anyone done work with case management and external files (i.e >medical records, faxes, Word Docs, etc)? I know it's always best to leave >them external, but beyond that: > >a. Any best practices you've found for linking them to a given case - i.e. >do you tag them or place them in a per claim specific directory? > >b. How do you handle inbound faxes? Any recommendations on software? > >c. What about e-mails with attachments? Manual operation to cut/save the >attachment or something more automatic? > > Any insights would be helpful. > >Thanks, >Jim > > -- Marty Connelly Victoria, B.C. Canada From mwp.reid at qub.ac.uk Mon Apr 9 15:44:45 2007 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Mon, 9 Apr 2007 21:44:45 +0100 Subject: [AccessD] Case management and external files References: <000301c77ae0$ef9634d0$8abea8c0@XPS> Message-ID: Jim I just set up a case management system for the University Counselling Office in the SharePoint. Email and attachments directly to sharepoint email enabled lists. eg CounsolListName at qub.ac.uk and you can send docs directly into the sharepoint list. The user gets an automatic alert via Outlook that the doc is available. Almost no programming involved. Tight integration with our Active Directory. May not be suitable for you but worked out well so far for us. We use lists to split the cases up to individual staff, All access is strictly internal only which saved a lot of work. If they need to take the stuff of line we can always use A 2007 which works well for us as well. Its mainly all in test mode at the moment but we will be moving almost everything to MOSS 2007 over the next year or so. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Jim Dettman Sent: Mon 09/04/2007 20:54 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Case management and external files Greetings All, Question: anyone done work with case management and external files (i.e medical records, faxes, Word Docs, etc)? I know it's always best to leave them external, but beyond that: a. Any best practices you've found for linking them to a given case - i.e. do you tag them or place them in a per claim specific directory? b. How do you handle inbound faxes? Any recommendations on software? c. What about e-mails with attachments? Manual operation to cut/save the attachment or something more automatic? Any insights would be helpful. Thanks, Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Apr 9 15:54:54 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 9 Apr 2007 15:54:54 -0500 Subject: [AccessD] Case management and external files In-Reply-To: <000301c77ae0$ef9634d0$8abea8c0@XPS> References: <000301c77ae0$ef9634d0$8abea8c0@XPS> Message-ID: <002301c77ae9$534c33a0$0200a8c0@danwaters> Hi Jim, I do this frequently. I copy the files that a user has selected and move the copies to a specific directory on the server where the db is stored. I also make the copies read-only so that when someone opens it (with a hyperlink path created at run-time in code), they can't store changes over the stored copy. I use File Systems Object for this. I guess an inbound fax would need to be scanned electronically to be stored as a file. Unless there is software that can be used to view a fax and save it as a separate file without printing it out. I have figured out how to pull emails from Outlook and save them as separate files in .msg format. I was surprised to find that when I did this, any attachments came right along with the email! I'll have to go through my code to find this, and I'll reply again tomorrow. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, April 09, 2007 2:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Case management and external files Greetings All, Question: anyone done work with case management and external files (i.e medical records, faxes, Word Docs, etc)? I know it's always best to leave them external, but beyond that: a. Any best practices you've found for linking them to a given case - i.e. do you tag them or place them in a per claim specific directory? b. How do you handle inbound faxes? Any recommendations on software? c. What about e-mails with attachments? Manual operation to cut/save the attachment or something more automatic? Any insights would be helpful. Thanks, Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Mon Apr 9 16:06:39 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 9 Apr 2007 17:06:39 -0400 Subject: [AccessD] Case management and external files Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C204044063@xlivmbx35.aig.com> Regarding the attachments in emails: as has been pointed out, when you save such emails as .msg files the attachments are included. Regarding preventing the pesky users from damaging the stored files: I store the files somewhere on the network and the users get at the files via an Access app. When they select a file to examine the Access app *copies* the original to a predefined folder on the user's home drive, and then opens the copy for them to play with. When the Access application shuts down, any files found in the predefined folder are deleted. HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, April 09, 2007 3:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Case management and external files Greetings All, Question: anyone done work with case management and external files (i.e medical records, faxes, Word Docs, etc)? I know it's always best to leave them external, but beyond that: a. Any best practices you've found for linking them to a given case - i.e. do you tag them or place them in a per claim specific directory? b. How do you handle inbound faxes? Any recommendations on software? c. What about e-mails with attachments? Manual operation to cut/save the attachment or something more automatic? Any insights would be helpful. Thanks, Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Apr 9 16:25:42 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 9 Apr 2007 17:25:42 -0400 Subject: [AccessD] Case management and external files In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C204044063@xlivmbx35.aig.com> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C204044063@xlivmbx35.aig.com> Message-ID: <007601c77aed$a1572830$657aa8c0@m6805> I do the same. Outlook has a collection to hold messages. Each message has a collection to hold attachments. You can iterate these collections storing the objects as you wish. I "strip off" attachments all of the time simply by iterating the attachments collection and doing a save of the items. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Monday, April 09, 2007 5:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Case management and external files Regarding the attachments in emails: as has been pointed out, when you save such emails as .msg files the attachments are included. Regarding preventing the pesky users from damaging the stored files: I store the files somewhere on the network and the users get at the files via an Access app. When they select a file to examine the Access app *copies* the original to a predefined folder on the user's home drive, and then opens the copy for them to play with. When the Access application shuts down, any files found in the predefined folder are deleted. HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, April 09, 2007 3:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Case management and external files Greetings All, Question: anyone done work with case management and external files (i.e medical records, faxes, Word Docs, etc)? I know it's always best to leave them external, but beyond that: a. Any best practices you've found for linking them to a given case - i.e. do you tag them or place them in a per claim specific directory? b. How do you handle inbound faxes? Any recommendations on software? c. What about e-mails with attachments? Manual operation to cut/save the attachment or something more automatic? Any insights would be helpful. Thanks, Jim -- 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 DWUTKA at Marlow.com Mon Apr 9 16:48:48 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 9 Apr 2007 16:48:48 -0500 Subject: [AccessD] Change the focus from Access to an IE window. In-Reply-To: <337978.6942.qm@web33113.mail.mud.yahoo.com> Message-ID: There is an option in the advanced tab of the IE internet options window, which says whether IE will 'reuse' open browser windows. Not sure how ie 7.0 works with that, I still use 6.x. However, with that setting set to 'yes', what would happen is if you have a browser window open, and you click a link (say in an email), IE would grab that browser window and navigate to the link. With the setting to 'no', IE opens a NEW window every time you click a link. Not sure if this helps or not, I saw a posted solution (I think) which has you open a new IE instance, and then navigating to that... that should work independent of the above mentioned setting. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Friday, April 06, 2007 8:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change the focus from Access to an IE window. Yes. The majority of the time it works that way in my app as well. But we are seeing a considerable amount of times that it does not work that way. Especially when the user has more than one IE window open already. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Friday, April 6, 2007 8:38:20 AM Subject: Re: [AccessD] Change the focus from Access to an IE window. Hi Lonnie That is how my A2003 and IE7 behave by default. I don't even know how to change that. /gustav >>> prodevmg at yahoo.com 06-04-2007 05:13 >>> I have URL's in a table. When clicked from a form the website opens. I want to move the focus from Access to the newly opened window. How do I do that? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ ____________ Don't get soaked. Take a quick peek at the forecast with the Yahoo! Search weather shortcut. http://tools.search.yahoo.com/shortcuts/#loc_weather -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Apr 9 19:27:24 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 09 Apr 2007 20:27:24 -0400 Subject: [AccessD] Case management and external files In-Reply-To: <007601c77aed$a1572830$657aa8c0@m6805> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C204044063@xlivmbx35.aig.com> <007601c77aed$a1572830$657aa8c0@m6805> Message-ID: <007d01c77b07$058c0b40$8abea8c0@XPS> John, Sounds simple enough. I know anti-virus packages do this all the time. Thankfully, I can standardize on Outlook as a client, so this shouldn't be a major hurdle. What's bouncing around in the back of my mind is working with the faxes as well. I haven't played around in the e-mail/fax area for a while now (used to use Winfax Pro). I'm sure quite a bit has changed as has the products available. I also need to explore what Exchange has to offer for handling inbound faxes. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 09, 2007 5:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Case management and external files I do the same. Outlook has a collection to hold messages. Each message has a collection to hold attachments. You can iterate these collections storing the objects as you wish. I "strip off" attachments all of the time simply by iterating the attachments collection and doing a save of the items. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Monday, April 09, 2007 5:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Case management and external files Regarding the attachments in emails: as has been pointed out, when you save such emails as .msg files the attachments are included. Regarding preventing the pesky users from damaging the stored files: I store the files somewhere on the network and the users get at the files via an Access app. When they select a file to examine the Access app *copies* the original to a predefined folder on the user's home drive, and then opens the copy for them to play with. When the Access application shuts down, any files found in the predefined folder are deleted. HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, April 09, 2007 3:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Case management and external files Greetings All, Question: anyone done work with case management and external files (i.e medical records, faxes, Word Docs, etc)? I know it's always best to leave them external, but beyond that: a. Any best practices you've found for linking them to a given case - i.e. do you tag them or place them in a per claim specific directory? b. How do you handle inbound faxes? Any recommendations on software? c. What about e-mails with attachments? Manual operation to cut/save the attachment or something more automatic? Any insights would be helpful. Thanks, Jim -- 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 From jimdettman at verizon.net Mon Apr 9 19:27:24 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 09 Apr 2007 20:27:24 -0400 Subject: [AccessD] Case management and external files In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C204044063@xlivmbx35.aig.com> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C204044063@xlivmbx35.aig.com> Message-ID: <007e01c77b07$063088a0$8abea8c0@XPS> Thanks Lambert. Ensuring the integrity of received files is also something I'm concerned about. That sounds like a good solution. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Monday, April 09, 2007 5:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Case management and external files Regarding the attachments in emails: as has been pointed out, when you save such emails as .msg files the attachments are included. Regarding preventing the pesky users from damaging the stored files: I store the files somewhere on the network and the users get at the files via an Access app. When they select a file to examine the Access app *copies* the original to a predefined folder on the user's home drive, and then opens the copy for them to play with. When the Access application shuts down, any files found in the predefined folder are deleted. HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, April 09, 2007 3:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Case management and external files Greetings All, Question: anyone done work with case management and external files (i.e medical records, faxes, Word Docs, etc)? I know it's always best to leave them external, but beyond that: a. Any best practices you've found for linking them to a given case - i.e. do you tag them or place them in a per claim specific directory? b. How do you handle inbound faxes? Any recommendations on software? c. What about e-mails with attachments? Manual operation to cut/save the attachment or something more automatic? Any insights would be helpful. Thanks, Jim -- 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 jimdettman at verizon.net Mon Apr 9 19:27:24 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 09 Apr 2007 20:27:24 -0400 Subject: [AccessD] Case management and external files In-Reply-To: <461AA077.8000302@shaw.ca> References: <000301c77ae0$ef9634d0$8abea8c0@XPS> <461AA077.8000302@shaw.ca> Message-ID: <008101c77b07$07394610$8abea8c0@XPS> Marty, <> Definitely a thought.. This will be for a medicals claims system. <> Got that well in hand already. Main worry is all these external files. The end users are non-computer literate folks, so I need everything to be as automatic as possible. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 09, 2007 4:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Case management and external files One option, you might want to look at, are some of the more popular legal case management solutions. These are in the $200-300 range. The enterprise editions store info in SQL Server. You should have a basic series file numbering system to start with based on some sort of taxonomy. Look at TimeMatters, Legal Files, Billing Matters, and PracticeMaster, Amicus Attorney Both PracticeMaster and TimeMatters work with Outlook through MAPI and SMTP. http://www.abanet.org/tech/ltrc/ http://www.abanet.org/tech/ltrc/charts/casemanagementcomparison.html http://www.timematters.com/products/timematters/ Jim Dettman wrote: >Greetings All, > > Question: anyone done work with case management and external files (i.e >medical records, faxes, Word Docs, etc)? I know it's always best to leave >them external, but beyond that: > >a. Any best practices you've found for linking them to a given case - i.e. >do you tag them or place them in a per claim specific directory? > >b. How do you handle inbound faxes? Any recommendations on software? > >c. What about e-mails with attachments? Manual operation to cut/save the >attachment or something more automatic? > > Any insights would be helpful. > >Thanks, >Jim > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Apr 9 19:27:24 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 09 Apr 2007 20:27:24 -0400 Subject: [AccessD] Case management and external files In-Reply-To: <002301c77ae9$534c33a0$0200a8c0@danwaters> References: <000301c77ae0$ef9634d0$8abea8c0@XPS> <002301c77ae9$534c33a0$0200a8c0@danwaters> Message-ID: <007f01c77b07$067f44e0$8abea8c0@XPS> Dan, How do you view the attachments once they are in .msg format? I assume you'd need to go through Outlook, or do they show up as individual files? Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, April 09, 2007 4:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Case management and external files Hi Jim, I do this frequently. I copy the files that a user has selected and move the copies to a specific directory on the server where the db is stored. I also make the copies read-only so that when someone opens it (with a hyperlink path created at run-time in code), they can't store changes over the stored copy. I use File Systems Object for this. I guess an inbound fax would need to be scanned electronically to be stored as a file. Unless there is software that can be used to view a fax and save it as a separate file without printing it out. I have figured out how to pull emails from Outlook and save them as separate files in .msg format. I was surprised to find that when I did this, any attachments came right along with the email! I'll have to go through my code to find this, and I'll reply again tomorrow. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, April 09, 2007 2:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Case management and external files Greetings All, Question: anyone done work with case management and external files (i.e medical records, faxes, Word Docs, etc)? I know it's always best to leave them external, but beyond that: a. Any best practices you've found for linking them to a given case - i.e. do you tag them or place them in a per claim specific directory? b. How do you handle inbound faxes? Any recommendations on software? c. What about e-mails with attachments? Manual operation to cut/save the attachment or something more automatic? Any insights would be helpful. Thanks, Jim -- 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 jimdettman at verizon.net Mon Apr 9 19:27:24 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 09 Apr 2007 20:27:24 -0400 Subject: [AccessD] Case management and external files In-Reply-To: References: <000301c77ae0$ef9634d0$8abea8c0@XPS> Message-ID: <008001c77b07$06d77700$8abea8c0@XPS> Martin, Thanks for that. I have been starting to explore Share Point as one of the recommendations I'll be making is for them to purchase SBS 2003 and Office. My problem is I can't really find anything in all the fluff that Microsoft has about what it actually does or how it does it. I probably should install it and play with it (I have a MSDN Universal subscription) or buy a book. This setup will have medical records coming in via e-mail and fax. Most are .tiff or PDF format. I'd really like a setup where I strip off the attachment, tag and save them. Some type of notification to the user will also be required (I was thinking it would be just the e-mail or fax itself sans the attachments). I'm also going to need outbound capability, but I don't think that's going to be as problematic. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Monday, April 09, 2007 4:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Case management and external files Jim I just set up a case management system for the University Counselling Office in the SharePoint. Email and attachments directly to sharepoint email enabled lists. eg CounsolListName at qub.ac.uk and you can send docs directly into the sharepoint list. The user gets an automatic alert via Outlook that the doc is available. Almost no programming involved. Tight integration with our Active Directory. May not be suitable for you but worked out well so far for us. We use lists to split the cases up to individual staff, All access is strictly internal only which saved a lot of work. If they need to take the stuff of line we can always use A 2007 which works well for us as well. Its mainly all in test mode at the moment but we will be moving almost everything to MOSS 2007 over the next year or so. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Jim Dettman Sent: Mon 09/04/2007 20:54 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Case management and external files Greetings All, Question: anyone done work with case management and external files (i.e medical records, faxes, Word Docs, etc)? I know it's always best to leave them external, but beyond that: a. Any best practices you've found for linking them to a given case - i.e. do you tag them or place them in a per claim specific directory? b. How do you handle inbound faxes? Any recommendations on software? c. What about e-mails with attachments? Manual operation to cut/save the attachment or something more automatic? Any insights would be helpful. Thanks, Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Apr 9 19:27:24 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 09 Apr 2007 20:27:24 -0400 Subject: [AccessD] Case management and external files In-Reply-To: <0JG800K84YKLF3S2@l-daemon> References: <000301c77ae0$ef9634d0$8abea8c0@XPS> <0JG800K84YKLF3S2@l-daemon> Message-ID: <008201c77b07$078cbd40$8abea8c0@XPS> Jim, <> Thanks. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, April 09, 2007 4:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Case management and external files Hi Jim: For the one office I was commissioned to write a application that could manage all their projects. One of the components was the handling of account files, spreadsheets, invoices and other miscellaneous text file and graphics. These files were storied externally in a public/private set of directories but their locations were all transparently managed for the MS Access application. MS Access can be setup to access Outlook emails but how it would also manage attachments is something I have never researched. If there is any way I could help just let me know. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, April 09, 2007 12:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Case management and external files Greetings All, Question: anyone done work with case management and external files (i.e medical records, faxes, Word Docs, etc)? I know it's always best to leave them external, but beyond that: a. Any best practices you've found for linking them to a given case - i.e. do you tag them or place them in a per claim specific directory? b. How do you handle inbound faxes? Any recommendations on software? c. What about e-mails with attachments? Manual operation to cut/save the attachment or something more automatic? Any insights would be helpful. Thanks, Jim -- 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 dwaters at usinternet.com Mon Apr 9 20:21:49 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 9 Apr 2007 20:21:49 -0500 Subject: [AccessD] Case management and external files In-Reply-To: <007f01c77b07$067f44e0$8abea8c0@XPS> References: <000301c77ae0$ef9634d0$8abea8c0@XPS><002301c77ae9$534c33a0$0200a8c0@danwaters> <007f01c77b07$067f44e0$8abea8c0@XPS> Message-ID: <002901c77b0e$9d2d51a0$0200a8c0@danwaters> Jim, The attachments are contained with the single file. Open an outlook email you've received that has an attachment. Save it as a separate file using .msg format. Now close Outlook. Now open that file, and you'll see the attachment with it! It's pretty nice! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, April 09, 2007 7:27 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Case management and external files Dan, How do you view the attachments once they are in .msg format? I assume you'd need to go through Outlook, or do they show up as individual files? Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, April 09, 2007 4:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Case management and external files Hi Jim, I do this frequently. I copy the files that a user has selected and move the copies to a specific directory on the server where the db is stored. I also make the copies read-only so that when someone opens it (with a hyperlink path created at run-time in code), they can't store changes over the stored copy. I use File Systems Object for this. I guess an inbound fax would need to be scanned electronically to be stored as a file. Unless there is software that can be used to view a fax and save it as a separate file without printing it out. I have figured out how to pull emails from Outlook and save them as separate files in .msg format. I was surprised to find that when I did this, any attachments came right along with the email! I'll have to go through my code to find this, and I'll reply again tomorrow. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, April 09, 2007 2:55 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Case management and external files Greetings All, Question: anyone done work with case management and external files (i.e medical records, faxes, Word Docs, etc)? I know it's always best to leave them external, but beyond that: a. Any best practices you've found for linking them to a given case - i.e. do you tag them or place them in a per claim specific directory? b. How do you handle inbound faxes? Any recommendations on software? c. What about e-mails with attachments? Manual operation to cut/save the attachment or something more automatic? Any insights would be helpful. Thanks, Jim -- 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 From michael at ddisolutions.com.au Mon Apr 9 21:07:15 2007 From: michael at ddisolutions.com.au (Michael Maddison) Date: Tue, 10 Apr 2007 12:07:15 +1000 Subject: [AccessD] New database design for MS SQL References: <0JG100L1REXIDTG0@l-daemon> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D01289580@ddi-01.DDI.local> Hmmm, Sounds very close to www.nettiers.com Definitely worth a look for those using VS 2005. cheers Michael M Eeek! How on earth would I do that?? I can explain that we use a data tier that abstracts the actual data structures by building "entity" classes that implement a typeddataset for that data entity and interface classes that define what the data providers will expose for the entity. The entity/typeddataset can address and manipulate a single table or multiple related tables simultaneously. We use an OleDbProvider project that houses the SQL (in XML files) and code classes specific to a related group of tables and their children. The entity classes call into the data provider classes, so the code to do a particular thing (i.e., get the next ID number for a particular table for a particular set of parameters) is in a single location. We build "business rules" into the entity classes that take care of things like returning an exception if a record is being deleted and there are related records that need to be deleted or reassigned. We also use them to cascade changes/deletions/insertions to tables where it can't be done automatically. For instance, when we create a new Well record, the data tier automatically creates and initial wellBore record and doesn't allow the user to delete that wellbore except by deleting the well. Someday, if I ever find the time, I'm going to try modelling this in Access! Any questions?? LOL Charlotte Foust From martyconnelly at shaw.ca Mon Apr 9 21:25:42 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 09 Apr 2007 19:25:42 -0700 Subject: [AccessD] Case management and external files In-Reply-To: <008101c77b07$07394610$8abea8c0@XPS> References: <000301c77ae0$ef9634d0$8abea8c0@XPS> <461AA077.8000302@shaw.ca> <008101c77b07$07394610$8abea8c0@XPS> Message-ID: <461AF5A6.8030807@shaw.ca> Here is one mailing list you could ask questions that might help. It a a legal software list, I look at occasionally ABA American Bar Association Legal Technology Resource Center http://mail.abanet.org/archives/lawtech.html Jim Dettman wrote: >Marty, > >< legal case management solutions. These are in the $200-300 range. >The enterprise editions store info in SQL Server.>> > > Definitely a thought.. This will be for a medicals claims system. > ><with based on some sort of taxonomy.>> > > Got that well in hand already. Main worry is all these external files. >The end users are non-computer literate folks, so I need everything to be as >automatic as possible. > >Jim. > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Monday, April 09, 2007 4:22 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Case management and external files > >One option, you might want to look at, are some of the more popular > legal case management solutions. These are in the $200-300 range. >The enterprise editions store info in SQL Server. > >You should have a basic series file numbering system to start >with based on some sort of taxonomy. > >Look at TimeMatters, Legal Files, Billing Matters, and >PracticeMaster, Amicus Attorney > >Both PracticeMaster and TimeMatters work with Outlook > through MAPI and SMTP. > >http://www.abanet.org/tech/ltrc/ > >http://www.abanet.org/tech/ltrc/charts/casemanagementcomparison.html > >http://www.timematters.com/products/timematters/ > >Jim Dettman wrote: > > > >>Greetings All, >> >> Question: anyone done work with case management and external files (i.e >>medical records, faxes, Word Docs, etc)? I know it's always best to leave >>them external, but beyond that: >> >>a. Any best practices you've found for linking them to a given case - i.e. >>do you tag them or place them in a per claim specific directory? >> >>b. How do you handle inbound faxes? Any recommendations on software? >> >>c. What about e-mails with attachments? Manual operation to cut/save the >>attachment or something more automatic? >> >> Any insights would be helpful. >> >>Thanks, >>Jim >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From pcs at azizaz.com Mon Apr 9 23:50:51 2007 From: pcs at azizaz.com (pcs at azizaz.com) Date: Tue, 10 Apr 2007 14:50:51 +1000 (EST) Subject: [AccessD] Suppress System Dialog when closing DataSheet Form Message-ID: <20070410145051.CRP23482@dommail.onthenet.com.au> Hi, I need help with the following: I am opening a form called frmDisplay in design mode from code that has opened an ado recordset frmDisplay has 100 text controls named TextControl1, TextControl2, .. TextControl100 that's all... no code behind form After opening the Form I set the name of the textcontrols to the name of the fields in the ado recordset; next I set the recordsource of the now named textcontrols to the fields in the ado recordset; then I set the recordset of frmDisplay to the ado recordset; and I open the Form is Datasheet mode.... So far so good....I can see the ado recordset as a 'table', resizing columns etc. .... any unused textcontrols are still named TextControl(n) .... all is good! My problem comes when I am closing frmDisplay using the datasheet's close control. I want to suppress the Access System prompt: "The Form has been changed etc. do you want to save the changes?" Yes(default) - No - Cancel The User should just be able to close the Form ..... I've tried to cancel the closing of the Form on the UnLoad event - in order to gain programmatic control of the close process, but the system prompt has already kicked in by then.... If I set warnings to False, I get rid of the system prompt, but since Yes is the default - the Form is closed with all design changes saved!! not good!! Any suggestion?? Regards borge The User sh From Gustav at cactus.dk Tue Apr 10 04:12:27 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 10 Apr 2007 11:12:27 +0200 Subject: [AccessD] Suppress System Dialog when closing DataSheet Form Message-ID: Hi Borge Couldn't you just create a master form which you copy to the name you currently use, then modify it as described. When finished, close and save (as you have to do now), then delete the modified form. Another option is to write-protect the database file, thus any design change cannot be saved. Of course, neither can any other change - like writing to local temp tables - be saved. As will any bloating be history. /gustav >>> pcs at azizaz.com 10-04-2007 06:50 >>> Hi, I need help with the following: I am opening a form called frmDisplay in design mode from code that has opened an ado recordset frmDisplay has 100 text controls named TextControl1, TextControl2, .. TextControl100 that's all... no code behind form After opening the Form I set the name of the textcontrols to the name of the fields in the ado recordset; next I set the recordsource of the now named textcontrols to the fields in the ado recordset; then I set the recordset of frmDisplay to the ado recordset; and I open the Form is Datasheet mode.... So far so good....I can see the ado recordset as a 'table', resizing columns etc. .... any unused textcontrols are still named TextControl(n) .... all is good! My problem comes when I am closing frmDisplay using the datasheet's close control. I want to suppress the Access System prompt: "The Form has been changed etc. do you want to save the changes?" Yes(default) - No - Cancel The User should just be able to close the Form ..... I've tried to cancel the closing of the Form on the UnLoad event - in order to gain programmatic control of the close process, but the system prompt has already kicked in by then.... If I set warnings to False, I get rid of the system prompt, but since Yes is the default - the Form is closed with all design changes saved!! not good!! Any suggestion?? Regards borge From jwcolby at colbyconsulting.com Tue Apr 10 06:31:10 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 10 Apr 2007 07:31:10 -0400 Subject: [AccessD] Case management and external files In-Reply-To: <008101c77b07$07394610$8abea8c0@XPS> References: <000301c77ae0$ef9634d0$8abea8c0@XPS> <461AA077.8000302@shaw.ca> <008101c77b07$07394610$8abea8c0@XPS> Message-ID: <000901c77b63$bdcc9ab0$657aa8c0@m6805> Jim, They should be thinking of a document scanner / archive. DIS, my insurance client, scans all of their paperwork and has a completely paperless system. The scanned paperwork is assigned a claim number to link it back to the claim. They take paperwork as it comes in the door and scans it (manually, but it does have a document feeder). It is not totally integrated, unfortunately the archive system cannot be easily manipulated by my call center software but it still works a treat. This system has a "remote access" kind of thing where users remote in from their desk (the system is inside of their building) to access / view documents. Not cheap at somewhere south of 20K but given the cost of my time to build the call center software, cost of storage for the paper etc. DIS still thinks it is reasonable. Plus, they can generate PDF files of all the docs in a case and mail it (DVDs) to interested parties. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, April 09, 2007 8:27 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Case management and external files Marty, <> Definitely a thought.. This will be for a medicals claims system. <> Got that well in hand already. Main worry is all these external files. The end users are non-computer literate folks, so I need everything to be as automatic as possible. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 09, 2007 4:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Case management and external files One option, you might want to look at, are some of the more popular legal case management solutions. These are in the $200-300 range. The enterprise editions store info in SQL Server. You should have a basic series file numbering system to start with based on some sort of taxonomy. Look at TimeMatters, Legal Files, Billing Matters, and PracticeMaster, Amicus Attorney Both PracticeMaster and TimeMatters work with Outlook through MAPI and SMTP. http://www.abanet.org/tech/ltrc/ http://www.abanet.org/tech/ltrc/charts/casemanagementcomparison.html http://www.timematters.com/products/timematters/ Jim Dettman wrote: >Greetings All, > > Question: anyone done work with case management and external files >(i.e medical records, faxes, Word Docs, etc)? I know it's always best >to leave them external, but beyond that: > >a. Any best practices you've found for linking them to a given case - i.e. >do you tag them or place them in a per claim specific directory? > >b. How do you handle inbound faxes? Any recommendations on software? > >c. What about e-mails with attachments? Manual operation to cut/save >the attachment or something more automatic? > > Any insights would be helpful. > >Thanks, >Jim > > -- Marty Connelly Victoria, B.C. Canada -- 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 markamatte at hotmail.com Tue Apr 10 10:31:28 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 10 Apr 2007 15:31:28 +0000 Subject: [AccessD] Suppress System Dialog when closing DataSheet Form In-Reply-To: <20070410145051.CRP23482@dommail.onthenet.com.au> Message-ID: Borge, Could you use: DoCmd.Close acForm, "form1", acSaveNo to close the form? Thanks, Mark A. Matte >From: >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problemsolving > >CC: pcs at azizaz.com >Subject: [AccessD] Suppress System Dialog when closing DataSheet Form >Date: Tue, 10 Apr 2007 14:50:51 +1000 (EST) > >Hi, > >I need help with the following: > >I am opening a form called frmDisplay in design mode from >code that has opened an ado recordset > >frmDisplay has 100 text controls named >TextControl1, >TextControl2, >.. >TextControl100 > >that's all... no code behind form > >After opening the Form I set the name of the textcontrols to >the name of the fields in the ado recordset; >next I set the recordsource of the now named textcontrols to >the fields in the ado recordset; >then I set the recordset of frmDisplay to the ado recordset; >and I open the Form is Datasheet mode.... > >So far so good....I can see the ado recordset as a 'table', >resizing columns etc. .... any unused textcontrols are still >named TextControl(n) .... all is good! > >My problem comes when I am closing frmDisplay using the >datasheet's close control. > >I want to suppress the Access System prompt: > >"The Form has been changed etc. do you want to save the >changes?" Yes(default) - No - Cancel > >The User should just be able to close the Form ..... > >I've tried to cancel the closing of the Form on the UnLoad >event - in order to gain programmatic control of the close >process, but the system prompt has already kicked in by >then.... If I set warnings to False, I get rid of the >system prompt, but since Yes is the default - the Form is >closed with all design changes saved!! not good!! > >Any suggestion?? > >Regards >borge > > >The User sh >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN is giving away a trip to Vegas to see Elton John.? Enter to win today. http://msnconcertcontest.com?icid-nceltontagline From jwcolby at colbyconsulting.com Tue Apr 10 10:36:52 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 10 Apr 2007 11:36:52 -0400 Subject: [AccessD] Suppress System Dialog when closing DataSheet Form In-Reply-To: References: <20070410145051.CRP23482@dommail.onthenet.com.au> Message-ID: <000601c77b86$11558580$657aa8c0@m6805> Yes, but you will have to disable the close button in the upper left of the form (the X), then build a close button that runs that code. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, April 10, 2007 11:31 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Suppress System Dialog when closing DataSheet Form Borge, Could you use: DoCmd.Close acForm, "form1", acSaveNo to close the form? Thanks, Mark A. Matte >From: >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problemsolving > >CC: pcs at azizaz.com >Subject: [AccessD] Suppress System Dialog when closing DataSheet Form >Date: Tue, 10 Apr 2007 14:50:51 +1000 (EST) > >Hi, > >I need help with the following: > >I am opening a form called frmDisplay in design mode from code that has >opened an ado recordset > >frmDisplay has 100 text controls named >TextControl1, >TextControl2, >.. >TextControl100 > >that's all... no code behind form > >After opening the Form I set the name of the textcontrols to the name >of the fields in the ado recordset; next I set the recordsource of the >now named textcontrols to the fields in the ado recordset; then I set >the recordset of frmDisplay to the ado recordset; and I open the Form >is Datasheet mode.... > >So far so good....I can see the ado recordset as a 'table', resizing >columns etc. .... any unused textcontrols are still named >TextControl(n) .... all is good! > >My problem comes when I am closing frmDisplay using the datasheet's >close control. > >I want to suppress the Access System prompt: > >"The Form has been changed etc. do you want to save the changes?" >Yes(default) - No - Cancel > >The User should just be able to close the Form ..... > >I've tried to cancel the closing of the Form on the UnLoad event - in >order to gain programmatic control of the close process, but the system >prompt has already kicked in by then.... If I set warnings to False, I >get rid of the system prompt, but since Yes is the default - the Form >is closed with all design changes saved!! not good!! > >Any suggestion?? > >Regards >borge > > >The User sh >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN is giving away a trip to Vegas to see Elton John. Enter to win today. http://msnconcertcontest.com?icid-nceltontagline From reuben at gfconsultants.com Tue Apr 10 10:46:23 2007 From: reuben at gfconsultants.com (Reuben Cummings) Date: Tue, 10 Apr 2007 11:46:23 -0400 Subject: [AccessD] Error Handler failing - A2K Message-ID: Recently, in some apps, the error handlers do not seem to be working properly. For example, one that I am fighting right now is a line like this...(this is a extremely simple version of the function) ==================================================== On Error GoTo No_beuDBAGetProp beuDBAGetProp = db.Properties(strProp) Exit_beuDBAGetProp: Set db = Nothing Exit Function No_beuDBAGetProp: On Error GoTo Err_beuDBAGetProp If beuDBACreateProp(db, strProp) = True Then Resume 0 Else Resume Exit_beuDBAGetProp End If ==================================================== So when the code tries to retreive the property and it doesn't exist it should goto the No_.. line and start the routine to create the property. However, it just pops up the standard Access error dialog and stops the code from running. I have the same problem in a relinking function where I check for a table in the BE... On Error Resume Next Set rst = db.OpenRecordset(conLinkTable) Whether the link is good or not it should continue to the next line. Again, in this case, it stops the code and will not continue. What's going on? Reuben Cummings GFC, LLC 812.523.1017 From carbonnb at gmail.com Tue Apr 10 11:20:05 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 10 Apr 2007 12:20:05 -0400 Subject: [AccessD] Error Handler failing - A2K In-Reply-To: References: Message-ID: On 4/10/07, Reuben Cummings wrote: > Recently, in some apps, the error handlers do not seem to be working > properly. > What's going on? In the VBE Tools|Options... General Tab You should have Break on Unhandled Errors selected and not Break on All Errors, as I suspect you have. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From jwcolby at colbyconsulting.com Tue Apr 10 12:15:54 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 10 Apr 2007 13:15:54 -0400 Subject: [AccessD] Error Handler failing - A2K In-Reply-To: References: Message-ID: <000e01c77b93$e6bc0840$657aa8c0@m6805> This is probably a runtime SYNTAX error. I would guess that you need to use a set statement. Set beuDBAGetProp = db.Properties(strProp) Or... The property being returned is not the correct type defined in the property statement - returning a long when the property is expecting to return a currency, something like that. Or... Do a decompile / compile . Compact / repair. Or... Jump up and down on one foot, muttering incantations to the right subset of the Access gods, promising never to try anything too complex with Access again... ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings Sent: Tuesday, April 10, 2007 11:46 AM To: AccessD Subject: [AccessD] Error Handler failing - A2K Recently, in some apps, the error handlers do not seem to be working properly. For example, one that I am fighting right now is a line like this...(this is a extremely simple version of the function) ==================================================== On Error GoTo No_beuDBAGetProp beuDBAGetProp = db.Properties(strProp) Exit_beuDBAGetProp: Set db = Nothing Exit Function No_beuDBAGetProp: On Error GoTo Err_beuDBAGetProp If beuDBACreateProp(db, strProp) = True Then Resume 0 Else Resume Exit_beuDBAGetProp End If ==================================================== So when the code tries to retreive the property and it doesn't exist it should goto the No_.. line and start the routine to create the property. However, it just pops up the standard Access error dialog and stops the code from running. I have the same problem in a relinking function where I check for a table in the BE... On Error Resume Next Set rst = db.OpenRecordset(conLinkTable) Whether the link is good or not it should continue to the next line. Again, in this case, it stops the code and will not continue. What's going on? Reuben Cummings GFC, LLC 812.523.1017 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Apr 10 12:17:10 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 10 Apr 2007 13:17:10 -0400 Subject: [AccessD] Error Handler failing - A2K In-Reply-To: References: Message-ID: <000f01c77b94$13964560$657aa8c0@m6805> Good one! But why suddenly? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, April 10, 2007 12:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error Handler failing - A2K On 4/10/07, Reuben Cummings wrote: > Recently, in some apps, the error handlers do not seem to be working > properly. > What's going on? In the VBE Tools|Options... General Tab You should have Break on Unhandled Errors selected and not Break on All Errors, as I suspect you have. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Tue Apr 10 12:18:07 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 10 Apr 2007 17:18:07 +0000 Subject: [AccessD] Emails getting Returned In-Reply-To: Message-ID: I've replied to 3 messages from AccessD today. 2 of the were kicked back. No reason given. below is the text of the email: "This is an automatically generated Delivery Status Notification. Delivery to the following recipients failed. accessd at databaseadvisors.com" Just wanted to let someone know. Thanks, Mark A. Matte >From: "Bryan Carbonnell" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Error Handler failing - A2K >Date: Tue, 10 Apr 2007 12:20:05 -0400 > >On 4/10/07, Reuben Cummings wrote: > > Recently, in some apps, the error handlers do not seem to be working > > properly. > > > > > What's going on? > >In the VBE > >Tools|Options... >General Tab > >You should have Break on Unhandled Errors selected and not Break on >All Errors, as I suspect you have. > > >-- >Bryan Carbonnell - carbonnb at gmail.com >Life's journey is not to arrive at the grave safely in a well >preserved body, but rather to skid in sideways, totally worn out, >shouting "What a great ride!" >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The average US Credit Score is 675. The cost to see yours: $0 by Experian. http://www.freecreditreport.com/pm/default.aspx?sc=660600&bcd=EMAILFOOTERAVERAGE From reuben at gfconsultants.com Tue Apr 10 13:00:47 2007 From: reuben at gfconsultants.com (Reuben Cummings) Date: Tue, 10 Apr 2007 14:00:47 -0400 Subject: [AccessD] Error Handler failing - A2K In-Reply-To: <000e01c77b93$e6bc0840$657aa8c0@m6805> Message-ID: > Or... Jump up and down on one foot, muttering incantations to the right > subset of the Access gods, promising never to try anything too > complex with > Access again... I think this is my best option... This is all code that has run flawlessly for years. I have decompile/compiled/compacted and imported everything to a new db and tried all that stuff again. Sometimes I have problems - sometimes I don't. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of JWColby > Sent: Tuesday, April 10, 2007 1:16 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Error Handler failing - A2K > > > This is probably a runtime SYNTAX error. I would guess that you > need to use > a set statement. > > Set beuDBAGetProp = db.Properties(strProp) > > Or... The property being returned is not the correct type defined in the > property statement - returning a long when the property is expecting to > return a currency, something like that. > > Or... Do a decompile / compile . Compact / repair. > > Or... Jump up and down on one foot, muttering incantations to the right > subset of the Access gods, promising never to try anything too > complex with > Access again... > > ;-) > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings > Sent: Tuesday, April 10, 2007 11:46 AM > To: AccessD > Subject: [AccessD] Error Handler failing - A2K > > Recently, in some apps, the error handlers do not seem to be working > properly. > > For example, one that I am fighting right now is a line like > this...(this is > a extremely simple version of the function) > > ==================================================== > On Error GoTo No_beuDBAGetProp > beuDBAGetProp = db.Properties(strProp) > > Exit_beuDBAGetProp: > Set db = Nothing > Exit Function > No_beuDBAGetProp: > On Error GoTo Err_beuDBAGetProp > If beuDBACreateProp(db, strProp) = True Then > Resume 0 > Else > Resume Exit_beuDBAGetProp > End If > ==================================================== > > So when the code tries to retreive the property and it doesn't exist it > should goto the No_.. line and start the routine to create the property. > However, it just pops up the standard Access error dialog and > stops the code > from running. > > I have the same problem in a relinking function where I check for > a table in > the BE... > On Error Resume Next > Set rst = db.OpenRecordset(conLinkTable) > > Whether the link is good or not it should continue to the next > line. Again, > in this case, it stops the code and will not continue. > > What's going on? > > Reuben Cummings > GFC, LLC > 812.523.1017 > > > > > -- > 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 reuben at gfconsultants.com Tue Apr 10 13:00:46 2007 From: reuben at gfconsultants.com (Reuben Cummings) Date: Tue, 10 Apr 2007 14:00:46 -0400 Subject: [AccessD] Error Handler failing - A2K In-Reply-To: Message-ID: Good idea, but unfortunately not it. Also, this is extremely intermittent - after writing the email neither error occurred in the same db that caused me to write the email. The one thing that may be in common on the apps that this occurs in is that they are being worked on on a different (newer) computer and then I am bringing them back to mine to finalize the updates and create the exe for distribution. In the normal course of me working on them I am finding these error problems. I'll have to investigate exactly what files I have problems with and when and where they were worked on. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bryan > Carbonnell > Sent: Tuesday, April 10, 2007 12:20 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Error Handler failing - A2K > > > On 4/10/07, Reuben Cummings wrote: > > Recently, in some apps, the error handlers do not seem to be working > > properly. > > > > > What's going on? > > In the VBE > > Tools|Options... > General Tab > > You should have Break on Unhandled Errors selected and not Break on > All Errors, as I suspect you have. > > > -- > Bryan Carbonnell - carbonnb at gmail.com > Life's journey is not to arrive at the grave safely in a well > preserved body, but rather to skid in sideways, totally worn out, > shouting "What a great ride!" > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From carbonnb at gmail.com Tue Apr 10 13:10:41 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 10 Apr 2007 14:10:41 -0400 Subject: [AccessD] Error Handler failing - A2K In-Reply-To: <000f01c77b94$13964560$657aa8c0@m6805> References: <000f01c77b94$13964560$657aa8c0@m6805> Message-ID: On 4/10/07, JWColby wrote: > Good one! But why suddenly? Someone got somewhere they shouldn't? -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From carbonnb at gmail.com Tue Apr 10 13:12:33 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 10 Apr 2007 14:12:33 -0400 Subject: [AccessD] Error Handler failing - A2K In-Reply-To: References: Message-ID: On 4/10/07, Reuben Cummings wrote: > Good idea, but unfortunately not it. Also, this is extremely intermittent - > after writing the email neither error occurred in the same db that caused me > to write the email. > > The one thing that may be in common on the apps that this occurs in is that > they are being worked on on a different (newer) computer and then I am > bringing them back to mine to finalize the updates and create the exe for > distribution. > > In the normal course of me working on them I am finding these error > problems. > > I'll have to investigate exactly what files I have problems with and when > and where they were worked on. First place to check is Jet SP levels. I ran into all sorts of weird problems with A2K and Jet SP levels a while back (ok, a few years ago). All it took was ignoring IT and upgrading the workstations to Jet SP6 (IIRC), which is what my development machine was at. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From cfoust at infostatsystems.com Tue Apr 10 13:13:15 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 10 Apr 2007 11:13:15 -0700 Subject: [AccessD] New database design for MS SQL In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D01289580@ddi-01.DDI.local> References: <0JG100L1REXIDTG0@l-daemon> <59A61174B1F5B54B97FD4ADDE71E7D01289580@ddi-01.DDI.local> Message-ID: If you're writing C#, of course! LOL We do use CodeSmith, primarily to autogen Nunit tests and some of our basic stuff in data entities, unless we need to custom build them. I hand build Nunit tests for business rules ... And hand build the business rules as well. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Monday, April 09, 2007 7:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New database design for MS SQL Hmmm, Sounds very close to www.nettiers.com Definitely worth a look for those using VS 2005. cheers Michael M Eeek! How on earth would I do that?? I can explain that we use a data tier that abstracts the actual data structures by building "entity" classes that implement a typeddataset for that data entity and interface classes that define what the data providers will expose for the entity. The entity/typeddataset can address and manipulate a single table or multiple related tables simultaneously. We use an OleDbProvider project that houses the SQL (in XML files) and code classes specific to a related group of tables and their children. The entity classes call into the data provider classes, so the code to do a particular thing (i.e., get the next ID number for a particular table for a particular set of parameters) is in a single location. We build "business rules" into the entity classes that take care of things like returning an exception if a record is being deleted and there are related records that need to be deleted or reassigned. We also use them to cascade changes/deletions/insertions to tables where it can't be done automatically. For instance, when we create a new Well record, the data tier automatically creates and initial wellBore record and doesn't allow the user to delete that wellbore except by deleting the well. Someday, if I ever find the time, I'm going to try modelling this in Access! Any questions?? LOL Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Tue Apr 10 13:15:40 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 10 Apr 2007 14:15:40 -0400 Subject: [AccessD] Emails getting Returned In-Reply-To: References: Message-ID: On 4/10/07, Mark A Matte wrote: > I've replied to 3 messages from AccessD today. 2 of the were kicked back. > No reason given. below is the text of the email: > > "This is an automatically generated Delivery Status Notification. > > Delivery to the following recipients failed. > > accessd at databaseadvisors.com" > > Just wanted to let someone know. In addition to the request I sent off list, which e-mail address did you try to send from? -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From reuben at gfconsultants.com Tue Apr 10 13:29:45 2007 From: reuben at gfconsultants.com (Reuben Cummings) Date: Tue, 10 Apr 2007 14:29:45 -0400 Subject: [AccessD] Error Handler failing - A2K In-Reply-To: Message-ID: I have Jet version 4.0.8618.0 which is in the Windows XP SP2 and Security Bulletin MS04-014 release. This is a later version than is included with Jet SP 8.0 I hate computers. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bryan > Carbonnell > Sent: Tuesday, April 10, 2007 2:13 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Error Handler failing - A2K > > > On 4/10/07, Reuben Cummings wrote: > > Good idea, but unfortunately not it. Also, this is extremely > intermittent - > > after writing the email neither error occurred in the same db > that caused me > > to write the email. > > > > The one thing that may be in common on the apps that this > occurs in is that > > they are being worked on on a different (newer) computer and then I am > > bringing them back to mine to finalize the updates and create > the exe for > > distribution. > > > > In the normal course of me working on them I am finding these error > > problems. > > > > I'll have to investigate exactly what files I have problems > with and when > > and where they were worked on. > > First place to check is Jet SP levels. > > I ran into all sorts of weird problems with A2K and Jet SP levels a > while back (ok, a few years ago). > > All it took was ignoring IT and upgrading the workstations to Jet SP6 > (IIRC), which is what my development machine was at. > > -- > Bryan Carbonnell - carbonnb at gmail.com > Life's journey is not to arrive at the grave safely in a well > preserved body, but rather to skid in sideways, totally worn out, > shouting "What a great ride!" > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From carbonnb at gmail.com Tue Apr 10 14:56:27 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 10 Apr 2007 15:56:27 -0400 Subject: [AccessD] Emails getting Returned In-Reply-To: References: Message-ID: On 4/10/07, Mark A Matte wrote: > I've replied to 3 messages from AccessD today. 2 of the were kicked back. > No reason given. below is the text of the email: > > "This is an automatically generated Delivery Status Notification. > > Delivery to the following recipients failed. > > accessd at databaseadvisors.com" > > Just wanted to let someone know. Mark, After looking at the attachments you sent, it appears that some Hotmail servers are on sorbs.net DNSBL. In english that means that some Hotmail servers are on one of the Spam Blacklists that was implemented this past weekend to help and aleviate the spam problem on DBAs server. The reason I say it's some, is because at least one of your posts made it to the list. At this point, all I can suggest is that when you get the rejection, resend. It will probably go out on a different server. I, apparently, have to do some more looking at the server config. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From markamatte at hotmail.com Tue Apr 10 15:13:17 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 10 Apr 2007 20:13:17 +0000 Subject: [AccessD] Emails getting Returned In-Reply-To: Message-ID: Thanks Bryan...4th try???? >From: "Bryan Carbonnell" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Emails getting Returned >Date: Tue, 10 Apr 2007 15:56:27 -0400 > >On 4/10/07, Mark A Matte wrote: > > I've replied to 3 messages from AccessD today. 2 of the were kicked >back. > > No reason given. below is the text of the email: > > > > "This is an automatically generated Delivery Status Notification. > > > > Delivery to the following recipients failed. > > > > accessd at databaseadvisors.com" > > > > Just wanted to let someone know. > >Mark, > >After looking at the attachments you sent, it appears that some >Hotmail servers are on sorbs.net DNSBL. > >In english that means that some Hotmail servers are on one of the Spam >Blacklists that was implemented this past weekend to help and aleviate >the spam problem on DBAs server. > >The reason I say it's some, is because at least one of your posts made >it to the list. > >At this point, all I can suggest is that when you get the rejection, >resend. It will probably go out on a different server. > >I, apparently, have to do some more looking at the server config. > >-- >Bryan Carbonnell - carbonnb at gmail.com >Life's journey is not to arrive at the grave safely in a well >preserved body, but rather to skid in sideways, totally worn out, >shouting "What a great ride!" >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Can?t afford to quit your job? ? Earn your AS, BS, or MS degree online in 1 year. http://www.classesusa.com/clickcount.cfm?id=866145&goto=http%3A%2F%2Fwww.classesusa.com%2Ffeaturedschools%2Fonlinedegreesmp%2Fform-dyn1.html%3Fsplovr%3D866143 From jimdettman at verizon.net Tue Apr 10 15:55:43 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 10 Apr 2007 16:55:43 -0400 Subject: [AccessD] Emails getting Returned In-Reply-To: References: Message-ID: <000e01c77bb2$9b606750$8abea8c0@XPS> Mark, I've had a couple of those to. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, April 10, 2007 1:18 PM To: accessd at databaseadvisors.com Subject: [AccessD] Emails getting Returned I've replied to 3 messages from AccessD today. 2 of the were kicked back. No reason given. below is the text of the email: "This is an automatically generated Delivery Status Notification. Delivery to the following recipients failed. accessd at databaseadvisors.com" Just wanted to let someone know. Thanks, Mark A. Matte >From: "Bryan Carbonnell" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Error Handler failing - A2K >Date: Tue, 10 Apr 2007 12:20:05 -0400 > >On 4/10/07, Reuben Cummings wrote: > > Recently, in some apps, the error handlers do not seem to be working > > properly. > > > > > What's going on? > >In the VBE > >Tools|Options... >General Tab > >You should have Break on Unhandled Errors selected and not Break on >All Errors, as I suspect you have. > > >-- >Bryan Carbonnell - carbonnb at gmail.com >Life's journey is not to arrive at the grave safely in a well >preserved body, but rather to skid in sideways, totally worn out, >shouting "What a great ride!" >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The average US Credit Score is 675. The cost to see yours: $0 by Experian. http://www.freecreditreport.com/pm/default.aspx?sc=660600&bcd=EMAILFOOTERAVE RAGE -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Tue Apr 10 19:11:25 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 10 Apr 2007 20:11:25 -0400 Subject: [AccessD] Emails getting Returned In-Reply-To: <000e01c77bb2$9b606750$8abea8c0@XPS> References: <000e01c77bb2$9b606750$8abea8c0@XPS> Message-ID: On 4/10/07, Jim Dettman wrote: > I've had a couple of those to. I've disabled the blacklist that was blocking the Hotmail servers. I also went through the log file and it was also blocking verizon. So hopefully we are good to go. If not please let me know at listmaster at databaseadvisors.com AND bryan at carbonnell.ca -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From ssharkins at setel.com Wed Apr 11 10:18:03 2007 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 11 Apr 2007 11:18:03 -0400 Subject: [AccessD] Reader problem: memo field complains when entering Word text Message-ID: <00d701c77c4c$9b3f8ae0$05b62ad1@SusanOne> A reader is trying to cut and paste text from a Word document into an Access memo field. When the text is over 255 characters, the Memo field rejects the entry. I ran a quick test for myself and did _not_ run into this problem. I've checked microsoft's support sites and not found anything. Any help? The best I can come up with is a corrupted table. Susan H. From cfoust at infostatsystems.com Wed Apr 11 10:22:21 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 11 Apr 2007 08:22:21 -0700 Subject: [AccessD] Reader problem: memo field complains when entering Wordtext In-Reply-To: <00d701c77c4c$9b3f8ae0$05b62ad1@SusanOne> References: <00d701c77c4c$9b3f8ae0$05b62ad1@SusanOne> Message-ID: Tell all, Susan. What versions of Word and Access is this person using? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, April 11, 2007 8:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Reader problem: memo field complains when entering Wordtext A reader is trying to cut and paste text from a Word document into an Access memo field. When the text is over 255 characters, the Memo field rejects the entry. I ran a quick test for myself and did _not_ run into this problem. I've checked microsoft's support sites and not found anything. Any help? The best I can come up with is a corrupted table. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Wed Apr 11 10:28:55 2007 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 11 Apr 2007 10:28:55 -0500 Subject: [AccessD] Reader problem: memo field complains when entering Word text In-Reply-To: <00d701c77c4c$9b3f8ae0$05b62ad1@SusanOne> References: <00d701c77c4c$9b3f8ae0$05b62ad1@SusanOne> Message-ID: I wonder if the problem memo field being pasted into is part of a query result set? Perhaps the query would only allow the limit of a text field in a memo field while the table itself would allow the larger size? Just a guess. You could create a query over your test table and try that maybe. GK On 4/11/07, Susan Harkins wrote: > A reader is trying to cut and paste text from a Word document into an Access > memo field. When the text is over 255 characters, the Memo field rejects the > entry. I ran a quick test for myself and did _not_ run into this problem. > I've checked microsoft's support sites and not found anything. > > Any help? The best I can come up with is a corrupted table. > > Susan H. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From lmrazek at lcm-res.com Wed Apr 11 10:36:10 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Wed, 11 Apr 2007 10:36:10 -0500 Subject: [AccessD] Barcoding Printing In-Reply-To: References: <00d701c77c4c$9b3f8ae0$05b62ad1@SusanOne> Message-ID: <01eb01c77c4f$226f0430$046fa8c0@lcmdv8000> Hi: I'm in the process of developing a simple application that has to print out EAN 128 format barcodes. Does anyone have any recommendations of plugins, activex components or fonts that are reliable? Thanks in advance. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 From ssharkins at setel.com Wed Apr 11 10:37:53 2007 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 11 Apr 2007 11:37:53 -0400 Subject: [AccessD] Reader problem: memo field complains when enteringWord text In-Reply-To: References: <00d701c77c4c$9b3f8ae0$05b62ad1@SusanOne> Message-ID: <00eb01c77c4f$5f20bc70$05b62ad1@SusanOne> Tried it, worked fine. Thank you for trying -- would you like to play again? ;) Susan H. I wonder if the problem memo field being pasted into is part of a query result set? Perhaps the query would only allow the limit of a text field in a memo field while the table itself would allow the larger size? Just a guess. You could create a query over your test table and try that maybe. GK On 4/11/07, Susan Harkins wrote: > A reader is trying to cut and paste text from a Word document into an > Access memo field. When the text is over 255 characters, the Memo > field rejects the entry. I ran a quick test for myself and did _not_ run into this problem. > I've checked microsoft's support sites and not found anything. > From rockysmolin at bchacc.com Wed Apr 11 10:38:51 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 11 Apr 2007 08:38:51 -0700 Subject: [AccessD] Reader problem: memo field complains when enteringWord text In-Reply-To: Message-ID: <003101c77c4f$819896b0$0201a8c0@HAL9005> I'd have them email the back end to you and try it yourself. Or use Remote Assistance to look at the field. It certainly sounds like they're trying to paste into a Text field not a memo. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Wednesday, April 11, 2007 8:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Reader problem: memo field complains when enteringWord text I wonder if the problem memo field being pasted into is part of a query result set? Perhaps the query would only allow the limit of a text field in a memo field while the table itself would allow the larger size? Just a guess. You could create a query over your test table and try that maybe. GK On 4/11/07, Susan Harkins wrote: > A reader is trying to cut and paste text from a Word document into an > Access memo field. When the text is over 255 characters, the Memo > field rejects the entry. I ran a quick test for myself and did _not_ run into this problem. > I've checked microsoft's support sites and not found anything. > > Any help? The best I can come up with is a corrupted table. > > Susan H. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.2.0/756 - Release Date: 4/10/2007 10:44 PM From ssharkins at setel.com Wed Apr 11 10:39:54 2007 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 11 Apr 2007 11:39:54 -0400 Subject: [AccessD] Reader problem: memo field complains when enteringWordtext In-Reply-To: References: <00d701c77c4c$9b3f8ae0$05b62ad1@SusanOne> Message-ID: <00f101c77c4f$a7b24fd0$05b62ad1@SusanOne> I didn't ask, but I'll find out. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, April 11, 2007 11:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Reader problem: memo field complains when enteringWordtext Tell all, Susan. What versions of Word and Access is this person using? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, April 11, 2007 8:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Reader problem: memo field complains when entering Wordtext A reader is trying to cut and paste text from a Word document into an Access memo field. When the text is over 255 characters, the Memo field rejects the entry. I ran a quick test for myself and did _not_ run into this problem. I've checked microsoft's support sites and not found anything. Any help? The best I can come up with is a corrupted table. Susan H. -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.26/751 - Release Date: 4/7/2007 10:57 PM From DElam at jenkens.com Wed Apr 11 10:42:18 2007 From: DElam at jenkens.com (Elam, Debbie) Date: Wed, 11 Apr 2007 10:42:18 -0500 Subject: [AccessD] Reader problem: memo field complains when entering Word text Message-ID: <573E90481C9F004C9E598D3A5A9DCDA001D185@jgexch1.jenkens.com> Can she verify that it is any chunk of word text greater than 255 characters and any memo field? There could be something specific about either one that is causing the problem. If she verifies that it happens every time (I would even test a new database with a new table.) then it becomes an Access engine issue. Otherwise it is likely corruption hiding somewhere. Debbie -----Original Message----- From: Susan Harkins [mailto:ssharkins at setel.com] Sent: Wednesday, April 11, 2007 10:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Reader problem: memo field complains when entering Word text A reader is trying to cut and paste text from a Word document into an Access memo field. When the text is over 255 characters, the Memo field rejects the entry. I ran a quick test for myself and did _not_ run into this problem. I've checked microsoft's support sites and not found anything. Any help? The best I can come up with is a corrupted table. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at setel.com Wed Apr 11 10:50:58 2007 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 11 Apr 2007 11:50:58 -0400 Subject: [AccessD] Reader problem: memo field complains whenenteringWord text In-Reply-To: <003101c77c4f$819896b0$0201a8c0@HAL9005> References: <003101c77c4f$819896b0$0201a8c0@HAL9005> Message-ID: <00f401c77c51$377777c0$05b62ad1@SusanOne> Rocky, I agree, but she insists that the field is a Memo field. That's why I thought I'd ask if anyone knew of a specific problem between Word and Access. Susan H. I'd have them email the back end to you and try it yourself. Or use Remote Assistance to look at the field. It certainly sounds like they're trying to paste into a Text field not a memo. From ssharkins at setel.com Wed Apr 11 10:52:10 2007 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 11 Apr 2007 11:52:10 -0400 Subject: [AccessD] Reader problem: memo field complains when enteringWord text In-Reply-To: <573E90481C9F004C9E598D3A5A9DCDA001D185@jgexch1.jenkens.com> References: <573E90481C9F004C9E598D3A5A9DCDA001D185@jgexch1.jenkens.com> Message-ID: <00f501c77c51$5e192590$05b62ad1@SusanOne> Can she verify that it is any chunk of word text greater than 255 characters and any memo field? There could be something specific about either one that is causing the problem. If she verifies that it happens every time (I would even test a new database with a new table.) then it becomes an Access engine issue. Otherwise it is likely corruption hiding somewhere. ============Yes, on the 255 character issue. However, she hadn't tried manually entering the text (typing new text herself), so she was going to try that to see what happened. Susan H. From bill_patten at earthlink.net Wed Apr 11 11:12:50 2007 From: bill_patten at earthlink.net (Bill Patten) Date: Wed, 11 Apr 2007 09:12:50 -0700 Subject: [AccessD] Barcoding Printing In-Reply-To: <01eb01c77c4f$226f0430$046fa8c0@lcmdv8000> References: <00d701c77c4c$9b3f8ae0$05b62ad1@SusanOne> <01eb01c77c4f$226f0430$046fa8c0@lcmdv8000> Message-ID: Larry, I have been testing LabelGo 2 from Bokai. (http://ww.bokai.com The have a demo you can use to see if it will do what you want. I have tested it in a report as an invoice number and also on an inventory report so that the users can scan each item on the report and it seems to work fine. The licensing is a little confusing but I checked with them and the developer license will allow you to distribute it as long as the user can't develop their own forms etc. About $300 I'm waiting for an answer from my client before implementation but feel pretty good about it. Bill ----- Original Message ----- From: "Lawrence Mrazek" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 11, 2007 8:36 AM Subject: [AccessD] Barcoding Printing > Hi: > > I'm in the process of developing a simple application that has to print > out > EAN 128 format barcodes. > > Does anyone have any recommendations of plugins, activex components or > fonts > that are reliable? > > Thanks in advance. > > Larry Mrazek > LCM Research, Inc. > www.lcm-res.com > lmrazek at lcm-res.com > ph. 314-432-5886 > mobile: 314-496-1645 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ewaldt at gdls.com Wed Apr 11 11:48:04 2007 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Wed, 11 Apr 2007 12:48:04 -0400 Subject: [AccessD] acCmdExport Question In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C222E082@xlivmbx35.aig.com> Message-ID: I have a form with 29 combo boxes (the user's choices limit the data displayed by new ADO recordsets' being created) and 43 fields. Using the simple command "DoCmd.RunCommand acCmdExport", to export the displayed recordset to Excel, I get 72 columns! How can I control this to NOT give the combo box data? VBA Help doesn't tell me anything about acCmdExport, unfortunately; maybe there's a way to state just what is to be exported? TIA, Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems (586) 825-4838 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From jimdettman at verizon.net Wed Apr 11 12:27:34 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 11 Apr 2007 13:27:34 -0400 Subject: [AccessD] RTF control for Access? Message-ID: <002201c77c5e$b2a3fc90$8abea8c0@XPS> All, Has anyone had good success with any of the RTF controls out there for Access? In the past, I've always been loath to use any non-native controls because of the lack of functionality in Access's Active-X interface. I've gotten the gig with the case management thing and I'm going to need a RTF control that can do the following: 1. Different fonts and sizes. 2. Different font colors. 3. Ability to bold and italicize. 4. Ability to high light in color. 5. Ability to spell check 6. Ability to insert pre-defined text (ala AutoCorrect, type a few characters and a string is inserted in place of). The last three items are critical and I cannot do without them. I really don't want to use Word via OLE because of the overhead. I have checked out FMS, inc's RTF control, but it doesn't do #6 from what I can see. Thoughts, comments, recommendations welcome... TIA, Jim. From dwaters at usinternet.com Wed Apr 11 12:42:19 2007 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 11 Apr 2007 12:42:19 -0500 Subject: [AccessD] acCmdExport Question In-Reply-To: References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C222E082@xlivmbx35.aig.com> Message-ID: <000c01c77c60$c0c0e480$0200a8c0@danwaters> Hi Tom, You need to create a query (or in code, a SELECT FROM WHERE string) that has the columns and data you want moved to the spreadsheet, and use that query's name or the string in the Export command. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Wednesday, April 11, 2007 11:48 AM To: accessd at databaseadvisors.com Subject: [AccessD] acCmdExport Question I have a form with 29 combo boxes (the user's choices limit the data displayed by new ADO recordsets' being created) and 43 fields. Using the simple command "DoCmd.RunCommand acCmdExport", to export the displayed recordset to Excel, I get 72 columns! How can I control this to NOT give the combo box data? VBA Help doesn't tell me anything about acCmdExport, unfortunately; maybe there's a way to state just what is to be exported? TIA, Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems (586) 825-4838 This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Apr 11 12:44:42 2007 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 11 Apr 2007 12:44:42 -0500 Subject: [AccessD] RTF control for Access? In-Reply-To: <002201c77c5e$b2a3fc90$8abea8c0@XPS> References: <002201c77c5e$b2a3fc90$8abea8c0@XPS> Message-ID: <000d01c77c61$1679a010$0200a8c0@danwaters> Hi Jim, Somewhere I read that the memo field in Access 2007 has formatting capabilities - perhaps like the FMS Memo control. Good Luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, April 11, 2007 12:28 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] RTF control for Access? All, Has anyone had good success with any of the RTF controls out there for Access? In the past, I've always been loath to use any non-native controls because of the lack of functionality in Access's Active-X interface. I've gotten the gig with the case management thing and I'm going to need a RTF control that can do the following: 1. Different fonts and sizes. 2. Different font colors. 3. Ability to bold and italicize. 4. Ability to high light in color. 5. Ability to spell check 6. Ability to insert pre-defined text (ala AutoCorrect, type a few characters and a string is inserted in place of). The last three items are critical and I cannot do without them. I really don't want to use Word via OLE because of the overhead. I have checked out FMS, inc's RTF control, but it doesn't do #6 from what I can see. Thoughts, comments, recommendations welcome... TIA, Jim. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at setel.com Wed Apr 11 12:46:43 2007 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 11 Apr 2007 13:46:43 -0400 Subject: [AccessD] RTF control for Access? In-Reply-To: <002201c77c5e$b2a3fc90$8abea8c0@XPS> References: <002201c77c5e$b2a3fc90$8abea8c0@XPS> Message-ID: <011601c77c61$5ebe7300$05b62ad1@SusanOne> Are they willing to upgrade to 2007? I haven't checked it out myself, but there's supposed to be a new and improved RTF control in 2007 -- might be worth looking into. Susan H. All, Has anyone had good success with any of the RTF controls out there for Access? In the past, I've always been loath to use any non-native controls because of the lack of functionality in Access's Active-X interface. I've gotten the gig with the case management thing and I'm going to need a RTF control that can do the following: 1. Different fonts and sizes. 2. Different font colors. 3. Ability to bold and italicize. 4. Ability to high light in color. 5. Ability to spell check 6. Ability to insert pre-defined text (ala AutoCorrect, type a few characters and a string is inserted in place of). The last three items are critical and I cannot do without them. I really don't want to use Word via OLE because of the overhead. I have checked out FMS, inc's RTF control, but it doesn't do #6 from what I can see. Thoughts, comments, recommendations welcome... TIA, Jim. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.26/751 - Release Date: 4/7/2007 10:57 PM From markamatte at hotmail.com Wed Apr 11 12:50:12 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 11 Apr 2007 17:50:12 +0000 Subject: [AccessD] RTF control for Access? In-Reply-To: <002201c77c5e$b2a3fc90$8abea8c0@XPS> Message-ID: If you can use different approaches for each of your line numbers... >5. Ability to spell check How about: RunCommand acCmdSpelling Haven't used it since 97...not sure if it is still an option. Thanks, Mark A. Matte >From: "Jim Dettman" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: [AccessD] RTF control for Access? >Date: Wed, 11 Apr 2007 13:27:34 -0400 > >All, > > Has anyone had good success with any of the RTF controls out there for >Access? In the past, I've always been loath to use any non-native controls >because of the lack of functionality in Access's Active-X interface. > > I've gotten the gig with the case management thing and I'm going to need >a >RTF control that can do the following: > >1. Different fonts and sizes. >2. Different font colors. >3. Ability to bold and italicize. >4. Ability to high light in color. >5. Ability to spell check >6. Ability to insert pre-defined text (ala AutoCorrect, type a few >characters and a string is inserted in place of). > > The last three items are critical and I cannot do without them. I >really >don't want to use Word via OLE because of the overhead. I have checked out >FMS, inc's RTF control, but it doesn't do #6 from what I can see. > > Thoughts, comments, recommendations welcome... > >TIA, >Jim. >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The average US Credit Score is 675. The cost to see yours: $0 by Experian. http://www.freecreditreport.com/pm/default.aspx?sc=660600&bcd=EMAILFOOTERAVERAGE From Gustav at cactus.dk Wed Apr 11 12:53:23 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 11 Apr 2007 19:53:23 +0200 Subject: [AccessD] RTF control for Access? Message-ID: Hi Jim #6 is more like a word processor feature, not a feature of a Rich Text control. However, #5 can be performed by at least A2007, was is not for a nasty bug: http://www.eggheadcafe.com/software/aspnet/29653342/spell-check-problems-in-a.aspx That may be solved. Further, note that the Rich Text control in A2007 is HTML-based while the standard MS Rich Text ocx is RTF-based. I once noticed this word processor style ocx which - at a price - could be used for your purpose: http://www.spellchecksoftware.com/aboutspe.htm but I have not worked with it myself; I've always used the simple MS Rich Text ocx. /gustav >>> jimdettman at verizon.net 11-04-2007 19:27 >>> All, Has anyone had good success with any of the RTF controls out there for Access? In the past, I've always been loath to use any non-native controls because of the lack of functionality in Access's Active-X interface. I've gotten the gig with the case management thing and I'm going to need a RTF control that can do the following: 1. Different fonts and sizes. 2. Different font colors. 3. Ability to bold and italicize. 4. Ability to high light in color. 5. Ability to spell check 6. Ability to insert pre-defined text (ala AutoCorrect, type a few characters and a string is inserted in place of). The last three items are critical and I cannot do without them. I really don't want to use Word via OLE because of the overhead. I have checked out FMS, inc's RTF control, but it doesn't do #6 from what I can see. Thoughts, comments, recommendations welcome... TIA, Jim. From wdhindman at dejpolsystems.com Wed Apr 11 19:32:00 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 11 Apr 2007 20:32:00 -0400 Subject: [AccessD] RTF control for Access? References: <002201c77c5e$b2a3fc90$8abea8c0@XPS> Message-ID: <002701c77c99$fcbe7810$7d7d6c4c@JISREGISTRATION.local> Jim ...I've used Lebans rtf.ocx (www.lebans.com) in several apps now and am really pleased with it's reliability, simplicity, and avoidance of versioning issues ...although Items 5 & 6 are not native, there are ready solutions to do them in Access without another ocx ...dl the install and samples from his site and take a look, its all free and lebans writes solid code that won't screw with you ...plus he readily answers support/design questions about it on the ms.access.public news group. William Hindman ----- Original Message ----- From: "Jim Dettman" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 11, 2007 1:27 PM Subject: [AccessD] RTF control for Access? > All, > > Has anyone had good success with any of the RTF controls out there for > Access? In the past, I've always been loath to use any non-native > controls > because of the lack of functionality in Access's Active-X interface. > > I've gotten the gig with the case management thing and I'm going to need a > RTF control that can do the following: > > 1. Different fonts and sizes. > 2. Different font colors. > 3. Ability to bold and italicize. > 4. Ability to high light in color. > 5. Ability to spell check > 6. Ability to insert pre-defined text (ala AutoCorrect, type a few > characters and a string is inserted in place of). > > The last three items are critical and I cannot do without them. I really > don't want to use Word via OLE because of the overhead. I have checked > out > FMS, inc's RTF control, but it doesn't do #6 from what I can see. > > Thoughts, comments, recommendations welcome... > > TIA, > Jim. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Wed Apr 11 19:38:37 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 11 Apr 2007 20:38:37 -0400 Subject: [AccessD] Barcoding Printing References: <00d701c77c4c$9b3f8ae0$05b62ad1@SusanOne> <01eb01c77c4f$226f0430$046fa8c0@lcmdv8000> Message-ID: <002b01c77c9a$e9492040$7d7d6c4c@JISREGISTRATION.local> Larry ...after some trial and error I settled on IDAutomation's barcode fonts in some ticketing and security apps http://www.idautomation.com/ ...their products come with solid Access sample apps/code and they're responsive to questions from newbies to barcoding ...I've used several different scanners on these fonts and have had zero problems with reading them. William Hindman ----- Original Message ----- From: "Lawrence Mrazek" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 11, 2007 11:36 AM Subject: [AccessD] Barcoding Printing > Hi: > > I'm in the process of developing a simple application that has to print > out > EAN 128 format barcodes. > > Does anyone have any recommendations of plugins, activex components or > fonts > that are reliable? > > Thanks in advance. > > Larry Mrazek > LCM Research, Inc. > www.lcm-res.com > lmrazek at lcm-res.com > ph. 314-432-5886 > mobile: 314-496-1645 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Wed Apr 11 20:02:22 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 11 Apr 2007 21:02:22 -0400 Subject: [AccessD] Reader problem: memo field complains when entering Wordtext References: <00d701c77c4c$9b3f8ae0$05b62ad1@SusanOne> Message-ID: <000301c77c9e$3ad91250$7d7d6c4c@JISREGISTRATION.local> ...it could be that your reader is using a query with the Unique Values property set to yes and a memo field included ...if so there is, iirc, an MS KB on the bug somewhere ...the Unique Values results in a comparison of the memo fields using text boxes ...you get no error, just the first 255 characters ...basically you have to run one query without the memo field and then use it as a source for another query with the memo field from the table itself included. William Hindman ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 11, 2007 11:18 AM Subject: [AccessD] Reader problem: memo field complains when entering Wordtext >A reader is trying to cut and paste text from a Word document into an >Access > memo field. When the text is over 255 characters, the Memo field rejects > the > entry. I ran a quick test for myself and did _not_ run into this problem. > I've checked microsoft's support sites and not found anything. > > Any help? The best I can come up with is a corrupted table. > > Susan H. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at setel.com Wed Apr 11 20:31:25 2007 From: ssharkins at setel.com (Susan Harkins) Date: Wed, 11 Apr 2007 21:31:25 -0400 Subject: [AccessD] Reader problem: memo field complains when enteringWordtext In-Reply-To: <000301c77c9e$3ad91250$7d7d6c4c@JISREGISTRATION.local> References: <00d701c77c4c$9b3f8ae0$05b62ad1@SusanOne> <000301c77c9e$3ad91250$7d7d6c4c@JISREGISTRATION.local> Message-ID: <002f01c77ca2$4d20f460$7334fad1@SusanOne> Turned out that she had forgotten about a log table -- and that table's field wasn't a Memo. :( I did suggest that to her first thing, but of course, because she'd forgotten about that table, she didn't remember to check it until much later in the day. I do crap lik that myself. Susan h. ...it could be that your reader is using a query with the Unique Values property set to yes and a memo field included ...if so there is, iirc, an MS KB on the bug somewhere ...the Unique Values results in a comparison of the memo fields using text boxes ...you get no error, just the first 255 characters ...basically you have to run one query without the memo field and then use it as a source for another query with the memo field from the table itself included. From lmrazek at lcm-res.com Thu Apr 12 08:42:07 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Thu, 12 Apr 2007 08:42:07 -0500 Subject: [AccessD] Barcoding Printing In-Reply-To: <002b01c77c9a$e9492040$7d7d6c4c@JISREGISTRATION.local> References: <00d701c77c4c$9b3f8ae0$05b62ad1@SusanOne><01eb01c77c4f$226f0430$046fa8c0@lcmdv8000> <002b01c77c9a$e9492040$7d7d6c4c@JISREGISTRATION.local> Message-ID: <012201c77d08$5e497030$046fa8c0@lcmdv8000> Thanks William & Bill P.: I've also been looking at the Idautomation tools, as they seem reasonable and their demos work. Good to know that someone else is using their stuff. Thanks for your input. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, April 11, 2007 7:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Barcoding Printing Larry ...after some trial and error I settled on IDAutomation's barcode fonts in some ticketing and security apps http://www.idautomation.com/ ...their products come with solid Access sample apps/code and they're responsive to questions from newbies to barcoding ...I've used several different scanners on these fonts and have had zero problems with reading them. William Hindman ----- Original Message ----- From: "Lawrence Mrazek" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 11, 2007 11:36 AM Subject: [AccessD] Barcoding Printing > Hi: > > I'm in the process of developing a simple application that has to print > out > EAN 128 format barcodes. > > Does anyone have any recommendations of plugins, activex components or > fonts > that are reliable? > > Thanks in advance. > > Larry Mrazek > LCM Research, Inc. > www.lcm-res.com > lmrazek at lcm-res.com > ph. 314-432-5886 > mobile: 314-496-1645 > > > -- > 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 cfoust at infostatsystems.com Thu Apr 12 11:33:14 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 12 Apr 2007 09:33:14 -0700 Subject: [AccessD] Activity? Message-ID: Haven't seen any activity today. What's going on? Charlotte Foust From bill_patten at earthlink.net Thu Apr 12 11:46:27 2007 From: bill_patten at earthlink.net (Bill Patten) Date: Thu, 12 Apr 2007 09:46:27 -0700 Subject: [AccessD] Activity? In-Reply-To: References: Message-ID: <205EA4453EDB4F4DBFBEC3D64DFA1AF1@BPCS> Hi Charlotte, Just us lurkers today I guess. Bill ----- Original Message ----- From: "Charlotte Foust" To: Sent: Thursday, April 12, 2007 9:33 AM Subject: [AccessD] Activity? > Haven't seen any activity today. What's going on? > > Charlotte Foust > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Thu Apr 12 11:49:31 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 12 Apr 2007 18:49:31 +0200 Subject: [AccessD] Activity? Message-ID: Hi Charlotte Got Office 2007 installed - and now fighting with A2007 and that nasty over-it-all pane ... controls and menus are everywhere - took me a while to locate Access Options juxtaposed to a Close button just for fun. What did they drink? And at the down right corner - in the status bar - now is a full set of buttons for change between views of queries! Oh my ... Still struggling to find out how to get rid of the "Add new field" column in tables' data(!) view. This will take a while, I can feel. /gustav >>> cfoust at infostatsystems.com 12-04-2007 18:33 >>> Haven't seen any activity today. What's going on? Charlotte Foust -- From jimdettman at verizon.net Thu Apr 12 11:43:26 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 12 Apr 2007 12:43:26 -0400 Subject: [AccessD] RTF control for Access? In-Reply-To: <011601c77c61$5ebe7300$05b62ad1@SusanOne> References: <002201c77c5e$b2a3fc90$8abea8c0@XPS> <011601c77c61$5ebe7300$05b62ad1@SusanOne> Message-ID: <013301c77d21$b20b0d50$1493a8c0@LaptopII> Susan, <> There is nothing in place as of yet, so that would not be a problem. <> Was aware of that, but haven't found any docs on it as yet. I'll have to install 2007 and see what it's like. I'll let you know what its like Thanks, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, April 11, 2007 1:47 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] RTF control for Access? Are they willing to upgrade to 2007? I haven't checked it out myself, but there's supposed to be a new and improved RTF control in 2007 -- might be worth looking into. Susan H. All, Has anyone had good success with any of the RTF controls out there for Access? In the past, I've always been loath to use any non-native controls because of the lack of functionality in Access's Active-X interface. I've gotten the gig with the case management thing and I'm going to need a RTF control that can do the following: 1. Different fonts and sizes. 2. Different font colors. 3. Ability to bold and italicize. 4. Ability to high light in color. 5. Ability to spell check 6. Ability to insert pre-defined text (ala AutoCorrect, type a few characters and a string is inserted in place of). The last three items are critical and I cannot do without them. I really don't want to use Word via OLE because of the overhead. I have checked out FMS, inc's RTF control, but it doesn't do #6 from what I can see. Thoughts, comments, recommendations welcome... TIA, Jim. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.26/751 - Release Date: 4/7/2007 10:57 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Thu Apr 12 11:53:13 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 12 Apr 2007 12:53:13 -0400 Subject: [AccessD] RTF control for Access? In-Reply-To: References: Message-ID: <013401c77d23$10066390$1493a8c0@LaptopII> Gustav, <<#6 is more like a word processor feature, not a feature of a Rich Text control.>> yeah, that's is going to be the rub I think. The nursing staff is pretty adamant about having it. A lot of the reports they generate will include some canned text, so the ability to insert text at a specific point is pretty important to them. Right now, they are using Word to do all the reports. It may be that I'll need to bite the bullet and use in-place activation with Word to get what I need. <<#5 can be performed by at least A2007, was is not for a nasty>> Very nice to know; Thanks! I need to get a2007 loaded up and check this out. <> That's very encouraging; if there is one out there then there is probably more. The price doesn't bother me; I just want it to *work*, which is why I was looking for some "hands on" recommendations. This control will be a fundamental part of the app. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, April 11, 2007 1:53 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] RTF control for Access? Hi Jim #6 is more like a word processor feature, not a feature of a Rich Text control. However, #5 can be performed by at least A2007, was is not for a nasty bug: http://www.eggheadcafe.com/software/aspnet/29653342/spell-check-problems-in- a.aspx That may be solved. Further, note that the Rich Text control in A2007 is HTML-based while the standard MS Rich Text ocx is RTF-based. I once noticed this word processor style ocx which - at a price - could be used for your purpose: http://www.spellchecksoftware.com/aboutspe.htm but I have not worked with it myself; I've always used the simple MS Rich Text ocx. /gustav >>> jimdettman at verizon.net 11-04-2007 19:27 >>> All, Has anyone had good success with any of the RTF controls out there for Access? In the past, I've always been loath to use any non-native controls because of the lack of functionality in Access's Active-X interface. I've gotten the gig with the case management thing and I'm going to need a RTF control that can do the following: 1. Different fonts and sizes. 2. Different font colors. 3. Ability to bold and italicize. 4. Ability to high light in color. 5. Ability to spell check 6. Ability to insert pre-defined text (ala AutoCorrect, type a few characters and a string is inserted in place of). The last three items are critical and I cannot do without them. I really don't want to use Word via OLE because of the overhead. I have checked out FMS, inc's RTF control, but it doesn't do #6 from what I can see. Thoughts, comments, recommendations welcome... TIA, Jim. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Apr 12 11:57:42 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 12 Apr 2007 09:57:42 -0700 Subject: [AccessD] Activity? In-Reply-To: References: Message-ID: Martin's book is a good intro. One of the (many) things I hate about this version of Office is that the options that used to be at the bottom of the tools menus are now tucked away behind an options button at the bottom of the pane that drops down from the IMO non-intuitive round office button in the upper left. The download that Marty posted nearly a month ago helps too. http://office.microsoft.com/search/redir.aspx?AssetID=AM101757761033 Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, April 12, 2007 9:50 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Activity? Hi Charlotte Got Office 2007 installed - and now fighting with A2007 and that nasty over-it-all pane ... controls and menus are everywhere - took me a while to locate Access Options juxtaposed to a Close button just for fun. What did they drink? And at the down right corner - in the status bar - now is a full set of buttons for change between views of queries! Oh my ... Still struggling to find out how to get rid of the "Add new field" column in tables' data(!) view. This will take a while, I can feel. /gustav >>> cfoust at infostatsystems.com 12-04-2007 18:33 >>> Haven't seen any activity today. What's going on? Charlotte Foust -- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Thu Apr 12 11:54:03 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 12 Apr 2007 12:54:03 -0400 Subject: [AccessD] RTF control for Access? In-Reply-To: <002701c77c99$fcbe7810$7d7d6c4c@JISREGISTRATION.local> References: <002201c77c5e$b2a3fc90$8abea8c0@XPS> <002701c77c99$fcbe7810$7d7d6c4c@JISREGISTRATION.local> Message-ID: <014201c77d23$2db989d0$1493a8c0@LaptopII> William, Thanks, I'll check it out. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, April 11, 2007 8:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] RTF control for Access? Jim ...I've used Lebans rtf.ocx (www.lebans.com) in several apps now and am really pleased with it's reliability, simplicity, and avoidance of versioning issues ...although Items 5 & 6 are not native, there are ready solutions to do them in Access without another ocx ...dl the install and samples from his site and take a look, its all free and lebans writes solid code that won't screw with you ...plus he readily answers support/design questions about it on the ms.access.public news group. William Hindman ----- Original Message ----- From: "Jim Dettman" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, April 11, 2007 1:27 PM Subject: [AccessD] RTF control for Access? > All, > > Has anyone had good success with any of the RTF controls out there for > Access? In the past, I've always been loath to use any non-native > controls > because of the lack of functionality in Access's Active-X interface. > > I've gotten the gig with the case management thing and I'm going to need a > RTF control that can do the following: > > 1. Different fonts and sizes. > 2. Different font colors. > 3. Ability to bold and italicize. > 4. Ability to high light in color. > 5. Ability to spell check > 6. Ability to insert pre-defined text (ala AutoCorrect, type a few > characters and a string is inserted in place of). > > The last three items are critical and I cannot do without them. I really > don't want to use Word via OLE because of the overhead. I have checked > out > FMS, inc's RTF control, but it doesn't do #6 from what I can see. > > Thoughts, comments, recommendations welcome... > > TIA, > Jim. > -- > 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 ssharkins at setel.com Thu Apr 12 12:31:17 2007 From: ssharkins at setel.com (Susan Harkins) Date: Thu, 12 Apr 2007 13:31:17 -0400 Subject: [AccessD] HEY Martin! (RE: RTF control for Access?) In-Reply-To: <013301c77d21$b20b0d50$1493a8c0@LaptopII> References: <002201c77c5e$b2a3fc90$8abea8c0@XPS><011601c77c61$5ebe7300$05b62ad1@SusanOne> <013301c77d21$b20b0d50$1493a8c0@LaptopII> Message-ID: <002a01c77d28$61bf9da0$f334fad1@SusanOne> Martin's probably the one to ask -- I know he's worked extensively with Access 2007. Susan H. Susan, <> There is nothing in place as of yet, so that would not be a problem. <> Was aware of that, but haven't found any docs on it as yet. I'll have to install 2007 and see what it's like. I'll let you know what its like From mwp.reid at qub.ac.uk Thu Apr 12 13:00:58 2007 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 12 Apr 2007 19:00:58 +0100 Subject: [AccessD] HEY Martin! (RE: RTF control for Access?) References: <002201c77c5e$b2a3fc90$8abea8c0@XPS><011601c77c61$5ebe7300$05b62ad1@SusanOne><013301c77d21$b20b0d50$1493a8c0@LaptopII> <002a01c77d28$61bf9da0$f334fad1@SusanOne> Message-ID: 2007 has a rich text . Works well but only with the new Access 2007 file type and is a field property when creating the table for memo Datatypes. I believe it stores the text as HTML. Its main limit is its an Access 2007 tool. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Susan Harkins Sent: Thu 12/04/2007 18:31 To: 'Access Developers discussion and problem solving' Subject: [AccessD] HEY Martin! (RE: RTF control for Access?) Martin's probably the one to ask -- I know he's worked extensively with Access 2007. Susan H. Susan, <> There is nothing in place as of yet, so that would not be a problem. <> Was aware of that, but haven't found any docs on it as yet. I'll have to install 2007 and see what it's like. I'll let you know what its like -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Donald.A.McGillivray at sprint.com Thu Apr 12 15:58:51 2007 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Thu, 12 Apr 2007 15:58:51 -0500 Subject: [AccessD] Access 2002 to Access 2007 compatibility Message-ID: Hello, All I've been involved with a little project on the side that was developed using Access 2003. The program is very simple - just a front end with few reports and a UI to pass criteria to them for viewing. It is not being deployed as a runtime. The folks I've been working with have been asked by a potential customer whether the program will function as-is under an Access 2007 environment. Neither I nor my associates intend to upgrade to 2007 soon, so we can't easily experiment with this to be sure. If the new Access is like its predecessors, I presume there may be some "gotchas" with such an implementation. Specific experiences, areas of concern, or suggestions other resources for study would be greatly appreciated. TIA Don McGillivray From bheid at sc.rr.com Thu Apr 12 16:10:49 2007 From: bheid at sc.rr.com (Bobby Heid) Date: Thu, 12 Apr 2007 17:10:49 -0400 Subject: [AccessD] RTF control for Access? In-Reply-To: <013401c77d23$10066390$1493a8c0@LaptopII> References: <013401c77d23$10066390$1493a8c0@LaptopII> Message-ID: <000601c77d47$0be75b10$2c01a8c0@bhxp> We once did an app in VB where we could insert "place holder fields" into the text by dragging and dropping a node or double-clicking a node from a tree view control. This was used later to generate a kind of mail merge document where we replaced the field(s) with as value. You might could do something like this, but insert text. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, April 12, 2007 12:53 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] RTF control for Access? Gustav, <<#6 is more like a word processor feature, not a feature of a Rich Text control.>> yeah, that's is going to be the rub I think. The nursing staff is pretty adamant about having it. A lot of the reports they generate will include some canned text, so the ability to insert text at a specific point is pretty important to them. Right now, they are using Word to do all the reports. It may be that I'll need to bite the bullet and use in-place activation with Word to get what I need. From joeget at vgernet.net Thu Apr 12 18:46:37 2007 From: joeget at vgernet.net (John Eget) Date: Thu, 12 Apr 2007 19:46:37 -0400 Subject: [AccessD] Access 2002 to Access 2007 compatibility References: Message-ID: <005801c77d5c$ea10c7e0$f0c2f63f@JOHN> all of my upgrades have worked with minimal issues John Eget ----- Original Message ----- From: "McGillivray, Don [IT]" To: "Access Developers discussion and problem solving" Sent: Thursday, April 12, 2007 4:58 PM Subject: [AccessD] Access 2002 to Access 2007 compatibility > Hello, All > > I've been involved with a little project on the side that was developed > using Access 2003. The program is very simple - just a front end with few > reports and a UI to pass criteria to them for viewing. It is not being > deployed as a runtime. The folks I've been working with have been asked > by a potential customer whether the program will function as-is under an > Access 2007 environment. Neither I nor my associates intend to upgrade to > 2007 soon, so we can't easily experiment with this to be sure. If the new > Access is like its predecessors, I presume there may be some "gotchas" > with such an implementation. > > Specific experiences, areas of concern, or suggestions other resources for > study would be greatly appreciated. > > TIA > > Don McGillivray > > > > -- > 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 Apr 12 20:48:22 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 13 Apr 2007 11:48:22 +1000 Subject: [AccessD] Access 2002 to Access 2007 compatibility In-Reply-To: <005801c77d5c$ea10c7e0$f0c2f63f@JOHN> References: , <005801c77d5c$ea10c7e0$f0c2f63f@JOHN> Message-ID: <461F6E06.29796.3260E44F@stuart.lexacorp.com.pg> ----- Original Message ----- From: "McGillivray, Don [IT]" Sent: Thursday, April 12, 2007 4:58 PM Subject: [AccessD] Access 2002 to Access 2007 compatibility > I've been involved with a little project on the side that was developed > using Access 2003. The program is very simple - just a front end with few > reports and a UI to pass criteria to them for viewing. It is not being > deployed as a runtime. The folks I've been working with have been asked > by a potential customer whether the program will function as-is under an > Access 2007 environment. Neither I nor my associates intend to upgrade to > 2007 soon, so we can't easily experiment with this to be sure. If the new > Access is like its predecessors, I presume there may be some "gotchas" > with such an implementation. > > Specific experiences, areas of concern, or suggestions other resources for > study would be greatly appreciated. > Check out http://www.allenbrowne.com/Access2007.html for a list of the good, the bad and the ugly. From prodevmg at yahoo.com Thu Apr 12 22:14:11 2007 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 12 Apr 2007 20:14:11 -0700 (PDT) Subject: [AccessD] Open report from remote db Message-ID: <917134.1031.qm@web33115.mail.mud.yahoo.com> Can you open a report in one database from another database? I know how to get the data from a query or table in another database with... "SELECT * FROM TABLE/QUERYMAME IN 'C:\MYDB.MDB'" Any help? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html From mmattys at rochester.rr.com Thu Apr 12 22:23:10 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Thu, 12 Apr 2007 23:23:10 -0400 Subject: [AccessD] Open report from remote db References: <917134.1031.qm@web33115.mail.mud.yahoo.com> Message-ID: <000901c77d7b$11e1d250$0302a8c0@Laptop> Hi Lonnie, Set a ref to that mdb and you should be able to 'see' it to call it. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: Lonnie Johnson To: AccessD solving' Sent: Thursday, April 12, 2007 11:14 PM Subject: [AccessD] Open report from remote db Can you open a report in one database from another database? I know how to get the data from a query or table in another database with... "SELECT * FROM TABLE/QUERYMAME IN 'C:\MYDB.MDB'" Any help? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Apr 12 22:29:49 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 12 Apr 2007 23:29:49 -0400 Subject: [AccessD] Open report from remote db In-Reply-To: <917134.1031.qm@web33115.mail.mud.yahoo.com> References: <917134.1031.qm@web33115.mail.mud.yahoo.com> Message-ID: <00c201c77d7b$ff103490$657aa8c0@m6805> Lonnie, There are a couple of options - automation and referencing. Automation means the same thing that it does in Excel or Word, creating an instance of the remote database and manipulating it to cause it to open the report. That is rather ugly because it is difficult to keep the manipulated database from displaying itself in the process of manipulating it, i.e. it wants to "open". If the remote database has an autoexec or an autoform then that will try to execute / open. I am no expert in automation of Access databases so there may in fact be methods to get around these issues. Referencing means creating a reference to the database so that you can run code inside of the database. Having done that, you can then create public functions that take a report name as a parameter and then opens that report. Since the data for the report is inside of the database (or linked to it anyway) this works nicely. Unfortunately references can get messy depending on the circumstance. As you can see, there are ways to do this and which you choose will depend on your circumstances. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Thursday, April 12, 2007 11:14 PM To: AccessD solving' Subject: [AccessD] Open report from remote db Can you open a report in one database from another database? I know how to get the data from a query or table in another database with... "SELECT * FROM TABLE/QUERYMAME IN 'C:\MYDB.MDB'" Any help? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. ____________________________________________________________________________ ________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Fri Apr 13 01:46:32 2007 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 13 Apr 2007 07:46:32 +0100 Subject: [AccessD] Access 2002 to Access 2007 compatibility References: , <005801c77d5c$ea10c7e0$f0c2f63f@JOHN> <461F6E06.29796.3260E44F@stuart.lexacorp.com.pg> Message-ID: Stuart If you want to zip it up and forward to me I can check it for you. But if its a basic report I don't think there will be any issues. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Stuart McLachlan Sent: Fri 13/04/2007 02:48 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2002 to Access 2007 compatibility ----- Original Message ----- From: "McGillivray, Don [IT]" Sent: Thursday, April 12, 2007 4:58 PM Subject: [AccessD] Access 2002 to Access 2007 compatibility > I've been involved with a little project on the side that was developed > using Access 2003. The program is very simple - just a front end with few > reports and a UI to pass criteria to them for viewing. It is not being > deployed as a runtime. The folks I've been working with have been asked > by a potential customer whether the program will function as-is under an > Access 2007 environment. Neither I nor my associates intend to upgrade to > 2007 soon, so we can't easily experiment with this to be sure. If the new > Access is like its predecessors, I presume there may be some "gotchas" > with such an implementation. > > Specific experiences, areas of concern, or suggestions other resources for > study would be greatly appreciated. > Check out http://www.allenbrowne.com/Access2007.html for a list of the good, the bad and the ugly. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Apr 13 03:55:32 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 13 Apr 2007 10:55:32 +0200 Subject: [AccessD] Access 2007 woe (was: Activity?) Message-ID: Hi Charlotte Yes, that's what I mean - options, menus, strange buttons, panes, etc. are all over. Marty's link seems to be very useful solving this. The link from Stuart (thanks) gave me this: Modify schema (Datasheet) On by default, so users can add, delete, and rename fields in Datasheet view. Can disable: Office Button | Access Options | Current Database | Enable Design Changes in Datasheet View. /gustav >>> cfoust at infostatsystems.com 12-04-2007 18:57 >>> Martin's book is a good intro. One of the (many) things I hate about this version of Office is that the options that used to be at the bottom of the tools menus are now tucked away behind an options button at the bottom of the pane that drops down from the IMO non-intuitive round office button in the upper left. The download that Marty posted nearly a month ago helps too. http://office.microsoft.com/search/redir.aspx?AssetID=AM101757761033 Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, April 12, 2007 9:50 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Activity? Hi Charlotte Got Office 2007 installed - and now fighting with A2007 and that nasty over-it-all pane ... controls and menus are everywhere - took me a while to locate Access Options juxtaposed to a Close button just for fun. What did they drink? And at the down right corner - in the status bar - now is a full set of buttons for change between views of queries! Oh my ... Still struggling to find out how to get rid of the "Add new field" column in tables' data(!) view. This will take a while, I can feel. /gustav >>> cfoust at infostatsystems.com 12-04-2007 18:33 >>> Haven't seen any activity today. What's going on? Charlotte Foust From Gustav at cactus.dk Fri Apr 13 08:36:01 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 13 Apr 2007 15:36:01 +0200 Subject: [AccessD] OT: Friday (humour) Message-ID: ** Low Priority ** Hi all, quiet day again. A good marriage lasts forever - a bad marriage feels so. /gustav From andy at minstersystems.co.uk Fri Apr 13 10:17:06 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 13 Apr 2007 15:17:06 +0000 Subject: [AccessD] OT: Friday (humour) Message-ID: <20070413141710.8D8182B6B85@smtp.nildram.co.uk> Ah well, as we're so quiet try this. Go to Google maps, select Get Directions, enter London to New York. Enjoy the trip but watch out for no 37. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: [AccessD] OT: Friday (humour) Date: 13/04/07 13:41 ** Low Priority ** Hi all, quiet day again. A good marriage lasts forever - a bad marriage feels so. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From Gustav at cactus.dk Fri Apr 13 09:33:07 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 13 Apr 2007 16:33:07 +0200 Subject: [AccessD] OT: Friday (humour) Message-ID: Hi Andy Just bring your swim suit and you'll be kept busy for the weekend! /gustav >>> andy at minstersystems.co.uk 13-04-2007 17:17 >>> Ah well, as we're so quiet try this. Go to Google maps, select Get Directions, enter London to New York. Enjoy the trip but watch out for no 37. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: [AccessD] OT: Friday (humour) Date: 13/04/07 13:41 ** Low Priority ** Hi all, quiet day again. A good marriage lasts forever - a bad marriage feels so. /gustav From accessd at shaw.ca Fri Apr 13 09:46:12 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 13 Apr 2007 07:46:12 -0700 Subject: [AccessD] OT: Friday (humourly but good SQL fun) In-Reply-To: <20070413141710.8D8182B6B85@smtp.nildram.co.uk> Message-ID: <0JGF00JUXY6AHU11@l-daemon> OT Friday: Tired of those plain MS SQL DBs... try this: http://msdn2.microsoft.com/en-us/library/bb245675.aspx ...and... http://www.sqlserverbible.com/ordbms.htm Jim From andy at minstersystems.co.uk Fri Apr 13 11:06:04 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 13 Apr 2007 16:06:04 +0000 Subject: [AccessD] OT: Friday (humourly but good SQL fun) Message-ID: <20070413150609.39B2A4C269@smtp.nildram.co.uk> Swimming the Atlantic suddenly looks like child's play. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] OT: Friday (humourly but good SQL fun) Date: 13/04/07 14:52 OT Friday: Tired of those plain MS SQL DBs... try this: http://msdn2.microsoft.com/en-us/library/bb245675.aspx ....and... http://www.sqlserverbible.com/ordbms.htm Jim ________________________________________________ Message sent using UebiMiau 2.7.2 From Gustav at cactus.dk Fri Apr 13 10:21:33 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 13 Apr 2007 17:21:33 +0200 Subject: [AccessD] OT: Friday (humourly but good SQL fun) Message-ID: Hi Andy Yes. It could be the next challenge for the guy who recently swam the Amazonas downstream - in 66 days! /gustav >>> andy at minstersystems.co.uk 13-04-2007 18:06 >>> Swimming the Atlantic suddenly looks like child's play. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] OT: Friday (humourly but good SQL fun) Date: 13/04/07 14:52 OT Friday: Tired of those plain MS SQL DBs... try this: http://msdn2.microsoft.com/en-us/library/bb245675.aspx ....and... http://www.sqlserverbible.com/ordbms.htm Jim From shamil at users.mns.ru Fri Apr 13 11:57:47 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 13 Apr 2007 20:57:47 +0400 Subject: [AccessD] OT: Friday (humour) In-Reply-To: Message-ID: <001201c77dec$dd073760$6501a8c0@nant> Hi Gustav, It's Friday, the *13th* today. Everybody are fighting with *malicious* alien software? My 0.02 kopeks for Friday humor - the following is a translated from Russian anecdote: Here is what we learn from the Hollywood films: 1. During any kind of investigation a policemen at least one time visits a strip-club. 2. Foreigners prefer to speak English even if they talk to each other. 3. To rescue from a pursuit it is always possible to hide in a crowd of a passing by parade. For sure there will be suitable parade to do that 4. On every bed there is an L-shaped blanket closing a man up to a belt, and a woman - up to a chin. 5. The best detective is always discharged of work or he/she is given 48 hours to finish investigation. 6. Everyone can land a plane. 7. A ventilation system of any building is the best place to hide, nobody will try to search for you there you there, but using it you can reach any part of a building. 8. Tour Eiffel in Paris is visible from EACH window. 9. Any bomb with clockwork is additionally equipped by the indicator with large red figures for everybody to see what time remains before explosion. 10. It's not necessary for Nazis officers to know German language, it is enough for them to speak English with German accent. 11. There is no illumination system in kitchens. To get a light in kitchen at night time it is enough to open a door of a refrigerator. 12. Having remained alone to spend the night in a dark and gloomy building and having heard a suspicious sound, the heroine(actress) goes to check what is happening, having put on her most magnificent and seductive linen. 13. Collided cars always blow up and burn. 14. Medieval and even primitive inhabitants always have shining, magnificent hair and magnificent teeth. 15. If you have got surrounded by more than one opponent, there anyway will be just one attacking you, and the others at this time will be making menacing body movements. 16. Even if a car goes on a flat and a straight road, the steering wheel has to be twisted furiously here and there. 17. Any lock can be opened by a paper clip, hairpin or a credit card. Exception is the case when a fire begins in the house where a small child is locked. 18. Lipstick is not getting erased, even if a heroine (actress) takes a shower or dives with an aqualung. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 13, 2007 5:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday (humour) Importance: Low ** Low Priority ** Hi all, quiet day again. A good marriage lasts forever - a bad marriage feels so. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From drboz at pacbell.net Fri Apr 13 12:08:47 2007 From: drboz at pacbell.net (Don Bozarth) Date: Fri, 13 Apr 2007 10:08:47 -0700 Subject: [AccessD] OT: Friday (humour) References: <001201c77dec$dd073760$6501a8c0@nant> Message-ID: <001a01c77dee$687a4340$6601a8c0@don> Add to your list the fact that the hero/heroine don't seem to mind walking around in darkened rooms when there's something bad in there. Don B. ----- Original Message ----- From: "Shamil Salakhetdinov" To: "'Access Developers discussion and problem solving'" Sent: Friday, April 13, 2007 9:57 AM Subject: Re: [AccessD] OT: Friday (humour) > Hi Gustav, > > It's Friday, the *13th* today. Everybody are fighting with *malicious* > alien > software? > > My 0.02 kopeks for Friday humor - the following is a translated from > Russian > anecdote: > > Here is what we learn from the Hollywood films: > 1. During any kind of investigation a policemen at least one time visits a > strip-club. > 2. Foreigners prefer to speak English even if they talk to each other. > 3. To rescue from a pursuit it is always possible to hide in a crowd of a > passing by parade. For sure there will be suitable parade to do that > 4. On every bed there is an L-shaped blanket closing a man up to a belt, > and > a woman - up to a chin. > 5. The best detective is always discharged of work or he/she is given 48 > hours to finish investigation. > 6. Everyone can land a plane. > 7. A ventilation system of any building is the best place to hide, nobody > will try to search for you there you there, but using it you can reach any > part of a building. > 8. Tour Eiffel in Paris is visible from EACH window. > 9. Any bomb with clockwork is additionally equipped by the indicator with > large red figures for everybody to see what time remains before explosion. > 10. It's not necessary for Nazis officers to know German language, it is > enough for them to speak English with German accent. > 11. There is no illumination system in kitchens. To get a light in kitchen > at night time it is enough to open a door of a refrigerator. > 12. Having remained alone to spend the night in a dark and gloomy building > and having heard a suspicious sound, the heroine(actress) goes to check > what > is happening, having put on her most magnificent and seductive linen. > 13. Collided cars always blow up and burn. > 14. Medieval and even primitive inhabitants always have shining, > magnificent > hair and magnificent teeth. > 15. If you have got surrounded by more than one opponent, there anyway > will > be just one attacking you, and the others at this time will be making > menacing body movements. > 16. Even if a car goes on a flat and a straight road, the steering wheel > has > to be twisted furiously here and there. > 17. Any lock can be opened by a paper clip, hairpin or a credit card. > Exception is the case when a fire begins in the house where a small child > is > locked. > 18. Lipstick is not getting erased, even if a heroine (actress) takes a > shower or dives with an aqualung. > > -- > Shamil > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Friday, April 13, 2007 5:36 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] OT: Friday (humour) > Importance: Low > > ** Low Priority ** > > Hi all, quiet day again. > > A good marriage lasts forever - a bad marriage feels so. > > /gustav > > > -- > 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 Donald.A.McGillivray at sprint.com Fri Apr 13 12:09:51 2007 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Fri, 13 Apr 2007 12:09:51 -0500 Subject: [AccessD] Access 2002 to Access 2007 compatibility In-Reply-To: References: , <005801c77d5c$ea10c7e0$f0c2f63f@JOHN><461F6E06.29796.3260E44F@stuart.lexacorp.com.pg> Message-ID: Thanks to all for the offers, input, and expertise. This should be enough to allow me to ease their fears. Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Thursday, April 12, 2007 11:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2002 to Access 2007 compatibility Stuart If you want to zip it up and forward to me I can check it for you. But if its a basic report I don't think there will be any issues. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Stuart McLachlan Sent: Fri 13/04/2007 02:48 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2002 to Access 2007 compatibility ----- Original Message ----- From: "McGillivray, Don [IT]" Sent: Thursday, April 12, 2007 4:58 PM Subject: [AccessD] Access 2002 to Access 2007 compatibility > I've been involved with a little project on the side that was developed > using Access 2003. The program is very simple - just a front end with few > reports and a UI to pass criteria to them for viewing. It is not being > deployed as a runtime. The folks I've been working with have been asked > by a potential customer whether the program will function as-is under an > Access 2007 environment. Neither I nor my associates intend to upgrade to > 2007 soon, so we can't easily experiment with this to be sure. If the new > Access is like its predecessors, I presume there may be some "gotchas" > with such an implementation. > > Specific experiences, areas of concern, or suggestions other resources for > study would be greatly appreciated. > Check out http://www.allenbrowne.com/Access2007.html for a list of the good, the bad and the ugly. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Apr 13 12:19:09 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 13 Apr 2007 19:19:09 +0200 Subject: [AccessD] OT: Friday (humour) Message-ID: Hi Shamil That's right, I forgot that ... remember the old virus "Friday 13th"?. Scary indeed. Also, add to the list: Cowboys newer sh.t. /gustav >>> shamil at users.mns.ru 13-04-2007 18:57 >>> Hi Gustav, It's Friday, the *13th* today. Everybody are fighting with *malicious* alien software? My 0.02 kopeks for Friday humor - the following is a translated from Russian anecdote: Here is what we learn from the Hollywood films: 1. During any kind of investigation a policemen at least one time visits a strip-club. 2. Foreigners prefer to speak English even if they talk to each other. 3. To rescue from a pursuit it is always possible to hide in a crowd of a passing by parade. For sure there will be suitable parade to do that 4. On every bed there is an L-shaped blanket closing a man up to a belt, and a woman - up to a chin. 5. The best detective is always discharged of work or he/she is given 48 hours to finish investigation. 6. Everyone can land a plane. 7. A ventilation system of any building is the best place to hide, nobody will try to search for you there you there, but using it you can reach any part of a building. 8. Tour Eiffel in Paris is visible from EACH window. 9. Any bomb with clockwork is additionally equipped by the indicator with large red figures for everybody to see what time remains before explosion. 10. It's not necessary for Nazis officers to know German language, it is enough for them to speak English with German accent. 11. There is no illumination system in kitchens. To get a light in kitchen at night time it is enough to open a door of a refrigerator. 12. Having remained alone to spend the night in a dark and gloomy building and having heard a suspicious sound, the heroine(actress) goes to check what is happening, having put on her most magnificent and seductive linen. 13. Collided cars always blow up and burn. 14. Medieval and even primitive inhabitants always have shining, magnificent hair and magnificent teeth. 15. If you have got surrounded by more than one opponent, there anyway will be just one attacking you, and the others at this time will be making menacing body movements. 16. Even if a car goes on a flat and a straight road, the steering wheel has to be twisted furiously here and there. 17. Any lock can be opened by a paper clip, hairpin or a credit card. Exception is the case when a fire begins in the house where a small child is locked. 18. Lipstick is not getting erased, even if a heroine (actress) takes a shower or dives with an aqualung. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 13, 2007 5:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday (humour) Importance: Low ** Low Priority ** Hi all, quiet day again. A good marriage lasts forever - a bad marriage feels so. /gustav From dwaters at usinternet.com Fri Apr 13 12:20:47 2007 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 13 Apr 2007 12:20:47 -0500 Subject: [AccessD] OT: Friday (humour) In-Reply-To: <001201c77dec$dd073760$6501a8c0@nant> References: <001201c77dec$dd073760$6501a8c0@nant> Message-ID: <002e01c77df0$14b6dd20$0200a8c0@danwaters> Well - I just learned a lot about Hollywood movies!! Thanks Shamil! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, April 13, 2007 11:58 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (humour) Hi Gustav, It's Friday, the *13th* today. Everybody are fighting with *malicious* alien software? My 0.02 kopeks for Friday humor - the following is a translated from Russian anecdote: Here is what we learn from the Hollywood films: 1. During any kind of investigation a policemen at least one time visits a strip-club. 2. Foreigners prefer to speak English even if they talk to each other. 3. To rescue from a pursuit it is always possible to hide in a crowd of a passing by parade. For sure there will be suitable parade to do that 4. On every bed there is an L-shaped blanket closing a man up to a belt, and a woman - up to a chin. 5. The best detective is always discharged of work or he/she is given 48 hours to finish investigation. 6. Everyone can land a plane. 7. A ventilation system of any building is the best place to hide, nobody will try to search for you there you there, but using it you can reach any part of a building. 8. Tour Eiffel in Paris is visible from EACH window. 9. Any bomb with clockwork is additionally equipped by the indicator with large red figures for everybody to see what time remains before explosion. 10. It's not necessary for Nazis officers to know German language, it is enough for them to speak English with German accent. 11. There is no illumination system in kitchens. To get a light in kitchen at night time it is enough to open a door of a refrigerator. 12. Having remained alone to spend the night in a dark and gloomy building and having heard a suspicious sound, the heroine(actress) goes to check what is happening, having put on her most magnificent and seductive linen. 13. Collided cars always blow up and burn. 14. Medieval and even primitive inhabitants always have shining, magnificent hair and magnificent teeth. 15. If you have got surrounded by more than one opponent, there anyway will be just one attacking you, and the others at this time will be making menacing body movements. 16. Even if a car goes on a flat and a straight road, the steering wheel has to be twisted furiously here and there. 17. Any lock can be opened by a paper clip, hairpin or a credit card. Exception is the case when a fire begins in the house where a small child is locked. 18. Lipstick is not getting erased, even if a heroine (actress) takes a shower or dives with an aqualung. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 13, 2007 5:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday (humour) Importance: Low ** Low Priority ** Hi all, quiet day again. A good marriage lasts forever - a bad marriage feels so. /gustav -- 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 andy at minstersystems.co.uk Fri Apr 13 13:52:14 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 13 Apr 2007 19:52:14 +0100 Subject: [AccessD] OT: Friday (humour) In-Reply-To: <001201c77dec$dd073760$6501a8c0@nant> Message-ID: <01d301c77dfc$da8b6eb0$9898d355@minster33c3r25> Great stuff Shamil, thanks. And SO true. Andy > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Shamil Salakhetdinov > Sent: 13 April 2007 17:58 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: Friday (humour) > > > Hi Gustav, > > It's Friday, the *13th* today. Everybody are fighting with > *malicious* alien software? > > My 0.02 kopeks for Friday humor - the following is a > translated from Russian > anecdote: > > Here is what we learn from the Hollywood films: > 1. During any kind of investigation a policemen at least one > time visits a strip-club. > 2. Foreigners prefer to speak English even if they talk to > each other. 3. To rescue from a pursuit it is always possible > to hide in a crowd of a passing by parade. For sure there > will be suitable parade to do that > 4. On every bed there is an L-shaped blanket closing a man up > to a belt, and a woman - up to a chin. > 5. The best detective is always discharged of work or he/she > is given 48 hours to finish investigation. > 6. Everyone can land a plane. > 7. A ventilation system of any building is the best place to > hide, nobody will try to search for you there you there, but > using it you can reach any part of a building. > 8. Tour Eiffel in Paris is visible from EACH window. > 9. Any bomb with clockwork is additionally equipped by the > indicator with large red figures for everybody to see what > time remains before explosion. > 10. It's not necessary for Nazis officers to know German > language, it is enough for them to speak English with German > accent. 11. There is no illumination system in kitchens. To > get a light in kitchen at night time it is enough to open a > door of a refrigerator. > 12. Having remained alone to spend the night in a dark and > gloomy building and having heard a suspicious sound, the > heroine(actress) goes to check what is happening, having put > on her most magnificent and seductive linen. > 13. Collided cars always blow up and burn. > 14. Medieval and even primitive inhabitants always have > shining, magnificent hair and magnificent teeth. > 15. If you have got surrounded by more than one opponent, > there anyway will be just one attacking you, and the others > at this time will be making menacing body movements. > 16. Even if a car goes on a flat and a straight road, the > steering wheel has to be twisted furiously here and there. > 17. Any lock can be opened by a paper clip, hairpin or a > credit card. Exception is the case when a fire begins in the > house where a small child is locked. > 18. Lipstick is not getting erased, even if a heroine > (actress) takes a shower or dives with an aqualung. > > -- > Shamil > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Gustav Brock > Sent: Friday, April 13, 2007 5:36 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] OT: Friday (humour) > Importance: Low > > ** Low Priority ** > > Hi all, quiet day again. > > A good marriage lasts forever - a bad marriage feels so. > > /gustav > > > -- > 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 rockysmolin at bchacc.com Fri Apr 13 14:52:52 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 13 Apr 2007 12:52:52 -0700 Subject: [AccessD] OT: Friday (humour) In-Reply-To: <001201c77dec$dd073760$6501a8c0@nant> Message-ID: <016701c77e05$52d73400$0201a8c0@HAL9005> Do Russians have the 'Unlucky Friday the 13th' superstition? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, April 13, 2007 9:58 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (humour) Hi Gustav, It's Friday, the *13th* today. Everybody are fighting with *malicious* alien software? My 0.02 kopeks for Friday humor - the following is a translated from Russian anecdote: Here is what we learn from the Hollywood films: 1. During any kind of investigation a policemen at least one time visits a strip-club. 2. Foreigners prefer to speak English even if they talk to each other. 3. To rescue from a pursuit it is always possible to hide in a crowd of a passing by parade. For sure there will be suitable parade to do that 4. On every bed there is an L-shaped blanket closing a man up to a belt, and a woman - up to a chin. 5. The best detective is always discharged of work or he/she is given 48 hours to finish investigation. 6. Everyone can land a plane. 7. A ventilation system of any building is the best place to hide, nobody will try to search for you there you there, but using it you can reach any part of a building. 8. Tour Eiffel in Paris is visible from EACH window. 9. Any bomb with clockwork is additionally equipped by the indicator with large red figures for everybody to see what time remains before explosion. 10. It's not necessary for Nazis officers to know German language, it is enough for them to speak English with German accent. 11. There is no illumination system in kitchens. To get a light in kitchen at night time it is enough to open a door of a refrigerator. 12. Having remained alone to spend the night in a dark and gloomy building and having heard a suspicious sound, the heroine(actress) goes to check what is happening, having put on her most magnificent and seductive linen. 13. Collided cars always blow up and burn. 14. Medieval and even primitive inhabitants always have shining, magnificent hair and magnificent teeth. 15. If you have got surrounded by more than one opponent, there anyway will be just one attacking you, and the others at this time will be making menacing body movements. 16. Even if a car goes on a flat and a straight road, the steering wheel has to be twisted furiously here and there. 17. Any lock can be opened by a paper clip, hairpin or a credit card. Exception is the case when a fire begins in the house where a small child is locked. 18. Lipstick is not getting erased, even if a heroine (actress) takes a shower or dives with an aqualung. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 13, 2007 5:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday (humour) Importance: Low ** Low Priority ** Hi all, quiet day again. A good marriage lasts forever - a bad marriage feels so. /gustav -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.4.0/759 - Release Date: 4/12/2007 7:58 PM From mwp.reid at qub.ac.uk Fri Apr 13 15:21:24 2007 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 13 Apr 2007 21:21:24 +0100 Subject: [AccessD] OT: Friday (humour) References: <016701c77e05$52d73400$0201a8c0@HAL9005> Message-ID: Just to finish this off My Uncle, Sean was in the Merchant Navy. In the 1960s of the coast of Africa he was killed. His mate was asked to go up a chair to paint a mast. His mate refused as it was Friday 13th. My Uncle went up, rope broke and he was killed. True story. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Rocky Smolin at Beach Access Software Sent: Fri 13/04/2007 20:52 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (humour) Do Russians have the 'Unlucky Friday the 13th' superstition? Rocky From shamil at users.mns.ru Fri Apr 13 16:15:35 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 14 Apr 2007 01:15:35 +0400 Subject: [AccessD] OT: Friday (humour) In-Reply-To: <016701c77e05$52d73400$0201a8c0@HAL9005> Message-ID: <000b01c77e10$e0bfc830$6501a8c0@nant> Rocky, No, there is no 'Unlucky Friday the 13th' superstition here - I have got known about it after I started to talk to Western colleagues via Internet... Unlucky/heavy day is considered to be Monday here, every Monday :) And Monday, 13th is considered especially heavy/unlucky... There is a very famous here Soviet times' comedy movie and a soundtrack to this movie is a song about "Unlucky Island" having these words: "Whatever they (inhabitants of Unlucky Island) do - it doesn't work well, it looks like they were born on Monday..." -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, April 13, 2007 11:53 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (humour) Do Russians have the 'Unlucky Friday the 13th' superstition? Rocky <<< tail skipped >>> From rockysmolin at bchacc.com Fri Apr 13 18:16:04 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 13 Apr 2007 16:16:04 -0700 Subject: [AccessD] OT: Friday (humour) In-Reply-To: <000b01c77e10$e0bfc830$6501a8c0@nant> Message-ID: <019d01c77e21$b5a4b780$0201a8c0@HAL9005> OK I kind of forgot it was OT Friday so I can post a link to an op-ed piece that my 17 y.o. got published in the San Diego Union Tribune today? It's just shameless boasting but as they say - easier to ask forgiveness than permission. Hard to keep a proud Dad at bay, you know - http://www.signonsandiego.com/uniontrib/20070413/news_lz1e13sutton.html Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, April 13, 2007 2:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (humour) Rocky, No, there is no 'Unlucky Friday the 13th' superstition here - I have got known about it after I started to talk to Western colleagues via Internet... Unlucky/heavy day is considered to be Monday here, every Monday :) And Monday, 13th is considered especially heavy/unlucky... There is a very famous here Soviet times' comedy movie and a soundtrack to this movie is a song about "Unlucky Island" having these words: "Whatever they (inhabitants of Unlucky Island) do - it doesn't work well, it looks like they were born on Monday..." -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, April 13, 2007 11:53 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (humour) Do Russians have the 'Unlucky Friday the 13th' superstition? Rocky <<< tail skipped >>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.4.0/759 - Release Date: 4/12/2007 7:58 PM From prodevmg at yahoo.com Sun Apr 15 20:01:43 2007 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Sun, 15 Apr 2007 18:01:43 -0700 (PDT) Subject: [AccessD] Open report from remote db Message-ID: <701922.48730.qm@web33110.mail.mud.yahoo.com> Thanks for the tip. I have set a reference but do "see it" as you say. I may need a little more hand holding. Never had to do this before. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Thursday, April 12, 2007 10:23:10 PM Subject: Re: [AccessD] Open report from remote db Hi Lonnie, Set a ref to that mdb and you should be able to 'see' it to call it. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: Lonnie Johnson To: AccessD solving' Sent: Thursday, April 12, 2007 11:14 PM Subject: [AccessD] Open report from remote db Can you open a report in one database from another database? I know how to get the data from a query or table in another database with... "SELECT * FROM TABLE/QUERYMAME IN 'C:\MYDB.MDB'" Any help? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html -- 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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From mmattys at rochester.rr.com Sun Apr 15 21:23:16 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Sun, 15 Apr 2007 22:23:16 -0400 Subject: [AccessD] Open report from remote db References: <701922.48730.qm@web33110.mail.mud.yahoo.com> Message-ID: <001101c77fce$322f7530$0302a8c0@Laptop> Alright, Lonnie. I think the simplest method would be to create a public function in the referenced database that tells the report to open. Then it doesn't matter where you call it from, it just pops up. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: Lonnie Johnson To: Access Developers discussion and problem solving Sent: Sunday, April 15, 2007 9:01 PM Subject: Re: [AccessD] Open report from remote db Thanks for the tip. I have set a reference but do "see it" as you say. I may need a little more hand holding. Never had to do this before. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Thursday, April 12, 2007 10:23:10 PM Subject: Re: [AccessD] Open report from remote db Hi Lonnie, Set a ref to that mdb and you should be able to 'see' it to call it. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: Lonnie Johnson To: AccessD solving' Sent: Thursday, April 12, 2007 11:14 PM Subject: [AccessD] Open report from remote db Can you open a report in one database from another database? I know how to get the data from a query or table in another database with... "SELECT * FROM TABLE/QUERYMAME IN 'C:\MYDB.MDB'" Any help? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html -- 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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Elizabeth.J.Doering at wellsfargo.com Mon Apr 16 07:47:25 2007 From: Elizabeth.J.Doering at wellsfargo.com (Elizabeth.J.Doering at wellsfargo.com) Date: Mon, 16 Apr 2007 07:47:25 -0500 Subject: [AccessD] OT: Friday (humour) References: <019d01c77e21$b5a4b780$0201a8c0@HAL9005> Message-ID: <1C2084FD2472124AB1812A5476EA3B7A015A05D6@msgswbmnmsp04.wellsfargo.com> Wow. Dad is justly proud. Liz Liz Doering 612.667.2447 "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, April 13, 2007 6:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (humour) OK I kind of forgot it was OT Friday so I can post a link to an op-ed piece that my 17 y.o. got published in the San Diego Union Tribune today? It's just shameless boasting but as they say - easier to ask forgiveness than permission. Hard to keep a proud Dad at bay, you know - http://www.signonsandiego.com/uniontrib/20070413/news_lz1e13sutton.html Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, April 13, 2007 2:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (humour) Rocky, No, there is no 'Unlucky Friday the 13th' superstition here - I have got known about it after I started to talk to Western colleagues via Internet... Unlucky/heavy day is considered to be Monday here, every Monday :) And Monday, 13th is considered especially heavy/unlucky... There is a very famous here Soviet times' comedy movie and a soundtrack to this movie is a song about "Unlucky Island" having these words: "Whatever they (inhabitants of Unlucky Island) do - it doesn't work well, it looks like they were born on Monday..." -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, April 13, 2007 11:53 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Friday (humour) Do Russians have the 'Unlucky Friday the 13th' superstition? Rocky <<< tail skipped >>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.4.0/759 - Release Date: 4/12/2007 7:58 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Mon Apr 16 08:09:42 2007 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Mon, 16 Apr 2007 06:09:42 -0700 (PDT) Subject: [AccessD] Open report from remote db Message-ID: <905309.89689.qm@web33110.mail.mud.yahoo.com> Thanks. I guess I should have been more revealing. I have been asked to create a process by which the user can type in a database path and name into one field and a report name in another field, click a button and that report opens. So I will be adding references to the main database dynamically and through code and retrieving the report. It sounds like a pain but it's what they want. They are bent on certain conveniences like not having to open another database. Does that help? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Sunday, April 15, 2007 9:23:16 PM Subject: Re: [AccessD] Open report from remote db Alright, Lonnie. I think the simplest method would be to create a public function in the referenced database that tells the report to open. Then it doesn't matter where you call it from, it just pops up. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: Lonnie Johnson To: Access Developers discussion and problem solving Sent: Sunday, April 15, 2007 9:01 PM Subject: Re: [AccessD] Open report from remote db Thanks for the tip. I have set a reference but do "see it" as you say. I may need a little more hand holding. Never had to do this before. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Thursday, April 12, 2007 10:23:10 PM Subject: Re: [AccessD] Open report from remote db Hi Lonnie, Set a ref to that mdb and you should be able to 'see' it to call it. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: Lonnie Johnson To: AccessD solving' Sent: Thursday, April 12, 2007 11:14 PM Subject: [AccessD] Open report from remote db Can you open a report in one database from another database? I know how to get the data from a query or table in another database with... "SELECT * FROM TABLE/QUERYMAME IN 'C:\MYDB.MDB'" Any help? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html -- 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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From adtp at airtelbroadband.in Mon Apr 16 09:19:22 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Mon, 16 Apr 2007 19:49:22 +0530 Subject: [AccessD] Open report from remote db References: <917134.1031.qm@web33115.mail.mud.yahoo.com> Message-ID: <009f01c78032$5b555e70$0357a27a@pcadt> Lonnie, Two alternatives are available as follows, for viewing / printing reports & forms belonging to external db: (a) Library reference to external db: (i) In local db, set up library reference named "External" to the external db and then call subroutines & functions belonging to external db by using the qualifier "External." (ii) In the code modules of external db, care is to be taken to use CodeDb & CodeProject in lieu of CurrentDb & CurrentProject respectively, wherever occurring. (iii) Automatic setting up of correct reference to external db can be ensured programmatically, through code in start-up form of local db. (b) Access automation: Activate the external db via automation and toggle respective visibilities of local & external db's appropriately, for user convenience. Two of my sample db's mentioned below, might be of interest to you: (a) ExternalDbAsLibraryRef (b) ExternalDbAutomation Both samples are available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Lonnie Johnson To: AccessD solving' Sent: Friday, April 13, 2007 08:44 Subject: [AccessD] Open report from remote db Can you open a report in one database from another database? I know how to get the data from a query or table in another database with... "SELECT * FROM TABLE/QUERYMAME IN 'C:\MYDB.MDB'" Any help? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us From mwp.reid at qub.ac.uk Mon Apr 16 09:21:49 2007 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Mon, 16 Apr 2007 15:21:49 +0100 Subject: [AccessD] OT Excel References: <905309.89689.qm@web33110.mail.mud.yahoo.com> Message-ID: I have a member of staff who is in real need of some expert Excel help. They are also a mature studend and close to deadline re an Excel project as part of their MA. I dont know enough to help her. Would anyone with good Excel expereince care to volunteer??? You can contact me of line. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From mmattys at rochester.rr.com Mon Apr 16 10:55:43 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Mon, 16 Apr 2007 11:55:43 -0400 Subject: [AccessD] Open report from remote db References: <905309.89689.qm@web33110.mail.mud.yahoo.com> Message-ID: <006401c7803f$b1cac760$0302a8c0@Laptop> Hi Lonnie, While I haven't looked at A.D.'s implementations, my guess is that they're sufficient to answer all of your questions. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: Lonnie Johnson To: Access Developers discussion and problem solving Sent: Monday, April 16, 2007 9:09 AM Subject: Re: [AccessD] Open report from remote db Thanks. I guess I should have been more revealing. I have been asked to create a process by which the user can type in a database path and name into one field and a report name in another field, click a button and that report opens. So I will be adding references to the main database dynamically and through code and retrieving the report. It sounds like a pain but it's what they want. They are bent on certain conveniences like not having to open another database. Does that help? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Sunday, April 15, 2007 9:23:16 PM Subject: Re: [AccessD] Open report from remote db Alright, Lonnie. I think the simplest method would be to create a public function in the referenced database that tells the report to open. Then it doesn't matter where you call it from, it just pops up. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: Lonnie Johnson To: Access Developers discussion and problem solving Sent: Sunday, April 15, 2007 9:01 PM Subject: Re: [AccessD] Open report from remote db Thanks for the tip. I have set a reference but do "see it" as you say. I may need a little more hand holding. Never had to do this before. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Thursday, April 12, 2007 10:23:10 PM Subject: Re: [AccessD] Open report from remote db Hi Lonnie, Set a ref to that mdb and you should be able to 'see' it to call it. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: Lonnie Johnson To: AccessD solving' Sent: Thursday, April 12, 2007 11:14 PM Subject: [AccessD] Open report from remote db Can you open a report in one database from another database? I know how to get the data from a query or table in another database with... "SELECT * FROM TABLE/QUERYMAME IN 'C:\MYDB.MDB'" Any help? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html -- 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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at verizon.net Mon Apr 16 11:40:56 2007 From: mikedorism at verizon.net (Doris Manning) Date: Mon, 16 Apr 2007 12:40:56 -0400 Subject: [AccessD] OT -- Transfer Rich Text to SQL Server Message-ID: <001301c78046$02391570$2f01a8c0@Kermit> Does anyone on this list happen to know how to take a rich text formatted cell from Excel and transfer that to SQL Server? Doris Manning Database Administrator Hargrove Inc. From John.Clark at niagaracounty.com Mon Apr 16 13:44:49 2007 From: John.Clark at niagaracounty.com (John Clark) Date: Mon, 16 Apr 2007 14:44:49 -0400 Subject: [AccessD] Getting info from a single record table In-Reply-To: <019d01c77e21$b5a4b780$0201a8c0@HAL9005> References: <000b01c77e10$e0bfc830$6501a8c0@nant> <019d01c77e21$b5a4b780$0201a8c0@HAL9005> Message-ID: <46238BDD.167F.006B.0@niagaracounty.com> Years ago, I created a small program to track mileage of workers. There are a bunch of things I'd have done differently, but they are very pleased w/it. The bad thing though is that I couldn't figure out how to change the mileage rate, on the fly, so I hard coded it. So, I have had to go in and alter this rate, every quarter, if it changes. This wasn't too awfully bad, but they didn't notify me, the last couple of times, until we were well into the quarter, and they had already keyed in a bunch of the entries. The calculation is done at the time of entry, so the allowances were off, and I had to run a quick update query to fix the old amounts. This is one of the things I would do differently, and I may change it to compare the date w/a table of dates and rates, but this immediate question will be relevant for that too. I would like to, for now at least, install a one-record table, to hold the rate in it. I would have a very small form...basically a pop-up type form...that would hold the rate. There would be no nav. buttons, so they are stuck on the one record only. But...finally, we're at my question...how do I reference this record? Example: Currently: [AmtOwed] = [Miles] * .485 Would like: [AmtOwed] = [Miles] * [tblMileageRate]![CurRate] Make sense? I hope! John W. Clark From markamatte at hotmail.com Mon Apr 16 14:03:24 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 16 Apr 2007 19:03:24 +0000 Subject: [AccessD] Getting info from a single record table In-Reply-To: <46238BDD.167F.006B.0@niagaracounty.com> Message-ID: John, I do something similar. I use a dlookup...and then give them a form with an unbound field and a button to change it. On this form they enter the new (in your case) milage...and I use a SQL statement behing the button to write over my singe record. This way the don't have the chance to enter additional records in the table. The Dlookup is then used in all of my calculations. Hope this helps... Thanks, Mark A. Matte >From: "John Clark" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: [AccessD] Getting info from a single record table >Date: Mon, 16 Apr 2007 14:44:49 -0400 > >Years ago, I created a small program to track mileage of workers. There are >a bunch of things I'd have done differently, but they are very pleased >w/it. The bad thing though is that I couldn't figure out how to change the >mileage rate, on the fly, so I hard coded it. So, I have had to go in and >alter this rate, every quarter, if it changes. > >This wasn't too awfully bad, but they didn't notify me, the last couple of >times, until we were well into the quarter, and they had already keyed in a >bunch of the entries. The calculation is done at the time of entry, so the >allowances were off, and I had to run a quick update query to fix the old >amounts. This is one of the things I would do differently, and I may change >it to compare the date w/a table of dates and rates, but this immediate >question will be relevant for that too. > >I would like to, for now at least, install a one-record table, to hold the >rate in it. I would have a very small form...basically a pop-up type >form...that would hold the rate. There would be no nav. buttons, so they >are stuck on the one record only. But...finally, we're at my question...how >do I reference this record? > >Example: > >Currently: [AmtOwed] = [Miles] * .485 > >Would like: [AmtOwed] = [Miles] * [tblMileageRate]![CurRate] > >Make sense? I hope! > >John W. Clark > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Exercise your brain! Try Flexicon. http://games.msn.com/en/flexicon/default.htm?icid=flexicon_hmemailtaglineapril07 From martyconnelly at shaw.ca Mon Apr 16 14:03:56 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 16 Apr 2007 12:03:56 -0700 Subject: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 but just in IE In-Reply-To: <001301c78046$02391570$2f01a8c0@Kermit> References: <001301c78046$02391570$2f01a8c0@Kermit> Message-ID: <4623C89C.8000209@shaw.ca> Just a heads up. You may want to upgrade to XML 6.0 in the future even just for the security fixes, never mind the new WSC XML standards introduced. MS are going to push out an IE specific kill-bit for MSXML4 in October 2007. http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill-bit-ed.aspx MSXML6 is included in Vista by default and MSXML 6.0 SP 1 is available for download for supported downlevel platforms from http://www.microsoft.com/downloads/details.aspx?FamilyID=d21c292c-368b-4ce1-9dab-3e9827b70604&displaylang=en MSXML 6.0 will be the means whereby support for new versions of XPath 2.0 and XSLT 2.0 make their way into the Visual Studio and Microsoft programming language environments, along with the brand new XQuery 1.0. However one thing to check, MSXML 6.0 has removed support for XDR schemas but not XSD schemas. MSXML 4.0 will still be available via programming references * MSXML 3.0 has shipped with every supported Windows OS, so Microsoft professes to be "committed to keeping MSXML3 robust and stable but won't be adding any functional improvements." * MSXML 4.0 will be killed off some time between October and December of 2007, via a "kill bit" that applies only to Internet Explorer. The upshot of this change is that applications will no longer be able to create MSXML4 objects in that browser. Applications based on programming languages, such as C++, are not aware of this kill bit and will continue to work with MSXML4. For a list of changes introduced from MSXML4 and MSXML6, plus migration topics, see the blog entry entitled "Upgrading to MSXML 6.0." MS are going to push out an IE specific kill-bit for MSXML4 in October. More information here: http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill-bit-ed.aspx http://msdn2.microsoft.com/en-us/library/ms753751.aspx http://msdn2.microsoft.com/en-us/library/ms764692.aspx MS Notes. MSXML6 - Should be your first choice. This is the MSXML version that will be carried forward. MSXML6 shipped with Vista and we are working on getting this in downlevel OS Service Packs MSXML3 ? This has the advantage of having shipped with every supported OS . We are committed to keeping MSXML3 robust and stable but won?t be adding any functional improvements. MSXML4 - This is in maintenance mode with a very high bar for fixes approaching End of Life. MSXML 5 ? Exclusively meant for Office. Do not take any dependencies on it. -- Marty Connelly Victoria, B.C. Canada From bheid at sc.rr.com Mon Apr 16 14:15:10 2007 From: bheid at sc.rr.com (Bobby Heid) Date: Mon, 16 Apr 2007 15:15:10 -0400 Subject: [AccessD] Getting info from a single record table In-Reply-To: <46238BDD.167F.006B.0@niagaracounty.com> References: <000b01c77e10$e0bfc830$6501a8c0@nant> <019d01c77e21$b5a4b780$0201a8c0@HAL9005> <46238BDD.167F.006B.0@niagaracounty.com> Message-ID: <001201c7805b$8ee26750$2c01a8c0@bhxp> John, I'd probably load the rate value from the table via code at the start-up of the form that uses it and put it in a module-level variable. Allow the user to change the rate by loading the value from the database into a text field, then let the user change it, then update the database with the new value. 'load the data dim mdRate as double dim rs as recordset dim db as database dim strSQL as string strSQL="SELECT Rate from RateTable;" set db=currentdb() set rs=db.openrecordset(strSQL,dbopensnapshot) mdRate=rs(0) rs.close set rs=nothing db.close set db=nothing 'And use it like: [AmtOwed] = [Miles] * mdRate Note that this is air code, but it should get you started. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: Monday, April 16, 2007 2:45 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Getting info from a single record table Years ago, I created a small program to track mileage of workers. There are a bunch of things I'd have done differently, but they are very pleased w/it. The bad thing though is that I couldn't figure out how to change the mileage rate, on the fly, so I hard coded it. So, I have had to go in and alter this rate, every quarter, if it changes. This wasn't too awfully bad, but they didn't notify me, the last couple of times, until we were well into the quarter, and they had already keyed in a bunch of the entries. The calculation is done at the time of entry, so the allowances were off, and I had to run a quick update query to fix the old amounts. This is one of the things I would do differently, and I may change it to compare the date w/a table of dates and rates, but this immediate question will be relevant for that too. I would like to, for now at least, install a one-record table, to hold the rate in it. I would have a very small form...basically a pop-up type form...that would hold the rate. There would be no nav. buttons, so they are stuck on the one record only. But...finally, we're at my question...how do I reference this record? Example: Currently: [AmtOwed] = [Miles] * .485 Would like: [AmtOwed] = [Miles] * [tblMileageRate]![CurRate] Make sense? I hope! John W. Clark From martyconnelly at shaw.ca Mon Apr 16 14:13:30 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 16 Apr 2007 12:13:30 -0700 Subject: [AccessD] OT Excel In-Reply-To: References: <905309.89689.qm@web33110.mail.mud.yahoo.com> Message-ID: <4623CADA.2010000@shaw.ca> Here is a useful active Excel-L mailing list and archive http://peach.ease.lsoft.com/archives/excel-l.html Martin Reid wrote: >I have a member of staff who is in real need of some expert Excel help. They are also a mature studend and close to deadline re an Excel project as part of their MA. I dont know enough to help her. Would anyone with good Excel expereince care to volunteer??? > >You can contact me of line. > >Martin > >Martin WP Reid >Training and Assessment Unit >Riddle Hall >Belfast > >tel: 02890 974477 > > -- Marty Connelly Victoria, B.C. Canada From Jim.Hale at FleetPride.com Mon Apr 16 14:31:23 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 16 Apr 2007 14:31:23 -0500 Subject: [AccessD] Open report from remote db Message-ID: A number of years ago when I first started running Access queries from inside Excel I found that I was unable to run queries with functions in the database for criteria. I was told this was a limitation of VBA (I was using office 97). Ever since then I have gotten around this by using sub queries which get the criteria from a table, ie a pure sql solution. This thread has me wondering if it is possible to use Access functions within queries executed from within Excel by using different referencing? Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Monday, April 16, 2007 9:19 AM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] Open report from remote db Lonnie, Two alternatives are available as follows, for viewing / printing reports & forms belonging to external db: (a) Library reference to external db: (i) In local db, set up library reference named "External" to the external db and then call subroutines & functions belonging to external db by using the qualifier "External." (ii) In the code modules of external db, care is to be taken to use CodeDb & CodeProject in lieu of CurrentDb & CurrentProject respectively, wherever occurring. (iii) Automatic setting up of correct reference to external db can be ensured programmatically, through code in start-up form of local db. (b) Access automation: Activate the external db via automation and toggle respective visibilities of local & external db's appropriately, for user convenience. Two of my sample db's mentioned below, might be of interest to you: (a) ExternalDbAsLibraryRef (b) ExternalDbAutomation Both samples are available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From accessd at shaw.ca Mon Apr 16 14:53:13 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 16 Apr 2007 12:53:13 -0700 Subject: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 but just in IE In-Reply-To: <4623C89C.8000209@shaw.ca> Message-ID: <0JGL00LMWWDKVK18@l-daemon> Hi Marty: Excellent research as always. Does this mean that there will be 2 versions of XML, MS's and everyone else's? AJAX is enough of an issue. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 16, 2007 12:04 PM To: Access Developers discussion and problem solving Subject: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 but just in IE Just a heads up. You may want to upgrade to XML 6.0 in the future even just for the security fixes, never mind the new WSC XML standards introduced. MS are going to push out an IE specific kill-bit for MSXML4 in October 2007. http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill- bit-ed.aspx MSXML6 is included in Vista by default and MSXML 6.0 SP 1 is available for download for supported downlevel platforms from http://www.microsoft.com/downloads/details.aspx?FamilyID=d21c292c-368b-4ce1- 9dab-3e9827b70604&displaylang=en MSXML 6.0 will be the means whereby support for new versions of XPath 2.0 and XSLT 2.0 make their way into the Visual Studio and Microsoft programming language environments, along with the brand new XQuery 1.0. However one thing to check, MSXML 6.0 has removed support for XDR schemas but not XSD schemas. MSXML 4.0 will still be available via programming references * MSXML 3.0 has shipped with every supported Windows OS, so Microsoft professes to be "committed to keeping MSXML3 robust and stable but won't be adding any functional improvements." * MSXML 4.0 will be killed off some time between October and December of 2007, via a "kill bit" that applies only to Internet Explorer. The upshot of this change is that applications will no longer be able to create MSXML4 objects in that browser. Applications based on programming languages, such as C++, are not aware of this kill bit and will continue to work with MSXML4. For a list of changes introduced from MSXML4 and MSXML6, plus migration topics, see the blog entry entitled "Upgrading to MSXML 6.0." MS are going to push out an IE specific kill-bit for MSXML4 in October. More information here: http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill- bit-ed.aspx http://msdn2.microsoft.com/en-us/library/ms753751.aspx http://msdn2.microsoft.com/en-us/library/ms764692.aspx MS Notes. MSXML6 - Should be your first choice. This is the MSXML version that will be carried forward. MSXML6 shipped with Vista and we are working on getting this in downlevel OS Service Packs MSXML3 - This has the advantage of having shipped with every supported OS . We are committed to keeping MSXML3 robust and stable but won't be adding any functional improvements. MSXML4 - This is in maintenance mode with a very high bar for fixes approaching End of Life. MSXML 5 - Exclusively meant for Office. Do not take any dependencies on it. -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Apr 16 16:56:33 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 16 Apr 2007 17:56:33 -0400 Subject: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 but just in IE In-Reply-To: <0JGL00LMWWDKVK18@l-daemon> References: <4623C89C.8000209@shaw.ca> <0JGL00LMWWDKVK18@l-daemon> Message-ID: <000001c78072$191b8710$8abea8c0@XPS> I loved this part: "# re: MSXML4 is going to be kill bit-ed Saturday, March 17, 2007 9:18 PM by XmlTeam To amplify Umut's point a bit -- The point of killbitting MSXML4 is to encourage people to migrate to MSXML6 so that they have a solid foundation going forward. There are no plans for an MSXML7, so this isn't something we're going to ask you to do all over again in a couple of years." Uh, yeah right... Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, April 16, 2007 3:53 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 but just in IE Hi Marty: Excellent research as always. Does this mean that there will be 2 versions of XML, MS's and everyone else's? AJAX is enough of an issue. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 16, 2007 12:04 PM To: Access Developers discussion and problem solving Subject: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 but just in IE Just a heads up. You may want to upgrade to XML 6.0 in the future even just for the security fixes, never mind the new WSC XML standards introduced. MS are going to push out an IE specific kill-bit for MSXML4 in October 2007. http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill- bit-ed.aspx MSXML6 is included in Vista by default and MSXML 6.0 SP 1 is available for download for supported downlevel platforms from http://www.microsoft.com/downloads/details.aspx?FamilyID=d21c292c-368b-4ce1- 9dab-3e9827b70604&displaylang=en MSXML 6.0 will be the means whereby support for new versions of XPath 2.0 and XSLT 2.0 make their way into the Visual Studio and Microsoft programming language environments, along with the brand new XQuery 1.0. However one thing to check, MSXML 6.0 has removed support for XDR schemas but not XSD schemas. MSXML 4.0 will still be available via programming references * MSXML 3.0 has shipped with every supported Windows OS, so Microsoft professes to be "committed to keeping MSXML3 robust and stable but won't be adding any functional improvements." * MSXML 4.0 will be killed off some time between October and December of 2007, via a "kill bit" that applies only to Internet Explorer. The upshot of this change is that applications will no longer be able to create MSXML4 objects in that browser. Applications based on programming languages, such as C++, are not aware of this kill bit and will continue to work with MSXML4. For a list of changes introduced from MSXML4 and MSXML6, plus migration topics, see the blog entry entitled "Upgrading to MSXML 6.0." MS are going to push out an IE specific kill-bit for MSXML4 in October. More information here: http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill- bit-ed.aspx http://msdn2.microsoft.com/en-us/library/ms753751.aspx http://msdn2.microsoft.com/en-us/library/ms764692.aspx MS Notes. MSXML6 - Should be your first choice. This is the MSXML version that will be carried forward. MSXML6 shipped with Vista and we are working on getting this in downlevel OS Service Packs MSXML3 - This has the advantage of having shipped with every supported OS . We are committed to keeping MSXML3 robust and stable but won't be adding any functional improvements. MSXML4 - This is in maintenance mode with a very high bar for fixes approaching End of Life. MSXML 5 - Exclusively meant for Office. Do not take any dependencies on it. -- Marty Connelly Victoria, B.C. Canada -- 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 Mon Apr 16 17:09:05 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 17 Apr 2007 08:09:05 +1000 Subject: [AccessD] Getting info from a single record table In-Reply-To: <46238BDD.167F.006B.0@niagaracounty.com> References: <000b01c77e10$e0bfc830$6501a8c0@nant>, <019d01c77e21$b5a4b780$0201a8c0@HAL9005>, <46238BDD.167F.006B.0@niagaracounty.com> Message-ID: <4623F401.17816.2E6C23D@stuart.lexacorp.com.pg> On 16 Apr 2007 at 14:44, John Clark wrote: > stuck on the one record only. But...finally, we're at my question...how do I > reference this record? > > Example: > > Currently: [AmtOwed] = [Miles] * .485 > > Would like: [AmtOwed] = [Miles] * [tblMileageRate]![CurRate] You would use DLookup("CurRate","tblMIleageRate"). Problem is there are several situations where Access can't handle this - notably in CrossTab queries. One solution is to use STATIC functions. They've been discussed several times here in the past, search the archives for a discussion of the benefits. Here's how I would approach your problem. [AmtOwed] = [Miles] * CurRate() ....... Static Function CurRate() As Curency Dim store As Long If store = 0 Then store = DLookup("CurRate", "tblMileageRate") End If CurRate = store End Function First time you use the function, it does the lookup, from then on, it doesn't need to so is a lot faster - important if you use the rate over many rows in a query. If you want to be able to change the rate during a session then you need to expand the function: Static Function CurRate(Option Rate as Currency = -1 ) As Curency Dim store As Currency If Rate <> -1 then CurrentDB.Execute "Update tblMileageRate Set CurRate = " & Rate store = Rate End If If store = 0 Then store = DLookup("CurRate", "tblMileageRate") End If CurRate = store End Function Now "CurRate 0.485" will set the rate, "CurRate()" willl return the rate. -- Stuart From fuller.artful at gmail.com Mon Apr 16 17:17:33 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 16 Apr 2007 18:17:33 -0400 Subject: [AccessD] Getting info from a single record table In-Reply-To: <001201c7805b$8ee26750$2c01a8c0@bhxp> References: <000b01c77e10$e0bfc830$6501a8c0@nant> <019d01c77e21$b5a4b780$0201a8c0@HAL9005> <46238BDD.167F.006B.0@niagaracounty.com> <001201c7805b$8ee26750$2c01a8c0@bhxp> Message-ID: <29f585dd0704161517s6e490c16u9ba085a7e6e19107@mail.gmail.com> I think a DLookup is simpler: Me.Control = Dlookup("Rate", "MyTable"). hth, Arthur On 4/16/07, Bobby Heid wrote: > > John, > > I'd probably load the rate value from the table via code at the start-up > of > the form that uses it and put it in a module-level variable. Allow the > user > to change the rate by loading the value from the database into a text > field, > then let the user change it, then update the database with the new value. > > > 'load the data > dim mdRate as double > dim rs as recordset > dim db as database > dim strSQL as string > > strSQL="SELECT Rate from RateTable;" > set db=currentdb() > set rs=db.openrecordset(strSQL,dbopensnapshot) > mdRate=rs(0) > rs.close > set rs=nothing > db.close > set db=nothing > > > > 'And use it like: > [AmtOwed] = [Miles] * mdRate > > > Note that this is air code, but it should get you started. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark > Sent: Monday, April 16, 2007 2:45 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Getting info from a single record table > > Years ago, I created a small program to track mileage of workers. There > are > a bunch of things I'd have done differently, but they are very pleased > w/it. > The bad thing though is that I couldn't figure out how to change the > mileage > rate, on the fly, so I hard coded it. So, I have had to go in and alter > this > rate, every quarter, if it changes. > > This wasn't too awfully bad, but they didn't notify me, the last couple of > times, until we were well into the quarter, and they had already keyed in > a > bunch of the entries. The calculation is done at the time of entry, so > the > allowances were off, and I had to run a quick update query to fix the old > amounts. This is one of the things I would do differently, and I may > change > it to compare the date w/a table of dates and rates, but this immediate > question will be relevant for that too. > > I would like to, for now at least, install a one-record table, to hold the > rate in it. I would have a very small form...basically a pop-up type > form...that would hold the rate. There would be no nav. buttons, so they > are > stuck on the one record only. But...finally, we're at my question...how do > I > reference this record? > > Example: > > Currently: [AmtOwed] = [Miles] * .485 > > Would like: [AmtOwed] = [Miles] * [tblMileageRate]![CurRate] > > Make sense? I hope! > > John W. Clark > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dwaters at usinternet.com Mon Apr 16 18:03:55 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 16 Apr 2007 18:03:55 -0500 Subject: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 but just in IE XML 4.0 to be kill bitted in Oct 2007 but just in IE In-Reply-To: <000001c78072$191b8710$8abea8c0@XPS> References: <4623C89C.8000209@shaw.ca> <0JGL00LMWWDKVK18@l-daemon> <000001c78072$191b8710$8abea8c0@XPS> Message-ID: <004301c7807b$82833c80$0200a8c0@danwaters> How do you upgrade to MSXML 6.0? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, April 16, 2007 4:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 but just in IE XML 4.0 to be kill bitted in Oct 2007 but just in IE I loved this part: "# re: MSXML4 is going to be kill bit-ed Saturday, March 17, 2007 9:18 PM by XmlTeam To amplify Umut's point a bit -- The point of killbitting MSXML4 is to encourage people to migrate to MSXML6 so that they have a solid foundation going forward. There are no plans for an MSXML7, so this isn't something we're going to ask you to do all over again in a couple of years." Uh, yeah right... Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, April 16, 2007 3:53 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 but just in IE Hi Marty: Excellent research as always. Does this mean that there will be 2 versions of XML, MS's and everyone else's? AJAX is enough of an issue. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 16, 2007 12:04 PM To: Access Developers discussion and problem solving Subject: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 but just in IE Just a heads up. You may want to upgrade to XML 6.0 in the future even just for the security fixes, never mind the new WSC XML standards introduced. MS are going to push out an IE specific kill-bit for MSXML4 in October 2007. http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill- bit-ed.aspx MSXML6 is included in Vista by default and MSXML 6.0 SP 1 is available for download for supported downlevel platforms from http://www.microsoft.com/downloads/details.aspx?FamilyID=d21c292c-368b-4ce1- 9dab-3e9827b70604&displaylang=en MSXML 6.0 will be the means whereby support for new versions of XPath 2.0 and XSLT 2.0 make their way into the Visual Studio and Microsoft programming language environments, along with the brand new XQuery 1.0. However one thing to check, MSXML 6.0 has removed support for XDR schemas but not XSD schemas. MSXML 4.0 will still be available via programming references * MSXML 3.0 has shipped with every supported Windows OS, so Microsoft professes to be "committed to keeping MSXML3 robust and stable but won't be adding any functional improvements." * MSXML 4.0 will be killed off some time between October and December of 2007, via a "kill bit" that applies only to Internet Explorer. The upshot of this change is that applications will no longer be able to create MSXML4 objects in that browser. Applications based on programming languages, such as C++, are not aware of this kill bit and will continue to work with MSXML4. For a list of changes introduced from MSXML4 and MSXML6, plus migration topics, see the blog entry entitled "Upgrading to MSXML 6.0." MS are going to push out an IE specific kill-bit for MSXML4 in October. More information here: http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill- bit-ed.aspx http://msdn2.microsoft.com/en-us/library/ms753751.aspx http://msdn2.microsoft.com/en-us/library/ms764692.aspx MS Notes. MSXML6 - Should be your first choice. This is the MSXML version that will be carried forward. MSXML6 shipped with Vista and we are working on getting this in downlevel OS Service Packs MSXML3 - This has the advantage of having shipped with every supported OS . We are committed to keeping MSXML3 robust and stable but won't be adding any functional improvements. MSXML4 - This is in maintenance mode with a very high bar for fixes approaching End of Life. MSXML 5 - Exclusively meant for Office. Do not take any dependencies on it. -- Marty Connelly Victoria, B.C. Canada -- 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 From bheid at sc.rr.com Mon Apr 16 18:21:21 2007 From: bheid at sc.rr.com (Bobby Heid) Date: Mon, 16 Apr 2007 19:21:21 -0400 Subject: [AccessD] Getting info from a single record table In-Reply-To: <29f585dd0704161517s6e490c16u9ba085a7e6e19107@mail.gmail.com> References: <000b01c77e10$e0bfc830$6501a8c0@nant> <019d01c77e21$b5a4b780$0201a8c0@HAL9005> <46238BDD.167F.006B.0@niagaracounty.com> <001201c7805b$8ee26750$2c01a8c0@bhxp> <29f585dd0704161517s6e490c16u9ba085a7e6e19107@mail.gmail.com> Message-ID: <000f01c7807d$f1db7ff0$2c01a8c0@bhxp> I agree it would be simpler, but I have tried to get away from dlookup and the like because it opens another connection to the database. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, April 16, 2007 6:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting info from a single record table I think a DLookup is simpler: Me.Control = Dlookup("Rate", "MyTable"). hth, Arthur On 4/16/07, Bobby Heid wrote: > > John, > > I'd probably load the rate value from the table via code at the start-up > of > the form that uses it and put it in a module-level variable. Allow the > user > to change the rate by loading the value from the database into a text > field, > then let the user change it, then update the database with the new value. > > > 'load the data > dim mdRate as double > dim rs as recordset > dim db as database > dim strSQL as string > > strSQL="SELECT Rate from RateTable;" > set db=currentdb() > set rs=db.openrecordset(strSQL,dbopensnapshot) > mdRate=rs(0) > rs.close > set rs=nothing > db.close > set db=nothing > > > > 'And use it like: > [AmtOwed] = [Miles] * mdRate > > > Note that this is air code, but it should get you started. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark > Sent: Monday, April 16, 2007 2:45 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Getting info from a single record table > > Years ago, I created a small program to track mileage of workers. There > are > a bunch of things I'd have done differently, but they are very pleased > w/it. > The bad thing though is that I couldn't figure out how to change the > mileage > rate, on the fly, so I hard coded it. So, I have had to go in and alter > this > rate, every quarter, if it changes. > > This wasn't too awfully bad, but they didn't notify me, the last couple of > times, until we were well into the quarter, and they had already keyed in > a > bunch of the entries. The calculation is done at the time of entry, so > the > allowances were off, and I had to run a quick update query to fix the old > amounts. This is one of the things I would do differently, and I may > change > it to compare the date w/a table of dates and rates, but this immediate > question will be relevant for that too. > > I would like to, for now at least, install a one-record table, to hold the > rate in it. I would have a very small form...basically a pop-up type > form...that would hold the rate. There would be no nav. buttons, so they > are > stuck on the one record only. But...finally, we're at my question...how do > I > reference this record? > > Example: > > Currently: [AmtOwed] = [Miles] * .485 > > Would like: [AmtOwed] = [Miles] * [tblMileageRate]![CurRate] > > Make sense? I hope! > > John W. Clark > > > -- > 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 martyconnelly at shaw.ca Mon Apr 16 20:20:07 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 16 Apr 2007 18:20:07 -0700 Subject: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 but just in IE XML 4.0 to be kill bitted in Oct 2007 but just in IE In-Reply-To: <004301c7807b$82833c80$0200a8c0@danwaters> References: <4623C89C.8000209@shaw.ca> <0JGL00LMWWDKVK18@l-daemon> <000001c78072$191b8710$8abea8c0@XPS> <004301c7807b$82833c80$0200a8c0@danwaters> Message-ID: <462420C7.90104@shaw.ca> It is preinstalled on Vista and with SQL 2005 SP2 otherwise msi file. some older bits maynot work like XDR schemas You need for XPath 2.0 and XSLT 2.0 and new upgrades to XQuery 1.0 http://tinyurl.com/33borw http://www.microsoft.com/downloads/details.aspx?FamilyID=d21c292c-368b-4ce1-9dab-3e9827b70604&displaylang=en Dan Waters wrote: >How do you upgrade to MSXML 6.0? > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman >Sent: Monday, April 16, 2007 4:57 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct >2007 but just in IE XML 4.0 to be kill bitted in Oct 2007 but just in IE > > > I loved this part: > >"# re: MSXML4 is going to be kill bit-ed >Saturday, March 17, 2007 9:18 PM by XmlTeam >To amplify Umut's point a bit -- The point of killbitting MSXML4 is to >encourage people to migrate to MSXML6 so that they have a solid foundation >going forward. There are no plans for an MSXML7, so this isn't something >we're going to ask you to do all over again in a couple of years." > > Uh, yeah right... > >Jim. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence >Sent: Monday, April 16, 2007 3:53 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct >2007 but just in IE > >Hi Marty: > >Excellent research as always. > >Does this mean that there will be 2 versions of XML, MS's and everyone >else's? AJAX is enough of an issue. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Monday, April 16, 2007 12:04 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 >but just in IE > >Just a heads up. You may want to upgrade to XML 6.0 in the future >even just for the security fixes, never mind the new WSC XML standards >introduced. > >MS are going to push out an IE specific kill-bit for MSXML4 in October 2007. > >http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill- >bit-ed.aspx > >MSXML6 is included in Vista by default and MSXML 6.0 SP 1 is available for >download for supported downlevel platforms from >http://www.microsoft.com/downloads/details.aspx?FamilyID=d21c292c-368b-4ce1- >9dab-3e9827b70604&displaylang=en > >MSXML 6.0 will be the means whereby support for new versions >of XPath 2.0 and XSLT 2.0 make their way into the Visual Studio and >Microsoft programming language environments, along with the brand new >XQuery 1.0. > >However one thing to check, MSXML 6.0 has removed support for XDR schemas >but not XSD schemas. > >MSXML 4.0 will still be available via programming references > >* MSXML 3.0 has shipped with every supported Windows OS, >so Microsoft professes to be "committed to keeping MSXML3 robust and >stable but won't be adding any functional improvements." > >* MSXML 4.0 will be killed off some time between October and December of >2007, >via a "kill bit" that applies only to Internet Explorer. The upshot of >this change is that >applications will no longer be able to create MSXML4 objects in that >browser. >Applications based on programming languages, such as C++, are not aware >of this kill bit >and will continue to work with MSXML4. For a list of changes introduced >from MSXML4 and >MSXML6, plus migration topics, see the blog entry entitled "Upgrading to >MSXML 6.0." > >MS are going to push out an IE specific kill-bit for MSXML4 in October. >More information here: > >http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill- >bit-ed.aspx > >http://msdn2.microsoft.com/en-us/library/ms753751.aspx >http://msdn2.microsoft.com/en-us/library/ms764692.aspx > > >MS Notes. > >MSXML6 - Should be your first choice. This is the MSXML >version that will be carried forward. MSXML6 shipped with Vista and we >are working >on getting this in downlevel OS Service Packs > >MSXML3 - This has the advantage of having shipped with every supported OS . >We are committed to keeping MSXML3 robust and stable but >won't be adding any functional improvements. > >MSXML4 - This is in maintenance mode with a very high bar for fixes >approaching End of Life. > >MSXML 5 - Exclusively meant for Office. Do not take any dependencies on it. > > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Mon Apr 16 20:49:15 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 16 Apr 2007 18:49:15 -0700 Subject: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 but just in IE In-Reply-To: <0JGL00LMWWDKVK18@l-daemon> References: <0JGL00LMWWDKVK18@l-daemon> Message-ID: <4624279B.1010305@shaw.ca> There are many XML DOM parsers aside from Microsoft's not to mention SAX parsers. However AJAX with MS IE, uses an XMLHTTP Active X to grab files. XML is based on a series of WSC standards that are being released on a yearly basis. like XSLT 2.0 or XPATH 2.0. SQL 2005 SP2 installs XML 6.0 also Microsoft .NET Framework 3.0, Microsoft Visual Studio 2005, and Windows SharePoint Services 3.0. To get around crossbrowser problems using say Mozilla, you can use JavaScript methods that have been around prior to AJAX. One I use is Sarissa. A lot of these libraries are available for AJAX. A cross-browser ECMAScript lib that helps with browser incompatibilities in XMLHttpRequest/XML/XSLT/XPath along with some with some useful utility methods. Just extract sarrissa.js https://sourceforge.net/projects/sarissa/ How to use http://www.yourhtmlsource.com/javascript/ajax.html#crossbrowser A really simple cross browser java script /* creates an XMLHttpRequest instance */ function createXmlHttpRequestObject() { // will store the reference to the XMLHttpRequest object var xmlHttp; // this should work for all browsers except IE6 and older try { // try to create XMLHttpRequest object xmlHttp = new XMLHttpRequest(); } catch(e) { // assume IE6 or older var XmlHttpVersions = new Array("MSXML2.XMLHTTP.6.0", "MSXML2.XMLHTTP.5.0", "MSXML2.XMLHTTP.4.0", "MSXML2.XMLHTTP.3.0", "MSXML2.XMLHTTP", "Microsoft.XMLHTTP"); // try every prog id until one works for (var i=0; iHi Marty: > >Excellent research as always. > >Does this mean that there will be 2 versions of XML, MS's and everyone >else's? AJAX is enough of an issue. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Monday, April 16, 2007 12:04 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 >but just in IE > >Just a heads up. You may want to upgrade to XML 6.0 in the future >even just for the security fixes, never mind the new WSC XML standards >introduced. > >MS are going to push out an IE specific kill-bit for MSXML4 in October 2007. > >http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill- >bit-ed.aspx > >MSXML6 is included in Vista by default and MSXML 6.0 SP 1 is available for >download for supported downlevel platforms from >http://www.microsoft.com/downloads/details.aspx?FamilyID=d21c292c-368b-4ce1- >9dab-3e9827b70604&displaylang=en > >MSXML 6.0 will be the means whereby support for new versions >of XPath 2.0 and XSLT 2.0 make their way into the Visual Studio and >Microsoft programming language environments, along with the brand new >XQuery 1.0. > >However one thing to check, MSXML 6.0 has removed support for XDR schemas >but not XSD schemas. > >MSXML 4.0 will still be available via programming references > >* MSXML 3.0 has shipped with every supported Windows OS, >so Microsoft professes to be "committed to keeping MSXML3 robust and >stable but won't be adding any functional improvements." > >* MSXML 4.0 will be killed off some time between October and December of >2007, >via a "kill bit" that applies only to Internet Explorer. The upshot of >this change is that >applications will no longer be able to create MSXML4 objects in that >browser. >Applications based on programming languages, such as C++, are not aware >of this kill bit >and will continue to work with MSXML4. For a list of changes introduced >from MSXML4 and >MSXML6, plus migration topics, see the blog entry entitled "Upgrading to >MSXML 6.0." > >MS are going to push out an IE specific kill-bit for MSXML4 in October. >More information here: > >http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill- >bit-ed.aspx > >http://msdn2.microsoft.com/en-us/library/ms753751.aspx >http://msdn2.microsoft.com/en-us/library/ms764692.aspx > > >MS Notes. > >MSXML6 - Should be your first choice. This is the MSXML >version that will be carried forward. MSXML6 shipped with Vista and we >are working >on getting this in downlevel OS Service Packs > >MSXML3 - This has the advantage of having shipped with every supported OS . >We are committed to keeping MSXML3 robust and stable but >won't be adding any functional improvements. > >MSXML4 - This is in maintenance mode with a very high bar for fixes >approaching End of Life. > >MSXML 5 - Exclusively meant for Office. Do not take any dependencies on it. > > > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at colbyconsulting.com Mon Apr 16 20:55:57 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 16 Apr 2007 21:55:57 -0400 Subject: [AccessD] Open report from remote db In-Reply-To: References: Message-ID: <000801c78093$8cb44240$657aa8c0@m6805> Jim, The issue it appears is one of scope. Queries running in an access environment can see code inside of that container. It cannot see functions inside of the excel spreadsheet. To my knowledge, while you can reference the Excel libraries, you cannot reference code modules inside of spreadsheets or workbooks (from within Access), nor code inside of documents (word, from inside of Access). That makes Access unique within office as a container that can contain referencable code. IOW, I BELIEVE that you can reference an Access MDA from any of the other office applications - Word, Excel, PowerPoint, and of course, Access. However you cannot reference modules inside of a workbook from word, PowerPoint etc, nor can you reference code inside of word documents from inside of Excel, PowerPoint etc. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, April 16, 2007 3:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Open report from remote db A number of years ago when I first started running Access queries from inside Excel I found that I was unable to run queries with functions in the database for criteria. I was told this was a limitation of VBA (I was using office 97). Ever since then I have gotten around this by using sub queries which get the criteria from a table, ie a pure sql solution. This thread has me wondering if it is possible to use Access functions within queries executed from within Excel by using different referencing? Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Monday, April 16, 2007 9:19 AM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] Open report from remote db Lonnie, Two alternatives are available as follows, for viewing / printing reports & forms belonging to external db: (a) Library reference to external db: (i) In local db, set up library reference named "External" to the external db and then call subroutines & functions belonging to external db by using the qualifier "External." (ii) In the code modules of external db, care is to be taken to use CodeDb & CodeProject in lieu of CurrentDb & CurrentProject respectively, wherever occurring. (iii) Automatic setting up of correct reference to external db can be ensured programmatically, through code in start-up form of local db. (b) Access automation: Activate the external db via automation and toggle respective visibilities of local & external db's appropriately, for user convenience. Two of my sample db's mentioned below, might be of interest to you: (a) ExternalDbAsLibraryRef (b) ExternalDbAutomation Both samples are available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Apr 17 03:03:26 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 17 Apr 2007 10:03:26 +0200 Subject: [AccessD] XML changes coming, XML 4.0 to be kill bitted in Oct 2007 but just in IE Message-ID: Thanks Marty, very useful. I've wondered several times what all these versions were for and which one to use. And recently I noticed 5.0 on my machine which I now understand origins from an Office install. /gustav >>> martyconnelly at shaw.ca 16-04-2007 21:03 >>> Just a heads up. You may want to upgrade to XML 6.0 in the future even just for the security fixes, never mind the new WSC XML standards introduced. MS are going to push out an IE specific kill-bit for MSXML4 in October 2007. http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill-bit-ed.aspx MSXML6 is included in Vista by default and MSXML 6.0 SP 1 is available for download for supported downlevel platforms from http://www.microsoft.com/downloads/details.aspx?FamilyID=d21c292c-368b-4ce1-9dab-3e9827b70604&displaylang=en MSXML 6.0 will be the means whereby support for new versions of XPath 2.0 and XSLT 2.0 make their way into the Visual Studio and Microsoft programming language environments, along with the brand new XQuery 1.0. However one thing to check, MSXML 6.0 has removed support for XDR schemas but not XSD schemas. MSXML 4.0 will still be available via programming references * MSXML 3.0 has shipped with every supported Windows OS, so Microsoft professes to be "committed to keeping MSXML3 robust and stable but won't be adding any functional improvements." * MSXML 4.0 will be killed off some time between October and December of 2007, via a "kill bit" that applies only to Internet Explorer. The upshot of this change is that applications will no longer be able to create MSXML4 objects in that browser. Applications based on programming languages, such as C++, are not aware of this kill bit and will continue to work with MSXML4. For a list of changes introduced from MSXML4 and MSXML6, plus migration topics, see the blog entry entitled "Upgrading to MSXML 6.0." MS are going to push out an IE specific kill-bit for MSXML4 in October. More information here: http://blogs.msdn.com/xmlteam/archive/2007/03/12/msxml4-is-going-to-be-kill-bit-ed.aspx http://msdn2.microsoft.com/en-us/library/ms753751.aspx http://msdn2.microsoft.com/en-us/library/ms764692.aspx MS Notes. MSXML6 - Should be your first choice. This is the MSXML version that will be carried forward. MSXML6 shipped with Vista and we are working on getting this in downlevel OS Service Packs MSXML3 * This has the advantage of having shipped with every supported OS . We are committed to keeping MSXML3 robust and stable but won't be adding any functional improvements. MSXML4 - This is in maintenance mode with a very high bar for fixes approaching End of Life. MSXML 5 * Exclusively meant for Office. Do not take any dependencies on it. -- Marty Connelly Victoria, B.C. Canada From John.Clark at niagaracounty.com Tue Apr 17 09:26:47 2007 From: John.Clark at niagaracounty.com (John Clark) Date: Tue, 17 Apr 2007 10:26:47 -0400 Subject: [AccessD] Getting info from a single record table In-Reply-To: <000f01c7807d$f1db7ff0$2c01a8c0@bhxp> References: <000b01c77e10$e0bfc830$6501a8c0@nant> <019d01c77e21$b5a4b780$0201a8c0@HAL9005> <46238BDD.167F.006B.0@niagaracounty.com> <001201c7805b$8ee26750$2c01a8c0@bhxp> <29f585dd0704161517s6e490c16u9ba085a7e6e19107@mail.gmail.com> <000f01c7807d$f1db7ff0$2c01a8c0@bhxp> Message-ID: <4624A0E6.167F.006B.0@niagaracounty.com> Well, I thank you all. I am going to look into both of these solutions, and see which one is for me...it'll be the one I have lease trouble with ;o) I'll post again to let you know how it turns out. John W. Clark >>> "Bobby Heid" 4/16/2007 7:21 PM >>> I agree it would be simpler, but I have tried to get away from dlookup and the like because it opens another connection to the database. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, April 16, 2007 6:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting info from a single record table I think a DLookup is simpler: Me.Control = Dlookup("Rate", "MyTable"). hth, Arthur On 4/16/07, Bobby Heid wrote: > > John, > > I'd probably load the rate value from the table via code at the start-up > of > the form that uses it and put it in a module-level variable. Allow the > user > to change the rate by loading the value from the database into a text > field, > then let the user change it, then update the database with the new value. > > > 'load the data > dim mdRate as double > dim rs as recordset > dim db as database > dim strSQL as string > > strSQL="SELECT Rate from RateTable;" > set db=currentdb() > set rs=db.openrecordset(strSQL,dbopensnapshot) > mdRate=rs(0) > rs.close > set rs=nothing > db.close > set db=nothing > > > > 'And use it like: > [AmtOwed] = [Miles] * mdRate > > > Note that this is air code, but it should get you started. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark > Sent: Monday, April 16, 2007 2:45 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Getting info from a single record table > > Years ago, I created a small program to track mileage of workers. There > are > a bunch of things I'd have done differently, but they are very pleased > w/it. > The bad thing though is that I couldn't figure out how to change the > mileage > rate, on the fly, so I hard coded it. So, I have had to go in and alter > this > rate, every quarter, if it changes. > > This wasn't too awfully bad, but they didn't notify me, the last couple of > times, until we were well into the quarter, and they had already keyed in > a > bunch of the entries. The calculation is done at the time of entry, so > the > allowances were off, and I had to run a quick update query to fix the old > amounts. This is one of the things I would do differently, and I may > change > it to compare the date w/a table of dates and rates, but this immediate > question will be relevant for that too. > > I would like to, for now at least, install a one-record table, to hold the > rate in it. I would have a very small form...basically a pop-up type > form...that would hold the rate. There would be no nav. buttons, so they > are > stuck on the one record only. But...finally, we're at my question...how do > I > reference this record? > > Example: > > Currently: [AmtOwed] = [Miles] * .485 > > Would like: [AmtOwed] = [Miles] * [tblMileageRate]![CurRate] > > Make sense? I hope! > > John W. Clark > > > -- > 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 From dwaters at usinternet.com Tue Apr 17 10:08:48 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 17 Apr 2007 10:08:48 -0500 Subject: [AccessD] Getting info from a single record table In-Reply-To: <4624A0E6.167F.006B.0@niagaracounty.com> References: <000b01c77e10$e0bfc830$6501a8c0@nant><019d01c77e21$b5a4b780$0201a8c0@HAL9005><46238BDD.167F.006B.0@niagaracounty.com><001201c7805b$8ee26750$2c01a8c0@bhxp><29f585dd0704161517s6e490c16u9ba085a7e6e19107@mail.gmail.com><000f01c7807d$f1db7ff0$2c01a8c0@bhxp> <4624A0E6.167F.006B.0@niagaracounty.com> Message-ID: <001c01c78102$4cf9b760$0200a8c0@danwaters> John, It looks like your rate information won't change often. You could copy the table from the BE to the FE when the FE opens, and then use DLookup without creating a new connection. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: Tuesday, April 17, 2007 9:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Getting info from a single record table Well, I thank you all. I am going to look into both of these solutions, and see which one is for me...it'll be the one I have lease trouble with ;o) I'll post again to let you know how it turns out. John W. Clark >>> "Bobby Heid" 4/16/2007 7:21 PM >>> I agree it would be simpler, but I have tried to get away from dlookup and the like because it opens another connection to the database. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, April 16, 2007 6:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting info from a single record table I think a DLookup is simpler: Me.Control = Dlookup("Rate", "MyTable"). hth, Arthur On 4/16/07, Bobby Heid wrote: > > John, > > I'd probably load the rate value from the table via code at the start-up > of > the form that uses it and put it in a module-level variable. Allow the > user > to change the rate by loading the value from the database into a text > field, > then let the user change it, then update the database with the new value. > > > 'load the data > dim mdRate as double > dim rs as recordset > dim db as database > dim strSQL as string > > strSQL="SELECT Rate from RateTable;" > set db=currentdb() > set rs=db.openrecordset(strSQL,dbopensnapshot) > mdRate=rs(0) > rs.close > set rs=nothing > db.close > set db=nothing > > > > 'And use it like: > [AmtOwed] = [Miles] * mdRate > > > Note that this is air code, but it should get you started. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark > Sent: Monday, April 16, 2007 2:45 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Getting info from a single record table > > Years ago, I created a small program to track mileage of workers. There > are > a bunch of things I'd have done differently, but they are very pleased > w/it. > The bad thing though is that I couldn't figure out how to change the > mileage > rate, on the fly, so I hard coded it. So, I have had to go in and alter > this > rate, every quarter, if it changes. > > This wasn't too awfully bad, but they didn't notify me, the last couple of > times, until we were well into the quarter, and they had already keyed in > a > bunch of the entries. The calculation is done at the time of entry, so > the > allowances were off, and I had to run a quick update query to fix the old > amounts. This is one of the things I would do differently, and I may > change > it to compare the date w/a table of dates and rates, but this immediate > question will be relevant for that too. > > I would like to, for now at least, install a one-record table, to hold the > rate in it. I would have a very small form...basically a pop-up type > form...that would hold the rate. There would be no nav. buttons, so they > are > stuck on the one record only. But...finally, we're at my question...how do > I > reference this record? > > Example: > > Currently: [AmtOwed] = [Miles] * .485 > > Would like: [AmtOwed] = [Miles] * [tblMileageRate]![CurRate] > > Make sense? I hope! > > John W. Clark > > > -- > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Tue Apr 17 10:33:01 2007 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 17 Apr 2007 10:33:01 -0500 Subject: [AccessD] Getting info from a single record table In-Reply-To: References: Message-ID: <200704171535.l3HFZj39029645@databaseadvisors.com> John, I would do a table with the effective date range for the mileage rate. You do a quick select for the date of the entry to see where it falls in the range and get the rate for it. Now, it is fixed forever, and you also have the history of the rate. It is a good fix, and not just a Band-Aid. Robert At 10:09 AM 4/17/2007, you wrote: >Message: 1 >Date: Mon, 16 Apr 2007 14:44:49 -0400 >From: "John Clark" >Subject: [AccessD] Getting info from a single record table >To: "'Access Developers discussion and problem solving'" > >Message-ID: <46238BDD.167F.006B.0 at niagaracounty.com> >Content-Type: text/plain; charset=US-ASCII > >Years ago, I created a small program to track mileage of workers. >There are a bunch of things I'd have done differently, but they are >very pleased w/it. The bad thing though is that I couldn't figure >out how to change the mileage rate, on the fly, so I hard coded it. >So, I have had to go in and alter this rate, every quarter, if it changes. > >This wasn't too awfully bad, but they didn't notify me, the last >couple of times, until we were well into the quarter, and they had >already keyed in a bunch of the entries. The calculation is done at >the time of entry, so the allowances were off, and I had to run a >quick update query to fix the old amounts. This is one of the things >I would do differently, and I may change it to compare the date w/a >table of dates and rates, but this immediate question will be >relevant for that too. > >I would like to, for now at least, install a one-record table, to >hold the rate in it. I would have a very small form...basically a >pop-up type form...that would hold the rate. There would be no nav. >buttons, so they are stuck on the one record only. But...finally, >we're at my question...how do I reference this record? > >Example: > >Currently: [AmtOwed] = [Miles] * .485 > >Would like: [AmtOwed] = [Miles] * [tblMileageRate]![CurRate] > >Make sense? I hope! > >John W. Clark From Lambert.Heenan at AIG.com Tue Apr 17 10:52:10 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 17 Apr 2007 11:52:10 -0400 Subject: [AccessD] Open report from remote db Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C20606EB3F@xlivmbx35.aig.com> Lonnie, Rather than get involved in adding references dynamically (can you even do that in an MDE file?) I would still go down the 'set a reference to the other database' route. With luck you will get away with setting references to *all* the other databases in the one central app. that fires off the reports. In each of the other apps. Define a public function, each with a prefix unique to the database it resides in (to avoid duplicate definition issues), and the function will take a string parameter which will be the name of the report. Then your central app. can call the function and produce the report. The down side of all those references is that you may get conflicts with code routines having the same name. As long as all the references are at the bottom of the pile you should get away with it. If that's a no-go, then another alternative is open to you. As they seem to have accepted the notion of selecting the "other" database and a report in it before clicking the magic button, why not just spawn the other database, passing in the name of the report to run? You can do this with the /cmd command line switch, and you could use the /x switch to run a macro which in turn calls a function that produces the report and then exits the spawned database. HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Monday, April 16, 2007 9:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Open report from remote db Thanks. I guess I should have been more revealing. I have been asked to create a process by which the user can type in a database path and name into one field and a report name in another field, click a button and that report opens. So I will be adding references to the main database dynamically and through code and retrieving the report. It sounds like a pain but it's what they want. They are bent on certain conveniences like not having to open another database. Does that help? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Sunday, April 15, 2007 9:23:16 PM Subject: Re: [AccessD] Open report from remote db Alright, Lonnie. I think the simplest method would be to create a public function in the referenced database that tells the report to open. Then it doesn't matter where you call it from, it just pops up. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: Lonnie Johnson To: Access Developers discussion and problem solving Sent: Sunday, April 15, 2007 9:01 PM Subject: Re: [AccessD] Open report from remote db Thanks for the tip. I have set a reference but do "see it" as you say. I may need a little more hand holding. Never had to do this before. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Thursday, April 12, 2007 10:23:10 PM Subject: Re: [AccessD] Open report from remote db Hi Lonnie, Set a ref to that mdb and you should be able to 'see' it to call it. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: Lonnie Johnson To: AccessD solving' Sent: Thursday, April 12, 2007 11:14 PM Subject: [AccessD] Open report from remote db Can you open a report in one database from another database? I know how to get the data from a query or table in another database with... "SELECT * FROM TABLE/QUERYMAME IN 'C:\MYDB.MDB'" Any help? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. ____________________________________________________________________________ ________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html -- 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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Tue Apr 17 10:58:28 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 17 Apr 2007 10:58:28 -0500 Subject: [AccessD] Open report from remote db Message-ID: My experience certainly seems to bear out what you say, thanks Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 16, 2007 8:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Open report from remote db Jim, The issue it appears is one of scope. Queries running in an access environment can see code inside of that container. It cannot see functions inside of the excel spreadsheet. To my knowledge, while you can reference the Excel libraries, you cannot reference code modules inside of spreadsheets or workbooks (from within Access), nor code inside of documents (word, from inside of Access). That makes Access unique within office as a container that can contain referencable code. IOW, I BELIEVE that you can reference an Access MDA from any of the other office applications - Word, Excel, PowerPoint, and of course, Access. However you cannot reference modules inside of a workbook from word, PowerPoint etc, nor can you reference code inside of word documents from inside of Excel, PowerPoint etc. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, April 16, 2007 3:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Open report from remote db A number of years ago when I first started running Access queries from inside Excel I found that I was unable to run queries with functions in the database for criteria. I was told this was a limitation of VBA (I was using office 97). Ever since then I have gotten around this by using sub queries which get the criteria from a table, ie a pure sql solution. This thread has me wondering if it is possible to use Access functions within queries executed from within Excel by using different referencing? Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Monday, April 16, 2007 9:19 AM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] Open report from remote db Lonnie, Two alternatives are available as follows, for viewing / printing reports & forms belonging to external db: (a) Library reference to external db: (i) In local db, set up library reference named "External" to the external db and then call subroutines & functions belonging to external db by using the qualifier "External." (ii) In the code modules of external db, care is to be taken to use CodeDb & CodeProject in lieu of CurrentDb & CurrentProject respectively, wherever occurring. (iii) Automatic setting up of correct reference to external db can be ensured programmatically, through code in start-up form of local db. (b) Access automation: Activate the external db via automation and toggle respective visibilities of local & external db's appropriately, for user convenience. Two of my sample db's mentioned below, might be of interest to you: (a) ExternalDbAsLibraryRef (b) ExternalDbAutomation Both samples are available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- 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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From fhtapia at gmail.com Tue Apr 17 14:18:16 2007 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 17 Apr 2007 12:18:16 -0700 Subject: [AccessD] Getting the Top 3 Records of every n Message-ID: I know how to do this in Sql Server, but have been thinking it over on how to do this via the QBE grid in Access... The situation is there is a list like so Bob 100 Bob 090 Bob 050 Bob 010 Bill 250 Bill 100 Bill 070 Bill 050 Jim etc... What is required, is that they want to be able to obtain the top 3 records for each customer ie, Top 3 records sorted in descending order by the qty. Thanks guys -- -Francisco http://sqlthis.blogspot.com | Tsql and More... From mmmtbig at bellsouth.net Tue Apr 17 14:37:07 2007 From: mmmtbig at bellsouth.net (Myke Myers) Date: Tue, 17 Apr 2007 15:37:07 -0400 Subject: [AccessD] Image Thumbnails in Continuous Forms Message-ID: <013301c78127$c8d1d190$6501a8c0@TBIG1> Has anyone found a viable way to display thumbnails for linked (external) images in a continous form in Access 2003? TIA, Myke The Better Information Group From tuxedoman888 at gmail.com Tue Apr 17 16:09:40 2007 From: tuxedoman888 at gmail.com (Billy Pang) Date: Tue, 17 Apr 2007 14:09:40 -0700 Subject: [AccessD] how to change form default view via VBA Message-ID: <7c8826480704171409k15c32868k416604591952359a@mail.gmail.com> Hello: Is it possible to change the default view of a form in MS Access using VBA? I would like to have the user toggle between the datasheet view and the form view using a button thanks in advance Billy -- Billy Pang http://dbnotes.blogspot.com/ "Once the game is over, the King and the pawn go back in the same box." - Italian proverb From rockysmolin at bchacc.com Tue Apr 17 17:18:03 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 17 Apr 2007 15:18:03 -0700 Subject: [AccessD] how to change form default view via VBA In-Reply-To: <7c8826480704171409k15c32868k416604591952359a@mail.gmail.com> Message-ID: <009901c7813e$4485e6d0$0501a8c0@HAL9005> I just had to do this. OK, it's not exactly what you're looking for but it's a work-around, yes? You make the form a sub form and change the source object. I have two subforms - one's a continuous form, one's a datasheet form. This is the code behind a command button on the main form to toggle the sub-form. If Me.subfrmPODetail.SourceObject = "subfrmPODetail" Then Me.subfrmPODetail.SourceObject = "subfrmPODetailDatasheet" Else Me.subfrmPODetail.SourceObject = "subfrmPODetail" End If Me.subfrmPODetail.Requery HTH Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Billy Pang Sent: Tuesday, April 17, 2007 2:10 PM To: Access Developers discussion and problem solving Subject: [AccessD] how to change form default view via VBA Hello: Is it possible to change the default view of a form in MS Access using VBA? I would like to have the user toggle between the datasheet view and the form view using a button thanks in advance Billy -- Billy Pang http://dbnotes.blogspot.com/ "Once the game is over, the King and the pawn go back in the same box." - Italian proverb -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.0/763 - Release Date: 4/16/2007 5:53 PM From stuart at lexacorp.com.pg Tue Apr 17 17:32:27 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 18 Apr 2007 08:32:27 +1000 Subject: [AccessD] how to change form default view via VBA In-Reply-To: <7c8826480704171409k15c32868k416604591952359a@mail.gmail.com> References: <7c8826480704171409k15c32868k416604591952359a@mail.gmail.com> Message-ID: <46254AFB.19017.822807B@stuart.lexacorp.com.pg> On 17 Apr 2007 at 14:09, Billy Pang wrote: > Hello: > > Is it possible to change the default view of a form in MS Access using VBA? > I would like to have the user toggle between the datasheet view and the form > view using a button Easy enough to go from Form View to Datasheet view with a button which invokes DoCmd.DoMenuItem..... Trouble is that the button is not visible in Datasheet view so the user can't change back. -- Stuart From stuart at lexacorp.com.pg Tue Apr 17 17:36:40 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 18 Apr 2007 08:36:40 +1000 Subject: [AccessD] how to change form default view via VBA In-Reply-To: <7c8826480704171409k15c32868k416604591952359a@mail.gmail.com> References: <7c8826480704171409k15c32868k416604591952359a@mail.gmail.com> Message-ID: <46254BF8.31804.8265B8B@stuart.lexacorp.com.pg> Easy enough to go from Form View to Datasheet view with a button which invokes DoCmd.DoMenuItem..... But it's better to use DoCmd.RunCommand acCmdDatasheetView :-) -- Stuart From tuxedoman888 at gmail.com Tue Apr 17 19:35:33 2007 From: tuxedoman888 at gmail.com (Billy Pang) Date: Tue, 17 Apr 2007 17:35:33 -0700 Subject: [AccessD] how to change form default view via VBA In-Reply-To: <009901c7813e$4485e6d0$0501a8c0@HAL9005> References: <7c8826480704171409k15c32868k416604591952359a@mail.gmail.com> <009901c7813e$4485e6d0$0501a8c0@HAL9005> Message-ID: <7c8826480704171735q745035a3nb9ce195a7c36d095@mail.gmail.com> thanks Rocky. On 4/17/07, Rocky Smolin at Beach Access Software wrote: > > I just had to do this. OK, it's not exactly what you're looking for but > it's a work-around, yes? You make the form a sub form and change the > source > object. I have two subforms - one's a continuous form, one's a datasheet > form. > > This is the code behind a command button on the main form to toggle the > sub-form. > > If Me.subfrmPODetail.SourceObject = "subfrmPODetail" Then > Me.subfrmPODetail.SourceObject = "subfrmPODetailDatasheet" > Else > Me.subfrmPODetail.SourceObject = "subfrmPODetail" > End If > Me.subfrmPODetail.Requery > > HTH > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Billy Pang > Sent: Tuesday, April 17, 2007 2:10 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] how to change form default view via VBA > > Hello: > > Is it possible to change the default view of a form in MS Access using > VBA? > I would like to have the user toggle between the datasheet view and the > form > view using a button > > thanks in advance > > Billy > > -- > Billy Pang > http://dbnotes.blogspot.com/ > "Once the game is over, the King and the pawn go back in the same box." - > Italian proverb > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.446 / Virus Database: 269.5.0/763 - Release Date: 4/16/2007 > 5:53 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Billy Pang http://dbnotes.blogspot.com/ "Once the game is over, the King and the pawn go back in the same box." - Italian proverb From tuxedoman888 at gmail.com Tue Apr 17 19:37:52 2007 From: tuxedoman888 at gmail.com (Billy Pang) Date: Tue, 17 Apr 2007 17:37:52 -0700 Subject: [AccessD] how to change form default view via VBA In-Reply-To: <46254BF8.31804.8265B8B@stuart.lexacorp.com.pg> References: <7c8826480704171409k15c32868k416604591952359a@mail.gmail.com> <46254BF8.31804.8265B8B@stuart.lexacorp.com.pg> Message-ID: <7c8826480704171737y336b64d7we2a462b39df6625f@mail.gmail.com> thanks Stuart. however, when i run docmd.runcommand accmddatasheetview opens up the current form selected from the database window, which may or may not be the target form. On 4/17/07, Stuart McLachlan wrote: > > > Easy enough to go from Form View to Datasheet view with a button which > invokes DoCmd.DoMenuItem..... > > > But it's better to use DoCmd.RunCommand acCmdDatasheetView > > :-) > > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Billy Pang http://dbnotes.blogspot.com/ "Once the game is over, the King and the pawn go back in the same box." - Italian proverb From rockysmolin at bchacc.com Tue Apr 17 19:47:39 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 17 Apr 2007 17:47:39 -0700 Subject: [AccessD] WinZip Courier Message-ID: <00d601c78153$2ad4db50$0501a8c0@HAL9005> OT but hopefully useful information: Just tried a new service from WinZip called WinZip Courier (http://www.winzip.com/wzcourier.htm). It gets around the email attachment size limitation by allowing you to upload large files and then notify recipients where they can download the files. It works. Pretty cool. I had an occasion last week to need a back end from a client. It was 100MB+ and they had no clue how to FTP. This would have solved the problem. Rocky From rockysmolin at bchacc.com Tue Apr 17 22:44:38 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 17 Apr 2007 20:44:38 -0700 Subject: [AccessD] [dba-OT] WinZip Courier In-Reply-To: <44ef7a350704171947j7f2f126aif484a51ea2c6f6f2@mail.gmail.com> Message-ID: <011601c7816b$e4232220$0501a8c0@HAL9005> I sent 3 MP3s to the band which I had transposed they keys on and copied myself. I got an email with links to the files. Worked real slick. Rocky -----Original Message----- From: dba-ot-bounces at databaseadvisors.com [mailto:dba-ot-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Tuesday, April 17, 2007 7:47 PM To: dba-ot at databaseadvisors.com Cc: Access Developers discussion and problem solving Subject: Re: [dba-OT] WinZip Courier Rocky, So it's an FTP service of sorts. If it isn't an FTP download, then it could be useful indeed. At Printron, for example, I cannot connect via FTP to any site because of security and proxies. Steve Erbach On 4/17/07, Rocky Smolin at Beach Access Software wrote: > OT but hopefully useful information: > > Just tried a new service from WinZip called WinZip Courier > (http://www.winzip.com/wzcourier.htm). It gets around the email > attachment size limitation by allowing you to upload large files and > then notify recipients where they can download the files. It works. > Pretty cool. I had an occasion last week to need a back end from a > client. It was 100MB+ and they had no clue how to FTP. This would have solved the problem. > > Rocky > > _______________________________________________ dba-OT mailing list dba-OT at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-ot Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM From adtp at hotmail.com Tue Apr 17 23:56:34 2007 From: adtp at hotmail.com (A.D.TEJPAL) Date: Wed, 18 Apr 2007 10:26:34 +0530 Subject: [AccessD] Image Thumbnails in Continuous Forms References: <013301c78127$c8d1d190$6501a8c0@TBIG1> Message-ID: Myke, Apparently, you wish to display externally stored images via image control (avoiding OLE field, to prevent bloat). My sample db named ImageManager might be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. This sample db uses image control, assigning relevant file paths to its picture property. User can browse & select the image files in target folder and their paths get stored programmatically in access table. Apart from covering display of images via slide shows (manual advance or automatic advance as desired), the sample also demonstrates display of images in thumbnail view, in continuous form style (it is a simulated continuous form). You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Myke Myers To: 'Access Developers discussion and problem solving' Sent: Wednesday, April 18, 2007 01:07 Subject: [AccessD] Image Thumbnails in Continuous Forms Has anyone found a viable way to display thumbnails for linked (external) images in a continous form in Access 2003? TIA, Myke The Better Information Group From adtp at hotmail.com Wed Apr 18 01:21:25 2007 From: adtp at hotmail.com (A.D.TEJPAL) Date: Wed, 18 Apr 2007 11:51:25 +0530 Subject: [AccessD] how to change form default view via VBA References: <7c8826480704171409k15c32868k416604591952359a@mail.gmail.com> Message-ID: Billy, Sample public subroutine named P_ToggleView(), in form's module, as given below, should enable you to toggle the view between datasheet & normal form as desired. You can call this routine from double click event of various controls. Whenever the user dbl-clicks any of the controls (in form view) or any of the columns (in datasheet view), the existing view will change-over to the other one. If you wish to toggle the view of target form (named F_Test) by clicking a button on another form (named F_Test_02), the routine in module of form F_Test can be called via click event of command button on form F_Test_02. While doing so, care is to be taken to first select form F_Test as shown in the sample code below, for module of form F_Test_02. Note - When toggling views, it is often desirable to simultaneously take care of column widths (in datasheet view) and settings for scroll bars & dividing lines, as shown in the sample code below. Best wishes, A.D.Tejpal --------------- Code module of form F_Test (ID, SDate, Product & Qty are names of controls on the form) ================================= Public Sub P_ToggleView() ' Toggles between Form & Datasheet views ' Check current view and change accordingly ' Value of 2 stands for Datasheet view If Me.CurrentView = 2 Then ' Change to Form view DoCmd.RunCommand acCmdFormView ' Remove scroll bars & dividing lines Me.ScrollBars = 0 ' Neither Me.DividingLines = False Else ' Change to Datasheet view DoCmd.RunCommand acCmdDatasheetView ' Adjust column widths in datasheet view ID.ColumnWidth = 1500 ' (A) SDate.ColumnWidth = 2000 ' (B) Product.ColumnWidth = 3000 ' (C) Qty.ColumnWidth = 1550 ' (D) ' Restore scroll bars & dividing lines Me.ScrollBars = 3 ' Both Me.DividingLines = True End If End Sub ================================= Code module of form F_Test_02 ================================= Private Sub CmdToggleView_Click() DoCmd.SelectObject acForm, "F_Test", False Forms("F_Test").P_ToggleView End Sub ================================= ----- Original Message ----- From: Billy Pang To: Access Developers discussion and problem solving Sent: Wednesday, April 18, 2007 02:39 Subject: [AccessD] how to change form default view via VBA Hello: Is it possible to change the default view of a form in MS Access using VBA? I would like to have the user toggle between the datasheet view and the form view using a button thanks in advance Billy From Gustav at cactus.dk Wed Apr 18 03:07:27 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 18 Apr 2007 10:07:27 +0200 Subject: [AccessD] how to change form default view via VBA Message-ID: Hi Billy I think I would move the form into a subform, then you can have your button to control the view on the main form. /gustav >>> tuxedoman888 at gmail.com 17-04-2007 23:09 >>> Hello: Is it possible to change the default view of a form in MS Access using VBA? I would like to have the user toggle between the datasheet view and the form view using a button thanks in advance Billy From pcs at azizaz.com Wed Apr 18 09:29:39 2007 From: pcs at azizaz.com (Borge Hansen, Professional Computer Systems) Date: Thu, 19 Apr 2007 00:29:39 +1000 Subject: [AccessD] Assistance Required - Web Development Message-ID: <038701c781c6$001e4540$fa10a8c0@Albatross> Hi, I don't know if this is breaching netiquette - if so I ask to be excused... Any one interested, please take contact directly. I am in need of assistance with the development of a web interface for the following features: - Secure Login - Update of Personal Details - Event Registration including Payment (Credit Card) over secure line with Read and Write to SQL Server 2005 Background: Event Management System Access 2003 In production since 1993 - in Access since 1999 Currently the Backend is being upsized to SQL Server2005 Regards borge pcs at azizaz.com From bheid at sc.rr.com Wed Apr 18 09:31:31 2007 From: bheid at sc.rr.com (Bobby Heid) Date: Wed, 18 Apr 2007 10:31:31 -0400 Subject: [AccessD] [dba-OT] WinZip Courier In-Reply-To: <011601c7816b$e4232220$0501a8c0@HAL9005> References: <44ef7a350704171947j7f2f126aif484a51ea2c6f6f2@mail.gmail.com> <011601c7816b$e4232220$0501a8c0@HAL9005> Message-ID: <001d01c781c6$432626f0$2c01a8c0@bhxp> I got an email from WinZip about this. How much does it cost? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 17, 2007 11:45 PM To: dba-ot at databaseadvisors.com Cc: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier I sent 3 MP3s to the band which I had transposed they keys on and copied myself. I got an email with links to the files. Worked real slick. Rocky -----Original Message----- From: dba-ot-bounces at databaseadvisors.com [mailto:dba-ot-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Tuesday, April 17, 2007 7:47 PM To: dba-ot at databaseadvisors.com Cc: Access Developers discussion and problem solving Subject: Re: [dba-OT] WinZip Courier Rocky, So it's an FTP service of sorts. If it isn't an FTP download, then it could be useful indeed. At Printron, for example, I cannot connect via FTP to any site because of security and proxies. Steve Erbach On 4/17/07, Rocky Smolin at Beach Access Software wrote: > OT but hopefully useful information: > > Just tried a new service from WinZip called WinZip Courier > (http://www.winzip.com/wzcourier.htm). It gets around the email > attachment size limitation by allowing you to upload large files and > then notify recipients where they can download the files. It works. > Pretty cool. I had an occasion last week to need a back end from a > client. It was 100MB+ and they had no clue how to FTP. This would have solved the problem. > > Rocky > > _______________________________________________ dba-OT mailing list dba-OT at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-ot Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lmrazek at lcm-res.com Wed Apr 18 09:57:28 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Wed, 18 Apr 2007 09:57:28 -0500 Subject: [AccessD] Best / Safest method of connecting to a dbase IV table via Access XP In-Reply-To: <038701c781c6$001e4540$fa10a8c0@Albatross> References: <038701c781c6$001e4540$fa10a8c0@Albatross> Message-ID: <036501c781c9$e3103bd0$046fa8c0@lcmdv8000> Hi Folks: (Using Access XP/2002 Runtime) I have a project that will require me to connect to a dbase table periodically to scan for changes / additions. Since I will never write to this table, I'm wondering what is the best/safest technique to use when reading the table? I can link to the table fine via the native linked tables method in Access. I'm primarily concerned with not messing up the dbase table! Thanks in advance. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 From rockysmolin at bchacc.com Wed Apr 18 10:05:03 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 18 Apr 2007 08:05:03 -0700 Subject: [AccessD] [dba-OT] WinZip Courier In-Reply-To: <001d01c781c6$432626f0$2c01a8c0@bhxp> Message-ID: <002301c781ca$f1d60360$0501a8c0@HAL9005> There's a monthly charge after your 45 day trial. Bt there's a Courier Light version which is free but won't handle as big an upload. IIRC, the light version would be adequate for most of my purposes. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, April 18, 2007 7:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier I got an email from WinZip about this. How much does it cost? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 17, 2007 11:45 PM To: dba-ot at databaseadvisors.com Cc: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier I sent 3 MP3s to the band which I had transposed they keys on and copied myself. I got an email with links to the files. Worked real slick. Rocky -----Original Message----- From: dba-ot-bounces at databaseadvisors.com [mailto:dba-ot-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Tuesday, April 17, 2007 7:47 PM To: dba-ot at databaseadvisors.com Cc: Access Developers discussion and problem solving Subject: Re: [dba-OT] WinZip Courier Rocky, So it's an FTP service of sorts. If it isn't an FTP download, then it could be useful indeed. At Printron, for example, I cannot connect via FTP to any site because of security and proxies. Steve Erbach On 4/17/07, Rocky Smolin at Beach Access Software wrote: > OT but hopefully useful information: > > Just tried a new service from WinZip called WinZip Courier > (http://www.winzip.com/wzcourier.htm). It gets around the email > attachment size limitation by allowing you to upload large files and > then notify recipients where they can download the files. It works. > Pretty cool. I had an occasion last week to need a back end from a > client. It was 100MB+ and they had no clue how to FTP. This would > have solved the problem. > > Rocky > > _______________________________________________ dba-OT mailing list dba-OT at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-ot Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM From accessd at shaw.ca Wed Apr 18 10:40:11 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 18 Apr 2007 08:40:11 -0700 Subject: [AccessD] [dba-OT] WinZip Courier In-Reply-To: <002301c781ca$f1d60360$0501a8c0@HAL9005> Message-ID: <0JGP00E9P9ZM4X20@l-daemon> Hi Rocky: If you want to send any file, using a similar method and it is still free check out http://sendspace.com Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 18, 2007 8:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier There's a monthly charge after your 45 day trial. Bt there's a Courier Light version which is free but won't handle as big an upload. IIRC, the light version would be adequate for most of my purposes. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, April 18, 2007 7:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier I got an email from WinZip about this. How much does it cost? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 17, 2007 11:45 PM To: dba-ot at databaseadvisors.com Cc: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier I sent 3 MP3s to the band which I had transposed they keys on and copied myself. I got an email with links to the files. Worked real slick. Rocky -----Original Message----- From: dba-ot-bounces at databaseadvisors.com [mailto:dba-ot-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Tuesday, April 17, 2007 7:47 PM To: dba-ot at databaseadvisors.com Cc: Access Developers discussion and problem solving Subject: Re: [dba-OT] WinZip Courier Rocky, So it's an FTP service of sorts. If it isn't an FTP download, then it could be useful indeed. At Printron, for example, I cannot connect via FTP to any site because of security and proxies. Steve Erbach On 4/17/07, Rocky Smolin at Beach Access Software wrote: > OT but hopefully useful information: > > Just tried a new service from WinZip called WinZip Courier > (http://www.winzip.com/wzcourier.htm). It gets around the email > attachment size limitation by allowing you to upload large files and > then notify recipients where they can download the files. It works. > Pretty cool. I had an occasion last week to need a back end from a > client. It was 100MB+ and they had no clue how to FTP. This would > have solved the problem. > > Rocky > > _______________________________________________ dba-OT mailing list dba-OT at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-ot Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at sc.rr.com Wed Apr 18 11:09:10 2007 From: bheid at sc.rr.com (Bobby Heid) Date: Wed, 18 Apr 2007 12:09:10 -0400 Subject: [AccessD] [dba-OT] WinZip Courier In-Reply-To: <002301c781ca$f1d60360$0501a8c0@HAL9005> References: <001d01c781c6$432626f0$2c01a8c0@bhxp> <002301c781ca$f1d60360$0501a8c0@HAL9005> Message-ID: <003901c781d3$e6e1f8c0$2c01a8c0@bhxp> Thanks Rocky. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 18, 2007 11:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier There's a monthly charge after your 45 day trial. Bt there's a Courier Light version which is free but won't handle as big an upload. IIRC, the light version would be adequate for most of my purposes. Rocky From rockysmolin at bchacc.com Wed Apr 18 11:41:21 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 18 Apr 2007 09:41:21 -0700 Subject: [AccessD] [dba-OT] WinZip Courier In-Reply-To: <0JGP00E9P9ZM4X20@l-daemon> Message-ID: <004201c781d8$660d86b0$0501a8c0@HAL9005> Service looks pretty much identical to WinZip's. But I never heard of them. They been around long? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, April 18, 2007 8:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier Hi Rocky: If you want to send any file, using a similar method and it is still free check out http://sendspace.com Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 18, 2007 8:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier There's a monthly charge after your 45 day trial. Bt there's a Courier Light version which is free but won't handle as big an upload. IIRC, the light version would be adequate for most of my purposes. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, April 18, 2007 7:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier I got an email from WinZip about this. How much does it cost? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 17, 2007 11:45 PM To: dba-ot at databaseadvisors.com Cc: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier I sent 3 MP3s to the band which I had transposed they keys on and copied myself. I got an email with links to the files. Worked real slick. Rocky -----Original Message----- From: dba-ot-bounces at databaseadvisors.com [mailto:dba-ot-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Tuesday, April 17, 2007 7:47 PM To: dba-ot at databaseadvisors.com Cc: Access Developers discussion and problem solving Subject: Re: [dba-OT] WinZip Courier Rocky, So it's an FTP service of sorts. If it isn't an FTP download, then it could be useful indeed. At Printron, for example, I cannot connect via FTP to any site because of security and proxies. Steve Erbach On 4/17/07, Rocky Smolin at Beach Access Software wrote: > OT but hopefully useful information: > > Just tried a new service from WinZip called WinZip Courier > (http://www.winzip.com/wzcourier.htm). It gets around the email > attachment size limitation by allowing you to upload large files and > then notify recipients where they can download the files. It works. > Pretty cool. I had an occasion last week to need a back end from a > client. It was 100MB+ and they had no clue how to FTP. This would > have solved the problem. > > Rocky > > _______________________________________________ dba-OT mailing list dba-OT at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-ot Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM From mmmtbig at bellsouth.net Wed Apr 18 13:01:38 2007 From: mmmtbig at bellsouth.net (Myke Myers) Date: Wed, 18 Apr 2007 14:01:38 -0400 Subject: [AccessD] Image Thumbnails in Continuous Forms In-Reply-To: References: <013301c78127$c8d1d190$6501a8c0@TBIG1> Message-ID: <014401c781e3$a628a7b0$6501a8c0@TBIG1> A.D.: Thanks for the example. I think I can adapt it to my app. If I understand your simulated continuous form design, I would need 10 identical subforms with different names if I wanted to display 10 records per page. Is that correct? Thanks, Myke -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Wednesday, April 18, 2007 12:57 AM To: Access Developers discussion and problem solving Cc: ADT Subject: Re: [AccessD] Image Thumbnails in Continuous Forms Myke, Apparently, you wish to display externally stored images via image control (avoiding OLE field, to prevent bloat). My sample db named ImageManager might be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. This sample db uses image control, assigning relevant file paths to its picture property. User can browse & select the image files in target folder and their paths get stored programmatically in access table. Apart from covering display of images via slide shows (manual advance or automatic advance as desired), the sample also demonstrates display of images in thumbnail view, in continuous form style (it is a simulated continuous form). You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Myke Myers To: 'Access Developers discussion and problem solving' Sent: Wednesday, April 18, 2007 01:07 Subject: [AccessD] Image Thumbnails in Continuous Forms Has anyone found a viable way to display thumbnails for linked (external) images in a continous form in Access 2003? TIA, Myke The Better Information Group -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Apr 18 13:28:39 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 18 Apr 2007 11:28:39 -0700 Subject: [AccessD] [dba-OT] WinZip Courier In-Reply-To: <004201c781d8$660d86b0$0501a8c0@HAL9005> Message-ID: <0JGP00EHNHSDYU00@l-daemon> Hi Rocky: I have not idea. It was one the daughters' discoveries... they know all the latest technologies and try to keep their Dad current. I would have also suggested YouSendIt (http://www.yousendit.com) but similar to the WinZip version it is time sensitive. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 18, 2007 9:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier Service looks pretty much identical to WinZip's. But I never heard of them. They been around long? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, April 18, 2007 8:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier Hi Rocky: If you want to send any file, using a similar method and it is still free check out http://sendspace.com Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 18, 2007 8:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier There's a monthly charge after your 45 day trial. Bt there's a Courier Light version which is free but won't handle as big an upload. IIRC, the light version would be adequate for most of my purposes. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, April 18, 2007 7:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier I got an email from WinZip about this. How much does it cost? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 17, 2007 11:45 PM To: dba-ot at databaseadvisors.com Cc: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier I sent 3 MP3s to the band which I had transposed they keys on and copied myself. I got an email with links to the files. Worked real slick. Rocky -----Original Message----- From: dba-ot-bounces at databaseadvisors.com [mailto:dba-ot-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Tuesday, April 17, 2007 7:47 PM To: dba-ot at databaseadvisors.com Cc: Access Developers discussion and problem solving Subject: Re: [dba-OT] WinZip Courier Rocky, So it's an FTP service of sorts. If it isn't an FTP download, then it could be useful indeed. At Printron, for example, I cannot connect via FTP to any site because of security and proxies. Steve Erbach On 4/17/07, Rocky Smolin at Beach Access Software wrote: > OT but hopefully useful information: > > Just tried a new service from WinZip called WinZip Courier > (http://www.winzip.com/wzcourier.htm). It gets around the email > attachment size limitation by allowing you to upload large files and > then notify recipients where they can download the files. It works. > Pretty cool. I had an occasion last week to need a back end from a > client. It was 100MB+ and they had no clue how to FTP. This would > have solved the problem. > > Rocky > > _______________________________________________ dba-OT mailing list dba-OT at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-ot Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Apr 18 14:09:54 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 18 Apr 2007 12:09:54 -0700 Subject: [AccessD] [dba-OT] WinZip Courier In-Reply-To: <0JGP00EHNHSDYU00@l-daemon> Message-ID: <006101c781ed$26073fb0$0501a8c0@HAL9005> Yousendit is the engine behind the WinZip Courier service. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, April 18, 2007 11:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier Hi Rocky: I have not idea. It was one the daughters' discoveries... they know all the latest technologies and try to keep their Dad current. I would have also suggested YouSendIt (http://www.yousendit.com) but similar to the WinZip version it is time sensitive. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 18, 2007 9:41 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier Service looks pretty much identical to WinZip's. But I never heard of them. They been around long? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, April 18, 2007 8:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier Hi Rocky: If you want to send any file, using a similar method and it is still free check out http://sendspace.com Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, April 18, 2007 8:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier There's a monthly charge after your 45 day trial. Bt there's a Courier Light version which is free but won't handle as big an upload. IIRC, the light version would be adequate for most of my purposes. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, April 18, 2007 7:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier I got an email from WinZip about this. How much does it cost? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 17, 2007 11:45 PM To: dba-ot at databaseadvisors.com Cc: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] WinZip Courier I sent 3 MP3s to the band which I had transposed they keys on and copied myself. I got an email with links to the files. Worked real slick. Rocky -----Original Message----- From: dba-ot-bounces at databaseadvisors.com [mailto:dba-ot-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Tuesday, April 17, 2007 7:47 PM To: dba-ot at databaseadvisors.com Cc: Access Developers discussion and problem solving Subject: Re: [dba-OT] WinZip Courier Rocky, So it's an FTP service of sorts. If it isn't an FTP download, then it could be useful indeed. At Printron, for example, I cannot connect via FTP to any site because of security and proxies. Steve Erbach On 4/17/07, Rocky Smolin at Beach Access Software wrote: > OT but hopefully useful information: > > Just tried a new service from WinZip called WinZip Courier > (http://www.winzip.com/wzcourier.htm). It gets around the email > attachment size limitation by allowing you to upload large files and > then notify recipients where they can download the files. It works. > Pretty cool. I had an occasion last week to need a back end from a > client. It was 100MB+ and they had no clue how to FTP. This would > have solved the problem. > > Rocky > > _______________________________________________ dba-OT mailing list dba-OT at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-ot Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date: 4/17/2007 5:20 PM From rl_stewart at highstream.net Wed Apr 18 14:53:11 2007 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 18 Apr 2007 14:53:11 -0500 Subject: [AccessD] Assistance Required - Web Development In-Reply-To: References: Message-ID: <200704181958.l3IJwV5x027680@databaseadvisors.com> Borge, I might be interested in helping you with this. I think i already have everything in place but the credit card portion of it. And that really depends on the API for the service you plan on using. Robert At 12:00 PM 4/18/2007, you wrote: >Date: Thu, 19 Apr 2007 00:29:39 +1000 >From: "Borge Hansen, Professional Computer Systems" >Subject: [AccessD] Assistance Required - Web Development >To: "Access Developers discussion and problem solving" > >Message-ID: <038701c781c6$001e4540$fa10a8c0 at Albatross> >Content-Type: text/plain; charset="iso-8859-1" > >Hi, > >I don't know if this is breaching netiquette - if so I ask to be excused... > >Any one interested, please take contact directly. > >I am in need of assistance with the development of a web interface >for the following features: >- Secure Login >- Update of Personal Details >- Event Registration including Payment (Credit Card) over secure line >with Read and Write to SQL Server 2005 > >Background: >Event Management System >Access 2003 >In production since 1993 - in Access since 1999 > >Currently the Backend is being upsized to SQL Server2005 > > >Regards >borge >pcs at azizaz.com From jengross at gte.net Wed Apr 18 15:47:25 2007 From: jengross at gte.net (Jennifer Gross) Date: Wed, 18 Apr 2007 13:47:25 -0700 Subject: [AccessD] A2K --> SQL 2005 - Licensing Message-ID: <017701c781fa$cc78bba0$6501a8c0@jefferson> Hi All, If I link from A2K to SQL 2005, but the table is not open/active within the Access database, am I still eating up one of the SQL Server licenses? Or, is it only when the user engages in a process that is actively using that SQL table that we are then considered using one of our SQL seats? We currently have a 20 user license for SQL Server and approximately 35 users of our Access database. I would like to tap into the SQL database for some information. Any help is greatly appreciated. Jennifer Gross databasics 2839 Shirley Drive Newbury Park, CA 91320-3068 office: (805) 480-1921 fax: (805) 499-0467 From askolits at ot.com Wed Apr 18 17:11:04 2007 From: askolits at ot.com (John Skolits) Date: Wed, 18 Apr 2007 18:11:04 -0400 Subject: [AccessD] My nemesis - ODBC Connections In-Reply-To: <017701c781fa$cc78bba0$6501a8c0@jefferson> Message-ID: <013801c78206$74dc0760$6501a8c0@LaptopXP> I've been having ODBC issues with SqlServer for, what seems to be, forever. On different servers, different PCs, different OS. This week has been particularly bad. It could have something to do with some updates my customer is putting on his server, but even so, it's an issue that had bugged me for years. Maybe someone can shed some light on this. Access 2K and SQLServer 2000: What seems to happen is when I develop an app on my PC and relink to SQLServer using Accces, my app works fine. When I give it to others, sometimes the app works and sometime it gives me an ODBC error. Usually after the error, it comes up with the SQL Server login box and the after entering login info. It's fine. If they restart, same issue. But it's very inconsistent. I can then go back and relink again on my PC and give it to them again. Sometimes that actually fixes it, yet I didn't do anything different than I did before. I initially link using a DSN Filename, but after linking my guess is the DSN file is no longer used since I can usually install the app on a new PC without putting the DSN on their PC. When I look at the linked table's properties it shows the connection string without the DSN name. Which makes sense since it's not using the DSN for a connection, but the imbedded string instead. Does all this make sense. Can someone explain what's going on? Why I'm having all these problems? Is there a fix?? Help!!!! John Skolits From adtp at airtelbroadband.in Wed Apr 18 23:14:01 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Thu, 19 Apr 2007 09:44:01 +0530 Subject: [AccessD] Image Thumbnails in Continuous Forms References: <013301c78127$c8d1d190$6501a8c0@TBIG1> <014401c781e3$a628a7b0$6501a8c0@TBIG1> Message-ID: <00cf01c7823a$eac6f550$3f57a27a@pcadt> Yes Myke! Your presumption is correct. A.D.Tejpal --------------- ----- Original Message ----- From: Myke Myers To: 'Access Developers discussion and problem solving' Cc: 'ADT' Sent: Wednesday, April 18, 2007 23:31 Subject: Re: [AccessD] Image Thumbnails in Continuous Forms A.D.: Thanks for the example. I think I can adapt it to my app. If I understand your simulated continuous form design, I would need 10 identical subforms with different names if I wanted to display 10 records per page. Is that correct? Thanks, Myke -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Wednesday, April 18, 2007 12:57 AM To: Access Developers discussion and problem solving Cc: ADT Subject: Re: [AccessD] Image Thumbnails in Continuous Forms Myke, Apparently, you wish to display externally stored images via image control (avoiding OLE field, to prevent bloat). My sample db named ImageManager might be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. This sample db uses image control, assigning relevant file paths to its picture property. User can browse & select the image files in target folder and their paths get stored programmatically in access table. Apart from covering display of images via slide shows (manual advance or automatic advance as desired), the sample also demonstrates display of images in thumbnail view, in continuous form style (it is a simulated continuous form). You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Myke Myers To: 'Access Developers discussion and problem solving' Sent: Wednesday, April 18, 2007 01:07 Subject: [AccessD] Image Thumbnails in Continuous Forms Has anyone found a viable way to display thumbnails for linked (external) images in a continous form in Access 2003? TIA, Myke The Better Information Group From R.Griffiths at bury.gov.uk Thu Apr 19 05:49:38 2007 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Thu, 19 Apr 2007 11:49:38 +0100 Subject: [AccessD] Re-query 2nd combo on subform Message-ID: <200704191035.l3JAZQx15157@smarthost.yourcomms.net> Hi Access 97 It's been a long time since I've posted here - still take a regular look, even though I concentrate on .net these days. A combination of time without Access and lack of time to play around myself..... but I have someone asking my advice. Scenario.....timesheet screen... header record with continuous subform details. Two combo's on the subform....the second of which needs to be re-queried based on the value in combo 1. This is actioned on the after-update event of combo1. The undesired result is that on previous records in the subform combo 2 is cleared out when combo 1 is re-queried (if the list id different say to the current record). I'm sure I've been here before......but can't get the solution...so all you active MS Accessers..... any clues?? Thanks in advance Richard Griffiths 0161 253 5169 Software Developer From rockysmolin at bchacc.com Thu Apr 19 07:40:43 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 19 Apr 2007 05:40:43 -0700 Subject: [AccessD] Re-query 2nd combo on subform In-Reply-To: <200704191035.l3JAZQx15157@smarthost.yourcomms.net> Message-ID: <001001c7827f$f24823e0$0501a8c0@HAL9005> In the After Update event of Combo1 are you requerying Combo2? What's the row source for Combo2? Does it include the value of Combo1? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Thursday, April 19, 2007 3:50 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Re-query 2nd combo on subform Hi Access 97 It's been a long time since I've posted here - still take a regular look, even though I concentrate on .net these days. A combination of time without Access and lack of time to play around myself..... but I have someone asking my advice. Scenario.....timesheet screen... header record with continuous subform details. Two combo's on the subform....the second of which needs to be re-queried based on the value in combo 1. This is actioned on the after-update event of combo1. The undesired result is that on previous records in the subform combo 2 is cleared out when combo 1 is re-queried (if the list id different say to the current record). I'm sure I've been here before......but can't get the solution...so all you active MS Accessers..... any clues?? Thanks in advance Richard Griffiths 0161 253 5169 Software Developer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.2/766 - Release Date: 4/18/2007 7:39 AM From R.Griffiths at bury.gov.uk Thu Apr 19 08:57:08 2007 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Thu, 19 Apr 2007 14:57:08 +0100 Subject: [AccessD] Re-query 2nd combo on subform In-Reply-To: <001001c7827f$f24823e0$0501a8c0@HAL9005> References: <200704191035.l3JAZQx15157@smarthost.yourcomms.net> <001001c7827f$f24823e0$0501a8c0@HAL9005> Message-ID: <200704191349.l3JDnsx07252@smarthost.yourcomms.net> Yes combo 2 has a query source that references combo 1 e.g. combo 1 - Activity Code... Combo 2 sub-Activity Code When you select Activity code you want combo 2 to list all sub-activities for that main activity code -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: 19 April 2007 13:41 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Re-query 2nd combo on subform In the After Update event of Combo1 are you requerying Combo2? What's the row source for Combo2? Does it include the value of Combo1? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Thursday, April 19, 2007 3:50 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Re-query 2nd combo on subform Hi Access 97 It's been a long time since I've posted here - still take a regular look, even though I concentrate on .net these days. A combination of time without Access and lack of time to play around myself..... but I have someone asking my advice. Scenario.....timesheet screen... header record with continuous subform details. Two combo's on the subform....the second of which needs to be re-queried based on the value in combo 1. This is actioned on the after-update event of combo1. The undesired result is that on previous records in the subform combo 2 is cleared out when combo 1 is re-queried (if the list id different say to the current record). I'm sure I've been here before......but can't get the solution...so all you active MS Accessers..... any clues?? Thanks in advance Richard Griffiths 0161 253 5169 Software Developer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.2/766 - Release Date: 4/18/2007 7:39 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Thu Apr 19 09:34:39 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 19 Apr 2007 14:34:39 +0000 Subject: [AccessD] Re-query 2nd combo on subform In-Reply-To: <001001c7827f$f24823e0$0501a8c0@HAL9005> Message-ID: Is it because it is on a continuous form? >From: "Rocky Smolin at Beach Access Software" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Re-query 2nd combo on subform >Date: Thu, 19 Apr 2007 05:40:43 -0700 > >In the After Update event of Combo1 are you requerying Combo2? What's the >row source for Combo2? Does it include the value of Combo1? > >Rocky > > > > > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, >Richard >Sent: Thursday, April 19, 2007 3:50 AM >To: AccessD at databaseadvisors.com >Subject: [AccessD] Re-query 2nd combo on subform > >Hi > >Access 97 > >It's been a long time since I've posted here - still take a regular look, >even though I concentrate on .net these days. >A combination of time without Access and lack of time to play around >myself..... but I have someone asking my advice. > >Scenario.....timesheet screen... > >header record with continuous subform details. >Two combo's on the subform....the second of which needs to be re-queried >based on the value in combo 1. >This is actioned on the after-update event of combo1. > >The undesired result is that on previous records in the subform combo 2 is >cleared out when combo 1 is re-queried (if the list id different say to the >current record). > >I'm sure I've been here before......but can't get the solution...so all you >active MS Accessers..... any clues?? > >Thanks in advance > > >Richard Griffiths >0161 253 5169 >Software Developer > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.446 / Virus Database: 269.5.2/766 - Release Date: 4/18/2007 >7:39 AM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Interest Rates NEAR 39yr LOWS! $430,000 Mortgage for $1,299/mo - Calculate new payment http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9632-19132&moid=14888 From andy at minstersystems.co.uk Thu Apr 19 10:46:00 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 19 Apr 2007 15:46:00 +0000 Subject: [AccessD] Re-query 2nd combo on subform Message-ID: <20070419144605.592A82B8B5C@smtp.nildram.co.uk> I understand the issue Richard, but sad to say have never found a satisfactory solution. If I understand you right it's when the field stored by combo2 is not the one displayed, typically the bound column is the 1st column with a zero width. Is that right? So as soon as you requery the combo then most records on the subform find themselves trying to display something which is no longer in the combo's recordset as it were. I'll be watching with interest for good ideas. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Re-query 2nd combo on subform Date: 19/04/07 14:08 Yes combo 2 has a query source that references combo 1 e.g. combo 1 - Activity Code... Combo 2 sub-Activity Code When you select Activity code you want combo 2 to list all sub-activities for that main activity code -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: 19 April 2007 13:41 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Re-query 2nd combo on subform In the After Update event of Combo1 are you requerying Combo2? What's the row source for Combo2? Does it include the value of Combo1? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Thursday, April 19, 2007 3:50 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Re-query 2nd combo on subform Hi Access 97 It's been a long time since I've posted here - still take a regular look, even though I concentrate on .net these days. A combination of time without Access and lack of time to play around myself..... but I have someone asking my advice. Scenario.....timesheet screen... header record with continuous subform details. Two combo's on the subform....the second of which needs to be re-queried based on the value in combo 1. This is actioned on the after-update event of combo1. The undesired result is that on previous records in the subform combo 2 is cleared out when combo 1 is re-queried (if the list id different say to the current record). I'm sure I've been here before......but can't get the solution...so all you active MS Accessers..... any clues?? Thanks in advance Richard Griffiths 0161 253 5169 Software Developer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.2/766 - Release Date: 4/18/2007 7:39 AM -- 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 ________________________________________________ Message sent using UebiMiau 2.7.2 From Elizabeth.J.Doering at wellsfargo.com Thu Apr 19 10:01:23 2007 From: Elizabeth.J.Doering at wellsfargo.com (Elizabeth.J.Doering at wellsfargo.com) Date: Thu, 19 Apr 2007 10:01:23 -0500 Subject: [AccessD] Re-query 2nd combo on subform References: <20070419144605.592A82B8B5C@smtp.nildram.co.uk> Message-ID: <1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com> The only way I've ever hear of is to display the actual value in a text box which is separate from the combo box. Sometimes this can include hiding most of the combo box most of the time. Liz Liz Doering elizabeth.j.doering at wellsfargo.com 612.667.2447 "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Thursday, April 19, 2007 10:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-query 2nd combo on subform I understand the issue Richard, but sad to say have never found a satisfactory solution. If I understand you right it's when the field stored by combo2 is not the one displayed, typically the bound column is the 1st column with a zero width. Is that right? So as soon as you requery the combo then most records on the subform find themselves trying to display something which is no longer in the combo's recordset as it were. I'll be watching with interest for good ideas. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Re-query 2nd combo on subform Date: 19/04/07 14:08 Yes combo 2 has a query source that references combo 1 e.g. combo 1 - Activity Code... Combo 2 sub-Activity Code When you select Activity code you want combo 2 to list all sub-activities for that main activity code -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: 19 April 2007 13:41 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Re-query 2nd combo on subform In the After Update event of Combo1 are you requerying Combo2? What's the row source for Combo2? Does it include the value of Combo1? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Thursday, April 19, 2007 3:50 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Re-query 2nd combo on subform Hi Access 97 It's been a long time since I've posted here - still take a regular look, even though I concentrate on .net these days. A combination of time without Access and lack of time to play around myself..... but I have someone asking my advice. Scenario.....timesheet screen... header record with continuous subform details. Two combo's on the subform....the second of which needs to be re-queried based on the value in combo 1. This is actioned on the after-update event of combo1. The undesired result is that on previous records in the subform combo 2 is cleared out when combo 1 is re-queried (if the list id different say to the current record). I'm sure I've been here before......but can't get the solution...so all you active MS Accessers..... any clues?? Thanks in advance Richard Griffiths 0161 253 5169 Software Developer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.2/766 - Release Date: 4/18/2007 7:39 AM -- 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 ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Thu Apr 19 11:30:50 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 19 Apr 2007 16:30:50 +0000 Subject: [AccessD] Re-query 2nd combo on subform Message-ID: <20070419153055.BC15C4C71C@smtp.nildram.co.uk> And I guess you'd have to get the value to display by a Dlookup or something, which might be pretty slow. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Re-query 2nd combo on subform Date: 19/04/07 15:05 The only way I've ever hear of is to display the actual value in a text box which is separate from the combo box. Sometimes this can include hiding most of the combo box most of the time. Liz Liz Doering elizabeth.j.doering at wellsfargo.com 612.667.2447 "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Thursday, April 19, 2007 10:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-query 2nd combo on subform I understand the issue Richard, but sad to say have never found a satisfactory solution. If I understand you right it's when the field stored by combo2 is not the one displayed, typically the bound column is the 1st column with a zero width. Is that right? So as soon as you requery the combo then most records on the subform find themselves trying to display something which is no longer in the combo's recordset as it were. I'll be watching with interest for good ideas. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Re-query 2nd combo on subform Date: 19/04/07 14:08 Yes combo 2 has a query source that references combo 1 e.g. combo 1 - Activity Code... Combo 2 sub-Activity Code When you select Activity code you want combo 2 to list all sub-activities for that main activity code -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: 19 April 2007 13:41 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Re-query 2nd combo on subform In the After Update event of Combo1 are you requerying Combo2? What's the row source for Combo2? Does it include the value of Combo1? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Thursday, April 19, 2007 3:50 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Re-query 2nd combo on subform Hi Access 97 It's been a long time since I've posted here - still take a regular look, even though I concentrate on .net these days. A combination of time without Access and lack of time to play around myself..... but I have someone asking my advice. Scenario.....timesheet screen... header record with continuous subform details. Two combo's on the subform....the second of which needs to be re-queried based on the value in combo 1. This is actioned on the after-update event of combo1. The undesired result is that on previous records in the subform combo 2 is cleared out when combo 1 is re-queried (if the list id different say to the current record). I'm sure I've been here before......but can't get the solution...so all you active MS Accessers..... any clues?? Thanks in advance Richard Griffiths 0161 253 5169 Software Developer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.2/766 - Release Date: 4/18/2007 7:39 AM -- 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 ________________________________________________ Message sent using UebiMiau 2.7.2 -- 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 ________________________________________________ Message sent using UebiMiau 2.7.2 From R.Griffiths at bury.gov.uk Thu Apr 19 10:31:37 2007 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Thu, 19 Apr 2007 16:31:37 +0100 Subject: [AccessD] Re-query 2nd combo on subform In-Reply-To: <1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com> References: <20070419144605.592A82B8B5C@smtp.nildram.co.uk> <1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com> Message-ID: <200704191517.l3JFHOx19027@smarthost.yourcomms.net> Hi Not sure if everyone's on the same track Combo 1 Combo 2 (sub-activity) A01 B02 C03 D04 A01 has sub-activities SA01, SA02, SA03 B01 has sub-activities SB01, SB02, SB03 C01 has sub-activities SC01, SC02, SB03 Line 1 in sub (continuous form) select... Combo 1 Combo 2 now shows (list) A01 SA01, SA02, SA03 Line 2 in sub (continuous form) select... Combo 1 Combo 2 now shows (list) A01 SA01, SA02, SA03 All okay so far but....... Line 3 in sub (continuous form) select B01...and Combo 1 Combo 2 now shows (list) B01 we want SB01, SB02, SB03 to show in combo 2 (which I think does work) but on line 1 and line 2 the second combo (whilst actually retaining the correct value behind the scenes now displays a blank combo box value. There is some logic here in that combo 2 has just been re-queried using the filter main code B01 (combo 1) on the current line - the values in the combo 2 on lines 1 and 2 cannot now find/map correctly as there record source is using B01 as the filter. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elizabeth.J.Doering at wellsfargo.com Sent: 19 April 2007 16:01 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Re-query 2nd combo on subform The only way I've ever hear of is to display the actual value in a text box which is separate from the combo box. Sometimes this can include hiding most of the combo box most of the time. Liz Liz Doering elizabeth.j.doering at wellsfargo.com 612.667.2447 "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Thursday, April 19, 2007 10:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-query 2nd combo on subform I understand the issue Richard, but sad to say have never found a satisfactory solution. If I understand you right it's when the field stored by combo2 is not the one displayed, typically the bound column is the 1st column with a zero width. Is that right? So as soon as you requery the combo then most records on the subform find themselves trying to display something which is no longer in the combo's recordset as it were. I'll be watching with interest for good ideas. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Re-query 2nd combo on subform Date: 19/04/07 14:08 Yes combo 2 has a query source that references combo 1 e.g. combo 1 - Activity Code... Combo 2 sub-Activity Code When you select Activity code you want combo 2 to list all sub-activities for that main activity code -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: 19 April 2007 13:41 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Re-query 2nd combo on subform In the After Update event of Combo1 are you requerying Combo2? What's the row source for Combo2? Does it include the value of Combo1? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Thursday, April 19, 2007 3:50 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Re-query 2nd combo on subform Hi Access 97 It's been a long time since I've posted here - still take a regular look, even though I concentrate on .net these days. A combination of time without Access and lack of time to play around myself..... but I have someone asking my advice. Scenario.....timesheet screen... header record with continuous subform details. Two combo's on the subform....the second of which needs to be re-queried based on the value in combo 1. This is actioned on the after-update event of combo1. The undesired result is that on previous records in the subform combo 2 is cleared out when combo 1 is re-queried (if the list id different say to the current record). I'm sure I've been here before......but can't get the solution...so all you active MS Accessers..... any clues?? Thanks in advance Richard Griffiths 0161 253 5169 Software Developer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.2/766 - Release Date: 4/18/2007 7:39 AM -- 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 ________________________________________________ Message sent using UebiMiau 2.7.2 -- 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 Jdemarco at hudsonhealthplan.org Thu Apr 19 10:38:59 2007 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Thu, 19 Apr 2007 11:38:59 -0400 Subject: [AccessD] XQuery in VB 6 In-Reply-To: <200704191517.l3JFHOx19027@smarthost.yourcomms.net> References: <20070419144605.592A82B8B5C@smtp.nildram.co.uk><1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com> <200704191517.l3JFHOx19027@smarthost.yourcomms.net> Message-ID: <0B8880A20E2CF24280FA60901E108FB05AB375@TTNEXCHSVR.hshhp.com> X-posted AccessD, VB Hello All, I've been absent for a while but an issue has just come up that I hope someone can help with. Does anyone have any VB 6 code that uses XQuery to return a set of nodes? I find plenty of XQuery examples that show the query and the returned nodes but no VB 6 implementation. Any short code snip will do. TIA, Jim DeMarco From cfoust at infostatsystems.com Thu Apr 19 10:53:58 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 19 Apr 2007 08:53:58 -0700 Subject: [AccessD] Re-query 2nd combo on subform In-Reply-To: <200704191517.l3JFHOx19027@smarthost.yourcomms.net> References: <20070419144605.592A82B8B5C@smtp.nildram.co.uk><1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com> <200704191517.l3JFHOx19027@smarthost.yourcomms.net> Message-ID: This is normal behavior in a continuous form with a combobox. The way I've always worked around it is to put a textbox behind the combobox and make the backstyle of the combo transaparent. Both controls are bound to the same field, but when the record is not current, the value from the textbox shows through. When the combo gets the focus, the textbox is automatically hidden. Would that work for you? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Thursday, April 19, 2007 8:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-query 2nd combo on subform Hi Not sure if everyone's on the same track Combo 1 Combo 2 (sub-activity) A01 B02 C03 D04 A01 has sub-activities SA01, SA02, SA03 B01 has sub-activities SB01, SB02, SB03 C01 has sub-activities SC01, SC02, SB03 Line 1 in sub (continuous form) select... Combo 1 Combo 2 now shows (list) A01 SA01, SA02, SA03 Line 2 in sub (continuous form) select... Combo 1 Combo 2 now shows (list) A01 SA01, SA02, SA03 All okay so far but....... Line 3 in sub (continuous form) select B01...and Combo 1 Combo 2 now shows (list) B01 we want SB01, SB02, SB03 to show in combo 2 (which I think does work) but on line 1 and line 2 the second combo (whilst actually retaining the correct value behind the scenes now displays a blank combo box value. There is some logic here in that combo 2 has just been re-queried using the filter main code B01 (combo 1) on the current line - the values in the combo 2 on lines 1 and 2 cannot now find/map correctly as there record source is using B01 as the filter. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elizabeth.J.Doering at wellsfargo.com Sent: 19 April 2007 16:01 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Re-query 2nd combo on subform The only way I've ever hear of is to display the actual value in a text box which is separate from the combo box. Sometimes this can include hiding most of the combo box most of the time. Liz Liz Doering elizabeth.j.doering at wellsfargo.com 612.667.2447 "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Thursday, April 19, 2007 10:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-query 2nd combo on subform I understand the issue Richard, but sad to say have never found a satisfactory solution. If I understand you right it's when the field stored by combo2 is not the one displayed, typically the bound column is the 1st column with a zero width. Is that right? So as soon as you requery the combo then most records on the subform find themselves trying to display something which is no longer in the combo's recordset as it were. I'll be watching with interest for good ideas. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Re-query 2nd combo on subform Date: 19/04/07 14:08 Yes combo 2 has a query source that references combo 1 e.g. combo 1 - Activity Code... Combo 2 sub-Activity Code When you select Activity code you want combo 2 to list all sub-activities for that main activity code -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: 19 April 2007 13:41 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Re-query 2nd combo on subform In the After Update event of Combo1 are you requerying Combo2? What's the row source for Combo2? Does it include the value of Combo1? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Thursday, April 19, 2007 3:50 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Re-query 2nd combo on subform Hi Access 97 It's been a long time since I've posted here - still take a regular look, even though I concentrate on .net these days. A combination of time without Access and lack of time to play around myself..... but I have someone asking my advice. Scenario.....timesheet screen... header record with continuous subform details. Two combo's on the subform....the second of which needs to be re-queried based on the value in combo 1. This is actioned on the after-update event of combo1. The undesired result is that on previous records in the subform combo 2 is cleared out when combo 1 is re-queried (if the list id different say to the current record). I'm sure I've been here before......but can't get the solution...so all you active MS Accessers..... any clues?? Thanks in advance Richard Griffiths 0161 253 5169 Software Developer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.2/766 - Release Date: 4/18/2007 7:39 AM -- 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 ________________________________________________ Message sent using UebiMiau 2.7.2 -- 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 From R.Griffiths at bury.gov.uk Thu Apr 19 11:59:59 2007 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Thu, 19 Apr 2007 17:59:59 +0100 Subject: [AccessD] Re-query 2nd combo on subform In-Reply-To: References: <20070419144605.592A82B8B5C@smtp.nildram.co.uk><1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com><200704191517.l3JFHOx19027@smarthost.yourcomms.net> Message-ID: <200704191645.l3JGjlx28877@smarthost.yourcomms.net> I'll give it a try, thanks to all -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: 19 April 2007 16:54 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-query 2nd combo on subform This is normal behavior in a continuous form with a combobox. The way I've always worked around it is to put a textbox behind the combobox and make the backstyle of the combo transaparent. Both controls are bound to the same field, but when the record is not current, the value from the textbox shows through. When the combo gets the focus, the textbox is automatically hidden. Would that work for you? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Thursday, April 19, 2007 8:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-query 2nd combo on subform Hi Not sure if everyone's on the same track Combo 1 Combo 2 (sub-activity) A01 B02 C03 D04 A01 has sub-activities SA01, SA02, SA03 B01 has sub-activities SB01, SB02, SB03 C01 has sub-activities SC01, SC02, SB03 Line 1 in sub (continuous form) select... Combo 1 Combo 2 now shows (list) A01 SA01, SA02, SA03 Line 2 in sub (continuous form) select... Combo 1 Combo 2 now shows (list) A01 SA01, SA02, SA03 All okay so far but....... Line 3 in sub (continuous form) select B01...and Combo 1 Combo 2 now shows (list) B01 we want SB01, SB02, SB03 to show in combo 2 (which I think does work) but on line 1 and line 2 the second combo (whilst actually retaining the correct value behind the scenes now displays a blank combo box value. There is some logic here in that combo 2 has just been re-queried using the filter main code B01 (combo 1) on the current line - the values in the combo 2 on lines 1 and 2 cannot now find/map correctly as there record source is using B01 as the filter. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elizabeth.J.Doering at wellsfargo.com Sent: 19 April 2007 16:01 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Re-query 2nd combo on subform The only way I've ever hear of is to display the actual value in a text box which is separate from the combo box. Sometimes this can include hiding most of the combo box most of the time. Liz Liz Doering elizabeth.j.doering at wellsfargo.com 612.667.2447 "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Thursday, April 19, 2007 10:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-query 2nd combo on subform I understand the issue Richard, but sad to say have never found a satisfactory solution. If I understand you right it's when the field stored by combo2 is not the one displayed, typically the bound column is the 1st column with a zero width. Is that right? So as soon as you requery the combo then most records on the subform find themselves trying to display something which is no longer in the combo's recordset as it were. I'll be watching with interest for good ideas. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Re-query 2nd combo on subform Date: 19/04/07 14:08 Yes combo 2 has a query source that references combo 1 e.g. combo 1 - Activity Code... Combo 2 sub-Activity Code When you select Activity code you want combo 2 to list all sub-activities for that main activity code -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: 19 April 2007 13:41 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Re-query 2nd combo on subform In the After Update event of Combo1 are you requerying Combo2? What's the row source for Combo2? Does it include the value of Combo1? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Thursday, April 19, 2007 3:50 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Re-query 2nd combo on subform Hi Access 97 It's been a long time since I've posted here - still take a regular look, even though I concentrate on .net these days. A combination of time without Access and lack of time to play around myself..... but I have someone asking my advice. Scenario.....timesheet screen... header record with continuous subform details. Two combo's on the subform....the second of which needs to be re-queried based on the value in combo 1. This is actioned on the after-update event of combo1. The undesired result is that on previous records in the subform combo 2 is cleared out when combo 1 is re-queried (if the list id different say to the current record). I'm sure I've been here before......but can't get the solution...so all you active MS Accessers..... any clues?? Thanks in advance Richard Griffiths 0161 253 5169 Software Developer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.2/766 - Release Date: 4/18/2007 7:39 AM -- 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 ________________________________________________ Message sent using UebiMiau 2.7.2 -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Apr 19 11:59:21 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 19 Apr 2007 09:59:21 -0700 Subject: [AccessD] XQuery in VB 6 In-Reply-To: <0B8880A20E2CF24280FA60901E108FB05AB375@TTNEXCHSVR.hshhp.com> References: <20070419144605.592A82B8B5C@smtp.nildram.co.uk> <1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com> <200704191517.l3JFHOx19027@smarthost.yourcomms.net> <0B8880A20E2CF24280FA60901E108FB05AB375@TTNEXCHSVR.hshhp.com> Message-ID: <46279FE9.6060806@shaw.ca> I have only used XQuery with SQL 2005 & VB.Net I have XPath examples in VBA Are you using XQuery or XPath? XPath is imbedded in both XSLT and XQuery. In those languages it serves the role of node-set identification (selection) XQuery example Dim sql_getbank As String = "SELECT Demographics.query('data(//BankName)') " _ & "FROM Store WHERE CustomerID = @CustomerID" XPath example Set oAdviserDetailsNode = oDOMDocument.documentElement 'use appropriate XPath expression to select nodes Set oNodeList = oAdviserDetailsNode.selectNodes("//BusinessDetails/*") Have a look at SQL Server 2005 XQuery and XML-DML - Part 2 By Alex Homer http://www.15seconds.com/issue/050811.htm Jim DeMarco wrote: >X-posted AccessD, VB > >Hello All, > >I've been absent for a while but an issue has just come up that I hope >someone can help with. > >Does anyone have any VB 6 code that uses XQuery to return a set of >nodes? I find plenty of XQuery examples that show the query and the >returned nodes but no VB 6 implementation. > >Any short code snip will do. > >TIA, > >Jim DeMarco > > > -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Thu Apr 19 12:10:41 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 19 Apr 2007 19:10:41 +0200 Subject: [AccessD] OLE DB provider, AddNew doesn't add record to MySQL table Message-ID: Hi all In A2003, if I try to add a record to a MySQL table via the OLE DB provider, nothing happens. No errors, it runs fine, but no record added. Any ideas why? Dim cnn As ADODB.Connection Dim rst As ADODB.Recordset Dim lngRow As Long Set cnn = New ADODB.Connection Set rst = New ADODB.Recordset cnn.ConnectionString = "Provider=MySQL Provider;Data Source=10.20.30.40;User ID=root;Password=password;Initial Catalog=TestDb;Mode=Read|Write" cnn.Open cnn.CursorLocation = adUseClient With rst .Open "Select * From tblSample", cnn, adOpenKeyset, adLockOptimistic For lngRow = 1 To lngRows .AddNew .Fields(1).Value = "Some text" .Update Next .Close End With Set rst = Nothing Set cnn = Nothing End Function If I link the table (via ODBC) and run an append query, records are appended as expected. /gustav From cfoust at infostatsystems.com Thu Apr 19 12:29:07 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 19 Apr 2007 10:29:07 -0700 Subject: [AccessD] OLE DB provider, AddNew doesn't add record to MySQL table In-Reply-To: References: Message-ID: Are you sure it shouldn't be adUseServer? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, April 19, 2007 10:11 AM To: accessd at databaseadvisors.com Subject: [AccessD] OLE DB provider, AddNew doesn't add record to MySQL table Hi all In A2003, if I try to add a record to a MySQL table via the OLE DB provider, nothing happens. No errors, it runs fine, but no record added. Any ideas why? Dim cnn As ADODB.Connection Dim rst As ADODB.Recordset Dim lngRow As Long Set cnn = New ADODB.Connection Set rst = New ADODB.Recordset cnn.ConnectionString = "Provider=MySQL Provider;Data Source=10.20.30.40;User ID=root;Password=password;Initial Catalog=TestDb;Mode=Read|Write" cnn.Open cnn.CursorLocation = adUseClient With rst .Open "Select * From tblSample", cnn, adOpenKeyset, adLockOptimistic For lngRow = 1 To lngRows .AddNew .Fields(1).Value = "Some text" .Update Next .Close End With Set rst = Nothing Set cnn = Nothing End Function If I link the table (via ODBC) and run an append query, records are appended as expected. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Apr 19 12:47:30 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 19 Apr 2007 10:47:30 -0700 Subject: [AccessD] OLE DB provider, AddNew doesn't add record to MySQL table In-Reply-To: References: Message-ID: <4627AB32.70004@shaw.ca> Could be cursor type or location. Try running an ODBC trace log works for other DB's too. http://dev.mysql.com/doc/refman/5.0/en/myodbc-configuration-trace.html or look through here http://dev.mysql.com/doc/refman/5.0/en/myodbc-connector.html Gustav Brock wrote: >Hi all > >In A2003, if I try to add a record to a MySQL table via the OLE DB provider, nothing happens. No errors, it runs fine, but no record added. >Any ideas why? > > Dim cnn As ADODB.Connection > Dim rst As ADODB.Recordset > > Dim lngRow As Long > > Set cnn = New ADODB.Connection > Set rst = New ADODB.Recordset > > cnn.ConnectionString = "Provider=MySQL Provider;Data Source=10.20.30.40;User ID=root;Password=password;Initial Catalog=TestDb;Mode=Read|Write" > cnn.Open > cnn.CursorLocation = adUseClient > > With rst > .Open "Select * From tblSample", cnn, adOpenKeyset, adLockOptimistic > For lngRow = 1 To lngRows > .AddNew > .Fields(1).Value = "Some text" > .Update > Next > .Close > End With > > Set rst = Nothing > Set cnn = Nothing > >End Function > >If I link the table (via ODBC) and run an append query, records are appended as expected. > >/gustav > > > > -- Marty Connelly Victoria, B.C. Canada From Jdemarco at hudsonhealthplan.org Thu Apr 19 13:18:24 2007 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Thu, 19 Apr 2007 14:18:24 -0400 Subject: [AccessD] XQuery in VB 6 In-Reply-To: <46279FE9.6060806@shaw.ca> References: <20070419144605.592A82B8B5C@smtp.nildram.co.uk><1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com><200704191517.l3JFHOx19027@smarthost.yourcomms.net><0B8880A20E2CF24280FA60901E108FB05AB375@TTNEXCHSVR.hshhp.com> <46279FE9.6060806@shaw.ca> Message-ID: <0B8880A20E2CF24280FA60901E108FB05AB399@TTNEXCHSVR.hshhp.com> Thanks Marty. I'll pass this on to my team. We're using XQuery but we're not strongly tied to it. I had mentioned XPath but I thought that was used to access one piece of data (or one related set of nodes out of a structure). We need to return select nodes based on criteria. Is this an accurate description of differences betweent the two do you think? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Thursday, April 19, 2007 12:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] XQuery in VB 6 I have only used XQuery with SQL 2005 & VB.Net I have XPath examples in VBA Are you using XQuery or XPath? XPath is imbedded in both XSLT and XQuery. In those languages it serves the role of node-set identification (selection) XQuery example Dim sql_getbank As String = "SELECT Demographics.query('data(//BankName)') " _ & "FROM Store WHERE CustomerID = @CustomerID" XPath example Set oAdviserDetailsNode = oDOMDocument.documentElement 'use appropriate XPath expression to select nodes Set oNodeList = oAdviserDetailsNode.selectNodes("//BusinessDetails/*") Have a look at SQL Server 2005 XQuery and XML-DML - Part 2 By Alex Homer http://www.15seconds.com/issue/050811.htm Jim DeMarco wrote: >X-posted AccessD, VB > >Hello All, > >I've been absent for a while but an issue has just come up that I hope >someone can help with. > >Does anyone have any VB 6 code that uses XQuery to return a set of >nodes? I find plenty of XQuery examples that show the query and the >returned nodes but no VB 6 implementation. > >Any short code snip will do. > >TIA, > >Jim DeMarco > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Apr 19 14:35:31 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 19 Apr 2007 12:35:31 -0700 Subject: [AccessD] OLE DB provider, AddNew doesn't add record to MySQL table In-Reply-To: Message-ID: <0JGR00EXCFJO4TU1@l-daemon> Hi Gustav: I did not know there were OLE DB drivers for MySQL that would run through Access... only ODBC drivers. There are a number of .Net examples but I do not believe they are cross-compatible. This may not be the case as I was working with such a configuration but it was about 4 or 5 years ago and things should have progressed since then. I have seen a configuration example... not tried. It shows "Provider=MySQL Provider" code looking like "Provider=MySQLProv". Below is a list of links to the latest software pieces: 1. MySQL - latest version from http://www.mysql.com/downloads 2. MySQLODBC (reqd for Access to MySQL) - http://www.mysql.com/downloads 3. MyOLEDB - http://www.mysql.com/downloads (should be MySQLProv.2.5) 4. WinMySQLAdmin - http://www.mysql.com/downloads 5. Access To MySQL - http://www.mysql.com/downloads/win32/myaccess2000_1_4.zip HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, April 19, 2007 10:11 AM To: accessd at databaseadvisors.com Subject: [AccessD] OLE DB provider, AddNew doesn't add record to MySQL table Hi all In A2003, if I try to add a record to a MySQL table via the OLE DB provider, nothing happens. No errors, it runs fine, but no record added. Any ideas why? Dim cnn As ADODB.Connection Dim rst As ADODB.Recordset Dim lngRow As Long Set cnn = New ADODB.Connection Set rst = New ADODB.Recordset cnn.ConnectionString = "Provider=MySQL Provider;Data Source=10.20.30.40;User ID=root;Password=password;Initial Catalog=TestDb;Mode=Read|Write" cnn.Open cnn.CursorLocation = adUseClient With rst .Open "Select * From tblSample", cnn, adOpenKeyset, adLockOptimistic For lngRow = 1 To lngRows .AddNew .Fields(1).Value = "Some text" .Update Next .Close End With Set rst = Nothing Set cnn = Nothing End Function If I link the table (via ODBC) and run an append query, records are appended as expected. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tuxedoman888 at gmail.com Thu Apr 19 17:50:52 2007 From: tuxedoman888 at gmail.com (Billy Pang) Date: Thu, 19 Apr 2007 15:50:52 -0700 Subject: [AccessD] how to change form default view via VBA In-Reply-To: References: Message-ID: <7c8826480704191550g2ee34130n25cd62ab02ef85ba@mail.gmail.com> thanks Gustav. I'll give this a shot. On 4/18/07, Gustav Brock wrote: > > Hi Billy > > I think I would move the form into a subform, then you can have your > button to control the view on the main form. > > /gustav > > >>> tuxedoman888 at gmail.com 17-04-2007 23:09 >>> > Hello: > > Is it possible to change the default view of a form in MS Access using > VBA? > I would like to have the user toggle between the datasheet view and the > form view using a button > > thanks in advance > > Billy > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Billy Pang http://dbnotes.blogspot.com/ "Once the game is over, the King and the pawn go back in the same box." - Italian proverb From tuxedoman888 at gmail.com Thu Apr 19 17:51:41 2007 From: tuxedoman888 at gmail.com (Billy Pang) Date: Thu, 19 Apr 2007 15:51:41 -0700 Subject: [AccessD] how to change form default view via VBA In-Reply-To: References: <7c8826480704171409k15c32868k416604591952359a@mail.gmail.com> Message-ID: <7c8826480704191551j4b7c4673ic61e5477b9738758@mail.gmail.com> thanks A.D.. I'll give this a shot. On 4/17/07, A.D.TEJPAL wrote: > > Billy, > > Sample public subroutine named P_ToggleView(), in form's module, as > given below, should enable you to toggle the view between datasheet & normal > form as desired. > > You can call this routine from double click event of various controls. > Whenever the user dbl-clicks any of the controls (in form view) or any of > the columns (in datasheet view), the existing view will change-over to the > other one. > > If you wish to toggle the view of target form (named F_Test) by > clicking a button on another form (named F_Test_02), the routine in module > of form F_Test can be called via click event of command button on form > F_Test_02. While doing so, care is to be taken to first select form F_Test > as shown in the sample code below, for module of form F_Test_02. > > Note - When toggling views, it is often desirable to simultaneously > take care of column widths (in datasheet view) and settings for scroll bars > & dividing lines, as shown in the sample code below. > > Best wishes, > A.D.Tejpal > --------------- > > Code module of form F_Test > (ID, SDate, Product & Qty are > names of controls on the form) > ================================= > Public Sub P_ToggleView() > ' Toggles between Form & Datasheet views > > ' Check current view and change accordingly > ' Value of 2 stands for Datasheet view > If Me.CurrentView = 2 Then > ' Change to Form view > DoCmd.RunCommand acCmdFormView > > ' Remove scroll bars & dividing lines > Me.ScrollBars = 0 ' Neither > Me.DividingLines = False > Else > ' Change to Datasheet view > DoCmd.RunCommand acCmdDatasheetView > > ' Adjust column widths in datasheet view > ID.ColumnWidth = 1500 ' (A) > SDate.ColumnWidth = 2000 ' (B) > Product.ColumnWidth = 3000 ' (C) > Qty.ColumnWidth = 1550 ' (D) > > ' Restore scroll bars & dividing lines > Me.ScrollBars = 3 ' Both > Me.DividingLines = True > End If > End Sub > ================================= > > Code module of form F_Test_02 > ================================= > Private Sub CmdToggleView_Click() > DoCmd.SelectObject acForm, "F_Test", False > Forms("F_Test").P_ToggleView > End Sub > ================================= > > ----- Original Message ----- > From: Billy Pang > To: Access Developers discussion and problem solving > Sent: Wednesday, April 18, 2007 02:39 > Subject: [AccessD] how to change form default view via VBA > > > Hello: > > Is it possible to change the default view of a form in MS Access using > VBA? > > I would like to have the user toggle between the datasheet view and the > form view using a button > > thanks in advance > > Billy > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Billy Pang http://dbnotes.blogspot.com/ "Once the game is over, the King and the pawn go back in the same box." - Italian proverb From tuxedoman888 at gmail.com Thu Apr 19 17:59:41 2007 From: tuxedoman888 at gmail.com (Billy Pang) Date: Thu, 19 Apr 2007 15:59:41 -0700 Subject: [AccessD] My nemesis - ODBC Connections In-Reply-To: <013801c78206$74dc0760$6501a8c0@LaptopXP> References: <017701c781fa$cc78bba0$6501a8c0@jefferson> <013801c78206$74dc0760$6501a8c0@LaptopXP> Message-ID: <7c8826480704191559t9352ff1s9d61d15bdb42cfd1@mail.gmail.com> how often does the odbc error message come up? what does the error message say? because login box pops up, if possible, i'd use profiler or server side traces to monitor the logins and logouts. if there is invalid login attempts made by the application, maybe the connection info is being drop upon reestablishing the db connection. On 4/18/07, John Skolits wrote: > > I've been having ODBC issues with SqlServer for, what seems to be, > forever. > On different servers, different PCs, different OS. This week has been > particularly bad. It could have something to do with some updates my > customer is putting on his server, but even so, it's an issue that had > bugged me for years. Maybe someone can shed some light on this. > > Access 2K and SQLServer 2000: > > What seems to happen is when I develop an app on my PC and relink to > SQLServer using Accces, my app works fine. When I give it to others, > sometimes the app works and sometime it gives me an ODBC error. Usually > after the error, it comes up with the SQL Server login box and the after > entering login info. It's fine. If they restart, same issue. But it's very > inconsistent. I can then go back and relink again on my PC and give it to > them again. Sometimes that actually fixes it, yet I didn't do anything > different than I did before. > > I initially link using a DSN Filename, but after linking my guess is the > DSN > file is no longer used since I can usually install the app on a new PC > without putting the DSN on their PC. When I look at the linked table's > properties it shows the connection string without the DSN name. Which > makes > sense since it's not using the DSN for a connection, but the imbedded > string > instead. > > Does all this make sense. Can someone explain what's going on? Why I'm > having all these problems? Is there a fix?? Help!!!! > > John Skolits > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Billy Pang http://dbnotes.blogspot.com/ "Once the game is over, the King and the pawn go back in the same box." - Italian proverb From martyconnelly at shaw.ca Thu Apr 19 19:55:50 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 19 Apr 2007 17:55:50 -0700 Subject: [AccessD] XQuery in VB 6 In-Reply-To: <0B8880A20E2CF24280FA60901E108FB05AB399@TTNEXCHSVR.hshhp.com> References: <20070419144605.592A82B8B5C@smtp.nildram.co.uk> <1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com> <200704191517.l3JFHOx19027@smarthost.yourcomms.net> <0B8880A20E2CF24280FA60901E108FB05AB375@TTNEXCHSVR.hshhp.com> <46279FE9.6060806@shaw.ca> <0B8880A20E2CF24280FA60901E108FB05AB399@TTNEXCHSVR.hshhp.com> Message-ID: <46280F96.2040800@shaw.ca> As long as you are clear that XQuery now runs in SQL 2005 only. Using XQuery to manage XML with SQL Server 2005, you can create a table or a stored XML document in an xml datatype Maybe you can run from a Stored Procedure not sure. Microsoft originally included XQuery in the .NET framework for use with client-side XML processing. They have since removed it from the .NET framework and kept XQuery native only to the SQL Server environment. The reasons for this vary from being more secure to better performance by having it at the SQL Server level. The .NET framework does still include XML client-side parsing capability through the use of the Systems.XML namespace, however. this namespace includes Xpath 2.0, a language for locating and extracting parts of an XML document. XQuery can also use Xpath expressions. Xpath 1.0, 2.0 is also available with XML 4.0 and XML 6.0 standalone parsers I'll post a couple of XPath VBA examples. Jim DeMarco wrote: >Thanks Marty. I'll pass this on to my team. > >We're using XQuery but we're not strongly tied to it. I had mentioned >XPath but I thought that was used to access one piece of data (or one >related set of nodes out of a structure). We need to return select >nodes based on criteria. Is this an accurate description of differences >betweent the two do you think? > > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Thursday, April 19, 2007 12:59 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] XQuery in VB 6 > >I have only used XQuery with SQL 2005 & VB.Net I have XPath examples in >VBA > >Are you using XQuery or XPath? > > XPath is imbedded in both XSLT and XQuery. In those languages it serves >the role of node-set identification (selection) > >XQuery example > >Dim sql_getbank As String = "SELECT >Demographics.query('data(//BankName)') " _ > > & "FROM Store WHERE CustomerID = @CustomerID" > > >XPath example > > Set oAdviserDetailsNode = oDOMDocument.documentElement > 'use appropriate XPath expression to select nodes > Set oNodeList = >oAdviserDetailsNode.selectNodes("//BusinessDetails/*") > >Have a look at >SQL Server 2005 XQuery and XML-DML - Part 2 By Alex Homer > >http://www.15seconds.com/issue/050811.htm > > >Jim DeMarco wrote: > > > >>X-posted AccessD, VB >> >>Hello All, >> >>I've been absent for a while but an issue has just come up that I hope >>someone can help with. >> >>Does anyone have any VB 6 code that uses XQuery to return a set of >>nodes? I find plenty of XQuery examples that show the query and the >>returned nodes but no VB 6 implementation. >> >>Any short code snip will do. >> >>TIA, >> >>Jim DeMarco >> >> >> >> >> > >-- >Marty Connelly >Victoria, B.C. >Canada > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Thu Apr 19 19:59:22 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 19 Apr 2007 17:59:22 -0700 Subject: [AccessD] XQuery in VB 6 In-Reply-To: <0B8880A20E2CF24280FA60901E108FB05AB399@TTNEXCHSVR.hshhp.com> References: <20070419144605.592A82B8B5C@smtp.nildram.co.uk> <1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com> <200704191517.l3JFHOx19027@smarthost.yourcomms.net> <0B8880A20E2CF24280FA60901E108FB05AB375@TTNEXCHSVR.hshhp.com> <46279FE9.6060806@shaw.ca> <0B8880A20E2CF24280FA60901E108FB05AB399@TTNEXCHSVR.hshhp.com> Message-ID: <4628106A.60007@shaw.ca> 'criteria grab all books with price >20 Dim mcolRate As Collection Sub testxmlinventory() http://cairocafe.blogspot.com/2006/09/xpath-intro.html http://msdn2.microsoft.com/en-us/library/ms256086.aspx Set mcolRate = New Collection GrabXMLFile ("C:\Access files\xmlfiles\inventory.xml") Debug.Print "mcol " & mcolRate(1) End Sub Public Function GrabXMLFile(ByRef AdviserXML As String) 'On Error GoTo ErrorHandler 'needs reference set to XML 4.0 and maybe ADO 2.8 Dim oDOMDocument As MSXML2.DOMDocument40 Dim oNodeList As IXMLDOMNodeList Dim oAdviserDetailsNode As IXMLDOMNode Dim oLowestLevelNode As IXMLDOMElement Dim oNode As IXMLDOMNode Dim objXMLDOMNamedNodeMap As IXMLDOMNamedNodeMap Dim xPError As IXMLDOMParseError Dim Mydb As Database Dim myrs As ADODB.Recordset Dim sTempValue As String Dim i As Long Set oDOMDocument = New MSXML2.DOMDocument40 oDOMDocument.async = False oDOMDocument.validateOnParse = True 'you may want to parse for errors oDOMDocument.resolveExternals = False oDOMDocument.preserveWhiteSpace = True 'use if xml disk file If Not oDOMDocument.Load(AdviserXML) Then MsgBox ("XML File error") Set xPError = oDOMDocument.parseError DOMParseError xPError End If Set oAdviserDetailsNode = oDOMDocument.documentElement Debug.Print oDOMDocument.xml 'use appropriate XPath expression to select nodes ' Set oNodeList = oAdviserDetailsNode.selectNodes("Envelope/Cube/Cube/@*") ' Set oNodeList = oAdviserDetailsNode.selectNodes("/bookstore/book/price") Set oNodeList = oAdviserDetailsNode.selectNodes("/bookstore/book[price>20]/price") Debug.Print "Length = " & oNodeList.length i = 0 For Each oNode In oNodeList i = i + 1 Debug.Print "*" & oNode.Text & " " & oNode.nodeName & "*" Select Case oNode.nodeName Case "price" 'This path is used to store a variable on the collection On Error Resume Next sTempValue = oNode.nodeName & CStr(i) mcolRate.Remove sTempValue mcolRate.Add oNode.Text, sTempValue Debug.Print sTempValue & " price " & oNode.Text On Error GoTo ErrorHandler End Select Next Set oNodeList = Nothing Set oDOMDocument = Nothing Set oAdviserDetailsNode = Nothing Set objXMLDOMNamedNodeMap = Nothing Exit Function ErrorHandler: ' Call NewError.Raise(Err.Number, Err.Source, Err.Description) End Function inventory.xml Joe Bob Trenton Literary Review Honorable Mention 12 Mary Bob Selected Short Stories of Mary Bob Britney Bob 55 2.50 Toni Bob B.A. Ph.D. Pulitzer Still in Trenton Trenton Forever 6.50

It was a dark and stormy night.

But then all nights in Trenton seem dark and stormy to someone who has gone through what I have.

Trenton misery
Who's Who in Trenton Robert Bob
Jim DeMarco wrote: >Thanks Marty. I'll pass this on to my team. > >We're using XQuery but we're not strongly tied to it. I had mentioned >XPath but I thought that was used to access one piece of data (or one >related set of nodes out of a structure). We need to return select >nodes based on criteria. Is this an accurate description of differences >betweent the two do you think? > > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Thursday, April 19, 2007 12:59 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] XQuery in VB 6 > >I have only used XQuery with SQL 2005 & VB.Net I have XPath examples in >VBA > >Are you using XQuery or XPath? > > XPath is imbedded in both XSLT and XQuery. In those languages it serves >the role of node-set identification (selection) > >XQuery example > >Dim sql_getbank As String = "SELECT >Demographics.query('data(//BankName)') " _ > > & "FROM Store WHERE CustomerID = @CustomerID" > > >XPath example > > Set oAdviserDetailsNode = oDOMDocument.documentElement > 'use appropriate XPath expression to select nodes > Set oNodeList = >oAdviserDetailsNode.selectNodes("//BusinessDetails/*") > >Have a look at >SQL Server 2005 XQuery and XML-DML - Part 2 By Alex Homer > >http://www.15seconds.com/issue/050811.htm > > >Jim DeMarco wrote: > > > >>X-posted AccessD, VB >> >>Hello All, >> >>I've been absent for a while but an issue has just come up that I hope >>someone can help with. >> >>Does anyone have any VB 6 code that uses XQuery to return a set of >>nodes? I find plenty of XQuery examples that show the query and the >>returned nodes but no VB 6 implementation. >> >>Any short code snip will do. >> >>TIA, >> >>Jim DeMarco >> >> >> >> >> -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Thu Apr 19 20:02:34 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 19 Apr 2007 18:02:34 -0700 Subject: [AccessD] XQuery in VB 6 In-Reply-To: <0B8880A20E2CF24280FA60901E108FB05AB399@TTNEXCHSVR.hshhp.com> References: <20070419144605.592A82B8B5C@smtp.nildram.co.uk> <1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com> <200704191517.l3JFHOx19027@smarthost.yourcomms.net> <0B8880A20E2CF24280FA60901E108FB05AB375@TTNEXCHSVR.hshhp.com> <46279FE9.6060806@shaw.ca> <0B8880A20E2CF24280FA60901E108FB05AB399@TTNEXCHSVR.hshhp.com> Message-ID: <4628112A.6080702@shaw.ca> Option Compare Database Option Explicit Dim mcolRate As Collection Sub testxml() Set mcolRate = New Collection 'find daily US dollar fixed rate vs Euro from Euro Central Bank ' via XPath GrabXMLFile ("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml") Debug.Print mcolRate("USD") MsgBox "US Euro Rate ECB " & mcolRate("USD") End Sub Public Function GrabXMLFile(ByRef AdviserXML As String) 'http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html 'Base currency is Euro so will have to do a conversion for USD 'Note the link for other pages with sources for XML etc. 'http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml 'On Error GoTo ErrorHandler 'needs reference set to XML 4.0 and maybe ADO 2.8 Dim oDOMDocument As MSXML2.DOMDocument40 Dim oNodeList As IXMLDOMNodeList Dim oAdviserDetailsNode As IXMLDOMNode Dim oLowestLevelNode As IXMLDOMElement Dim oNode As IXMLDOMNode Dim objXMLDOMNamedNodeMap As IXMLDOMNamedNodeMap Dim xPError As IXMLDOMParseError Dim Mydb As Database Dim myrs As ADODB.Recordset Dim sTempValue As String Set oDOMDocument = New MSXML2.DOMDocument40 oDOMDocument.async = False oDOMDocument.validateOnParse = True 'you may want to parse for errors oDOMDocument.resolveExternals = False oDOMDocument.preserveWhiteSpace = True 'use if xml disk file If Not oDOMDocument.Load(AdviserXML) Then MsgBox ("XML File error") Set xPError = oDOMDocument.parseError DOMParseError xPError End If Set oAdviserDetailsNode = oDOMDocument.documentElement Debug.Print oDOMDocument.xml 'use appropriate XPath expression to select nodes ' Set oNodeList = oAdviserDetailsNode.selectNodes("Envelope/Cube/Cube/@*") Set oNodeList = oAdviserDetailsNode.selectNodes("//@*") Debug.Print oNodeList.length For Each oNode In oNodeList ' Debug.Print "*" & oNode.Text; oNode.nodeName & "*" Select Case oNode.nodeName Case "currency" sTempValue = oNode.Text Case "rate" 'This path is used to store a variable on the collection On Error Resume Next mcolRate.Remove sTempValue mcolRate.Add oNode.Text, sTempValue Debug.Print sTempValue & " rate " & oNode.Text On Error GoTo ErrorHandler End Select Next Set oNodeList = Nothing Set oDOMDocument = Nothing Set oAdviserDetailsNode = Nothing Set objXMLDOMNamedNodeMap = Nothing Exit Function ErrorHandler: ' Call NewError.Raise(Err.Number, Err.Source, Err.Description) End Function Sub DOMParseError(xPE As IXMLDOMParseError) ' The document failed to load. Dim strErrText As String ' Obtain the ParseError object With xPE strErrText = "Your XML Document failed to load" & _ "due the following error." & vbCrLf & _ "Error #: " & .errorCode & ": " & xPE.reason & _ "Line #: " & .Line & vbCrLf & _ "Line Position: " & .linepos & vbCrLf & _ "Position In File: " & .filepos & vbCrLf & _ "Source Text: " & .srcText & vbCrLf & _ "Document URL: " & .url End With Debug.Print strErrText Dim s As String Dim r As String Dim i As Long s = "" For i = 1 To xPE.linepos - 1 s = s & " " Next r = "XML Error loading " & xPE.url & " * " & xPE.reason Debug.Print r 'show character postion of error; tired of counting chars in xml file If (xPE.Line > 0) Then r = "at line " & xPE.Line & ", character " & xPE.linepos & vbCrLf & _ xPE.srcText & vbCrLf & s & "^" End If Debug.Print r MsgBox strErrText, vbExclamation End Sub Jim DeMarco wrote: >Thanks Marty. I'll pass this on to my team. > >We're using XQuery but we're not strongly tied to it. I had mentioned >XPath but I thought that was used to access one piece of data (or one >related set of nodes out of a structure). We need to return select >nodes based on criteria. Is this an accurate description of differences >betweent the two do you think? > > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Thursday, April 19, 2007 12:59 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] XQuery in VB 6 > >I have only used XQuery with SQL 2005 & VB.Net I have XPath examples in >VBA > >Are you using XQuery or XPath? > > XPath is imbedded in both XSLT and XQuery. In those languages it serves >the role of node-set identification (selection) > >XQuery example > >Dim sql_getbank As String = "SELECT >Demographics.query('data(//BankName)') " _ > > & "FROM Store WHERE CustomerID = @CustomerID" > > >XPath example > > Set oAdviserDetailsNode = oDOMDocument.documentElement > 'use appropriate XPath expression to select nodes > Set oNodeList = >oAdviserDetailsNode.selectNodes("//BusinessDetails/*") > >Have a look at >SQL Server 2005 XQuery and XML-DML - Part 2 By Alex Homer > >http://www.15seconds.com/issue/050811.htm > > >Jim DeMarco wrote: > > > >>X-posted AccessD, VB >> >>Hello All, >> >>I've been absent for a while but an issue has just come up that I hope >>someone can help with. >> >>Does anyone have any VB 6 code that uses XQuery to return a set of >>nodes? I find plenty of XQuery examples that show the query and the >>returned nodes but no VB 6 implementation. >> >>Any short code snip will do. >> >>TIA, >> >>Jim DeMarco >> >> -- Marty Connelly Victoria, B.C. Canada From viner at EUnet.yu Fri Apr 20 01:42:21 2007 From: viner at EUnet.yu (Ervin Brindza) Date: Fri, 20 Apr 2007 08:42:21 +0200 Subject: [AccessD] XQuery in VB 6 References: <20070419144605.592A82B8B5C@smtp.nildram.co.uk><1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com><200704191517.l3JFHOx19027@smarthost.yourcomms.net><0B8880A20E2CF24280FA60901E108FB05AB375@TTNEXCHSVR.hshhp.com><46279FE9.6060806@shaw.ca><0B8880A20E2CF24280FA60901E108FB05AB399@TTNEXCHSVR.hshhp.com> <4628112A.6080702@shaw.ca> Message-ID: <017901c78317$1fa6f3b0$0100a8c0@RazvojErvin> Marty, when will be your MVP announcement? Regards, Ervin ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Friday, April 20, 2007 3:02 AM Subject: Re: [AccessD] XQuery in VB 6 > Option Compare Database > Option Explicit > > Dim mcolRate As Collection > Sub testxml() > Set mcolRate = New Collection > 'find daily US dollar fixed rate vs Euro from Euro Central Bank > ' via XPath > > GrabXMLFile ("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml") > > Debug.Print mcolRate("USD") > MsgBox "US Euro Rate ECB " & mcolRate("USD") > End Sub > Public Function GrabXMLFile(ByRef AdviserXML As String) > 'http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html > > 'Base currency is Euro so will have to do a conversion for USD > 'Note the link for other pages with sources for XML etc. > > 'http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml > 'On Error GoTo ErrorHandler > 'needs reference set to XML 4.0 and maybe ADO 2.8 > Dim oDOMDocument As MSXML2.DOMDocument40 > Dim oNodeList As IXMLDOMNodeList > Dim oAdviserDetailsNode As IXMLDOMNode > Dim oLowestLevelNode As IXMLDOMElement > Dim oNode As IXMLDOMNode > Dim objXMLDOMNamedNodeMap As IXMLDOMNamedNodeMap > Dim xPError As IXMLDOMParseError > Dim Mydb As Database > Dim myrs As ADODB.Recordset > Dim sTempValue As String > > Set oDOMDocument = New MSXML2.DOMDocument40 > > oDOMDocument.async = False > oDOMDocument.validateOnParse = True 'you may want to parse for errors > oDOMDocument.resolveExternals = False > oDOMDocument.preserveWhiteSpace = True > > 'use if xml disk file > If Not oDOMDocument.Load(AdviserXML) Then > MsgBox ("XML File error") > Set xPError = oDOMDocument.parseError > DOMParseError xPError > > End If > Set oAdviserDetailsNode = oDOMDocument.documentElement > Debug.Print oDOMDocument.xml > > 'use appropriate XPath expression to select nodes > > ' Set oNodeList = > oAdviserDetailsNode.selectNodes("Envelope/Cube/Cube/@*") > Set oNodeList = oAdviserDetailsNode.selectNodes("//@*") > > Debug.Print oNodeList.length > > For Each oNode In oNodeList > > ' Debug.Print "*" & oNode.Text; oNode.nodeName & "*" > > Select Case oNode.nodeName > Case "currency" > sTempValue = oNode.Text > > Case "rate" > 'This path is used to store a variable on the collection > On Error Resume Next > mcolRate.Remove sTempValue > mcolRate.Add oNode.Text, sTempValue > Debug.Print sTempValue & " rate " & oNode.Text > On Error GoTo ErrorHandler > > End Select > > Next > Set oNodeList = Nothing > Set oDOMDocument = Nothing > Set oAdviserDetailsNode = Nothing > Set objXMLDOMNamedNodeMap = Nothing > Exit Function > > ErrorHandler: > > ' Call NewError.Raise(Err.Number, Err.Source, Err.Description) > > End Function > Sub DOMParseError(xPE As IXMLDOMParseError) > > ' The document failed to load. > Dim strErrText As String > ' Obtain the ParseError object > With xPE > strErrText = "Your XML Document failed to load" & _ > "due the following error." & vbCrLf & _ > "Error #: " & .errorCode & ": " & xPE.reason & _ > "Line #: " & .Line & vbCrLf & _ > "Line Position: " & .linepos & vbCrLf & _ > "Position In File: " & .filepos & vbCrLf & _ > "Source Text: " & .srcText & vbCrLf & _ > "Document URL: " & .url > End With > Debug.Print strErrText > > Dim s As String > Dim r As String > Dim i As Long > > s = "" > For i = 1 To xPE.linepos - 1 > s = s & " " > Next > r = "XML Error loading " & xPE.url & " * " & xPE.reason > Debug.Print r > 'show character postion of error; tired of counting chars in xml file > If (xPE.Line > 0) Then > r = "at line " & xPE.Line & ", character " & xPE.linepos & vbCrLf & _ > xPE.srcText & vbCrLf & s & "^" > End If > Debug.Print r > MsgBox strErrText, vbExclamation > End Sub > > > Jim DeMarco wrote: > >>Thanks Marty. I'll pass this on to my team. >> >>We're using XQuery but we're not strongly tied to it. I had mentioned >>XPath but I thought that was used to access one piece of data (or one >>related set of nodes out of a structure). We need to return select >>nodes based on criteria. Is this an accurate description of differences >>betweent the two do you think? >> >> >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >>Sent: Thursday, April 19, 2007 12:59 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] XQuery in VB 6 >> >>I have only used XQuery with SQL 2005 & VB.Net I have XPath examples in >>VBA >> >>Are you using XQuery or XPath? >> >> XPath is imbedded in both XSLT and XQuery. In those languages it serves >>the role of node-set identification (selection) >> >>XQuery example >> >>Dim sql_getbank As String = "SELECT >>Demographics.query('data(//BankName)') " _ >> >> & "FROM Store WHERE CustomerID = @CustomerID" >> >> >>XPath example >> >> Set oAdviserDetailsNode = oDOMDocument.documentElement >> 'use appropriate XPath expression to select nodes >> Set oNodeList = >>oAdviserDetailsNode.selectNodes("//BusinessDetails/*") >> >>Have a look at >>SQL Server 2005 XQuery and XML-DML - Part 2 By Alex Homer >> >>http://www.15seconds.com/issue/050811.htm >> >> >>Jim DeMarco wrote: >> >> >> >>>X-posted AccessD, VB >>> >>>Hello All, >>> >>>I've been absent for a while but an issue has just come up that I hope >>>someone can help with. >>> >>>Does anyone have any VB 6 code that uses XQuery to return a set of >>>nodes? I find plenty of XQuery examples that show the query and the >>>returned nodes but no VB 6 implementation. >>> >>>Any short code snip will do. >>> >>>TIA, >>> >>>Jim DeMarco >>> >>> > -- > Marty Connelly > Victoria, B.C. > Canada > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > Internal Virus Database is out-of-date. > Checked by AVG Free Edition. > Version: 7.5.446 / Virus Database: 268.18.24/742 - Release Date: 4/1/2007 > 8:49 PM > > From paul.hartland at fsmail.net Fri Apr 20 05:14:30 2007 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 20 Apr 2007 12:14:30 +0200 (CEST) Subject: [AccessD] Getting Top Records From A Query Message-ID: <18541384.2128831177064070874.JavaMail.www@wwinf3102> To all, Not quite sure how to put this but I have the following example result set from a query: LaptopNamesOwnerUserNameMaxOfLastUsed ADDERRAYATKINSONJOHNCLEGG15/02/2007 10:30:14 ADDERRAYATKINSONANDREWNORRIDGE02/02/2007 12:01:29 ADDERRAYATKINSONIANNEWCOMBE05/12/2006 12:50:01 ADDERRAYATKINSONJIMMYWILSON30/09/2006 12:01:47 ADDERRAYATKINSONRICHARDMASKERY30/08/2006 12:53:11 ADDERRAYATKINSONBRIANTHOMAS23/07/2006 14:33:47 ADDERRAYATKINSONBRIANTHOMAS.12/05/2006 12:57:59 ALBANIATERRYJONESJOHNCLEGG20/09/2006 12:41:40 ALBANIATERRYJONESLYLEBARRAS20/09/2006 10:43:37 ALBANIATERRYJONESKAITSANG21/08/2006 11:33:10 What I need to end up with is this: Query1LaptopNamesOwnerUserNameMaxOfLastUsed ADDERRAYATKINSONJOHNCLEGG15/02/2007 10:30:14 ALBANIATERRYJONESJOHNCLEGG20/09/2006 12:41:40 i.e the maximum date....I am sure there has been a solution to this on here before, but I can seem to find it.. Thanks in advance for any help on this.. Paul Hartland Paul Hartland paul.hartland at fsmail.net 07730 523179 From paul.hartland at fsmail.net Fri Apr 20 05:25:36 2007 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 20 Apr 2007 12:25:36 +0200 (CEST) Subject: [AccessD] Getting Top Values Again - Sorry about last email Message-ID: <14636301.8571177064736316.JavaMail.www@wwinf3002> To all, Not quite sure how to put this but I have the following example result set from a query: LaptopNamesOwnerUserNameMaxOfLastUsed ADDER RAYATKINSON JOHNCLEGG 15/02/2007 10:30:14 ADDER RAYATKINSON ANDREWNORRIDGE 02/02/2007 12:01:29 ADDER RAYATKINSON IANNEWCOMBE 05/12/2006 12:50:01 ADDER RAYATKINSON JIMMYWILSON 30/09/2006 12:01:47 ADDER RAYATKINSON RICHARDMASKERY 30/08/2006 12:53:11 ADDER RAYATKINSON BRIANTHOMAS 23/07/2006 14:33:47 ADDER RAYATKINSON BRIANTHOMAS 12/05/2006 12:57:59 ALBANIA TERRYJONES JOHNCLEGG 20/09/2006 12:41:40 ALBANIA TERRYJONES LYLEBARRAS 20/09/2006 10:43:37 ALBANIATERRYJONESKAITSANG21/08/2006 11:33:10 What I need to end up with is this: ADDER RAYATKINSON JOHNCLEGG 15/02/2007 10:30:14 ALBANIA TERRYJONES JOHNCLEGG 20/09/2006 12:41:40 i.e the maximum date....I am sure there has been a solution to this on here before, but I can seem to find it.. Thanks in advance for any help on this.. Paul Hartland paul.hartland at fsmail.net 07730 523179 From mwp.reid at qub.ac.uk Fri Apr 20 05:22:32 2007 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 20 Apr 2007 11:22:32 +0100 Subject: [AccessD] OT InfoPath References: <18541384.2128831177064070874.JavaMail.www@wwinf3102> Message-ID: Anyone any experience with Infopath. I have an InfoPath form connecting to SQL Server 2005. I have the form working as I want it in that it does the insert to the back end. I want to add a new section to the form that dosnt get inserted but does return data in response to a parameter entered into a text box on the form. I do however want one text box value from this group to be inserted with the rest of the form. The idea is that a member of staff will enter a student number into the text box and this will populate the section with the personal details on the student. I want to add the student number inot the Insert. The second part of the form is a call logger. That bit is done. I am not (for those with experience) using a web service for this. I do intend to move the conenction to an EndPoint SQL Server 2005 web service once i understand how they work properly. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From Gustav at cactus.dk Fri Apr 20 05:44:26 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 20 Apr 2007 12:44:26 +0200 Subject: [AccessD] Getting the Top 3 Records of every n Message-ID: Hi Francisco Did you ever get a solution to this? If not, look the archive: http://databaseadvisors.com/mailman/htdig/accessd/2003-May/006636.html /gustav >>> fhtapia at gmail.com 17-04-2007 21:18 >>> I know how to do this in Sql Server, but have been thinking it over on how to do this via the QBE grid in Access... The situation is there is a list like so Bob 100 Bob 090 Bob 050 Bob 010 Bill 250 Bill 100 Bill 070 Bill 050 Jim etc... What is required, is that they want to be able to obtain the top 3 records for each customer ie, Top 3 records sorted in descending order by the qty. Thanks guys -- -Francisco http://sqlthis.blogspot.com | Tsql and More... From Gustav at cactus.dk Fri Apr 20 05:49:27 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 20 Apr 2007 12:49:27 +0200 Subject: [AccessD] Getting Top Values Again - Sorry about last email Message-ID: Hi Paul Look here for a method that you should be able to tweak: http://databaseadvisors.com/mailman/htdig/accessd/2006-May/043938.html /gustav >>> paul.hartland at fsmail.net 20-04-2007 12:25 >>> To all, Not quite sure how to put this but I have the following example result set from a query: LaptopNamesOwnerUserNameMaxOfLastUsed ADDER RAYATKINSON JOHNCLEGG 15/02/2007 10:30:14 ADDER RAYATKINSON ANDREWNORRIDGE 02/02/2007 12:01:29 ADDER RAYATKINSON IANNEWCOMBE 05/12/2006 12:50:01 ADDER RAYATKINSON JIMMYWILSON 30/09/2006 12:01:47 ADDER RAYATKINSON RICHARDMASKERY 30/08/2006 12:53:11 ADDER RAYATKINSON BRIANTHOMAS 23/07/2006 14:33:47 ADDER RAYATKINSON BRIANTHOMAS 12/05/2006 12:57:59 ALBANIA TERRYJONES JOHNCLEGG 20/09/2006 12:41:40 ALBANIA TERRYJONES LYLEBARRAS 20/09/2006 10:43:37 ALBANIATERRYJONESKAITSANG21/08/2006 11:33:10 What I need to end up with is this: ADDER RAYATKINSON JOHNCLEGG 15/02/2007 10:30:14 ALBANIA TERRYJONES JOHNCLEGG 20/09/2006 12:41:40 i.e the maximum date....I am sure there has been a solution to this on here before, but I can seem to find it.. Thanks in advance for any help on this.. Paul Hartland paul.hartland at fsmail.net 07730 523179 From Gustav at cactus.dk Fri Apr 20 07:05:35 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 20 Apr 2007 14:05:35 +0200 Subject: [AccessD] XQuery in VB 6 Message-ID: Hi Marty Thanks! Great example. Seems to work fine even with XML 3.0. /gustav >>> martyconnelly at shaw.ca 20-04-2007 03:02 >>> Option Compare Database Option Explicit Dim mcolRate As Collection Sub testxml() Set mcolRate = New Collection 'find daily US dollar fixed rate vs Euro from Euro Central Bank ' via XPath GrabXMLFile ("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml") Debug.Print mcolRate("USD") MsgBox "US Euro Rate ECB " & mcolRate("USD") End Sub Public Function GrabXMLFile(ByRef AdviserXML As String) 'http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html 'Base currency is Euro so will have to do a conversion for USD 'Note the link for other pages with sources for XML etc. 'http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml 'On Error GoTo ErrorHandler 'needs reference set to XML 4.0 and maybe ADO 2.8 Dim oDOMDocument As MSXML2.DOMDocument40 Dim oNodeList As IXMLDOMNodeList Dim oAdviserDetailsNode As IXMLDOMNode Dim oLowestLevelNode As IXMLDOMElement Dim oNode As IXMLDOMNode Dim objXMLDOMNamedNodeMap As IXMLDOMNamedNodeMap Dim xPError As IXMLDOMParseError Dim Mydb As Database Dim myrs As ADODB.Recordset Dim sTempValue As String Set oDOMDocument = New MSXML2.DOMDocument40 oDOMDocument.async = False oDOMDocument.validateOnParse = True 'you may want to parse for errors oDOMDocument.resolveExternals = False oDOMDocument.preserveWhiteSpace = True 'use if xml disk file If Not oDOMDocument.Load(AdviserXML) Then MsgBox ("XML File error") Set xPError = oDOMDocument.parseError DOMParseError xPError End If Set oAdviserDetailsNode = oDOMDocument.documentElement Debug.Print oDOMDocument.xml 'use appropriate XPath expression to select nodes ' Set oNodeList = oAdviserDetailsNode.selectNodes("Envelope/Cube/Cube/@*") Set oNodeList = oAdviserDetailsNode.selectNodes("//@*") Debug.Print oNodeList.length For Each oNode In oNodeList ' Debug.Print "*" & oNode.Text; oNode.nodeName & "*" Select Case oNode.nodeName Case "currency" sTempValue = oNode.Text Case "rate" 'This path is used to store a variable on the collection On Error Resume Next mcolRate.Remove sTempValue mcolRate.Add oNode.Text, sTempValue Debug.Print sTempValue & " rate " & oNode.Text On Error GoTo ErrorHandler End Select Next Set oNodeList = Nothing Set oDOMDocument = Nothing Set oAdviserDetailsNode = Nothing Set objXMLDOMNamedNodeMap = Nothing Exit Function ErrorHandler: ' Call NewError.Raise(Err.Number, Err.Source, Err.Description) End Function Sub DOMParseError(xPE As IXMLDOMParseError) ' The document failed to load. Dim strErrText As String ' Obtain the ParseError object With xPE strErrText = "Your XML Document failed to load" & _ "due the following error." & vbCrLf & _ "Error #: " & .errorCode & ": " & xPE.reason & _ "Line #: " & .Line & vbCrLf & _ "Line Position: " & .linepos & vbCrLf & _ "Position In File: " & .filepos & vbCrLf & _ "Source Text: " & .srcText & vbCrLf & _ "Document URL: " & .url End With Debug.Print strErrText Dim s As String Dim r As String Dim i As Long s = "" For i = 1 To xPE.linepos - 1 s = s & " " Next r = "XML Error loading " & xPE.url & " * " & xPE.reason Debug.Print r 'show character postion of error; tired of counting chars in xml file If (xPE.Line > 0) Then r = "at line " & xPE.Line & ", character " & xPE.linepos & vbCrLf & _ xPE.srcText & vbCrLf & s & "^" End If Debug.Print r MsgBox strErrText, vbExclamation End Sub From Gustav at cactus.dk Fri Apr 20 07:16:12 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 20 Apr 2007 14:16:12 +0200 Subject: [AccessD] OLE DB provider, AddNew doesn't add record to MySQL table Message-ID: Hi Charlotte No, but if I do so, error 80040e23 is raised ... about a row that is deleted or is waiting to be deleted. /gustav >>> cfoust at infostatsystems.com 19-04-2007 19:29 >>> Are you sure it shouldn't be adUseServer? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, April 19, 2007 10:11 AM To: accessd at databaseadvisors.com Subject: [AccessD] OLE DB provider, AddNew doesn't add record to MySQL table Hi all In A2003, if I try to add a record to a MySQL table via the OLE DB provider, nothing happens. No errors, it runs fine, but no record added. Any ideas why? Dim cnn As ADODB.Connection Dim rst As ADODB.Recordset Dim lngRow As Long Set cnn = New ADODB.Connection Set rst = New ADODB.Recordset cnn.ConnectionString = "Provider=MySQL Provider;Data Source=10.20.30.40;User ID=root;Password=password;Initial Catalog=TestDb;Mode=Read|Write" cnn.Open cnn.CursorLocation = adUseClient With rst .Open "Select * From tblSample", cnn, adOpenKeyset, adLockOptimistic For lngRow = 1 To lngRows .AddNew .Fields(1).Value = "Some text" .Update Next .Close End With Set rst = Nothing Set cnn = Nothing End Function If I link the table (via ODBC) and run an append query, records are appended as expected. /gustav From rockysmolin at bchacc.com Fri Apr 20 08:14:18 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 20 Apr 2007 06:14:18 -0700 Subject: [AccessD] System Won't Recognize .exe Message-ID: <003301c7834d$cde55df0$0501a8c0@HAL9005> Dear List(s): I sent a setup.exe file created by Wise to my distributor in Taiwan. On her system it does no seem to want to execute the file but gives her the dialog box asking for the program to open this type of file. It is treating the exe file like a file without an association. Has anyone ever seen this and know what to do about it? MTIA Rocky From Gustav at cactus.dk Fri Apr 20 08:22:47 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 20 Apr 2007 15:22:47 +0200 Subject: [AccessD] OLE DB provider, AddNew doesn't add record to MySQL table Message-ID: Hi Marty Tried that, but no trace at all. The OLE DB provider seems to bypass the ODBC driver. /gustav >>> martyconnelly at shaw.ca 19-04-2007 19:47 >>> Could be cursor type or location. Try running an ODBC trace log works for other DB's too. http://dev.mysql.com/doc/refman/5.0/en/myodbc-configuration-trace.html or look through here http://dev.mysql.com/doc/refman/5.0/en/myodbc-connector.html Gustav Brock wrote: >Hi all > >In A2003, if I try to add a record to a MySQL table via the OLE DB provider, nothing happens. No errors, it runs fine, but no record added. >Any ideas why? > > Dim cnn As ADODB.Connection > Dim rst As ADODB.Recordset > > Dim lngRow As Long > > Set cnn = New ADODB.Connection > Set rst = New ADODB.Recordset > > cnn.ConnectionString = "Provider=MySQL Provider;Data Source=10.20.30.40;User ID=root;Password=password;Initial Catalog=TestDb;Mode=Read|Write" > cnn.Open > cnn.CursorLocation = adUseClient > > With rst > .Open "Select * From tblSample", cnn, adOpenKeyset, adLockOptimistic > For lngRow = 1 To lngRows > .AddNew > .Fields(1).Value = "Some text" > .Update > Next > .Close > End With > > Set rst = Nothing > Set cnn = Nothing > >End Function > >If I link the table (via ODBC) and run an append query, records are appended as expected. > >/gustav > > > > -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Fri Apr 20 09:02:57 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 20 Apr 2007 16:02:57 +0200 Subject: [AccessD] OLE DB provider, AddNew doesn't add record to MySQL table Message-ID: Hi Jim Sorry, I forgot to mention that this provider is non-MySQL stuff. It is for download here: http://luggle.com/~sean I better address my question to the author ... /gustav >>> accessd at shaw.ca 19-04-2007 21:35 >>> Hi Gustav: I did not know there were OLE DB drivers for MySQL that would run through Access... only ODBC drivers. There are a number of .Net examples but I do not believe they are cross-compatible. This may not be the case as I was working with such a configuration but it was about 4 or 5 years ago and things should have progressed since then. I have seen a configuration example... not tried. It shows "Provider=MySQL Provider" code looking like "Provider=MySQLProv". Below is a list of links to the latest software pieces: 1. MySQL - latest version from http://www.mysql.com/downloads 2. MySQLODBC (reqd for Access to MySQL) - http://www.mysql.com/downloads 3. MyOLEDB - http://www.mysql.com/downloads (should be MySQLProv.2.5) 4. WinMySQLAdmin - http://www.mysql.com/downloads 5. Access To MySQL - http://www.mysql.com/downloads/win32/myaccess2000_1_4.zip HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, April 19, 2007 10:11 AM To: accessd at databaseadvisors.com Subject: [AccessD] OLE DB provider, AddNew doesn't add record to MySQL table Hi all In A2003, if I try to add a record to a MySQL table via the OLE DB provider, nothing happens. No errors, it runs fine, but no record added. Any ideas why? Dim cnn As ADODB.Connection Dim rst As ADODB.Recordset Dim lngRow As Long Set cnn = New ADODB.Connection Set rst = New ADODB.Recordset cnn.ConnectionString = "Provider=MySQL Provider;Data Source=10.20.30.40;User ID=root;Password=password;Initial Catalog=TestDb;Mode=Read|Write" cnn.Open cnn.CursorLocation = adUseClient With rst .Open "Select * From tblSample", cnn, adOpenKeyset, adLockOptimistic For lngRow = 1 To lngRows .AddNew .Fields(1).Value = "Some text" .Update Next .Close End With Set rst = Nothing Set cnn = Nothing End Function If I link the table (via ODBC) and run an append query, records are appended as expected. /gustav From jwcolby at colbyconsulting.com Fri Apr 20 09:48:44 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 20 Apr 2007 10:48:44 -0400 Subject: [AccessD] getting data out of an internet page Message-ID: <000b01c7835a$ff6bd220$657aa8c0@m6805> My internet phone bill comes with a neatly laid out list of phone calls. AFAICT it is not a table however. I am wondering if there is a way to "extract" that data into a spreadsheet or table (other than building a programmed parser). John W. Colby Colby Consulting www.ColbyConsulting.com From dwaters at usinternet.com Fri Apr 20 10:05:49 2007 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 20 Apr 2007 10:05:49 -0500 Subject: [AccessD] getting data out of an internet page In-Reply-To: <000b01c7835a$ff6bd220$657aa8c0@m6805> References: <000b01c7835a$ff6bd220$657aa8c0@m6805> Message-ID: <001801c7835d$622fb780$0200a8c0@danwaters> Hi John, To do this manually, you can right-click on the data area, then select 'Export to Excel' in the menu list. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, April 20, 2007 9:49 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] getting data out of an internet page My internet phone bill comes with a neatly laid out list of phone calls. AFAICT it is not a table however. I am wondering if there is a way to "extract" that data into a spreadsheet or table (other than building a programmed parser). John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rlavsa at tigg.com Fri Apr 20 10:10:06 2007 From: rlavsa at tigg.com (Richard Lavsa) Date: Fri, 20 Apr 2007 11:10:06 -0400 Subject: [AccessD] getting data out of an internet page In-Reply-To: <000b01c7835a$ff6bd220$657aa8c0@m6805> References: <000b01c7835a$ff6bd220$657aa8c0@m6805> Message-ID: Just to do it quick and dirty I've done the following.. I've had some luck doing this via the simple highlight what you want to copy, then Copy and then Paste directly into Excel. I've also had to depending on how it was formatted highlight, then copy and past into Word then convert the text into a table... Like I said.. Quick and dirty.. But it works most of the time.. Rich -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, April 20, 2007 10:49 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] getting data out of an internet page My internet phone bill comes with a neatly laid out list of phone calls. AFAICT it is not a table however. I am wondering if there is a way to "extract" that data into a spreadsheet or table (other than building a programmed parser). John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com CONFIDENTIALITY NOTICE: The information contained in this transmission may be confidential or privileged, and is intended solely for the entity or individual to whom it is addressed. If you are not the intended recipient, please be advised that any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you received this transmission in error, please contact the sender at TIGG Corporation immediately by replying to this email and deleting it from your computer. From ebarro at verizon.net Fri Apr 20 10:18:53 2007 From: ebarro at verizon.net (Eric Barro) Date: Fri, 20 Apr 2007 08:18:53 -0700 Subject: [AccessD] getting data out of an internet page In-Reply-To: Message-ID: <0JGS00537YJMR3A7@vms040.mailsrvcs.net> And if you do it this way you need to do a Paste Special and then specify Text. Otherwise the data is all in one cell... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Richard Lavsa Sent: Friday, April 20, 2007 8:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] getting data out of an internet page Just to do it quick and dirty I've done the following.. I've had some luck doing this via the simple highlight what you want to copy, then Copy and then Paste directly into Excel. I've also had to depending on how it was formatted highlight, then copy and past into Word then convert the text into a table... Like I said.. Quick and dirty.. But it works most of the time.. Rich -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, April 20, 2007 10:49 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] getting data out of an internet page My internet phone bill comes with a neatly laid out list of phone calls. AFAICT it is not a table however. I am wondering if there is a way to "extract" that data into a spreadsheet or table (other than building a programmed parser). John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com CONFIDENTIALITY NOTICE: The information contained in this transmission may be confidential or privileged, and is intended solely for the entity or individual to whom it is addressed. If you are not the intended recipient, please be advised that any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you received this transmission in error, please contact the sender at TIGG Corporation immediately by replying to this email and deleting it from your computer. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.5/769 - Release Date: 4/19/2007 5:56 PM From fhtapia at gmail.com Fri Apr 20 10:36:18 2007 From: fhtapia at gmail.com (Francisco Tapia) Date: Fri, 20 Apr 2007 08:36:18 -0700 Subject: [AccessD] Getting the Top 3 Records of every n In-Reply-To: References: Message-ID: Gustav, It was actually pretty simple, I received this from another colleague SELECT CustomerID, OrderDate FROM Orders WHERE OrderID In (SELECT TOP 3 OrderID FROM Orders O WHERE O.CustomerID = Orders.CustomerID ORDER BY OrderDate Desc) ORDER BY CustomerID, OrderDate DESC; which actually does what I needed. -- Francisco On 4/20/07, Gustav Brock wrote: > > Hi Francisco > > Did you ever get a solution to this? > If not, look the archive: > > http://databaseadvisors.com/mailman/htdig/accessd/2003-May/006636.html > > /gustav > > >>> fhtapia at gmail.com 17-04-2007 21:18 >>> > I know how to do this in Sql Server, but have been thinking it over on how > to do this via the QBE grid in Access... > > > The situation is there is a list like so > > Bob 100 > Bob 090 > Bob 050 > Bob 010 > Bill 250 > Bill 100 > Bill 070 > Bill 050 > Jim etc... > > > What is required, is that they want to be able to obtain the top 3 records > for each customer ie, Top 3 records sorted in descending order by the qty. > > Thanks guys > > -- > -Francisco > http://sqlthis.blogspot.com | Tsql and More... > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://sqlthis.blogspot.com | Tsql and More... From jwcolby at colbyconsulting.com Fri Apr 20 10:47:23 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 20 Apr 2007 11:47:23 -0400 Subject: [AccessD] Getting the Top 3 Records of every n In-Reply-To: References: Message-ID: <002a01c78363$30ed5690$657aa8c0@m6805> Yes, I ran into this as well and it is the select query in the IN() clause that is the key. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Friday, April 20, 2007 11:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting the Top 3 Records of every n Gustav, It was actually pretty simple, I received this from another colleague SELECT CustomerID, OrderDate FROM Orders WHERE OrderID In (SELECT TOP 3 OrderID FROM Orders O WHERE O.CustomerID = Orders.CustomerID ORDER BY OrderDate Desc) ORDER BY CustomerID, OrderDate DESC; which actually does what I needed. -- Francisco On 4/20/07, Gustav Brock wrote: > > Hi Francisco > > Did you ever get a solution to this? > If not, look the archive: > > http://databaseadvisors.com/mailman/htdig/accessd/2003-May/006636.html > > /gustav > > >>> fhtapia at gmail.com 17-04-2007 21:18 >>> > I know how to do this in Sql Server, but have been thinking it over on > how to do this via the QBE grid in Access... > > > The situation is there is a list like so > > Bob 100 > Bob 090 > Bob 050 > Bob 010 > Bill 250 > Bill 100 > Bill 070 > Bill 050 > Jim etc... > > > What is required, is that they want to be able to obtain the top 3 > records for each customer ie, Top 3 records sorted in descending order by the qty. > > Thanks guys > > -- > -Francisco > http://sqlthis.blogspot.com | Tsql and More... > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://sqlthis.blogspot.com | Tsql and More... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Apr 20 11:17:37 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 20 Apr 2007 18:17:37 +0200 Subject: [AccessD] Currency statistics (was: XQuery in VB 6) Message-ID: Hi Marty et al Oh my, did that URL to the site of the European Cental Bank point to a wealth of statistics from the "Statistical Data Warehouse": http://sdw.ecb.int/browse.do?currentNodeId=2018779 Note that everything can be exported to XML so also if you need some real sample data, this is an excellent source. Also, the speed of that site is amazing. /gustav >>> martyconnelly at shaw.ca 20-04-2007 03:02 >>> http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html From CFraase at officeimagesinc.com Fri Apr 20 11:40:24 2007 From: CFraase at officeimagesinc.com (Cindy Fraase) Date: Fri, 20 Apr 2007 12:40:24 -0400 Subject: [AccessD] Excel Automation problem In-Reply-To: <200702042226.l14MQdO04505@databaseadvisors.com> References: <200702042226.l14MQdO04505@databaseadvisors.com> Message-ID: Hi all, I'm really mystified as to what is happening. The following line of code works fine on my machine, but fails with this error on another. Both machines are running Access 2003 and all of the references match. The database is in Access 2002-3 format. It's located on the server, so I'm running exactly the same database as he is. I've created an Excel sheet via automation and am filling it with data here. The line is: objSheet2.Range("A2").CopyFromRecordset rsSalary The error message I get is: 430 Class does not support Automation or does not support expected interface. Any insights would be greatly appreciated! Thanks, Cindy Cynthia Fraase Asst. Controller Direct: 678-325-3251 Cell: 770-318-0628 Fax: 770-641-2656 www.officeimagesinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Sunday, February 04, 2007 5:27 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2003:Determining Background colour of the desktop Stuart Work of genius - well done and thanks Darren ------------------ -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Friday, 2 February 2007 9:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003:Determining Background colour of the desktop On 2 Feb 2007 at 8:47, Darren DICK wrote: > Does anyone know how to determine the background colour of the desktop? > > I have a form I want to set its background colour to match Look up "System Color Constants" in VBA Help (remember to omit the "u" ) Specifically "vbDesktop 0x80000001 Desktop color " So set the Detail Backcolor property to &H80000001 or to -2147483647 -- Stuart -- 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 mmattys at rochester.rr.com Fri Apr 20 11:47:34 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 20 Apr 2007 12:47:34 -0400 Subject: [AccessD] Excel Automation problem References: <200702042226.l14MQdO04505@databaseadvisors.com> Message-ID: <00e201c7836b$998ef250$0302a8c0@Laptop> The problem may be that Access keeps putting your references out of order. You'd need to make sure that DAO36 is ahead of ADO## Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Cindy Fraase" To: "Access Developers discussion and problem solving" Sent: Friday, April 20, 2007 12:40 PM Subject: [AccessD] Excel Automation problem > Hi all, > I'm really mystified as to what is happening. The following line of code > works fine on my machine, but fails with this error on another. Both > machines are running Access 2003 and all of the references match. The > database is in Access 2002-3 format. It's located on the server, so I'm > running exactly the same database as he is. > > I've created an Excel sheet via automation and am filling it with data > here. > > The line is: > > objSheet2.Range("A2").CopyFromRecordset rsSalary > > The error message I get is: > 430 Class does not support Automation or does not support expected > interface. > > Any insights would be greatly appreciated! > > Thanks, > Cindy > > > > Cynthia Fraase > Asst. Controller > Direct: 678-325-3251 > Cell: 770-318-0628 > Fax: 770-641-2656 > > www.officeimagesinc.com From Gustav at cactus.dk Fri Apr 20 11:54:55 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 20 Apr 2007 18:54:55 +0200 Subject: [AccessD] Excel Automation problem Message-ID: Hi Cindy It could be an MDAC versions mis-match: http://search.msdn.microsoft.com/search/Default.aspx?brand=msdn&locale=en-us&query=430+Class+does+not+support+Automation+or+does+not+support+expected /gustav >>> CFraase at officeimagesinc.com 20-04-2007 18:40 >>> Hi all, I'm really mystified as to what is happening. The following line of code works fine on my machine, but fails with this error on another. Both machines are running Access 2003 and all of the references match. The database is in Access 2002-3 format. It's located on the server, so I'm running exactly the same database as he is. I've created an Excel sheet via automation and am filling it with data here. The line is: objSheet2.Range("A2").CopyFromRecordset rsSalary The error message I get is: 430 Class does not support Automation or does not support expected interface. Any insights would be greatly appreciated! Thanks, Cindy From lmrazek at lcm-res.com Fri Apr 20 12:06:56 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Fri, 20 Apr 2007 12:06:56 -0500 Subject: [AccessD] Joining tables from two different dbs In-Reply-To: <00e201c7836b$998ef250$0302a8c0@Laptop> References: <200702042226.l14MQdO04505@databaseadvisors.com> <00e201c7836b$998ef250$0302a8c0@Laptop> Message-ID: <009601c7836e$4e170080$046fa8c0@lcmdv8000> Hi: I have the following code to create a recordset from a dbase file: Dim cn As ADODB.Connection Dim rs As ADODB.Recordset Set cn = New ADODB.Connection Set rs = New ADODB.Recordset cn.Provider = "Microsoft.Jet.OLEDB.4.0" cn.ConnectionString = "Data Source=C:\DBASE Path;Extended Properties=dBASE IV;" cn.Open Set rs = cn.Execute("SELECT Production FROM dbaseTABLE where Production=133745 group by Production", , adLockReadOnly) cn.Close Set rs = Nothing Set cn = Nothing This works fine, connects to and reads the dBase table fine. However, I'd like to do a join to detect unmatched records in the dBase table. In this case, I'd be joining a local Access table to the dBase table ... Is this possible to do? Thanks in advance. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 From markamatte at hotmail.com Fri Apr 20 12:22:53 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 20 Apr 2007 17:22:53 +0000 Subject: [AccessD] Excel Automation problem In-Reply-To: <00e201c7836b$998ef250$0302a8c0@Laptop> Message-ID: This is the error very similar to when you have DAO36 selected but DAO3.51 is not on the machine at all. I have found that downloading DAO350.dll...registering it...and everything is fixed. Learned this after chasing down the error on 1 of 2 identical(so I thought) machines. The offending machine did not have 3.51 on it...I didn't have it checked in references...so I never looked to see if it was there. After putting it on the machine/registering...the error went away. There is a reference to it on MS site...but no explanation as to why it causes these errors, sometimes. Good Luck, Mark A. Matte >From: "Michael R Mattys" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Excel Automation problem >Date: Fri, 20 Apr 2007 12:47:34 -0400 > >The problem may be that Access keeps putting your >references out of order. You'd need to make sure that >DAO36 is ahead of ADO## > >Michael R. Mattys >MapPoint & Access Dev >www.mattysconsulting.com > >----- Original Message ----- >From: "Cindy Fraase" >To: "Access Developers discussion and problem solving" > >Sent: Friday, April 20, 2007 12:40 PM >Subject: [AccessD] Excel Automation problem > > > > Hi all, > > I'm really mystified as to what is happening. The following line of code > > works fine on my machine, but fails with this error on another. Both > > machines are running Access 2003 and all of the references match. The > > database is in Access 2002-3 format. It's located on the server, so I'm > > running exactly the same database as he is. > > > > I've created an Excel sheet via automation and am filling it with data > > here. > > > > The line is: > > > > objSheet2.Range("A2").CopyFromRecordset rsSalary > > > > The error message I get is: > > 430 Class does not support Automation or does not support expected > > interface. > > > > Any insights would be greatly appreciated! > > > > Thanks, > > Cindy > > > > > > > > Cynthia Fraase > > Asst. Controller > > Direct: 678-325-3251 > > Cell: 770-318-0628 > > Fax: 770-641-2656 > > > > www.officeimagesinc.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Don?t quit your job ? Take Classes Online and Earn your Degree in 1 year. Start Today! http://www.classesusa.com/clickcount.cfm?id=866146&goto=http%3A%2F%2Fwww.classesusa.com%2Ffeaturedschools%2Fonlinedegreesmp%2Fform-dyn1.html%3Fsplovr%3D866144 From markamatte at hotmail.com Fri Apr 20 12:30:34 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 20 Apr 2007 17:30:34 +0000 Subject: [AccessD] Getting Top Values Again - Sorry about last email In-Reply-To: <14636301.8571177064736316.JavaMail.www@wwinf3002> Message-ID: In looking at the set of data...all of the records seem to be in the same format except the last: ">ALBANIATERRYJONESKAITSANG21/08/2006 11:33:10" There are no spaces like the other records. If all of the records were in the same format...and it was impossible for the same machine to have the exact 2 date/times the same...you could strip out the machine name and the date...get max of date...and join back to the table to get the full name. Good Luck, Mark A. MAtte >From: paul.hartland at fsmail.net >Reply-To: Access Developers discussion and problem >solving >To: accessd >Subject: [AccessD] Getting Top Values Again - Sorry about last email >Date: Fri, 20 Apr 2007 12:25:36 +0200 (CEST) > >To all, > >Not quite sure how to put this but I have the following example result set >from a query: >LaptopNamesOwnerUserNameMaxOfLastUsed >ADDER RAYATKINSON JOHNCLEGG 15/02/2007 10:30:14 >ADDER RAYATKINSON ANDREWNORRIDGE 02/02/2007 12:01:29 >ADDER RAYATKINSON IANNEWCOMBE 05/12/2006 12:50:01 >ADDER RAYATKINSON JIMMYWILSON 30/09/2006 12:01:47 >ADDER RAYATKINSON RICHARDMASKERY 30/08/2006 12:53:11 >ADDER RAYATKINSON BRIANTHOMAS 23/07/2006 14:33:47 >ADDER RAYATKINSON BRIANTHOMAS 12/05/2006 12:57:59 >ALBANIA TERRYJONES JOHNCLEGG 20/09/2006 12:41:40 >ALBANIA TERRYJONES LYLEBARRAS 20/09/2006 10:43:37 >ALBANIATERRYJONESKAITSANG21/08/2006 11:33:10 > >What I need to end up with is this: > >ADDER RAYATKINSON JOHNCLEGG 15/02/2007 10:30:14 >ALBANIA TERRYJONES JOHNCLEGG 20/09/2006 12:41:40 > > > >i.e the maximum date....I am sure there has been a solution to this on here >before, but I can seem to find it.. > >Thanks in advance for any help on this.. > > > >Paul Hartland >paul.hartland at fsmail.net >07730 523179 >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Need a break? Find your escape route with Live Search Maps. http://maps.live.com/?icid=hmtag3 From CFraase at officeimagesinc.com Fri Apr 20 13:16:58 2007 From: CFraase at officeimagesinc.com (Cindy Fraase) Date: Fri, 20 Apr 2007 14:16:58 -0400 Subject: [AccessD] Excel Automation problem In-Reply-To: References: <00e201c7836b$998ef250$0302a8c0@Laptop> Message-ID: Thanks to everyone who answered! I'll let you all know if your suggestions work. Unfortunately, I have to wait for access to that machine to try them. I hope the reference order works - that's an easy fix! Cynthia Fraase Asst. Controller Direct: 678-325-3251 Cell: 770-318-0628 Fax: 770-641-2656 www.officeimagesinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, April 20, 2007 1:23 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Excel Automation problem This is the error very similar to when you have DAO36 selected but DAO3.51 is not on the machine at all. I have found that downloading DAO350.dll...registering it...and everything is fixed. Learned this after chasing down the error on 1 of 2 identical(so I thought) machines. The offending machine did not have 3.51 on it...I didn't have it checked in references...so I never looked to see if it was there. After putting it on the machine/registering...the error went away. There is a reference to it on MS site...but no explanation as to why it causes these errors, sometimes. Good Luck, Mark A. Matte From jwcolby at colbyconsulting.com Fri Apr 20 14:43:26 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 20 Apr 2007 15:43:26 -0400 Subject: [AccessD] using a dtsx in .Net Message-ID: <000a01c78384$2af74b80$657aa8c0@m6805> Guys, I am looking for a learning experience here. Using the import wizard in SQL Server 2005 I created a .dtsx file, and successfully imported the first of about 60 files using that from right inside of SQL Server's import wizard. It asks if you want to save at the very end which I did, and which created the aforementioned .dtsx file. Unfortunately that wizard does not allow you to use that file for another file. Even more unfortunately, the files in question are fixed width, and thus have no field info in the first line etc. Thus to use the wizard, I would have to respecify the names and widths of all 150 fields each and every time. Therefore... I am attempting to use the dtsx file in .Net to do the import. If I "open" that file, Visual studio is selected as the file to do the opening, and if I do so it opens and shows me a tabbed object. The first tab is a control flow, the next is a data flow, event handlers and package explorer. I can actually execute the entire thing from inside of Visual studio and imports that first file, creates the table, with the field names and field widths etc. Unfortunately, for some reason NVarChar was selected as the default when I created this thing back in SQL Server. I managed to change the table inside of SQL Server to just use VarChar. It was a few days ago and I don't really remember how. I do remember that the wizards that allow you to manipulate the table / field definitions very helpfully try and change the length from whatever value you currently have back to 50 if you change the data type from NVarChar to VarChar. Sometimes I think the world is just one big IDIOT MASS. Be that as it may, (back in Visual Studio) if I click on the data flow tab, it shows the source as the original file. First task is to change that to the name of the second file to be processed. If I click on the "source connection flat file" object in that tab down below the main screen, there is a connection string property which I can change to the next file name. The next issue now is that the data conversion object is pulling data out of an XML file which stubbornly insists that the destination data is NVarChar - with the correct field lengths. If I open the wizard, I can indeed edit this to change the datatype, but it insists on helpfully changing the field length from the correct values (carefully entered already) back to the standard 50. Sometimes I am absolutely CERTAIN that the entire world is one big IDIOT MASS. So here I am, trying to edit the data conversion object for 150 fields to change from NVarChar to VarChar, where with each field change the very helpful wizard insists on changing my field length back to 50. Sigh. Idiots, all of them. If I can get this edit done I believe I can use this thing to import the other 60 or so files. So am I stuck with doing this all over again? Is there even one microscopic particle of grey brain matter anywhere in the Microsoft campus? Is it just me and the rest of the world WANTS their carefully entered field lengths changed back to 50 if they need to change from NvarChar to VarChar (and if so why)? John W. Colby Colby Consulting www.ColbyConsulting.com From stuart at lexacorp.com.pg Fri Apr 20 17:50:15 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 21 Apr 2007 08:50:15 +1000 Subject: [AccessD] getting data out of an internet page In-Reply-To: <000b01c7835a$ff6bd220$657aa8c0@m6805> References: <000b01c7835a$ff6bd220$657aa8c0@m6805> Message-ID: <462943A7.21898.57F9DEA@stuart.lexacorp.com.pg> Try copying it then open Excel and "Paste Special - Text" followed by a "Data-Text to Columns". On 20 Apr 2007 at 10:48, JWColby wrote: > My internet phone bill comes with a neatly laid out list of phone calls. > AFAICT it is not a table however. I am wondering if there is a way to > "extract" that data into a spreadsheet or table (other than building a > programmed parser). > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart From wdhindman at dejpolsystems.com Fri Apr 20 22:00:54 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 20 Apr 2007 23:00:54 -0400 Subject: [AccessD] using a dtsx in .Net References: <000a01c78384$2af74b80$657aa8c0@m6805> Message-ID: <000201c783c1$478eb4d0$7d7d6c4c@jisshowsbs.local> ...no question at all JC, its just you ...hth :) William Hindman ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" ; ; "'Discussion of Hardware and Software issues'" Sent: Friday, April 20, 2007 3:43 PM Subject: [AccessD] using a dtsx in .Net > Guys, > > I am looking for a learning experience here. Using the import wizard in > SQL > Server 2005 I created a .dtsx file, and successfully imported the first of > about 60 files using that from right inside of SQL Server's import wizard. > It asks if you want to save at the very end which I did, and which created > the aforementioned .dtsx file. Unfortunately that wizard does not allow > you > to use that file for another file. Even more unfortunately, the files in > question are fixed width, and thus have no field info in the first line > etc. > Thus to use the wizard, I would have to respecify the names and widths of > all 150 fields each and every time. > > Therefore... I am attempting to use the dtsx file in .Net to do the > import. > If I "open" that file, Visual studio is selected as the file to do the > opening, and if I do so it opens and shows me a tabbed object. The first > tab is a control flow, the next is a data flow, event handlers and package > explorer. > > I can actually execute the entire thing from inside of Visual studio and > imports that first file, creates the table, with the field names and field > widths etc. Unfortunately, for some reason NVarChar was selected as the > default when I created this thing back in SQL Server. I managed to change > the table inside of SQL Server to just use VarChar. It was a few days ago > and I don't really remember how. I do remember that the wizards that > allow > you to manipulate the table / field definitions very helpfully try and > change the length from whatever value you currently have back to 50 if you > change the data type from NVarChar to VarChar. Sometimes I think the > world > is just one big IDIOT MASS. > > Be that as it may, (back in Visual Studio) if I click on the data flow > tab, > it shows the source as the original file. First task is to change that to > the name of the second file to be processed. If I click on the "source > connection flat file" object in that tab down below the main screen, there > is a connection string property which I can change to the next file name. > > The next issue now is that the data conversion object is pulling data out > of > an XML file which stubbornly insists that the destination data is > NVarChar - > with the correct field lengths. If I open the wizard, I can indeed edit > this to change the datatype, but it insists on helpfully changing the > field > length from the correct values (carefully entered already) back to the > standard 50. Sometimes I am absolutely CERTAIN that the entire world is > one > big IDIOT MASS. > > So here I am, trying to edit the data conversion object for 150 fields to > change from NVarChar to VarChar, where with each field change the very > helpful wizard insists on changing my field length back to 50. Sigh. > Idiots, all of them. If I can get this edit done I believe I can use this > thing to import the other 60 or so files. > > So am I stuck with doing this all over again? Is there even one > microscopic > particle of grey brain matter anywhere in the Microsoft campus? Is it > just > me and the rest of the world WANTS their carefully entered field lengths > changed back to 50 if they need to change from NvarChar to VarChar (and if > so why)? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Fri Apr 20 22:18:06 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 20 Apr 2007 23:18:06 -0400 Subject: [AccessD] Cool stuff - was RE: using a dtsx in .Net In-Reply-To: <000201c783c1$478eb4d0$7d7d6c4c@jisshowsbs.local> References: <000a01c78384$2af74b80$657aa8c0@m6805> <000201c783c1$478eb4d0$7d7d6c4c@jisshowsbs.local> Message-ID: <000501c783c3$aed0a840$657aa8c0@m6805> ROTFL. Yea, I kinda thought so. I have so little patience with ... uh... Stupidity. On another more positive note, I watched a virtual lab tonight - part of the Visual Studio 2005. This lab is "using worker threads in VB.Net to make your application more responsive to the user". It is really cool, but as it turns out, the demo they use is also exactly what I was looking for - a directory watcher which is a com object that can be used from VB6. Now to be honest, I don't do VB6 but it looks like this might also be usable from VBA. It is a referencable object that sources events, and may allow me to do directory watching from inside of Access - WITHOUT having to use a timer on a form. How cool would that be? VB.Net is really a cool thing; Too bad I don't understand it better. I have to say though that having done the class stuff I do in Access, I absolutely do understand everything they are talking about in this demo, I just don't understand all the syntax (couldn't write it myself). It is so strange though, just today I was looking for code to "watch a directory for files" and here it is. Even better, the lab counts towards getting the free copy of Visual Studio 2005. So much to learn, so little time. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, April 20, 2007 11:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] using a dtsx in .Net ...no question at all JC, its just you ...hth :) William Hindman From bheid at sc.rr.com Sat Apr 21 08:26:44 2007 From: bheid at sc.rr.com (Bobby Heid) Date: Sat, 21 Apr 2007 09:26:44 -0400 Subject: [AccessD] Cool stuff - was RE: using a dtsx in .Net In-Reply-To: <000501c783c3$aed0a840$657aa8c0@m6805> References: <000a01c78384$2af74b80$657aa8c0@m6805> <000201c783c1$478eb4d0$7d7d6c4c@jisshowsbs.local> <000501c783c3$aed0a840$657aa8c0@m6805> Message-ID: <001e01c78418$b4cace60$2c01a8c0@bhxp> >From my understanding, you should be able to use .Net stuff from VBA just as you would from VB6. I think there was an MSDN magazine article about this. I'll see what I can find. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, April 20, 2007 11:18 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Cool stuff - was RE: using a dtsx in .Net ROTFL. Yea, I kinda thought so. I have so little patience with ... uh... Stupidity. On another more positive note, I watched a virtual lab tonight - part of the Visual Studio 2005. This lab is "using worker threads in VB.Net to make your application more responsive to the user". It is really cool, but as it turns out, the demo they use is also exactly what I was looking for - a directory watcher which is a com object that can be used from VB6. Now to be honest, I don't do VB6 but it looks like this might also be usable from VBA. It is a referencable object that sources events, and may allow me to do directory watching from inside of Access - WITHOUT having to use a timer on a form. How cool would that be? VB.Net is really a cool thing; Too bad I don't understand it better. I have to say though that having done the class stuff I do in Access, I absolutely do understand everything they are talking about in this demo, I just don't understand all the syntax (couldn't write it myself). It is so strange though, just today I was looking for code to "watch a directory for files" and here it is. Even better, the lab counts towards getting the free copy of Visual Studio 2005. So much to learn, so little time. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, April 20, 2007 11:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] using a dtsx in .Net ...no question at all JC, its just you ...hth :) William Hindman -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at sc.rr.com Sat Apr 21 09:14:29 2007 From: bheid at sc.rr.com (Bobby Heid) Date: Sat, 21 Apr 2007 10:14:29 -0400 Subject: [AccessD] Cool stuff - was RE: using a dtsx in .Net In-Reply-To: <001e01c78418$b4cace60$2c01a8c0@bhxp> References: <000a01c78384$2af74b80$657aa8c0@m6805> <000201c783c1$478eb4d0$7d7d6c4c@jisshowsbs.local> <000501c783c3$aed0a840$657aa8c0@m6805> <001e01c78418$b4cace60$2c01a8c0@bhxp> Message-ID: <002301c7841f$60988790$2c01a8c0@bhxp> John, Here's one link (not MSDN Mag though) for calling .Net from VBA: http://msdn2.microsoft.com/en-us/library/aa140276(office.10).aspx And here's one going the other way: http://msdn2.microsoft.com/en-us/library/aa159913(office.11).aspx And that was a neat labcast. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Saturday, April 21, 2007 9:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Cool stuff - was RE: using a dtsx in .Net >From my understanding, you should be able to use .Net stuff from VBA just as you would from VB6. I think there was an MSDN magazine article about this. I'll see what I can find. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, April 20, 2007 11:18 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Cool stuff - was RE: using a dtsx in .Net ROTFL. Yea, I kinda thought so. I have so little patience with ... uh... Stupidity. On another more positive note, I watched a virtual lab tonight - part of the Visual Studio 2005. This lab is "using worker threads in VB.Net to make your application more responsive to the user". It is really cool, but as it turns out, the demo they use is also exactly what I was looking for - a directory watcher which is a com object that can be used from VB6. Now to be honest, I don't do VB6 but it looks like this might also be usable from VBA. It is a referencable object that sources events, and may allow me to do directory watching from inside of Access - WITHOUT having to use a timer on a form. How cool would that be? VB.Net is really a cool thing; Too bad I don't understand it better. I have to say though that having done the class stuff I do in Access, I absolutely do understand everything they are talking about in this demo, I just don't understand all the syntax (couldn't write it myself). It is so strange though, just today I was looking for code to "watch a directory for files" and here it is. Even better, the lab counts towards getting the free copy of Visual Studio 2005. So much to learn, so little time. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, April 20, 2007 11:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] using a dtsx in .Net ...no question at all JC, its just you ...hth :) William Hindman -- 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 martyconnelly at shaw.ca Sat Apr 21 12:31:17 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 21 Apr 2007 10:31:17 -0700 Subject: [AccessD] Cool stuff - was RE: using a dtsx in .Net In-Reply-To: <000501c783c3$aed0a840$657aa8c0@m6805> References: <000a01c78384$2af74b80$657aa8c0@m6805> <000201c783c1$478eb4d0$7d7d6c4c@jisshowsbs.local> <000501c783c3$aed0a840$657aa8c0@m6805> Message-ID: <462A4A65.3030303@shaw.ca> You could use these Visual Basic 6.0 File API Routines in VBA FindFirstChangeNotification: Randy Birch does a good job on error checking Might have to run in a hidden form Create a 'Watched' Folder http://vbnet.mvps.org/index.html?code/fileapi/watchedfolder.htm JWColby wrote: >ROTFL. Yea, I kinda thought so. > >I have so little patience with ... uh... Stupidity. > >On another more positive note, I watched a virtual lab tonight - part of the >Visual Studio 2005. This lab is "using worker threads in VB.Net to make >your application more responsive to the user". It is really cool, but as it >turns out, the demo they use is also exactly what I was looking for - a >directory watcher which is a com object that can be used from VB6. Now to >be honest, I don't do VB6 but it looks like this might also be usable from >VBA. It is a referencable object that sources events, and may allow me to >do directory watching from inside of Access - WITHOUT having to use a timer >on a form. How cool would that be? > >VB.Net is really a cool thing; Too bad I don't understand it better. I have >to say though that having done the class stuff I do in Access, I absolutely >do understand everything they are talking about in this demo, I just don't >understand all the syntax (couldn't write it myself). It is so strange >though, just today I was looking for code to "watch a directory for files" >and here it is. Even better, the lab counts towards getting the free copy >of Visual Studio 2005. > >So much to learn, so little time. > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at colbyconsulting.com Sat Apr 21 14:37:37 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 21 Apr 2007 15:37:37 -0400 Subject: [AccessD] Cool stuff - was RE: using a dtsx in .Net In-Reply-To: <462A4A65.3030303@shaw.ca> References: <000a01c78384$2af74b80$657aa8c0@m6805><000201c783c1$478eb4d0$7d7d6c4c@jisshowsbs.local><000501c783c3$aed0a840$657aa8c0@m6805> <462A4A65.3030303@shaw.ca> Message-ID: <003801c7844c$84d1a060$657aa8c0@m6805> Thanks for that. I just checked out this solution and while it does function, it appears to have some serious limitations, specifically that it can only monitor one directory, and apparently that it can pretty much do nothing else. The reason is that VBA is single threaded, and this code is a tight loop with a DoEvents to allow the appearance of normalcy. However it really doesn't allow anything else to function. I tried to make this a class so that I could then do two (or more) instances. The first instance starts up but the second instance is not allowed to instantiate, with a "the macro or validation rule prevents..." error thrown in the event of the text box that tries to set up the second instance. In essence it appears that this would work just fine in limited situations where you just want an application to monitor a directory, do something specific, then go right back to the monitor loop, however it may completely prevent a broader application from functioning after the loop is started. One of the things I am trying to do is to start slowly doing some VB.Net development. I have a handful of things that really don't "fit" Access as a development tool, e.g. running things as services. I am also doing a lot more stuff directly out in SQL Server 2005, and I want the ability to run a powerful programming language that more directly talks to SQL Server, and also does not require a copy of Access installed in order to operate. VB.Net will give me that if I can ever get it figured out (I just need the TIME!). The .Net code basically listens for EVENTS from a DotNet DiskWatcher object. I haven't gotten so far as to determine whether when wrapped as a COM object it can be used more than once from inside of Access. The Web Seminar left out the critical (written) instructions for compiling and registering the com object, though the instructions are in the video, so I am headed back to watch that portion of the video again. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Saturday, April 21, 2007 1:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Cool stuff - was RE: using a dtsx in .Net You could use these Visual Basic 6.0 File API Routines in VBA FindFirstChangeNotification: Randy Birch does a good job on error checking Might have to run in a hidden form Create a 'Watched' Folder http://vbnet.mvps.org/index.html?code/fileapi/watchedfolder.htm JWColby wrote: >ROTFL. Yea, I kinda thought so. > >I have so little patience with ... uh... Stupidity. > >On another more positive note, I watched a virtual lab tonight - part >of the Visual Studio 2005. This lab is "using worker threads in VB.Net >to make your application more responsive to the user". It is really >cool, but as it turns out, the demo they use is also exactly what I was >looking for - a directory watcher which is a com object that can be >used from VB6. Now to be honest, I don't do VB6 but it looks like this >might also be usable from VBA. It is a referencable object that >sources events, and may allow me to do directory watching from inside >of Access - WITHOUT having to use a timer on a form. How cool would that be? > >VB.Net is really a cool thing; Too bad I don't understand it better. I >have to say though that having done the class stuff I do in Access, I >absolutely do understand everything they are talking about in this >demo, I just don't understand all the syntax (couldn't write it >myself). It is so strange though, just today I was looking for code to "watch a directory for files" >and here it is. Even better, the lab counts towards getting the free >copy of Visual Studio 2005. > >So much to learn, so little time. > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Apr 21 15:19:03 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 21 Apr 2007 16:19:03 -0400 Subject: [AccessD] DirWatcher - was RE: Cool stuff - was RE: using a dtsx in .Net In-Reply-To: <003801c7844c$84d1a060$657aa8c0@m6805> References: <000a01c78384$2af74b80$657aa8c0@m6805><000201c783c1$478eb4d0$7d7d6c4c@jisshowsbs.local><000501c783c3$aed0a840$657aa8c0@m6805><462A4A65.3030303@shaw.ca> <003801c7844c$84d1a060$657aa8c0@m6805> Message-ID: <003901c78452$4e69cdd0$657aa8c0@m6805> Just an FYI, the dirwatcher com object from the webcast apparently can be used "simultaneously" from Access. I created a form with two text controls. Each text control creates an instance of the referenced com object and passes in whatever you type in as a directory. If you pass in an invalid dir name it errors, else it watches. I then created two empty directories and tested by creating new text files in each directory. The correct events fired and I was notified of the appearance of a file (and it's name) in the correct watched directory. And of course this does require a completely external "watcher widget" which has to be registered etc., at least for use in Access. WARNING... The COM object DELETES the file behind itself so it is NOT appropriate for use "as is", nor did I expect it to be, but it does function inside of VBA and it can do so multi-instanced. The following is the code in the test form that I created: Option Compare Database Option Explicit Dim WithEvents fDirWatcher1 As DropDirMonitor.DirWatcher Dim WithEvents fDirWatcher2 As DropDirMonitor.DirWatcher Private Sub fDirWatcher1_ProcessingFile(ByVal FileName As String) MsgBox "Watcher 1 fired: " & FileName End Sub Private Sub fDirWatcher2_ProcessingFile(ByVal FileName As String) MsgBox "watcher 2 fired: " & FileName End Sub Private Sub Form_Close() Set fDirWatcher1 = Nothing Set fDirWatcher2 = Nothing End Sub Private Sub Text0_AfterUpdate() Set fDirWatcher1 = New DropDirMonitor.DirWatcher fDirWatcher1.Init Text0.Value End Sub Private Sub Text2_AfterUpdate() Set fDirWatcher2 = New DropDirMonitor.DirWatcher fDirWatcher2.Init Text2.Value End Sub John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Saturday, April 21, 2007 3:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Cool stuff - was RE: using a dtsx in .Net Thanks for that. I just checked out this solution and while it does function, it appears to have some serious limitations, specifically that it can only monitor one directory, and apparently that it can pretty much do nothing else. The reason is that VBA is single threaded, and this code is a tight loop with a DoEvents to allow the appearance of normalcy. However it really doesn't allow anything else to function. I tried to make this a class so that I could then do two (or more) instances. The first instance starts up but the second instance is not allowed to instantiate, with a "the macro or validation rule prevents..." error thrown in the event of the text box that tries to set up the second instance. In essence it appears that this would work just fine in limited situations where you just want an application to monitor a directory, do something specific, then go right back to the monitor loop, however it may completely prevent a broader application from functioning after the loop is started. One of the things I am trying to do is to start slowly doing some VB.Net development. I have a handful of things that really don't "fit" Access as a development tool, e.g. running things as services. I am also doing a lot more stuff directly out in SQL Server 2005, and I want the ability to run a powerful programming language that more directly talks to SQL Server, and also does not require a copy of Access installed in order to operate. VB.Net will give me that if I can ever get it figured out (I just need the TIME!). The .Net code basically listens for EVENTS from a DotNet DiskWatcher object. I haven't gotten so far as to determine whether when wrapped as a COM object it can be used more than once from inside of Access. The Web Seminar left out the critical (written) instructions for compiling and registering the com object, though the instructions are in the video, so I am headed back to watch that portion of the video again. John W. Colby Colby Consulting www.ColbyConsulting.com From martyconnelly at shaw.ca Sat Apr 21 17:52:20 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 21 Apr 2007 15:52:20 -0700 Subject: [AccessD] DirWatcher - was RE: Cool stuff - was RE: using a dtsx in .Net In-Reply-To: <003901c78452$4e69cdd0$657aa8c0@m6805> References: <000a01c78384$2af74b80$657aa8c0@m6805> <000201c783c1$478eb4d0$7d7d6c4c@jisshowsbs.local> <000501c783c3$aed0a840$657aa8c0@m6805> <462A4A65.3030303@shaw.ca> <003801c7844c$84d1a060$657aa8c0@m6805> <003901c78452$4e69cdd0$657aa8c0@m6805> Message-ID: <462A95A4.3040901@shaw.ca> Just wondering, if you used this method to register the com class dll. It uses regasm and gacutil to remove any previously named dll and reinstalls in the registry. See : http://samples.gotdotnet.com/quickstart/howto/doc/Interop/Building_Samples_COM2NET.aspx the install batch file looks like this for your dll FX20Wrapper.dll regasm "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\system.windows.forms.dll" gacutil -u FX20Wrapper regasm /u "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" regasm /tlb "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" gacutil -i "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" To use Access set a reference to the tlb file that will be in a directory like below depending on where you installed the project. \VB2005\FX20Wrapper\bin\Release\FX20Wrapper.tlb The tlb will allow Access to see the class definitions and do a compile. JWColby wrote: >Just an FYI, the dirwatcher com object from the webcast apparently can be >used "simultaneously" from Access. I created a form with two text controls. >Each text control creates an instance of the referenced com object and >passes in whatever you type in as a directory. If you pass in an invalid >dir name it errors, else it watches. I then created two empty directories >and tested by creating new text files in each directory. The correct events >fired and I was notified of the appearance of a file (and it's name) in the >correct watched directory. > >And of course this does require a completely external "watcher widget" which >has to be registered etc., at least for use in Access. > >WARNING... The COM object DELETES the file behind itself so it is NOT >appropriate for use "as is", nor did I expect it to be, but it does function >inside of VBA and it can do so multi-instanced. > >The following is the code in the test form that I created: > >Option Compare Database >Option Explicit > >Dim WithEvents fDirWatcher1 As DropDirMonitor.DirWatcher >Dim WithEvents fDirWatcher2 As DropDirMonitor.DirWatcher > >Private Sub fDirWatcher1_ProcessingFile(ByVal FileName As String) > MsgBox "Watcher 1 fired: " & FileName >End Sub > >Private Sub fDirWatcher2_ProcessingFile(ByVal FileName As String) > MsgBox "watcher 2 fired: " & FileName >End Sub > >Private Sub Form_Close() > Set fDirWatcher1 = Nothing > Set fDirWatcher2 = Nothing >End Sub > >Private Sub Text0_AfterUpdate() > Set fDirWatcher1 = New DropDirMonitor.DirWatcher > fDirWatcher1.Init Text0.Value >End Sub > >Private Sub Text2_AfterUpdate() > Set fDirWatcher2 = New DropDirMonitor.DirWatcher > fDirWatcher2.Init Text2.Value >End Sub > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby >Sent: Saturday, April 21, 2007 3:38 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Cool stuff - was RE: using a dtsx in .Net > >Thanks for that. I just checked out this solution and while it does >function, it appears to have some serious limitations, specifically that it >can only monitor one directory, and apparently that it can pretty much do >nothing else. The reason is that VBA is single threaded, and this code is a >tight loop with a DoEvents to allow the appearance of normalcy. However it >really doesn't allow anything else to function. I tried to make this a >class so that I could then do two (or more) instances. The first instance >starts up but the second instance is not allowed to instantiate, with a "the >macro or validation rule prevents..." error thrown in the event of the text >box that tries to set up the second instance. In essence it appears that >this would work just fine in limited situations where you just want an >application to monitor a directory, do something specific, then go right >back to the monitor loop, however it may completely prevent a broader >application from functioning after the loop is started. > >One of the things I am trying to do is to start slowly doing some VB.Net >development. I have a handful of things that really don't "fit" Access as a >development tool, e.g. running things as services. I am also doing a lot >more stuff directly out in SQL Server 2005, and I want the ability to run a >powerful programming language that more directly talks to SQL Server, and >also does not require a copy of Access installed in order to operate. >VB.Net will give me that if I can ever get it figured out (I just need the >TIME!). > >The .Net code basically listens for EVENTS from a DotNet DiskWatcher object. >I haven't gotten so far as to determine whether when wrapped as a COM object >it can be used more than once from inside of Access. The Web Seminar left >out the critical (written) instructions for compiling and registering the >com object, though the instructions are in the video, so I am headed back to >watch that portion of the video again. > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at colbyconsulting.com Sat Apr 21 18:22:36 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 21 Apr 2007 19:22:36 -0400 Subject: [AccessD] DirWatcher - was RE: Cool stuff - was RE: using a dtsx in .Net In-Reply-To: <462A95A4.3040901@shaw.ca> References: <000a01c78384$2af74b80$657aa8c0@m6805><000201c783c1$478eb4d0$7d7d6c4c@jisshowsbs.local><000501c783c3$aed0a840$657aa8c0@m6805> <462A4A65.3030303@shaw.ca><003801c7844c$84d1a060$657aa8c0@m6805><003901c78452$4e69cdd0$657aa8c0@m6805> <462A95A4.3040901@shaw.ca> Message-ID: <004201c7846b$f3047070$657aa8c0@m6805> Marty, I didn't have to do a register on this machine since it was the one that I created the VB.Net project on and the simple act of building it caused it to be registered. I will certainly look at that stuff if I need to do this on another machine (actually use this thing). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Saturday, April 21, 2007 6:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DirWatcher - was RE: Cool stuff - was RE: using a dtsx in .Net Just wondering, if you used this method to register the com class dll. It uses regasm and gacutil to remove any previously named dll and reinstalls in the registry. See : http://samples.gotdotnet.com/quickstart/howto/doc/Interop/Building_Samples_C OM2NET.aspx the install batch file looks like this for your dll FX20Wrapper.dll regasm "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\system.windows.forms.dll" gacutil -u FX20Wrapper regasm /u "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" regasm /tlb "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" gacutil -i "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" To use Access set a reference to the tlb file that will be in a directory like below depending on where you installed the project. \VB2005\FX20Wrapper\bin\Release\FX20Wrapper.tlb The tlb will allow Access to see the class definitions and do a compile. From ebarro at verizon.net Sat Apr 21 20:16:45 2007 From: ebarro at verizon.net (Eric Barro) Date: Sat, 21 Apr 2007 18:16:45 -0700 Subject: [AccessD] DirWatcher - was RE: Cool stuff - was RE: using a dtsx in .Net In-Reply-To: <004201c7846b$f3047070$657aa8c0@m6805> Message-ID: <0JGV007WDKVX266A@vms042.mailsrvcs.net> John, .Net takes care of registering any COM objects that you reference in your projects. If you look at the bin folder where your project was compiled it will contain an Interop.COMObject.dll file corresponding to the COMObject that you referenced. That's just one of the "beauties" of .Net. :) When you deploy the app to another machine all you need to do is to copy your application DLL and the Interop DLLs to make it work. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Saturday, April 21, 2007 4:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DirWatcher - was RE: Cool stuff - was RE: using a dtsx in .Net Marty, I didn't have to do a register on this machine since it was the one that I created the VB.Net project on and the simple act of building it caused it to be registered. I will certainly look at that stuff if I need to do this on another machine (actually use this thing). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Saturday, April 21, 2007 6:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DirWatcher - was RE: Cool stuff - was RE: using a dtsx in .Net Just wondering, if you used this method to register the com class dll. It uses regasm and gacutil to remove any previously named dll and reinstalls in the registry. See : http://samples.gotdotnet.com/quickstart/howto/doc/Interop/Building_Samples_C OM2NET.aspx the install batch file looks like this for your dll FX20Wrapper.dll regasm "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\system.windows.forms.dll" gacutil -u FX20Wrapper regasm /u "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" regasm /tlb "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" gacutil -i "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" To use Access set a reference to the tlb file that will be in a directory like below depending on where you installed the project. \VB2005\FX20Wrapper\bin\Release\FX20Wrapper.tlb The tlb will allow Access to see the class definitions and do a compile. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.6/770 - Release Date: 4/20/2007 6:43 PM From pcs at azizaz.com Sat Apr 21 20:31:06 2007 From: pcs at azizaz.com (Borge Hansen, Professional Computer Systems) Date: Sun, 22 Apr 2007 11:31:06 +1000 Subject: [AccessD] DirWatcher - was RE: Cool stuff - was RE: using adtsx in .Net References: <000a01c78384$2af74b80$657aa8c0@m6805><000201c783c1$478eb4d0$7d7d6c4c@jisshowsbs.local><000501c783c3$aed0a840$657aa8c0@m6805><462A4A65.3030303@shaw.ca><003801c7844c$84d1a060$657aa8c0@m6805><003901c78452$4e69cdd0$657aa8c0@m6805><462A95A4.3040901@shaw.ca> <004201c7846b$f3047070$657aa8c0@m6805> Message-ID: <04e401c7847d$e61da770$fa10a8c0@Albatross> Jon, I am reading the thread with great interest. I think a lot us hanging out in this forum are seeing the need of getting up to speed with .net and sql server etc. ... and wishing we had more time. if you have time, would you mind going through the steps involved for creating what you did. I understand there is a .net object - among the many thousands - you refer to as "DotNet DiskWatcher object". - What's the name? You write some .net code using this object that will monitor a Folder and alert you when things happens in the folder. What does the code look like. Then you write a "wrapper" so the .net code can be used in VB and more of interest in VBA. What does the wrapper code look like - the com object? Then there is the issue of registered the com object. Marty is writing about certain code for using this. What's the connection between the .dll file and .tlb file ? Is the .dll file the file that contains the com object. what's the function of the tlb file? You didn't need to register the com object as it gets registered on the machine you built the code on. You then used the com object in some vba code, copy of which you showed us, right? hmmm.... so much ... to get around to finding a 'easy' way to make .net functionality available in vba code Here's another link: Visual Basic Fusion: Best Practices to Use Visual Basic 6 and Visual Basic .NET Together http://msdn2.microsoft.com/en-us/library/ms364069(vs.80).aspx borge ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, April 22, 2007 9:22 AM Subject: Re: [AccessD] DirWatcher - was RE: Cool stuff - was RE: using adtsx in .Net Marty, I didn't have to do a register on this machine since it was the one that I created the VB.Net project on and the simple act of building it caused it to be registered. I will certainly look at that stuff if I need to do this on another machine (actually use this thing). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Saturday, April 21, 2007 6:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DirWatcher - was RE: Cool stuff - was RE: using a dtsx in .Net Just wondering, if you used this method to register the com class dll. It uses regasm and gacutil to remove any previously named dll and reinstalls in the registry. See : http://samples.gotdotnet.com/quickstart/howto/doc/Interop/Building_Samples_C OM2NET.aspx the install batch file looks like this for your dll FX20Wrapper.dll regasm "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\system.windows.forms.dll" gacutil -u FX20Wrapper regasm /u "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" regasm /tlb "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" gacutil -i "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" To use Access set a reference to the tlb file that will be in a directory like below depending on where you installed the project. \VB2005\FX20Wrapper\bin\Release\FX20Wrapper.tlb The tlb will allow Access to see the class definitions and do a compile. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.6/770 - Release Date: 4/20/2007 6:43 PM From jwcolby at colbyconsulting.com Sat Apr 21 23:29:34 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Sun, 22 Apr 2007 00:29:34 -0400 Subject: [AccessD] DirWatcher - was RE: Cool stuff - was RE: using adtsxin .Net In-Reply-To: <04e401c7847d$e61da770$fa10a8c0@Albatross> References: <000a01c78384$2af74b80$657aa8c0@m6805><000201c783c1$478eb4d0$7d7d6c4c@jisshowsbs.local><000501c783c3$aed0a840$657aa8c0@m6805><462A4A65.3030303@shaw.ca><003801c7844c$84d1a060$657aa8c0@m6805><003901c78452$4e69cdd0$657aa8c0@m6805><462A95A4.3040901@shaw.ca><004201c7846b$f3047070$657aa8c0@m6805> <04e401c7847d$e61da770$fa10a8c0@Albatross> Message-ID: <004301c78496$d4f90980$657aa8c0@m6805> Borge, This all started when I watched a webcast video from a series that MS is publishing. They all seemed aimed at nudging VB6 folks to start using VB.Net. I am not a VB6 person, perhaps unfortunately. Anyway, I found this webcast in the start page of Visual Studio, but in fact the email someone sent has the page to go to find these things. http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=103233340 8&EventCategory=3&culture=en-US&CountryCode=US Watch for wrap. I know NOTHING about this other than what I learned in the webcast. The webcast showed how to build a com object from DotNet to do this stuff. I watched it, I typed it all in and built it. I referenced it from Access, built a demo etc. and it worked (after I figured out one syntax error). How it worked I do not yet understand, in fact it is waaaay over my head. This is a classic case of "they went too far", i.e. they should have stopped at the diskwatcher but they did not, they wanted to show other (more advanced) cool stuff. Anyway, watch the video and see what you can get. I am now trying to lobotomize their COM widget to NOT do the extra cool stuff because it gets in the way of actually using the disk watcher as a simple diskwatcher. Basically they also read the contents of the files placed in the watched directory into memory and then pass that off to the using application as a parameter. IOW when you sink an event in Access (or VB6) you get the actual contents of the file in something - I think it is an array of strings but I am not sure. They also delete the file after they read it into this memory. I don't WANT either of these functionalities, I just want to be notified that there are files in the dir. Some of the files I am processing are multi-gigabyte text files. I sure as hell don't want this thing trying to read that into memory and pass it to my Access app thank you very much. I can go to the directory and open a text stream and do my own reading. I also don't want them deleting the file, I can do what I want with the file when I am finished processing it. But they had to be cool. Anyway, there you are. I am such a nubee that I will have to watch the video several times to even begin to understand the finer points of it. I have always been impressed with .Net, at least since version 2.0 came out. It is very powerful stuff, and yes, I am trying to get into it. I now actually have a use for it - if I could just find the year required to struggle up the learning curve. I think it is just a matter of keeping at it, day after day, week after week until it becomes familiar. Hard to do when you have way more Access work to do than you can ever get done which is where I am right now (not complaining though). BTW I posted the code (with one small syntax error) but it got caught in the email size filter and never made it through to the list. I will get back to you when I have this com object running the way I need it. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen, Professional Computer Systems Sent: Saturday, April 21, 2007 9:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DirWatcher - was RE: Cool stuff - was RE: using adtsxin .Net Jon, I am reading the thread with great interest. I think a lot us hanging out in this forum are seeing the need of getting up to speed with .net and sql server etc. ... and wishing we had more time. if you have time, would you mind going through the steps involved for creating what you did. I understand there is a .net object - among the many thousands - you refer to as "DotNet DiskWatcher object". - What's the name? You write some .net code using this object that will monitor a Folder and alert you when things happens in the folder. What does the code look like. Then you write a "wrapper" so the .net code can be used in VB and more of interest in VBA. What does the wrapper code look like - the com object? Then there is the issue of registered the com object. Marty is writing about certain code for using this. What's the connection between the .dll file and .tlb file ? Is the .dll file the file that contains the com object. what's the function of the tlb file? You didn't need to register the com object as it gets registered on the machine you built the code on. You then used the com object in some vba code, copy of which you showed us, right? hmmm.... so much ... to get around to finding a 'easy' way to make .net functionality available in vba code Here's another link: Visual Basic Fusion: Best Practices to Use Visual Basic 6 and Visual Basic .NET Together http://msdn2.microsoft.com/en-us/library/ms364069(vs.80).aspx borge From Gustav at cactus.dk Sun Apr 22 05:01:04 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 22 Apr 2007 12:01:04 +0200 Subject: [AccessD] Cool stuff - was RE: using a dtsx in .Net Message-ID: Hi John It's worse. It has only limited functionality. Quoting myself from 2002-02-19 where J?rgen had brought up how to use FindFirstChangeNotification: The problem I have with this is that it does not seem to be very accurate. If a bunch of small files are copied then the event fires only a couple of times; thus - for accurate purposes - it may be necessary to regard the event being fired when "something" has happened - then you have to investigate what this something is. Of course, if a file is dropped in the watched directory only once in a while, this is not necessary. Any suggestions from the API gurus are most welcome. No suggestions were posted, so somehow this task must be very difficult ... /gustav >>> jwcolby at colbyconsulting.com 21-04-2007 21:37 >>> Thanks for that. I just checked out this solution and while it does function, it appears to have some serious limitations, specifically that it can only monitor one directory, and apparently that it can pretty much do nothing else. The reason is that VBA is single threaded, and this code is a tight loop with a DoEvents to allow the appearance of normalcy. However it really doesn't allow anything else to function. I tried to make this a class so that I could then do two (or more) instances. The first instance starts up but the second instance is not allowed to instantiate, with a "the macro or validation rule prevents..." error thrown in the event of the text box that tries to set up the second instance. In essence it appears that this would work just fine in limited situations where you just want an application to monitor a directory, do something specific, then go right back to the monitor loop, however it may completely prevent a broader application from functioning after the loop is started. One of the things I am trying to do is to start slowly doing some VB.Net development. I have a handful of things that really don't "fit" Access as a development tool, e.g. running things as services. I am also doing a lot more stuff directly out in SQL Server 2005, and I want the ability to run a powerful programming language that more directly talks to SQL Server, and also does not require a copy of Access installed in order to operate. VB.Net will give me that if I can ever get it figured out (I just need the TIME!). The .Net code basically listens for EVENTS from a DotNet DiskWatcher object. I haven't gotten so far as to determine whether when wrapped as a COM object it can be used more than once from inside of Access. The Web Seminar left out the critical (written) instructions for compiling and registering the com object, though the instructions are in the video, so I am headed back to watch that portion of the video again. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Saturday, April 21, 2007 1:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Cool stuff - was RE: using a dtsx in .Net You could use these Visual Basic 6.0 File API Routines in VBA FindFirstChangeNotification: Randy Birch does a good job on error checking Might have to run in a hidden form Create a 'Watched' Folder http://vbnet.mvps.org/index.html?code/fileapi/watchedfolder.htm JWColby wrote: >ROTFL. Yea, I kinda thought so. > >I have so little patience with ... uh... Stupidity. > >On another more positive note, I watched a virtual lab tonight - part >of the Visual Studio 2005. This lab is "using worker threads in VB.Net >to make your application more responsive to the user". It is really >cool, but as it turns out, the demo they use is also exactly what I was >looking for - a directory watcher which is a com object that can be >used from VB6. Now to be honest, I don't do VB6 but it looks like this >might also be usable from VBA. It is a referencable object that >sources events, and may allow me to do directory watching from inside >of Access - WITHOUT having to use a timer on a form. How cool would that be? > >VB.Net is really a cool thing; Too bad I don't understand it better. I >have to say though that having done the class stuff I do in Access, I >absolutely do understand everything they are talking about in this >demo, I just don't understand all the syntax (couldn't write it >myself). It is so strange though, just today I was looking for code to "watch a directory for files" >and here it is. Even better, the lab counts towards getting the free >copy of Visual Studio 2005. > >So much to learn, so little time. > >John W. Colby >Colby Consulting >www.ColbyConsulting.com From Gustav at cactus.dk Sun Apr 22 05:23:57 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 22 Apr 2007 12:23:57 +0200 Subject: [AccessD] OLE DB provider, AddNew doesn't add record to MySQL table Message-ID: Hi Jim And so I did - the developer is now organised as Cherry City Software: http://cherrycitysoftware.com/CCS/Home/Default.aspx We never supported upadate/delete/add function on the fly. Instead, you have to use script or SP call to do that. We know it would be nice to that work. However, we are currently short of resources. Regards, Cherry City Software Support Team So no luck. You have to run an SQL "Insert Values" command. Not very fancy. /gustav >>> Gustav at cactus.dk 20-04-2007 16:02 >>> Hi Jim Sorry, I forgot to mention that this provider is non-MySQL stuff. It is for download here: http://luggle.com/~sean I better address my question to the author ... /gustav >>> accessd at shaw.ca 19-04-2007 21:35 >>> Hi Gustav: I did not know there were OLE DB drivers for MySQL that would run through Access... only ODBC drivers. There are a number of .Net examples but I do not believe they are cross-compatible. This may not be the case as I was working with such a configuration but it was about 4 or 5 years ago and things should have progressed since then. I have seen a configuration example... not tried. It shows "Provider=MySQL Provider" code looking like "Provider=MySQLProv". Below is a list of links to the latest software pieces: 1. MySQL - latest version from http://www.mysql.com/downloads 2. MySQLODBC (reqd for Access to MySQL) - http://www.mysql.com/downloads 3. MyOLEDB - http://www.mysql.com/downloads (should be MySQLProv.2.5) 4. WinMySQLAdmin - http://www.mysql.com/downloads 5. Access To MySQL - http://www.mysql.com/downloads/win32/myaccess2000_1_4.zip HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, April 19, 2007 10:11 AM To: accessd at databaseadvisors.com Subject: [AccessD] OLE DB provider, AddNew doesn't add record to MySQL table Hi all In A2003, if I try to add a record to a MySQL table via the OLE DB provider, nothing happens. No errors, it runs fine, but no record added. Any ideas why? Dim cnn As ADODB.Connection Dim rst As ADODB.Recordset Dim lngRow As Long Set cnn = New ADODB.Connection Set rst = New ADODB.Recordset cnn.ConnectionString = "Provider=MySQL Provider;Data Source=10.20.30.40;User ID=root;Password=password;Initial Catalog=TestDb;Mode=Read|Write" cnn.Open cnn.CursorLocation = adUseClient With rst .Open "Select * From tblSample", cnn, adOpenKeyset, adLockOptimistic For lngRow = 1 To lngRows .AddNew .Fields(1).Value = "Some text" .Update Next .Close End With Set rst = Nothing Set cnn = Nothing End Function If I link the table (via ODBC) and run an append query, records are appended as expected. /gustav From stuart at lexacorp.com.pg Sun Apr 22 06:25:21 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 22 Apr 2007 21:25:21 +1000 Subject: [AccessD] Cool stuff - was RE: using a dtsx in .Net In-Reply-To: References: Message-ID: <462B4621.24380.D594DA6@stuart.lexacorp.com.pg> On 22 Apr 2007 at 12:01, Gustav Brock wrote: > Hi John > > It's worse. It has only limited functionality. > Quoting myself from 2002-02-19 where J?rgen had brought up how to use > FindFirstChangeNotification: > > > The problem I have with this is that it does not seem to be very > accurate. If a bunch of small files are copied then the event fires only a > couple of times; That will happen especially if you are monitoring the FILE_NOTIFY_CHANGE_SIZE or the FILE_NOTIFY_CHANGE_LAST_WRITE events. (Probably the more common ones in practice) The operating system detects a change in file size only when the file is written to the disk. For operating systems that use extensive caching, detection occurs only when the cache is sufficiently flushed. The operating system detects a change to the last write-time only when the file is written to the disk -- Stuart From stuart at lexacorp.com.pg Sun Apr 22 06:27:32 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 22 Apr 2007 21:27:32 +1000 Subject: [AccessD] Cool stuff - was RE: using a dtsx in .Net In-Reply-To: References: Message-ID: <462B46A4.23315.D5B4C16@stuart.lexacorp.com.pg> > > >>> jwcolby at colbyconsulting.com 21-04-2007 21:37 >>> > Thanks for that. I just checked out this solution and while it does > function, it appears to have some serious limitations, specifically that it > can only monitor one directory, It will monitor a complete directory tree is you set the bWatchSubtree flag. -- Stuart From Gustav at cactus.dk Sun Apr 22 06:56:16 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 22 Apr 2007 13:56:16 +0200 Subject: [AccessD] Cool stuff - was RE: using a dtsx in .Net Message-ID: Hi Stuart Yes, that was the case. By second thought, it wouldn't take that much to load the list of files of the directory under observation into an array or collection at launch, then when "something happens" reread that list and pull out the new entries. /gustav >>> stuart at lexacorp.com.pg 22-04-2007 13:25 >>> On 22 Apr 2007 at 12:01, Gustav Brock wrote: > Hi John > > It's worse. It has only limited functionality. > Quoting myself from 2002-02-19 where J?rgen had brought up how to use > FindFirstChangeNotification: > > > The problem I have with this is that it does not seem to be very > accurate. If a bunch of small files are copied then the event fires only a > couple of times; That will happen especially if you are monitoring the FILE_NOTIFY_CHANGE_SIZE or the FILE_NOTIFY_CHANGE_LAST_WRITE events. (Probably the more common ones in practice) The operating system detects a change in file size only when the file is written to the disk. For operating systems that use extensive caching, detection occurs only when the cache is sufficiently flushed. The operating system detects a change to the last write-time only when the file is written to the disk -- Stuart From pcs at azizaz.com Sun Apr 22 08:39:26 2007 From: pcs at azizaz.com (Borge Hansen, Professional Computer Systems) Date: Sun, 22 Apr 2007 23:39:26 +1000 Subject: [AccessD] DirWatcher - was RE: Cool stuff - was RE: usingadtsxin .Net References: <000a01c78384$2af74b80$657aa8c0@m6805><000201c783c1$478eb4d0$7d7d6c4c@jisshowsbs.local><000501c783c3$aed0a840$657aa8c0@m6805><462A4A65.3030303@shaw.ca><003801c7844c$84d1a060$657aa8c0@m6805><003901c78452$4e69cdd0$657aa8c0@m6805><462A95A4.3040901@shaw.ca><004201c7846b$f3047070$657aa8c0@m6805><04e401c7847d$e61da770$fa10a8c0@Albatross> <004301c78496$d4f90980$657aa8c0@m6805> Message-ID: <050a01c784e3$a5bf78a0$fa10a8c0@Albatross> Jon, Thanks for taking the time to respond... This may be of interest : Access the File System with .NET Framework Classes from Visual Basic 6 http://msdn2.microsoft.com/en-us/library/ms364070(vs.80).aspx borge ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, April 22, 2007 2:29 PM Subject: Re: [AccessD] DirWatcher - was RE: Cool stuff - was RE: usingadtsxin .Net Borge, This all started when I watched a webcast video from a series that MS is publishing. They all seemed aimed at nudging VB6 folks to start using VB.Net. I am not a VB6 person, perhaps unfortunately. From rockysmolin at bchacc.com Sun Apr 22 14:44:39 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 22 Apr 2007 12:44:39 -0700 Subject: [AccessD] OT: Default BCC Message-ID: <004d01c78516$aab2ae80$0501a8c0@HAL9005> Dear List: Is there a way to default an email address into the BCC field in Outlook when you create a new message? TIA Rocky From stuart at lexacorp.com.pg Sun Apr 22 17:00:56 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 23 Apr 2007 08:00:56 +1000 Subject: [AccessD] OT: Default BCC In-Reply-To: <004d01c78516$aab2ae80$0501a8c0@HAL9005> References: <004d01c78516$aab2ae80$0501a8c0@HAL9005> Message-ID: <462BDB18.5046.F9F2FDE@stuart.lexacorp.com.pg> On 22 Apr 2007 at 12:44, Rocky Smolin at Beach Access wrote: > Is there a way to default an email address into the BCC field in Outlook > when you create a new message? Gues you'd have to create a VBA macro in Outlook and set the Item.BCC property in the Item_Send event Of course if you use Pegasus Mail, you can set it for each identity separately under the Sending Mail preferences :-) -- Stuart From rockysmolin at bchacc.com Sun Apr 22 17:23:42 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 22 Apr 2007 15:23:42 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: <462BDB18.5046.F9F2FDE@stuart.lexacorp.com.pg> Message-ID: <005501c7852c$e27fccb0$0501a8c0@HAL9005> Stuart: Well I cribbed this of the net: Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) Dim objMe As Recipient Set objMe = Item.Recipients.Add("bchacc at san.rr.com") objMe.Type = olBCC objMe.Resolve Set objMe = Nothing End Sub But don't have a clue how to implement it. Looks like I'll be learning something new this week. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, April 22, 2007 3:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC On 22 Apr 2007 at 12:44, Rocky Smolin at Beach Access wrote: > Is there a way to default an email address into the BCC field in > Outlook when you create a new message? Gues you'd have to create a VBA macro in Outlook and set the Item.BCC property in the Item_Send event Of course if you use Pegasus Mail, you can set it for each identity separately under the Sending Mail preferences :-) -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.6/770 - Release Date: 4/20/2007 6:43 PM From jwcolby at colbyconsulting.com Sun Apr 22 22:56:21 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Sun, 22 Apr 2007 23:56:21 -0400 Subject: [AccessD] using a saved SSIS with VB.Net Message-ID: <000301c7855b$5c12e9d0$657aa8c0@m6805> I saved an import spec from the import wizard in SQL Server 2005. I now need to use that import spec in VB.Net, but I need to modify it. I need to change the source file, make it an append instead of a make table / append, and I need to modify the datatype from NVarchar to varchar. Of course I can simply go back in to SQL Server and run the import wizard again, however this is a fixed width file which means recreating all of the field name / field width info a second time. Is it possible to just do these mods on the existing import spec or should I just bite the bullet and rebuild. I have ~ sixty more files to import into the table and I really don't want to do this 60 times. The last time I did this I actually built an Access app to create .csv files from the original fixed width files. It seems like the long way around the barn but then again I do not see how this wizard is really very useful in this case. Anyone? John W. Colby Colby Consulting www.ColbyConsulting.com From Gustav at cactus.dk Mon Apr 23 04:15:50 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 23 Apr 2007 11:15:50 +0200 Subject: [AccessD] using a saved SSIS with VB.Net Message-ID: Hi John I think that wizards are mostly for one-time or simple repeated tasks. However, do you remember my observation from last year: >> 2006-05-05 20:59 Subject: MySQL insert records When inserting records by a pass-through query from Access, I've found that reading the records off a text file using LOAD DATA INFILE '../data/test.txt' INTO TABLE tempload into an empty non-indexed table runs at about 50,000 records per second even using very modest hardware. This is way faster than any normal "Insert Into ... " I've tried. However, it's a bit clumsy first to have to write the data to a file. Any comments or suggestions? You should be able to do so if not from T-SQL then from Access, and then run a modifiable import and append query in SQL Server which reads the data from the MySQL table and appends them to the internal SQL Server table. But - as you have already done the mechanics for converting the fixed length records files to csv files - that route may be faster for you; at least it is proven. /gustav >>> jwcolby at colbyconsulting.com 23-04-2007 05:56 >>> I saved an import spec from the import wizard in SQL Server 2005. I now need to use that import spec in VB.Net, but I need to modify it. I need to change the source file, make it an append instead of a make table / append, and I need to modify the datatype from NVarchar to varchar. Of course I can simply go back in to SQL Server and run the import wizard again, however this is a fixed width file which means recreating all of the field name / field width info a second time. Is it possible to just do these mods on the existing import spec or should I just bite the bullet and rebuild. I have ~ sixty more files to import into the table and I really don't want to do this 60 times. The last time I did this I actually built an Access app to create .csv files from the original fixed width files. It seems like the long way around the barn but then again I do not see how this wizard is really very useful in this case. Anyone? John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Mon Apr 23 07:08:33 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 23 Apr 2007 08:08:33 -0400 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: References: Message-ID: <001401c785a0$1d855f50$657aa8c0@m6805> Yea, a code "preprocessor" just seems to be the answer. No one on these lists have ever proposed a good (non code) solution for this particular problem. The fixed width flat file just sucks as an import specification. It requires an external file to tell you the field names and field widths. Even once you know that it leaves you with data in the fields with spaces between the end of the data and the end of the field width, i.e. 'John' in a first name field 25 spaces wide is actually 'John '. Unless you strip off the spaces you end up with a HUGE database where indexes are huge and matches with external data are difficult. But it is what is used in the industry I am dealing with. Suck it up and move on I guess. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 23, 2007 5:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John I think that wizards are mostly for one-time or simple repeated tasks. However, do you remember my observation from last year: >> 2006-05-05 20:59 Subject: MySQL insert records When inserting records by a pass-through query from Access, I've found that reading the records off a text file using LOAD DATA INFILE '../data/test.txt' INTO TABLE tempload into an empty non-indexed table runs at about 50,000 records per second even using very modest hardware. This is way faster than any normal "Insert Into ... " I've tried. However, it's a bit clumsy first to have to write the data to a file. Any comments or suggestions? You should be able to do so if not from T-SQL then from Access, and then run a modifiable import and append query in SQL Server which reads the data from the MySQL table and appends them to the internal SQL Server table. But - as you have already done the mechanics for converting the fixed length records files to csv files - that route may be faster for you; at least it is proven. /gustav >>> jwcolby at colbyconsulting.com 23-04-2007 05:56 >>> I saved an import spec from the import wizard in SQL Server 2005. I now need to use that import spec in VB.Net, but I need to modify it. I need to change the source file, make it an append instead of a make table / append, and I need to modify the datatype from NVarchar to varchar. Of course I can simply go back in to SQL Server and run the import wizard again, however this is a fixed width file which means recreating all of the field name / field width info a second time. Is it possible to just do these mods on the existing import spec or should I just bite the bullet and rebuild. I have ~ sixty more files to import into the table and I really don't want to do this 60 times. The last time I did this I actually built an Access app to create .csv files from the original fixed width files. It seems like the long way around the barn but then again I do not see how this wizard is really very useful in this case. Anyone? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Mon Apr 23 07:16:13 2007 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Mon, 23 Apr 2007 08:16:13 -0400 Subject: [AccessD] XQuery in VB 6 In-Reply-To: <017901c78317$1fa6f3b0$0100a8c0@RazvojErvin> References: <20070419144605.592A82B8B5C@smtp.nildram.co.uk><1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com><200704191517.l3JFHOx19027@smarthost.yourcomms.net><0B8880A20E2CF24280FA60901E108FB05AB375@TTNEXCHSVR.hshhp.com><46279FE9.6060806@shaw.ca><0B8880A20E2CF24280FA60901E108FB05AB399@TTNEXCHSVR.hshhp.com><4628112A.6080702@shaw.ca> <017901c78317$1fa6f3b0$0100a8c0@RazvojErvin> Message-ID: <0B8880A20E2CF24280FA60901E108FB05AB442@TTNEXCHSVR.hshhp.com> I'll second that. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ervin Brindza Sent: Friday, April 20, 2007 2:42 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] XQuery in VB 6 Marty, when will be your MVP announcement? Regards, Ervin ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Friday, April 20, 2007 3:02 AM Subject: Re: [AccessD] XQuery in VB 6 > Option Compare Database > Option Explicit > > Dim mcolRate As Collection > Sub testxml() > Set mcolRate = New Collection > 'find daily US dollar fixed rate vs Euro from Euro Central Bank > ' via XPath > > GrabXMLFile ("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml") > > Debug.Print mcolRate("USD") > MsgBox "US Euro Rate ECB " & mcolRate("USD") > End Sub > Public Function GrabXMLFile(ByRef AdviserXML As String) > 'http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html > > 'Base currency is Euro so will have to do a conversion for USD > 'Note the link for other pages with sources for XML etc. > > 'http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml > 'On Error GoTo ErrorHandler > 'needs reference set to XML 4.0 and maybe ADO 2.8 > Dim oDOMDocument As MSXML2.DOMDocument40 > Dim oNodeList As IXMLDOMNodeList > Dim oAdviserDetailsNode As IXMLDOMNode > Dim oLowestLevelNode As IXMLDOMElement > Dim oNode As IXMLDOMNode > Dim objXMLDOMNamedNodeMap As IXMLDOMNamedNodeMap > Dim xPError As IXMLDOMParseError > Dim Mydb As Database > Dim myrs As ADODB.Recordset > Dim sTempValue As String > > Set oDOMDocument = New MSXML2.DOMDocument40 > > oDOMDocument.async = False > oDOMDocument.validateOnParse = True 'you may want to parse for errors > oDOMDocument.resolveExternals = False > oDOMDocument.preserveWhiteSpace = True > > 'use if xml disk file > If Not oDOMDocument.Load(AdviserXML) Then > MsgBox ("XML File error") > Set xPError = oDOMDocument.parseError > DOMParseError xPError > > End If > Set oAdviserDetailsNode = oDOMDocument.documentElement > Debug.Print oDOMDocument.xml > > 'use appropriate XPath expression to select nodes > > ' Set oNodeList = > oAdviserDetailsNode.selectNodes("Envelope/Cube/Cube/@*") > Set oNodeList = oAdviserDetailsNode.selectNodes("//@*") > > Debug.Print oNodeList.length > > For Each oNode In oNodeList > > ' Debug.Print "*" & oNode.Text; oNode.nodeName & "*" > > Select Case oNode.nodeName > Case "currency" > sTempValue = oNode.Text > > Case "rate" > 'This path is used to store a variable on the collection > On Error Resume Next > mcolRate.Remove sTempValue > mcolRate.Add oNode.Text, sTempValue > Debug.Print sTempValue & " rate " & oNode.Text > On Error GoTo ErrorHandler > > End Select > > Next > Set oNodeList = Nothing > Set oDOMDocument = Nothing > Set oAdviserDetailsNode = Nothing > Set objXMLDOMNamedNodeMap = Nothing > Exit Function > > ErrorHandler: > > ' Call NewError.Raise(Err.Number, Err.Source, Err.Description) > > End Function > Sub DOMParseError(xPE As IXMLDOMParseError) > > ' The document failed to load. > Dim strErrText As String > ' Obtain the ParseError object > With xPE > strErrText = "Your XML Document failed to load" & _ > "due the following error." & vbCrLf & _ > "Error #: " & .errorCode & ": " & xPE.reason & _ > "Line #: " & .Line & vbCrLf & _ > "Line Position: " & .linepos & vbCrLf & _ > "Position In File: " & .filepos & vbCrLf & _ > "Source Text: " & .srcText & vbCrLf & _ > "Document URL: " & .url > End With > Debug.Print strErrText > > Dim s As String > Dim r As String > Dim i As Long > > s = "" > For i = 1 To xPE.linepos - 1 > s = s & " " > Next > r = "XML Error loading " & xPE.url & " * " & xPE.reason > Debug.Print r > 'show character postion of error; tired of counting chars in xml file > If (xPE.Line > 0) Then > r = "at line " & xPE.Line & ", character " & xPE.linepos & vbCrLf & _ > xPE.srcText & vbCrLf & s & "^" > End If > Debug.Print r > MsgBox strErrText, vbExclamation > End Sub > > > Jim DeMarco wrote: > >>Thanks Marty. I'll pass this on to my team. >> >>We're using XQuery but we're not strongly tied to it. I had mentioned >>XPath but I thought that was used to access one piece of data (or one >>related set of nodes out of a structure). We need to return select >>nodes based on criteria. Is this an accurate description of differences >>betweent the two do you think? >> >> >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >>Sent: Thursday, April 19, 2007 12:59 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] XQuery in VB 6 >> >>I have only used XQuery with SQL 2005 & VB.Net I have XPath examples in >>VBA >> >>Are you using XQuery or XPath? >> >> XPath is imbedded in both XSLT and XQuery. In those languages it serves >>the role of node-set identification (selection) >> >>XQuery example >> >>Dim sql_getbank As String = "SELECT >>Demographics.query('data(//BankName)') " _ >> >> & "FROM Store WHERE CustomerID = @CustomerID" >> >> >>XPath example >> >> Set oAdviserDetailsNode = oDOMDocument.documentElement >> 'use appropriate XPath expression to select nodes >> Set oNodeList = >>oAdviserDetailsNode.selectNodes("//BusinessDetails/*") >> >>Have a look at >>SQL Server 2005 XQuery and XML-DML - Part 2 By Alex Homer >> >>http://www.15seconds.com/issue/050811.htm >> >> >>Jim DeMarco wrote: >> >> >> >>>X-posted AccessD, VB >>> >>>Hello All, >>> >>>I've been absent for a while but an issue has just come up that I hope >>>someone can help with. >>> >>>Does anyone have any VB 6 code that uses XQuery to return a set of >>>nodes? I find plenty of XQuery examples that show the query and the >>>returned nodes but no VB 6 implementation. >>> >>>Any short code snip will do. >>> >>>TIA, >>> >>>Jim DeMarco >>> >>> > -- > Marty Connelly > Victoria, B.C. > Canada > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > Internal Virus Database is out-of-date. > Checked by AVG Free Edition. > Version: 7.5.446 / Virus Database: 268.18.24/742 - Release Date: 4/1/2007 > 8:49 PM > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Mon Apr 23 10:10:43 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 23 Apr 2007 10:10:43 -0500 Subject: [AccessD] OT: Default BCC In-Reply-To: <004d01c78516$aab2ae80$0501a8c0@HAL9005> Message-ID: Probably easier to use a rule. (There's a rule wizard to help out). Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, April 22, 2007 2:45 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Default BCC Dear List: Is there a way to default an email address into the BCC field in Outlook when you create a new message? TIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Apr 23 11:01:39 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 23 Apr 2007 09:01:39 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: Message-ID: <008801c785c0$ae09a070$0501a8c0@HAL9005> That WOULD be easy. But I don't see a rule that governs outgoing addresses. Only sorting incoming mail. Am I missing it somewhere? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 8:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC Probably easier to use a rule. (There's a rule wizard to help out). Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, April 22, 2007 2:45 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Default BCC Dear List: Is there a way to default an email address into the BCC field in Outlook when you create a new message? TIA Rocky -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM From DWUTKA at Marlow.com Mon Apr 23 11:38:53 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 23 Apr 2007 11:38:53 -0500 Subject: [AccessD] OT: Default BCC In-Reply-To: <008801c785c0$ae09a070$0501a8c0@HAL9005> Message-ID: Okay, step by step using Outlook 2003. Click Tools --> Rules and Alerts Click New Rule Select 'Start from a blank rule' (not default selection) Under Step1, select Check messages after sending, click next. Click next again (you will be prompted again, click Yes) (Side note, this rule now applies to ALL email you send. The last Next and Yes skipped past conditions you may want to choose) Select 'CC the message to people or distribution list'. In the step 2 window, click the underlines 'people or distribution list' to select the address you want the copy sent too. Click Next, then Next again (this one skips the exceptions that you can apply to your rule) Click Finish All done! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 11:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC That WOULD be easy. But I don't see a rule that governs outgoing addresses. Only sorting incoming mail. Am I missing it somewhere? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 8:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC Probably easier to use a rule. (There's a rule wizard to help out). Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, April 22, 2007 2:45 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Default BCC Dear List: Is there a way to default an email address into the BCC field in Outlook when you create a new message? TIA Rocky -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Apr 23 11:50:41 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 23 Apr 2007 09:50:41 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: Message-ID: <00ac01c785c7$872fee80$0501a8c0@HAL9005> Almost there. The user who asked me for this wants to Bcc. The rule wizard seems to only allow CC. It's a law office and this person wants to Bcc her admin assistant. Is there a way to do Bcc? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 9:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC Okay, step by step using Outlook 2003. Click Tools --> Rules and Alerts Click New Rule Select 'Start from a blank rule' (not default selection) Under Step1, select Check messages after sending, click next. Click next again (you will be prompted again, click Yes) (Side note, this rule now applies to ALL email you send. The last Next and Yes skipped past conditions you may want to choose) Select 'CC the message to people or distribution list'. In the step 2 window, click the underlines 'people or distribution list' to select the address you want the copy sent too. Click Next, then Next again (this one skips the exceptions that you can apply to your rule) Click Finish All done! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 11:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC That WOULD be easy. But I don't see a rule that governs outgoing addresses. Only sorting incoming mail. Am I missing it somewhere? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 8:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC Probably easier to use a rule. (There's a rule wizard to help out). Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, April 22, 2007 2:45 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Default BCC Dear List: Is there a way to default an email address into the BCC field in Outlook when you create a new message? TIA Rocky -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM From cfoust at infostatsystems.com Mon Apr 23 11:56:45 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 23 Apr 2007 09:56:45 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: <00ac01c785c7$872fee80$0501a8c0@HAL9005> References: <00ac01c785c7$872fee80$0501a8c0@HAL9005> Message-ID: Wouldn't it be easier to just add a custom button to Outlook to pop the Admin Assistant into the Bcc for each email she wants to apply it to? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 9:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Almost there. The user who asked me for this wants to Bcc. The rule wizard seems to only allow CC. It's a law office and this person wants to Bcc her admin assistant. Is there a way to do Bcc? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 9:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC Okay, step by step using Outlook 2003. Click Tools --> Rules and Alerts Click New Rule Select 'Start from a blank rule' (not default selection) Under Step1, select Check messages after sending, click next. Click next again (you will be prompted again, click Yes) (Side note, this rule now applies to ALL email you send. The last Next and Yes skipped past conditions you may want to choose) Select 'CC the message to people or distribution list'. In the step 2 window, click the underlines 'people or distribution list' to select the address you want the copy sent too. Click Next, then Next again (this one skips the exceptions that you can apply to your rule) Click Finish All done! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 11:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC That WOULD be easy. But I don't see a rule that governs outgoing addresses. Only sorting incoming mail. Am I missing it somewhere? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 8:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC Probably easier to use a rule. (There's a rule wizard to help out). Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, April 22, 2007 2:45 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Default BCC Dear List: Is there a way to default an email address into the BCC field in Outlook when you create a new message? TIA Rocky -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Apr 23 12:17:24 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 23 Apr 2007 10:17:24 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: Message-ID: <00c101c785cb$42b4a9e0$0501a8c0@HAL9005> Charlotte: Too easy. But I couldn't figure out how to do it. Checked the Customize commands but didn't see anything obvious. How do you do that? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 23, 2007 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC Wouldn't it be easier to just add a custom button to Outlook to pop the Admin Assistant into the Bcc for each email she wants to apply it to? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 9:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Almost there. The user who asked me for this wants to Bcc. The rule wizard seems to only allow CC. It's a law office and this person wants to Bcc her admin assistant. Is there a way to do Bcc? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 9:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC Okay, step by step using Outlook 2003. Click Tools --> Rules and Alerts Click New Rule Select 'Start from a blank rule' (not default selection) Under Step1, select Check messages after sending, click next. Click next again (you will be prompted again, click Yes) (Side note, this rule now applies to ALL email you send. The last Next and Yes skipped past conditions you may want to choose) Select 'CC the message to people or distribution list'. In the step 2 window, click the underlines 'people or distribution list' to select the address you want the copy sent too. Click Next, then Next again (this one skips the exceptions that you can apply to your rule) Click Finish All done! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 11:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC That WOULD be easy. But I don't see a rule that governs outgoing addresses. Only sorting incoming mail. Am I missing it somewhere? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 8:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC Probably easier to use a rule. (There's a rule wizard to help out). Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, April 22, 2007 2:45 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Default BCC Dear List: Is there a way to default an email address into the BCC field in Outlook when you create a new message? TIA Rocky -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM From DWUTKA at Marlow.com Mon Apr 23 12:26:17 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 23 Apr 2007 12:26:17 -0500 Subject: [AccessD] OT: Default BCC In-Reply-To: <00ac01c785c7$872fee80$0501a8c0@HAL9005> Message-ID: Hmmmm, good point. Another option would be to have the lawyer link outlook to a folder in her assistants account (easier if on an Exchange server, if they are using .pst's, may not work), and use the move to folder action. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 11:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Almost there. The user who asked me for this wants to Bcc. The rule wizard seems to only allow CC. It's a law office and this person wants to Bcc her admin assistant. Is there a way to do Bcc? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 9:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC Okay, step by step using Outlook 2003. Click Tools --> Rules and Alerts Click New Rule Select 'Start from a blank rule' (not default selection) Under Step1, select Check messages after sending, click next. Click next again (you will be prompted again, click Yes) (Side note, this rule now applies to ALL email you send. The last Next and Yes skipped past conditions you may want to choose) Select 'CC the message to people or distribution list'. In the step 2 window, click the underlines 'people or distribution list' to select the address you want the copy sent too. Click Next, then Next again (this one skips the exceptions that you can apply to your rule) Click Finish All done! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 11:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC That WOULD be easy. But I don't see a rule that governs outgoing addresses. Only sorting incoming mail. Am I missing it somewhere? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 8:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC Probably easier to use a rule. (There's a rule wizard to help out). Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, April 22, 2007 2:45 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Default BCC Dear List: Is there a way to default an email address into the BCC field in Outlook when you create a new message? TIA Rocky -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Mon Apr 23 12:54:09 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 23 Apr 2007 18:54:09 +0100 Subject: [AccessD] OT: Default BCC In-Reply-To: <00ac01c785c7$872fee80$0501a8c0@HAL9005> Message-ID: <000001c785d0$66cea920$c9e1d355@minster33c3r25> Sorry if this is too simplistic, but she does have the View BCC option ticked doesn't she? -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: 23 April 2007 17:51 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: Default BCC > > > Almost there. The user who asked me for this wants to Bcc. > The rule wizard > seems to only allow CC. It's a law office and this person > wants to Bcc her > admin assistant. Is there a way to do Bcc? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: Monday, April 23, 2007 9:39 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Default BCC > > Okay, step by step using Outlook 2003. > > Click Tools --> Rules and Alerts > > Click New Rule > > Select 'Start from a blank rule' (not default selection) > > Under Step1, select Check messages after sending, click next. > > Click next again (you will be prompted again, click Yes) > > (Side note, this rule now applies to ALL email you send. The > last Next and Yes skipped past conditions you may want to choose) > > Select 'CC the message to people or distribution list'. > > In the step 2 window, click the underlines 'people or > distribution list' to select the address you want the copy sent too. > > Click Next, then Next again (this one skips the exceptions > that you can apply to your rule) > > Click Finish > > All done! > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Monday, April 23, 2007 11:02 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: Default BCC > > > That WOULD be easy. But I don't see a rule that governs > outgoing addresses. Only sorting incoming mail. Am I missing > it somewhere? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: Monday, April 23, 2007 8:11 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Default BCC > > Probably easier to use a rule. (There's a rule wizard to help out). > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Sunday, April 22, 2007 2:45 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] OT: Default BCC > > > > > Dear List: > > Is there a way to default an email address into the BCC field > in Outlook when you create a new message? > > TIA > > Rocky > > > > > > -- > 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 > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.463 / Virus Database: 269.5.9/773 - Release > Date: 4/22/2007 8:18 PM > > > -- > 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 > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.463 / Virus Database: 269.5.9/773 - Release > Date: 4/22/2007 8:18 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From rockysmolin at bchacc.com Mon Apr 23 13:01:13 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 23 Apr 2007 11:01:13 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: <000001c785d0$66cea920$c9e1d355@minster33c3r25> Message-ID: <00d601c785d1$621a5360$0501a8c0@HAL9005> Yes, but she has to insert her AA's email address manually on every email that goes to a client that she wants to copy the AA on. So she was looking for a way to have the AA's email automatically entered in the Bcc line on every email. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Monday, April 23, 2007 10:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Sorry if this is too simplistic, but she does have the View BCC option ticked doesn't she? -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: 23 April 2007 17:51 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: Default BCC > > > Almost there. The user who asked me for this wants to Bcc. > The rule wizard > seems to only allow CC. It's a law office and this person > wants to Bcc her > admin assistant. Is there a way to do Bcc? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: Monday, April 23, 2007 9:39 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Default BCC > > Okay, step by step using Outlook 2003. > > Click Tools --> Rules and Alerts > > Click New Rule > > Select 'Start from a blank rule' (not default selection) > > Under Step1, select Check messages after sending, click next. > > Click next again (you will be prompted again, click Yes) > > (Side note, this rule now applies to ALL email you send. The last > Next and Yes skipped past conditions you may want to choose) > > Select 'CC the message to people or distribution list'. > > In the step 2 window, click the underlines 'people or distribution > list' to select the address you want the copy sent too. > > Click Next, then Next again (this one skips the exceptions that you > can apply to your rule) > > Click Finish > > All done! > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin > at Beach Access Software > Sent: Monday, April 23, 2007 11:02 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: Default BCC > > > That WOULD be easy. But I don't see a rule that governs outgoing > addresses. Only sorting incoming mail. Am I missing it somewhere? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: Monday, April 23, 2007 8:11 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Default BCC > > Probably easier to use a rule. (There's a rule wizard to help out). > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin > at Beach Access Software > Sent: Sunday, April 22, 2007 2:45 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] OT: Default BCC > > > > > Dear List: > > Is there a way to default an email address into the BCC field in > Outlook when you create a new message? > > TIA > > Rocky > > > > > > -- > 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 > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.463 / Virus Database: 269.5.9/773 - Release > Date: 4/22/2007 8:18 PM > > > -- > 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 > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.463 / Virus Database: 269.5.9/773 - Release > Date: 4/22/2007 8:18 PM > > > -- > 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM From Chester_Kaup at kindermorgan.com Mon Apr 23 13:05:39 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 23 Apr 2007 13:05:39 -0500 Subject: [AccessD] Query returns only some results Message-ID: When I run the following query it returns results for only some patterns. An example is Pattern 111-1. Below the query is a listing of some of the data for Pattern 111-1. I have also tried min in place of first. I cannot seem to see why I am getting no results for this pattern. SELECT DISTINCT Daily_Appended_Audit.Pattern, First(Daily_Appended_Audit.Date) AS FirstOfDate FROM Daily_Appended_Audit WHERE (((Daily_Appended_Audit.[Inject Fluid])="Water") AND ((Daily_Appended_Audit.BWIPD)>0)) GROUP BY Daily_Appended_Audit.Pattern HAVING (((First(Daily_Appended_Audit.Date))>Date()-2)); qry First Date of Water Injection after Today Pattern Date 111-1 4/20/2006 111-1 4/21/2006 111-1 4/22/2006 111-1 4/23/2006 111-1 4/24/2006 111-1 4/25/2006 111-1 4/26/2006 111-1 4/27/2006 111-1 4/28/2006 111-1 4/29/2006 111-1 4/30/2006 111-1 5/1/2006 111-1 5/2/2006 111-1 5/3/2006 111-1 5/4/2006 111-1 5/5/2006 111-1 5/6/2006 111-1 5/7/2006 111-1 5/8/2006 111-1 5/9/2006 Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From Elizabeth.J.Doering at wellsfargo.com Mon Apr 23 13:09:33 2007 From: Elizabeth.J.Doering at wellsfargo.com (Elizabeth.J.Doering at wellsfargo.com) Date: Mon, 23 Apr 2007 13:09:33 -0500 Subject: [AccessD] OT: Default BCC References: <00ac01c785c7$872fee80$0501a8c0@HAL9005> Message-ID: <1C2084FD2472124AB1812A5476EA3B7A015F7DDB@msgswbmnmsp04.wellsfargo.com> There is an option in Rules to check messages after they are sent, and then send copy to another person. Does this help? Thanks, Liz Liz Doering elizabeth.j.doering at wellsfargo.com 612.667.2447 "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 11:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Almost there. The user who asked me for this wants to Bcc. The rule wizard seems to only allow CC. It's a law office and this person wants to Bcc her admin assistant. Is there a way to do Bcc? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 9:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC Okay, step by step using Outlook 2003. Click Tools --> Rules and Alerts Click New Rule Select 'Start from a blank rule' (not default selection) Under Step1, select Check messages after sending, click next. Click next again (you will be prompted again, click Yes) (Side note, this rule now applies to ALL email you send. The last Next and Yes skipped past conditions you may want to choose) Select 'CC the message to people or distribution list'. In the step 2 window, click the underlines 'people or distribution list' to select the address you want the copy sent too. Click Next, then Next again (this one skips the exceptions that you can apply to your rule) Click Finish All done! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 11:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC That WOULD be easy. But I don't see a rule that governs outgoing addresses. Only sorting incoming mail. Am I missing it somewhere? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 8:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC Probably easier to use a rule. (There's a rule wizard to help out). Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, April 22, 2007 2:45 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Default BCC Dear List: Is there a way to default an email address into the BCC field in Outlook when you create a new message? TIA Rocky -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Mon Apr 23 13:26:52 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 23 Apr 2007 13:26:52 -0500 Subject: [AccessD] Query returns only some results In-Reply-To: References: Message-ID: Problem solved! Field name in source table of Date is the problem. I should know that Date is not a good field name to use. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, April 23, 2007 1:06 PM To: Access Developers discussion and problem solving Subject: [AccessD] Query returns only some results When I run the following query it returns results for only some patterns. An example is Pattern 111-1. Below the query is a listing of some of the data for Pattern 111-1. I have also tried min in place of first. I cannot seem to see why I am getting no results for this pattern. SELECT DISTINCT Daily_Appended_Audit.Pattern, First(Daily_Appended_Audit.Date) AS FirstOfDate FROM Daily_Appended_Audit WHERE (((Daily_Appended_Audit.[Inject Fluid])="Water") AND ((Daily_Appended_Audit.BWIPD)>0)) GROUP BY Daily_Appended_Audit.Pattern HAVING (((First(Daily_Appended_Audit.Date))>Date()-2)); qry First Date of Water Injection after Today Pattern Date 111-1 4/20/2006 111-1 4/21/2006 111-1 4/22/2006 111-1 4/23/2006 111-1 4/24/2006 111-1 4/25/2006 111-1 4/26/2006 111-1 4/27/2006 111-1 4/28/2006 111-1 4/29/2006 111-1 4/30/2006 111-1 5/1/2006 111-1 5/2/2006 111-1 5/3/2006 111-1 5/4/2006 111-1 5/5/2006 111-1 5/6/2006 111-1 5/7/2006 111-1 5/8/2006 111-1 5/9/2006 Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Apr 23 16:58:57 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 23 Apr 2007 14:58:57 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: <00d601c785d1$621a5360$0501a8c0@HAL9005> References: <00d601c785d1$621a5360$0501a8c0@HAL9005> Message-ID: <462D2C21.5050209@shaw.ca> This site says you have to do through VBA code. or use third party add-in http://www.howto-outlook.com/faq/createbccrule.htm To automatically Bcc all outgoing messages. http://www.outlookcode.com/d/code/autobcc.htm Rocky Smolin at Beach Access Software wrote: >Yes, but she has to insert her AA's email address manually on every email >that goes to a client that she wants to copy the AA on. So she was looking >for a way to have the AA's email automatically entered in the Bcc line on >every email. > >Rocky > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Monday, April 23, 2007 10:54 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT: Default BCC > >Sorry if this is too simplistic, but she does have the View BCC option >ticked doesn't she? > >-- Andy Lacey >http://www.minstersystems.co.uk > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>Smolin at Beach Access Software >>Sent: 23 April 2007 17:51 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>Almost there. The user who asked me for this wants to Bcc. >>The rule wizard >>seems to only allow CC. It's a law office and this person >>wants to Bcc her >>admin assistant. Is there a way to do Bcc? >> >>Rocky >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 9:39 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Okay, step by step using Outlook 2003. >> >>Click Tools --> Rules and Alerts >> >>Click New Rule >> >>Select 'Start from a blank rule' (not default selection) >> >>Under Step1, select Check messages after sending, click next. >> >>Click next again (you will be prompted again, click Yes) >> >>(Side note, this rule now applies to ALL email you send. The last >>Next and Yes skipped past conditions you may want to choose) >> >>Select 'CC the message to people or distribution list'. >> >>In the step 2 window, click the underlines 'people or distribution >>list' to select the address you want the copy sent too. >> >>Click Next, then Next again (this one skips the exceptions that you >>can apply to your rule) >> >>Click Finish >> >>All done! >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Monday, April 23, 2007 11:02 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>That WOULD be easy. But I don't see a rule that governs outgoing >>addresses. Only sorting incoming mail. Am I missing it somewhere? >> >>Rocky >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 8:11 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Probably easier to use a rule. (There's a rule wizard to help out). >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Sunday, April 22, 2007 2:45 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] OT: Default BCC >> >> >> >> >>Dear List: >> >>Is there a way to default an email address into the BCC field in >>Outlook when you create a new message? >> >>TIA >> >>Rocky >> >> -- Marty Connelly Victoria, B.C. Canada From rockysmolin at bchacc.com Mon Apr 23 18:03:12 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 23 Apr 2007 16:03:12 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: <462D2C21.5050209@shaw.ca> Message-ID: <010201c785fb$92401ff0$0501a8c0@HAL9005> Marty: You know I found that site. And the code makes sense. But I've never put any code behind Outlook. Don't know how to get that code attached to the Item_Send event (if there is such a thing). Any hints on how to? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 23, 2007 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC This site says you have to do through VBA code. or use third party add-in http://www.howto-outlook.com/faq/createbccrule.htm To automatically Bcc all outgoing messages. http://www.outlookcode.com/d/code/autobcc.htm Rocky Smolin at Beach Access Software wrote: >Yes, but she has to insert her AA's email address manually on every >email that goes to a client that she wants to copy the AA on. So she >was looking for a way to have the AA's email automatically entered in >the Bcc line on every email. > >Rocky > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Monday, April 23, 2007 10:54 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT: Default BCC > >Sorry if this is too simplistic, but she does have the View BCC option >ticked doesn't she? > >-- Andy Lacey >http://www.minstersystems.co.uk > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>Smolin at Beach Access Software >>Sent: 23 April 2007 17:51 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>Almost there. The user who asked me for this wants to Bcc. >>The rule wizard >>seems to only allow CC. It's a law office and this person >>wants to Bcc her >>admin assistant. Is there a way to do Bcc? >> >>Rocky >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 9:39 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Okay, step by step using Outlook 2003. >> >>Click Tools --> Rules and Alerts >> >>Click New Rule >> >>Select 'Start from a blank rule' (not default selection) >> >>Under Step1, select Check messages after sending, click next. >> >>Click next again (you will be prompted again, click Yes) >> >>(Side note, this rule now applies to ALL email you send. The last >>Next and Yes skipped past conditions you may want to choose) >> >>Select 'CC the message to people or distribution list'. >> >>In the step 2 window, click the underlines 'people or distribution >>list' to select the address you want the copy sent too. >> >>Click Next, then Next again (this one skips the exceptions that you >>can apply to your rule) >> >>Click Finish >> >>All done! >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Monday, April 23, 2007 11:02 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>That WOULD be easy. But I don't see a rule that governs outgoing >>addresses. Only sorting incoming mail. Am I missing it somewhere? >> >>Rocky >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 8:11 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Probably easier to use a rule. (There's a rule wizard to help out). >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Sunday, April 22, 2007 2:45 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] OT: Default BCC >> >> >> >> >>Dear List: >> >>Is there a way to default an email address into the BCC field in >>Outlook when you create a new message? >> >>TIA >> >>Rocky >> >> -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM From jwcolby at colbyconsulting.com Mon Apr 23 18:13:05 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 23 Apr 2007 19:13:05 -0400 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: <001401c785a0$1d855f50$657aa8c0@m6805> References: <001401c785a0$1d855f50$657aa8c0@m6805> Message-ID: <000001c785fc$f3a4dff0$657aa8c0@m6805> Well, it took about three hours to build an Access VBA system to turn the fixed width file into a CSV with the leading / trailing spaces stripped off of every field. The code runs about 2.5 K records / second for the conversion portion. I name the CSV file with a fixed name and linked the file to Access, so once that is done I run a simple append query that pulls the data back out of the CSV and appends it into the SQL Server table. Unfortunately the append to SQL process is running at a little better than 500 records / second. I have to figure that out or this will take weeks. I have ~ 100 million records to convert so... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 23, 2007 8:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] using a saved SSIS with VB.Net Yea, a code "preprocessor" just seems to be the answer. No one on these lists have ever proposed a good (non code) solution for this particular problem. The fixed width flat file just sucks as an import specification. It requires an external file to tell you the field names and field widths. Even once you know that it leaves you with data in the fields with spaces between the end of the data and the end of the field width, i.e. 'John' in a first name field 25 spaces wide is actually 'John '. Unless you strip off the spaces you end up with a HUGE database where indexes are huge and matches with external data are difficult. But it is what is used in the industry I am dealing with. Suck it up and move on I guess. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 23, 2007 5:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John I think that wizards are mostly for one-time or simple repeated tasks. However, do you remember my observation from last year: >> 2006-05-05 20:59 Subject: MySQL insert records When inserting records by a pass-through query from Access, I've found that reading the records off a text file using LOAD DATA INFILE '../data/test.txt' INTO TABLE tempload into an empty non-indexed table runs at about 50,000 records per second even using very modest hardware. This is way faster than any normal "Insert Into ... " I've tried. However, it's a bit clumsy first to have to write the data to a file. Any comments or suggestions? You should be able to do so if not from T-SQL then from Access, and then run a modifiable import and append query in SQL Server which reads the data from the MySQL table and appends them to the internal SQL Server table. But - as you have already done the mechanics for converting the fixed length records files to csv files - that route may be faster for you; at least it is proven. /gustav >>> jwcolby at colbyconsulting.com 23-04-2007 05:56 >>> I saved an import spec from the import wizard in SQL Server 2005. I now need to use that import spec in VB.Net, but I need to modify it. I need to change the source file, make it an append instead of a make table / append, and I need to modify the datatype from NVarchar to varchar. Of course I can simply go back in to SQL Server and run the import wizard again, however this is a fixed width file which means recreating all of the field name / field width info a second time. Is it possible to just do these mods on the existing import spec or should I just bite the bullet and rebuild. I have ~ sixty more files to import into the table and I really don't want to do this 60 times. The last time I did this I actually built an Access app to create .csv files from the original fixed width files. It seems like the long way around the barn but then again I do not see how this wizard is really very useful in this case. Anyone? John W. Colby Colby Consulting www.ColbyConsulting.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 DWUTKA at Marlow.com Mon Apr 23 18:57:51 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 23 Apr 2007 18:57:51 -0500 Subject: [AccessD] OT: Default BCC In-Reply-To: <010201c785fb$92401ff0$0501a8c0@HAL9005> Message-ID: When you go into the code window, there is a 'ThisOutlookSession' object. Click that, and you should get a blank code page. Click the left drop down box in the code page and select Application. The right drop down will then have the ItemSend event. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 6:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Marty: You know I found that site. And the code makes sense. But I've never put any code behind Outlook. Don't know how to get that code attached to the Item_Send event (if there is such a thing). Any hints on how to? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 23, 2007 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC This site says you have to do through VBA code. or use third party add-in http://www.howto-outlook.com/faq/createbccrule.htm To automatically Bcc all outgoing messages. http://www.outlookcode.com/d/code/autobcc.htm Rocky Smolin at Beach Access Software wrote: >Yes, but she has to insert her AA's email address manually on every >email that goes to a client that she wants to copy the AA on. So she >was looking for a way to have the AA's email automatically entered in >the Bcc line on every email. > >Rocky > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Monday, April 23, 2007 10:54 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT: Default BCC > >Sorry if this is too simplistic, but she does have the View BCC option >ticked doesn't she? > >-- Andy Lacey >http://www.minstersystems.co.uk > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>Smolin at Beach Access Software >>Sent: 23 April 2007 17:51 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>Almost there. The user who asked me for this wants to Bcc. >>The rule wizard >>seems to only allow CC. It's a law office and this person >>wants to Bcc her >>admin assistant. Is there a way to do Bcc? >> >>Rocky >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 9:39 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Okay, step by step using Outlook 2003. >> >>Click Tools --> Rules and Alerts >> >>Click New Rule >> >>Select 'Start from a blank rule' (not default selection) >> >>Under Step1, select Check messages after sending, click next. >> >>Click next again (you will be prompted again, click Yes) >> >>(Side note, this rule now applies to ALL email you send. The last >>Next and Yes skipped past conditions you may want to choose) >> >>Select 'CC the message to people or distribution list'. >> >>In the step 2 window, click the underlines 'people or distribution >>list' to select the address you want the copy sent too. >> >>Click Next, then Next again (this one skips the exceptions that you >>can apply to your rule) >> >>Click Finish >> >>All done! >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Monday, April 23, 2007 11:02 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>That WOULD be easy. But I don't see a rule that governs outgoing >>addresses. Only sorting incoming mail. Am I missing it somewhere? >> >>Rocky >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 8:11 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Probably easier to use a rule. (There's a rule wizard to help out). >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Sunday, April 22, 2007 2:45 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] OT: Default BCC >> >> >> >> >>Dear List: >> >>Is there a way to default an email address into the BCC field in >>Outlook when you create a new message? >> >>TIA >> >>Rocky >> >> -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at sc.rr.com Mon Apr 23 19:01:27 2007 From: bheid at sc.rr.com (Bobby Heid) Date: Mon, 23 Apr 2007 20:01:27 -0400 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: <000001c785fc$f3a4dff0$657aa8c0@m6805> References: <001401c785a0$1d855f50$657aa8c0@m6805> <000001c785fc$f3a4dff0$657aa8c0@m6805> Message-ID: <004401c78603$b4fc5c90$2c01a8c0@bhxp> John, Check out FileHelpers 2.0 http://filehelpers.sourceforge.net/ and see if that will help you. Also, it sounds like BCP in SQL server would be a better candidate to get the data into SQL in a bulk manner. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 23, 2007 7:13 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] using a saved SSIS with VB.Net Well, it took about three hours to build an Access VBA system to turn the fixed width file into a CSV with the leading / trailing spaces stripped off of every field. The code runs about 2.5 K records / second for the conversion portion. I name the CSV file with a fixed name and linked the file to Access, so once that is done I run a simple append query that pulls the data back out of the CSV and appends it into the SQL Server table. Unfortunately the append to SQL process is running at a little better than 500 records / second. I have to figure that out or this will take weeks. I have ~ 100 million records to convert so... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 23, 2007 8:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] using a saved SSIS with VB.Net Yea, a code "preprocessor" just seems to be the answer. No one on these lists have ever proposed a good (non code) solution for this particular problem. The fixed width flat file just sucks as an import specification. It requires an external file to tell you the field names and field widths. Even once you know that it leaves you with data in the fields with spaces between the end of the data and the end of the field width, i.e. 'John' in a first name field 25 spaces wide is actually 'John '. Unless you strip off the spaces you end up with a HUGE database where indexes are huge and matches with external data are difficult. But it is what is used in the industry I am dealing with. Suck it up and move on I guess. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 23, 2007 5:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John I think that wizards are mostly for one-time or simple repeated tasks. However, do you remember my observation from last year: >> 2006-05-05 20:59 Subject: MySQL insert records When inserting records by a pass-through query from Access, I've found that reading the records off a text file using LOAD DATA INFILE '../data/test.txt' INTO TABLE tempload into an empty non-indexed table runs at about 50,000 records per second even using very modest hardware. This is way faster than any normal "Insert Into ... " I've tried. However, it's a bit clumsy first to have to write the data to a file. Any comments or suggestions? You should be able to do so if not from T-SQL then from Access, and then run a modifiable import and append query in SQL Server which reads the data from the MySQL table and appends them to the internal SQL Server table. But - as you have already done the mechanics for converting the fixed length records files to csv files - that route may be faster for you; at least it is proven. /gustav >>> jwcolby at colbyconsulting.com 23-04-2007 05:56 >>> I saved an import spec from the import wizard in SQL Server 2005. I now need to use that import spec in VB.Net, but I need to modify it. I need to change the source file, make it an append instead of a make table / append, and I need to modify the datatype from NVarchar to varchar. Of course I can simply go back in to SQL Server and run the import wizard again, however this is a fixed width file which means recreating all of the field name / field width info a second time. Is it possible to just do these mods on the existing import spec or should I just bite the bullet and rebuild. I have ~ sixty more files to import into the table and I really don't want to do this 60 times. The last time I did this I actually built an Access app to create .csv files from the original fixed width files. It seems like the long way around the barn but then again I do not see how this wizard is really very useful in this case. Anyone? John W. Colby Colby Consulting www.ColbyConsulting.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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Apr 23 19:01:00 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 23 Apr 2007 17:01:00 -0700 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: <000001c785fc$f3a4dff0$657aa8c0@m6805> References: <001401c785a0$1d855f50$657aa8c0@m6805> <000001c785fc$f3a4dff0$657aa8c0@m6805> Message-ID: Have you thought about leaving town with no forwarding address instead?? LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 23, 2007 4:13 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] using a saved SSIS with VB.Net Well, it took about three hours to build an Access VBA system to turn the fixed width file into a CSV with the leading / trailing spaces stripped off of every field. The code runs about 2.5 K records / second for the conversion portion. I name the CSV file with a fixed name and linked the file to Access, so once that is done I run a simple append query that pulls the data back out of the CSV and appends it into the SQL Server table. Unfortunately the append to SQL process is running at a little better than 500 records / second. I have to figure that out or this will take weeks. I have ~ 100 million records to convert so... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 23, 2007 8:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] using a saved SSIS with VB.Net Yea, a code "preprocessor" just seems to be the answer. No one on these lists have ever proposed a good (non code) solution for this particular problem. The fixed width flat file just sucks as an import specification. It requires an external file to tell you the field names and field widths. Even once you know that it leaves you with data in the fields with spaces between the end of the data and the end of the field width, i.e. 'John' in a first name field 25 spaces wide is actually 'John '. Unless you strip off the spaces you end up with a HUGE database where indexes are huge and matches with external data are difficult. But it is what is used in the industry I am dealing with. Suck it up and move on I guess. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 23, 2007 5:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John I think that wizards are mostly for one-time or simple repeated tasks. However, do you remember my observation from last year: >> 2006-05-05 20:59 Subject: MySQL insert records When inserting records by a pass-through query from Access, I've found that reading the records off a text file using LOAD DATA INFILE '../data/test.txt' INTO TABLE tempload into an empty non-indexed table runs at about 50,000 records per second even using very modest hardware. This is way faster than any normal "Insert Into ... " I've tried. However, it's a bit clumsy first to have to write the data to a file. Any comments or suggestions? You should be able to do so if not from T-SQL then from Access, and then run a modifiable import and append query in SQL Server which reads the data from the MySQL table and appends them to the internal SQL Server table. But - as you have already done the mechanics for converting the fixed length records files to csv files - that route may be faster for you; at least it is proven. /gustav >>> jwcolby at colbyconsulting.com 23-04-2007 05:56 >>> I saved an import spec from the import wizard in SQL Server 2005. I now need to use that import spec in VB.Net, but I need to modify it. I need to change the source file, make it an append instead of a make table / append, and I need to modify the datatype from NVarchar to varchar. Of course I can simply go back in to SQL Server and run the import wizard again, however this is a fixed width file which means recreating all of the field name / field width info a second time. Is it possible to just do these mods on the existing import spec or should I just bite the bullet and rebuild. I have ~ sixty more files to import into the table and I really don't want to do this 60 times. The last time I did this I actually built an Access app to create .csv files from the original fixed width files. It seems like the long way around the barn but then again I do not see how this wizard is really very useful in this case. Anyone? John W. Colby Colby Consulting www.ColbyConsulting.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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Apr 23 19:58:44 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 23 Apr 2007 17:58:44 -0700 Subject: [AccessD] Visual Studio Express Orcas CTP is released April 21 In-Reply-To: <010201c785fb$92401ff0$0501a8c0@HAL9005> References: <010201c785fb$92401ff0$0501a8c0@HAL9005> Message-ID: <462D5644.1060009@shaw.ca> Visual Studio Express Orcas CTP is released April 21. Community Technology Preview Beta The Orcas version of VB.NET Express is available and will run on WinXP and Vista http://msdn.microsoft.com/vstudio/express/future/default.aspx What is new? LINQ, Windows Presentation Foundation, improvements in the CLR, Windows Communication Foundation and Windows Workflow Foundation May need Net Framework 3.5 Will LINQ replace XQuery or is it an enhancement? LINQ aims to reduce complexity for developers through a set of extensions to the C# and Visual Basic programming languages as well as the Microsoft .NET Framework which provide integrated querying for objects, databases and XML data. Using LINQ, developers will be able to write queries natively in C# or Visual Basic without having to use specialized languages, such as Structured Query Language (SQL) and XPath. An Overview of Microsoft Visual Studio Code Name "Orcas" White Paper http://www.microsoft.com/downloads/details.aspx?FamilyId=17319EB4-299C-43B8-A360-A1C2BD6A421B&displaylang=en The Beta 1 download for Visual Studio codename "Orcas" is available immediately for MSDN subscribers and the public download will be available soon. And yes, it will install on Vista http://msdn2.microsoft.com/en-us/vstudio/aa700831.aspx Here is download could be 5 Gig http://www.microsoft.com/downloads/details.aspx?FamilyId=36B6609E-6F3D-40F4-8C7D-AD111679D8DC&displaylang=en -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Mon Apr 23 20:03:36 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 23 Apr 2007 18:03:36 -0700 Subject: [AccessD] XQuery in VB 6 In-Reply-To: <0B8880A20E2CF24280FA60901E108FB05AB442@TTNEXCHSVR.hshhp.com> References: <20070419144605.592A82B8B5C@smtp.nildram.co.uk> <1C2084FD2472124AB1812A5476EA3B7A015A0E0B@msgswbmnmsp04.wellsfargo.com> <200704191517.l3JFHOx19027@smarthost.yourcomms.net> <0B8880A20E2CF24280FA60901E108FB05AB375@TTNEXCHSVR.hshhp.com> <46279FE9.6060806@shaw.ca> <0B8880A20E2CF24280FA60901E108FB05AB399@TTNEXCHSVR.hshhp.com> <4628112A.6080702@shaw.ca> <017901c78317$1fa6f3b0$0100a8c0@RazvojErvin> <0B8880A20E2CF24280FA60901E108FB05AB442@TTNEXCHSVR.hshhp.com> Message-ID: <462D5768.1090508@shaw.ca> Maybe when I finally get around to getting my IBM XML certification if they don't stop moving the goal posts. Last time I went to try it, they changed the exam and dropped XSL patterns as obsolete after I finally figured them out and the penny dropped.. Yeah now I have to find out the differences between XQuery and LINQ. NetFramework 3.5 is now out with changes to VSTO. Jim DeMarco wrote: >I'll second that. > > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ervin Brindza >Sent: Friday, April 20, 2007 2:42 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] XQuery in VB 6 > >Marty, >when will be your MVP announcement? >Regards, > Ervin >----- Original Message ----- >From: "MartyConnelly" >To: "Access Developers discussion and problem solving" > >Sent: Friday, April 20, 2007 3:02 AM >Subject: Re: [AccessD] XQuery in VB 6 > > > > >>Option Compare Database >>Option Explicit >> >>Dim mcolRate As Collection >>Sub testxml() >> Set mcolRate = New Collection >>'find daily US dollar fixed rate vs Euro from Euro Central Bank >>' via XPath >> >>GrabXMLFile ("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml") >> >>Debug.Print mcolRate("USD") >>MsgBox "US Euro Rate ECB " & mcolRate("USD") >>End Sub >>Public Function GrabXMLFile(ByRef AdviserXML As String) >> 'http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html >> >>'Base currency is Euro so will have to do a conversion for USD >>'Note the link for other pages with sources for XML etc. >> >> 'http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml >> 'On Error GoTo ErrorHandler >> 'needs reference set to XML 4.0 and maybe ADO 2.8 >> Dim oDOMDocument As MSXML2.DOMDocument40 >> Dim oNodeList As IXMLDOMNodeList >> Dim oAdviserDetailsNode As IXMLDOMNode >> Dim oLowestLevelNode As IXMLDOMElement >> Dim oNode As IXMLDOMNode >> Dim objXMLDOMNamedNodeMap As IXMLDOMNamedNodeMap >> Dim xPError As IXMLDOMParseError >> Dim Mydb As Database >> Dim myrs As ADODB.Recordset >> Dim sTempValue As String >> >> Set oDOMDocument = New MSXML2.DOMDocument40 >> >> oDOMDocument.async = False >> oDOMDocument.validateOnParse = True 'you may want to parse for >> >> >errors > > >> oDOMDocument.resolveExternals = False >> oDOMDocument.preserveWhiteSpace = True >> >> 'use if xml disk file >> If Not oDOMDocument.Load(AdviserXML) Then >> MsgBox ("XML File error") >> Set xPError = oDOMDocument.parseError >> DOMParseError xPError >> >> End If >> Set oAdviserDetailsNode = oDOMDocument.documentElement >> Debug.Print oDOMDocument.xml >> >> 'use appropriate XPath expression to select nodes >> >> ' Set oNodeList = >>oAdviserDetailsNode.selectNodes("Envelope/Cube/Cube/@*") >> Set oNodeList = oAdviserDetailsNode.selectNodes("//@*") >> >> Debug.Print oNodeList.length >> >> For Each oNode In oNodeList >> >> ' Debug.Print "*" & oNode.Text; oNode.nodeName & "*" >> >> Select Case oNode.nodeName >> Case "currency" >> sTempValue = oNode.Text >> >> Case "rate" >> 'This path is used to store a variable on the collection >> On Error Resume Next >> mcolRate.Remove sTempValue >> mcolRate.Add oNode.Text, sTempValue >> Debug.Print sTempValue & " rate " & oNode.Text >> On Error GoTo ErrorHandler >> >> End Select >> >> Next >> Set oNodeList = Nothing >> Set oDOMDocument = Nothing >> Set oAdviserDetailsNode = Nothing >> Set objXMLDOMNamedNodeMap = Nothing >> Exit Function >> >>ErrorHandler: >> >> ' Call NewError.Raise(Err.Number, Err.Source, Err.Description) >> >>End Function >>Sub DOMParseError(xPE As IXMLDOMParseError) >> >> ' The document failed to load. >> Dim strErrText As String >> ' Obtain the ParseError object >> With xPE >> strErrText = "Your XML Document failed to load" & _ >> "due the following error." & vbCrLf & _ >> "Error #: " & .errorCode & ": " & xPE.reason & _ >> "Line #: " & .Line & vbCrLf & _ >> "Line Position: " & .linepos & vbCrLf & _ >> "Position In File: " & .filepos & vbCrLf & _ >> "Source Text: " & .srcText & vbCrLf & _ >> "Document URL: " & .url >> End With >> Debug.Print strErrText >> >> Dim s As String >> Dim r As String >> Dim i As Long >> >> s = "" >> For i = 1 To xPE.linepos - 1 >> s = s & " " >> Next >> r = "XML Error loading " & xPE.url & " * " & xPE.reason >> Debug.Print r >> 'show character postion of error; tired of counting chars in xml >> >> >file > > >> If (xPE.Line > 0) Then >> r = "at line " & xPE.Line & ", character " & xPE.linepos & vbCrLf & >> >> >_ > > >> xPE.srcText & vbCrLf & s & "^" >> End If >> Debug.Print r >> MsgBox strErrText, vbExclamation >>End Sub >> >> >>Jim DeMarco wrote: >> >> >> >>>Thanks Marty. I'll pass this on to my team. >>> >>>We're using XQuery but we're not strongly tied to it. I had mentioned >>>XPath but I thought that was used to access one piece of data (or one >>>related set of nodes out of a structure). We need to return select >>>nodes based on criteria. Is this an accurate description of >>> >>> >differences > > >>>betweent the two do you think? >>> >>> >>>Jim >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >>> >>> >MartyConnelly > > >>>Sent: Thursday, April 19, 2007 12:59 PM >>>To: Access Developers discussion and problem solving >>>Subject: Re: [AccessD] XQuery in VB 6 >>> >>>I have only used XQuery with SQL 2005 & VB.Net I have XPath examples >>> >>> >in > > >>>VBA >>> >>>Are you using XQuery or XPath? >>> >>>XPath is imbedded in both XSLT and XQuery. In those languages it >>> >>> >serves > > >>>the role of node-set identification (selection) >>> >>>XQuery example >>> >>>Dim sql_getbank As String = "SELECT >>>Demographics.query('data(//BankName)') " _ >>> >>> & "FROM Store WHERE CustomerID = >>> >>> >@CustomerID" > > >>>XPath example >>> >>> Set oAdviserDetailsNode = oDOMDocument.documentElement >>> 'use appropriate XPath expression to select nodes >>> Set oNodeList = >>>oAdviserDetailsNode.selectNodes("//BusinessDetails/*") >>> >>>Have a look at >>>SQL Server 2005 XQuery and XML-DML - Part 2 By Alex Homer >>> >>>http://www.15seconds.com/issue/050811.htm >>> >>> >>>Jim DeMarco wrote: >>> >>> >>> >>> >>> >>>>X-posted AccessD, VB >>>> >>>>Hello All, >>>> >>>>I've been absent for a while but an issue has just come up that I >>>> >>>> >hope > > >>>>someone can help with. >>>> >>>>Does anyone have any VB 6 code that uses XQuery to return a set of >>>>nodes? I find plenty of XQuery examples that show the query and the >>>>returned nodes but no VB 6 implementation. >>>> >>>>Any short code snip will do. >>>> >>>>TIA, >>>> >>>>Jim DeMarco >>>> >>>> >>>> >>>> >>-- >>Marty Connelly >>Victoria, B.C. >>Canada >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >>-- >>Internal Virus Database is out-of-date. >>Checked by AVG Free Edition. >>Version: 7.5.446 / Virus Database: 268.18.24/742 - Release Date: >> >> >4/1/2007 > > >>8:49 PM >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Mon Apr 23 20:09:04 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 23 Apr 2007 18:09:04 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: <010201c785fb$92401ff0$0501a8c0@HAL9005> References: <010201c785fb$92401ff0$0501a8c0@HAL9005> Message-ID: <462D58B0.9040107@shaw.ca> I haven't got Outlook on this machine but I think, there is a built-in ThisOutlookSession module in Outlook VBA. Just place in there. Rocky Smolin at Beach Access Software wrote: >Marty: > >You know I found that site. And the code makes sense. But I've never put >any code behind Outlook. Don't know how to get that code attached to the >Item_Send event (if there is such a thing). Any hints on how to? > >Rocky > > > > > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Monday, April 23, 2007 2:59 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OT: Default BCC > >This site says you have to do through VBA code. >or use third party add-in >http://www.howto-outlook.com/faq/createbccrule.htm > >To automatically Bcc all outgoing messages. >http://www.outlookcode.com/d/code/autobcc.htm > >Rocky Smolin at Beach Access Software wrote: > > > >>Yes, but she has to insert her AA's email address manually on every >>email that goes to a client that she wants to copy the AA on. So she >>was looking for a way to have the AA's email automatically entered in >>the Bcc line on every email. >> >>Rocky >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >>Sent: Monday, April 23, 2007 10:54 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >>Sorry if this is too simplistic, but she does have the View BCC option >>ticked doesn't she? >> >>-- Andy Lacey >>http://www.minstersystems.co.uk >> >> >> >> >> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>>Smolin at Beach Access Software >>>Sent: 23 April 2007 17:51 >>>To: 'Access Developers discussion and problem solving' >>>Subject: Re: [AccessD] OT: Default BCC >>> >>> >>>Almost there. The user who asked me for this wants to Bcc. >>>The rule wizard >>>seems to only allow CC. It's a law office and this person >>>wants to Bcc her >>>admin assistant. Is there a way to do Bcc? >>> >>>Rocky >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>>Sent: Monday, April 23, 2007 9:39 AM >>>To: Access Developers discussion and problem solving >>>Subject: Re: [AccessD] OT: Default BCC >>> >>>Okay, step by step using Outlook 2003. >>> >>>Click Tools --> Rules and Alerts >>> >>>Click New Rule >>> >>>Select 'Start from a blank rule' (not default selection) >>> >>>Under Step1, select Check messages after sending, click next. >>> >>>Click next again (you will be prompted again, click Yes) >>> >>>(Side note, this rule now applies to ALL email you send. The last >>>Next and Yes skipped past conditions you may want to choose) >>> >>>Select 'CC the message to people or distribution list'. >>> >>>In the step 2 window, click the underlines 'people or distribution >>>list' to select the address you want the copy sent too. >>> >>>Click Next, then Next again (this one skips the exceptions that you >>>can apply to your rule) >>> >>>Click Finish >>> >>>All done! >>> >>>Drew >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>>at Beach Access Software >>>Sent: Monday, April 23, 2007 11:02 AM >>>To: 'Access Developers discussion and problem solving' >>>Subject: Re: [AccessD] OT: Default BCC >>> >>> >>>That WOULD be easy. But I don't see a rule that governs outgoing >>>addresses. Only sorting incoming mail. Am I missing it somewhere? >>> >>>Rocky >>> >>> >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>>Sent: Monday, April 23, 2007 8:11 AM >>>To: Access Developers discussion and problem solving >>>Subject: Re: [AccessD] OT: Default BCC >>> >>>Probably easier to use a rule. (There's a rule wizard to help out). >>> >>>Drew >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>>at Beach Access Software >>>Sent: Sunday, April 22, 2007 2:45 PM >>>To: 'Access Developers discussion and problem solving' >>>Subject: [AccessD] OT: Default BCC >>> >>> >>> >>> >>>Dear List: >>> >>>Is there a way to default an email address into the BCC field in >>>Outlook when you create a new message? >>> >>>TIA >>> >>>Rocky >>> >>> >>> >>> >-- >Marty Connelly >Victoria, B.C. >Canada > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 >8:18 PM > > > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at colbyconsulting.com Mon Apr 23 20:29:03 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 23 Apr 2007 21:29:03 -0400 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: References: <001401c785a0$1d855f50$657aa8c0@m6805><000001c785fc$f3a4dff0$657aa8c0@m6805> Message-ID: <000101c7860f$f2bd6b80$657aa8c0@m6805> >Have you thought about leaving town with no forwarding address instead?? LOL, not at all. If I figure this out, it could turn into thousands of dollars a month in recurring income. We like recurring income! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 23, 2007 8:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] using a saved SSIS with VB.Net Have you thought about leaving town with no forwarding address instead?? LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 23, 2007 4:13 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] using a saved SSIS with VB.Net Well, it took about three hours to build an Access VBA system to turn the fixed width file into a CSV with the leading / trailing spaces stripped off of every field. The code runs about 2.5 K records / second for the conversion portion. I name the CSV file with a fixed name and linked the file to Access, so once that is done I run a simple append query that pulls the data back out of the CSV and appends it into the SQL Server table. Unfortunately the append to SQL process is running at a little better than 500 records / second. I have to figure that out or this will take weeks. I have ~ 100 million records to convert so... John W. Colby Colby Consulting www.ColbyConsulting.com From wdhindman at dejpolsystems.com Mon Apr 23 22:23:40 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 23 Apr 2007 23:23:40 -0400 Subject: [AccessD] using a saved SSIS with VB.Net References: <001401c785a0$1d855f50$657aa8c0@m6805><000001c785fc$f3a4dff0$657aa8c0@m6805> <000101c7860f$f2bd6b80$657aa8c0@m6805> Message-ID: <000701c7861f$f53cf730$7d7d6c4c@jisshowsbs.local> ...recurring income ...the holy grail of every independent :) William Hindman ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Monday, April 23, 2007 9:29 PM Subject: Re: [AccessD] using a saved SSIS with VB.Net > >Have you thought about leaving town with no forwarding address instead?? > > LOL, not at all. If I figure this out, it could turn into thousands of > dollars a month in recurring income. We like recurring income! > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, April 23, 2007 8:01 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] using a saved SSIS with VB.Net > > Have you thought about leaving town with no forwarding address instead?? > LOL > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, April 23, 2007 4:13 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] using a saved SSIS with VB.Net > > Well, it took about three hours to build an Access VBA system to turn the > fixed width file into a CSV with the leading / trailing spaces stripped > off > of every field. The code runs about 2.5 K records / second for the > conversion portion. I name the CSV file with a fixed name and linked the > file to Access, so once that is done I run a simple append query that > pulls > the data back out of the CSV and appends it into the SQL Server table. > > Unfortunately the append to SQL process is running at a little better than > 500 records / second. I have to figure that out or this will take weeks. > > I have ~ 100 million records to convert so... > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kp at sdsonline.net Tue Apr 24 02:03:33 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 24 Apr 2007 17:03:33 +1000 Subject: [AccessD] using a saved SSIS with VB.Net References: <001401c785a0$1d855f50$657aa8c0@m6805><000001c785fc$f3a4dff0$657aa8c0@m6805><000101c7860f$f2bd6b80$657aa8c0@m6805> <000701c7861f$f53cf730$7d7d6c4c@jisshowsbs.local> Message-ID: <001601c7863e$ad150a00$6501a8c0@office> ....I second that. For the first time (ever I think for me) it apears that I may actually have an 'on sale' of something I have already written. Hallelujah..... Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Tuesday, April 24, 2007 1:23 PM Subject: Re: [AccessD] using a saved SSIS with VB.Net ...recurring income ...the holy grail of every independent :) William Hindman ----- Original Message ----- From: "JWColby" To: "'Access Developers discussion and problem solving'" Sent: Monday, April 23, 2007 9:29 PM Subject: Re: [AccessD] using a saved SSIS with VB.Net > >Have you thought about leaving town with no forwarding address instead?? > > LOL, not at all. If I figure this out, it could turn into thousands of > dollars a month in recurring income. We like recurring income! > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, April 23, 2007 8:01 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] using a saved SSIS with VB.Net > > Have you thought about leaving town with no forwarding address instead?? > LOL > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Monday, April 23, 2007 4:13 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] using a saved SSIS with VB.Net > > Well, it took about three hours to build an Access VBA system to turn the > fixed width file into a CSV with the leading / trailing spaces stripped > off > of every field. The code runs about 2.5 K records / second for the > conversion portion. I name the CSV file with a fixed name and linked the > file to Access, so once that is done I run a simple append query that > pulls > the data back out of the CSV and appends it into the SQL Server table. > > Unfortunately the append to SQL process is running at a little better than > 500 records / second. I have to figure that out or this will take weeks. > > I have ~ 100 million records to convert so... > > John W. Colby > Colby Consulting > www.ColbyConsulting.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 bbruen at unwired.com.au Tue Apr 24 02:28:22 2007 From: bbruen at unwired.com.au (Bruce Bruen) Date: Tue, 24 Apr 2007 17:28:22 +1000 Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! Message-ID: <200704241728.23380.bbruen@unwired.com.au> After 6 weeks work of setting conditional formats over 32 tables, 65 forms and 12 reports I accidentally hit ctl-leftshift-alt-prtscn-scratchnose which produced a "YOUAREGOINGINTOHIGHRESOLUTIONMODE" popup, with apparently NO WAY TO CANCEL IT! Guess what, all the conditional formats are now black-on-defaultbackground. Recovered the backup taken 30 minutes ago, still the same. Went back to this mornings backup, still the same. Changed the display mode back to normal XP defaults, ... still the same. 1. Has anyone got any idea how to fix this? 2. Can anyone give me the home address of the M$ MORON who did this to me? -- regards Bruce From Gustav at cactus.dk Tue Apr 24 03:33:52 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 24 Apr 2007 10:33:52 +0200 Subject: [AccessD] using a saved SSIS with VB.Net Message-ID: Hi John Having the csv files created, I see no reason to use Access to guide the import to SQL Server. Either BCP, as Bobby mentions, or a bulk statement- which you could adjust on the fly as a pass-through query - could be used at much higher speed: http://msdn2.microsoft.com/en-us/library/ms187042.aspx though probably not so fast as MySQL can load data (see my previous post): 50k records/s /gustav >>> jwcolby at colbyconsulting.com 24-04-2007 01:13 >>> Well, it took about three hours to build an Access VBA system to turn the fixed width file into a CSV with the leading / trailing spaces stripped off of every field. The code runs about 2.5 K records / second for the conversion portion. I name the CSV file with a fixed name and linked the file to Access, so once that is done I run a simple append query that pulls the data back out of the CSV and appends it into the SQL Server table. Unfortunately the append to SQL process is running at a little better than 500 records / second. I have to figure that out or this will take weeks. I have ~ 100 million records to convert so... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 23, 2007 8:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] using a saved SSIS with VB.Net Yea, a code "preprocessor" just seems to be the answer. No one on these lists have ever proposed a good (non code) solution for this particular problem. The fixed width flat file just sucks as an import specification. It requires an external file to tell you the field names and field widths. Even once you know that it leaves you with data in the fields with spaces between the end of the data and the end of the field width, i.e. 'John' in a first name field 25 spaces wide is actually 'John '. Unless you strip off the spaces you end up with a HUGE database where indexes are huge and matches with external data are difficult. But it is what is used in the industry I am dealing with. Suck it up and move on I guess. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 23, 2007 5:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John I think that wizards are mostly for one-time or simple repeated tasks. However, do you remember my observation from last year: >> 2006-05-05 20:59 Subject: MySQL insert records When inserting records by a pass-through query from Access, I've found that reading the records off a text file using LOAD DATA INFILE '../data/test.txt' INTO TABLE tempload into an empty non-indexed table runs at about 50,000 records per second even using very modest hardware. This is way faster than any normal "Insert Into ... " I've tried. However, it's a bit clumsy first to have to write the data to a file. Any comments or suggestions? You should be able to do so if not from T-SQL then from Access, and then run a modifiable import and append query in SQL Server which reads the data from the MySQL table and appends them to the internal SQL Server table. But - as you have already done the mechanics for converting the fixed length records files to csv files - that route may be faster for you; at least it is proven. /gustav >>> jwcolby at colbyconsulting.com 23-04-2007 05:56 >>> I saved an import spec from the import wizard in SQL Server 2005. I now need to use that import spec in VB.Net, but I need to modify it. I need to change the source file, make it an append instead of a make table / append, and I need to modify the datatype from NVarchar to varchar. Of course I can simply go back in to SQL Server and run the import wizard again, however this is a fixed width file which means recreating all of the field name / field width info a second time. Is it possible to just do these mods on the existing import spec or should I just bite the bullet and rebuild. I have ~ sixty more files to import into the table and I really don't want to do this 60 times. The last time I did this I actually built an Access app to create .csv files from the original fixed width files. It seems like the long way around the barn but then again I do not see how this wizard is really very useful in this case. Anyone? John W. Colby Colby Consulting www.ColbyConsulting.com From cjlabs at worldnet.att.net Tue Apr 24 06:58:37 2007 From: cjlabs at worldnet.att.net (Carolyn Johnson) Date: Tue, 24 Apr 2007 06:58:37 -0500 Subject: [AccessD] CreateObject to open Outlook Message-ID: <003e01c78667$e50f5810$6401a8c0@XPcomputer> Access 2000/XP/2003 with Outlook 2003 I have a procedure that creates an email in Outlook using late binding. The initial code is as follows Set objOutlook = GetObject(, "Outlook.Application") If Err.Number = 429 Then Set objOutlook = CreateObject("Outlook.Application") Set objOutlookMsg = objOutlook.CreateItem(0) This code has been working correctly for years until recently. Now I am getting the error "Object variable or With block variable not set." The error is occuring on the 3rd line -- if Outlook is not open, it correctly executes the If then statement, but I then get an error on the 3rd line. If Outlook is already open, the code runs correctly. This code is still working correctly on my laptop. The last time I know it worked on my desktop was several weeks ago. My laptop has Outlook 2003 SP1. My desktop has Outlook 2003 SP2. It's had automated Window updates in the last couple of weeks. Does anyone know how to solve this issue, other than opening Outlook first? Thanks Carolyn Johnson From jwcolby at colbyconsulting.com Tue Apr 24 07:11:33 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 24 Apr 2007 08:11:33 -0400 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: References: Message-ID: <002d01c78669$b39ac060$657aa8c0@m6805> Gustav, I found a syntax for SQL Server that, executed directly, allows me to do the import from inside of SQL Server. SELECT * FROM OPENROWSET( 'MSDASQL', 'Driver=(Microsoft Text Driver (*.txt, *.csv)); DEFAULTDIR=d:\YadaYada;Extensions=CSV;', 'SELECT * FROM NAR_CA1N.CSV') This syntax directly opens a dataset, which can then be fed into an INSERT statement as the "data clause". It works, I have done so. I have no idea how fast it is, but not particularly I suspect. One thing I have to go do is look at the log files and see if I need to turn off logging. Another thing I need to do is TURN OFF the windows updates, which rebooted my machine in the middle of the night last night!!! If I have no logging, I certainly don't want Windows rebooting itself in the middle of an import. >though probably not so fast as MySQL can load data (see my previous post): 50k records/s What are you suggesting with this? That I set up MySQL on this machine just to do the imports and then import the data out of MySQL into SQL Server? It seems that with as many problems as I have getting up to speed on SQL Server I am doubling my problems trying to install another entire database server and learn it as well. I understand that you know and love MySQL but I am pretty certain I have enough problems already without adding MySQL to my plate. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 24, 2007 4:34 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John Having the csv files created, I see no reason to use Access to guide the import to SQL Server. Either BCP, as Bobby mentions, or a bulk statement- which you could adjust on the fly as a pass-through query - could be used at much higher speed: http://msdn2.microsoft.com/en-us/library/ms187042.aspx though probably not so fast as MySQL can load data (see my previous post): 50k records/s /gustav From Gustav at cactus.dk Tue Apr 24 07:53:53 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 24 Apr 2007 14:53:53 +0200 Subject: [AccessD] using a saved SSIS with VB.Net Message-ID: Hi John That looks right. I don't know what speed to expect other than it should be more than the typical a-couple-of-hundreds per second for inserts via DAO and ODBC. The only tricks I know of are the well-known to drop indexes from the receiving table during the import and - as you mention - to minimize logging. The reference to MySQL is just for you to have an ultimate goal. I haven't seen or heard of anything else running at that speed, not even JET where you can expect around 15k records/s. Of course, it should server a purpose for you to install it, but MySQL is very easy to set up - and we have true experts (not me) joining the list. So if you can see an idea having these files loaded into an engine very fast, just move on. On the other hand, if you have a night and can perform the import without manual intervention, I think I would choose the method you have described. /gustav >>> jwcolby at colbyconsulting.com 24-04-2007 14:11 >>> Gustav, I found a syntax for SQL Server that, executed directly, allows me to do the import from inside of SQL Server. SELECT * FROM OPENROWSET( 'MSDASQL', 'Driver=(Microsoft Text Driver (*.txt, *.csv)); DEFAULTDIR=d:\YadaYada;Extensions=CSV;', 'SELECT * FROM NAR_CA1N.CSV') This syntax directly opens a dataset, which can then be fed into an INSERT statement as the "data clause". It works, I have done so. I have no idea how fast it is, but not particularly I suspect. One thing I have to go do is look at the log files and see if I need to turn off logging. Another thing I need to do is TURN OFF the windows updates, which rebooted my machine in the middle of the night last night!!! If I have no logging, I certainly don't want Windows rebooting itself in the middle of an import. >though probably not so fast as MySQL can load data (see my previous post): 50k records/s What are you suggesting with this? That I set up MySQL on this machine just to do the imports and then import the data out of MySQL into SQL Server? It seems that with as many problems as I have getting up to speed on SQL Server I am doubling my problems trying to install another entire database server and learn it as well. I understand that you know and love MySQL but I am pretty certain I have enough problems already without adding MySQL to my plate. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 24, 2007 4:34 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John Having the csv files created, I see no reason to use Access to guide the import to SQL Server. Either BCP, as Bobby mentions, or a bulk statement- which you could adjust on the fly as a pass-through query - could be used at much higher speed: http://msdn2.microsoft.com/en-us/library/ms187042.aspx though probably not so fast as MySQL can load data (see my previous post): 50k records/s /gustav From dwaters at usinternet.com Tue Apr 24 08:06:21 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 24 Apr 2007 08:06:21 -0500 Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! In-Reply-To: <200704241728.23380.bbruen@unwired.com.au> References: <200704241728.23380.bbruen@unwired.com.au> Message-ID: <000601c78671$5b442ed0$0200a8c0@danwaters> Hi Bruce, Can't help with the home address! I would first try to rule out that something has happened to your PC. Put your database on another PC to see what happens. Do you have any other databases that use conditional formatting? Then on your PC, create a new small database and then see if conditional formatting works. You can try importing a couple of your objects to a new database. I use conditional formatting quite a bit but haven't seen this problem. Long term, conditional formatting can be established through code. This would hopefully reset your forms/reports even if your PC did this again. Hope this helps - and good luck! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen Sent: Tuesday, April 24, 2007 2:28 AM To: Access Developers discussion and problem solving Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! After 6 weeks work of setting conditional formats over 32 tables, 65 forms and 12 reports I accidentally hit ctl-leftshift-alt-prtscn-scratchnose which produced a "YOUAREGOINGINTOHIGHRESOLUTIONMODE" popup, with apparently NO WAY TO CANCEL IT! Guess what, all the conditional formats are now black-on-defaultbackground. Recovered the backup taken 30 minutes ago, still the same. Went back to this mornings backup, still the same. Changed the display mode back to normal XP defaults, ... still the same. 1. Has anyone got any idea how to fix this? 2. Can anyone give me the home address of the M$ MORON who did this to me? -- regards Bruce -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EdTesiny at oasas.state.ny.us Tue Apr 24 08:59:55 2007 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Tue, 24 Apr 2007 09:59:55 -0400 Subject: [AccessD] OT a little - Code Tables Message-ID: Hi All, I'm not familiar enough with SQL Server but I have a question regarding what I call Code Tables. I use them a lot when I develop an application in Access, e.g., I'll have a table for counties i.e., county code and county name or Providers, Provider code and Provider Name. I have them as separate tables. I'm trying to make sense out of the tables and relationships "my" programmer created. He has one code table period! Below is a look as to how it is setup. dbo_tblCodes CodeType CodeId CodeName OrderOnForm Ethnicity 1 Puerto Rican 1 Ethnicity 2 Mexican 2 Ethnicity 3 Cuban 3 Ethnicity 4 Other Hispanic 4 Ethnicity 5 Hispanic, Not Specified/Known 5 Ethnicity 7 Not of Hispanic Origin 6 Ethnicity 9 Don't Know/No Answer 7 Gender 1 Male 10 Gender 2 Female 20 Health 1 Poor 5 Health 2 Fair 10 Health 3 Good 15 Health 4 Very Good 20 Health 5 Excellent 25 Health 9 Don't Know/No Answer 80 This is just a little bit of the table but I think you can see his "logic" here. Is this a common convention that developers use? Hate to see what else I'm going to find as I try to wade through this. TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us From EdTesiny at oasas.state.ny.us Tue Apr 24 09:08:50 2007 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Tue, 24 Apr 2007 10:08:50 -0400 Subject: [AccessD] (no subject) Message-ID: Hi All, I'm not familiar enough with SQL Server but I have a question regarding what I call Code Tables. I use them a lot when I develop an application in Access, e.g., I'll have a table for counties i.e., county code and county name or Providers, Provider code and Provider Name. I have them as separate tables. I'm trying to make sense out of the tables and relationships "my" programmer created. He has one code table period! Below is a look as to how it is setup. CodeType CodeId CodeName OrderOnForm Ethnicity 1 Puerto Rican 1 Ethnicity 2 Mexican 2 Ethnicity 3 Cuban 3 Ethnicity 4 Other Hispanic 4 Ethnicity 5 Hispanic, Not Specified/Known5 Ethnicity 7 Not of Hispanic Origin 6 Ethnicity 9 Don't Know/No Answer 7 Gender 1 Male 10 Gender 2 Female 20 Health 1 Poor 5 Health 2 Fair 10 Health 3 Good 15 Health 4 Very Good 20 Health 5 Excellent 25 Health 9 Don't Know/No Answer 80 This is just a little bit of the table but I think you can see his "logic" here. Is this a common convention that developers use? Hate to see what else I'm going to find as I try to wade through this. TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us From jwcolby at colbyconsulting.com Tue Apr 24 09:32:44 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 24 Apr 2007 10:32:44 -0400 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: References: Message-ID: <003101c7867d$6cce93a0$657aa8c0@m6805> Gustav, My bigger issue here is that there 56 of these files to import into SQL Server, supposedly ~100 million records. I have done about 8 million records so far. I really must get this thing automated such that it just chunks through these CSV files without my having to be around to start the next one. I am working now on setting up the append query using that syntax below into a stored procedure so that I can then just replace the file name. After that I will need to write something in VB.Net or whatever to execute the stored procedure feeding in all of the file names from a specific directory, deleting the file once the stored procedure finishes the import for a given file. I have never written a stored procedure. Obviously, given the above, I have never called a stored procedure from code. So much to learn, so little time. Once this is imported I have to turn right around and export a subset of fields from the table back out as 1 - 2 million record chunks for CAS / DPV / NCOA processing, then I have to import THOSE back in to a new table. And when this set of data is finished, I have another set of about the same size on the way, to which I have to perform the same processes. I soooooo need to get this process automated. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 24, 2007 8:54 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John That looks right. I don't know what speed to expect other than it should be more than the typical a-couple-of-hundreds per second for inserts via DAO and ODBC. The only tricks I know of are the well-known to drop indexes from the receiving table during the import and - as you mention - to minimize logging. The reference to MySQL is just for you to have an ultimate goal. I haven't seen or heard of anything else running at that speed, not even JET where you can expect around 15k records/s. Of course, it should server a purpose for you to install it, but MySQL is very easy to set up - and we have true experts (not me) joining the list. So if you can see an idea having these files loaded into an engine very fast, just move on. On the other hand, if you have a night and can perform the import without manual intervention, I think I would choose the method you have described. /gustav From john at winhaven.net Tue Apr 24 09:39:11 2007 From: john at winhaven.net (John Bartow) Date: Tue, 24 Apr 2007 09:39:11 -0500 Subject: [AccessD] OT a little - Code Tables In-Reply-To: References: Message-ID: <013701c7867e$53939290$6402a8c0@ScuzzPaq> Hi Ed, My ponderings... I've seen codes like this before - in a USDA database. I've seen arguments on both sides as to its compliance with relational theory. In any case IMO it is a confusing way to handle lookup values as it (obviously) contains more than one type of value. As long as you retain the same programmer it probably doesn't matter - but who can do that anymore? So all I can advise is to document, document, document! The one exception IMO for holding more than one type of value in a lookup table is if the item will _never_ have more than one value - then JC's little ditty works nice. In that case it is handled via code not relational structure. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, April 24, 2007 9:00 AM To: dba-ot at databaseadvisors.com; Access Developers discussion and problem solving Subject: [AccessD] OT a little - Code Tables Hi All, I'm not familiar enough with SQL Server but I have a question regarding what I call Code Tables. I use them a lot when I develop an application in Access, e.g., I'll have a table for counties i.e., county code and county name or Providers, Provider code and Provider Name. I have them as separate tables. I'm trying to make sense out of the tables and relationships "my" programmer created. He has one code table period! Below is a look as to how it is setup. dbo_tblCodes CodeType CodeId CodeName OrderOnForm Ethnicity 1 Puerto Rican 1 Ethnicity 2 Mexican 2 Ethnicity 3 Cuban 3 Ethnicity 4 Other Hispanic 4 Ethnicity 5 Hispanic, Not Specified/Known 5 Ethnicity 7 Not of Hispanic Origin 6 Ethnicity 9 Don't Know/No Answer 7 Gender 1 Male 10 Gender 2 Female 20 Health 1 Poor 5 Health 2 Fair 10 Health 3 Good 15 Health 4 Very Good 20 Health 5 Excellent 25 Health 9 Don't Know/No Answer 80 This is just a little bit of the table but I think you can see his "logic" here. Is this a common convention that developers use? Hate to see what else I'm going to find as I try to wade through this. TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Apr 24 09:48:52 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 24 Apr 2007 07:48:52 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: Message-ID: <000301c7867f$ad2266f0$0501a8c0@HAL9005> " go into the code window," using Alt-F11? "there is a 'ThisOutlookSession' object." I don't see that. The left combo box has only (General) in it. Where would I look for it? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 4:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC When you go into the code window, there is a 'ThisOutlookSession' object. Click that, and you should get a blank code page. Click the left drop down box in the code page and select Application. The right drop down will then have the ItemSend event. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 6:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Marty: You know I found that site. And the code makes sense. But I've never put any code behind Outlook. Don't know how to get that code attached to the Item_Send event (if there is such a thing). Any hints on how to? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 23, 2007 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC This site says you have to do through VBA code. or use third party add-in http://www.howto-outlook.com/faq/createbccrule.htm To automatically Bcc all outgoing messages. http://www.outlookcode.com/d/code/autobcc.htm Rocky Smolin at Beach Access Software wrote: >Yes, but she has to insert her AA's email address manually on every >email that goes to a client that she wants to copy the AA on. So she >was looking for a way to have the AA's email automatically entered in >the Bcc line on every email. > >Rocky > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Monday, April 23, 2007 10:54 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT: Default BCC > >Sorry if this is too simplistic, but she does have the View BCC option >ticked doesn't she? > >-- Andy Lacey >http://www.minstersystems.co.uk > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>Smolin at Beach Access Software >>Sent: 23 April 2007 17:51 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>Almost there. The user who asked me for this wants to Bcc. >>The rule wizard >>seems to only allow CC. It's a law office and this person >>wants to Bcc her >>admin assistant. Is there a way to do Bcc? >> >>Rocky >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 9:39 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Okay, step by step using Outlook 2003. >> >>Click Tools --> Rules and Alerts >> >>Click New Rule >> >>Select 'Start from a blank rule' (not default selection) >> >>Under Step1, select Check messages after sending, click next. >> >>Click next again (you will be prompted again, click Yes) >> >>(Side note, this rule now applies to ALL email you send. The last >>Next and Yes skipped past conditions you may want to choose) >> >>Select 'CC the message to people or distribution list'. >> >>In the step 2 window, click the underlines 'people or distribution >>list' to select the address you want the copy sent too. >> >>Click Next, then Next again (this one skips the exceptions that you >>can apply to your rule) >> >>Click Finish >> >>All done! >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Monday, April 23, 2007 11:02 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>That WOULD be easy. But I don't see a rule that governs outgoing >>addresses. Only sorting incoming mail. Am I missing it somewhere? >> >>Rocky >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 8:11 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Probably easier to use a rule. (There's a rule wizard to help out). >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Sunday, April 22, 2007 2:45 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] OT: Default BCC >> >> >> >> >>Dear List: >> >>Is there a way to default an email address into the BCC field in >>Outlook when you create a new message? >> >>TIA >> >>Rocky >> >> -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM From rockysmolin at bchacc.com Tue Apr 24 09:58:38 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 24 Apr 2007 07:58:38 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: <462D58B0.9040107@shaw.ca> Message-ID: <000401c78681$0a76ced0$0501a8c0@HAL9005> I'm lost. I don't see that anywhere. I see the Application.ItemSend in the object browser but no way to create the code. If I just paste the code in that I found on the web, it doesn't work. What am I missing here? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 23, 2007 6:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC I haven't got Outlook on this machine but I think, there is a built-in ThisOutlookSession module in Outlook VBA. Just place in there. Rocky Smolin at Beach Access Software wrote: >Marty: > >You know I found that site. And the code makes sense. But I've never >put any code behind Outlook. Don't know how to get that code attached >to the Item_Send event (if there is such a thing). Any hints on how to? > >Rocky > > > > > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >MartyConnelly >Sent: Monday, April 23, 2007 2:59 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OT: Default BCC > >This site says you have to do through VBA code. >or use third party add-in >http://www.howto-outlook.com/faq/createbccrule.htm > >To automatically Bcc all outgoing messages. >http://www.outlookcode.com/d/code/autobcc.htm > >Rocky Smolin at Beach Access Software wrote: > > > >>Yes, but she has to insert her AA's email address manually on every >>email that goes to a client that she wants to copy the AA on. So she >>was looking for a way to have the AA's email automatically entered in >>the Bcc line on every email. >> >>Rocky >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >>Sent: Monday, April 23, 2007 10:54 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >>Sorry if this is too simplistic, but she does have the View BCC option >>ticked doesn't she? >> >>-- Andy Lacey >>http://www.minstersystems.co.uk >> >> >> >> >> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>>Smolin at Beach Access Software >>>Sent: 23 April 2007 17:51 >>>To: 'Access Developers discussion and problem solving' >>>Subject: Re: [AccessD] OT: Default BCC >>> >>> >>>Almost there. The user who asked me for this wants to Bcc. >>>The rule wizard >>>seems to only allow CC. It's a law office and this person >>>wants to Bcc her >>>admin assistant. Is there a way to do Bcc? >>> >>>Rocky >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>>Sent: Monday, April 23, 2007 9:39 AM >>>To: Access Developers discussion and problem solving >>>Subject: Re: [AccessD] OT: Default BCC >>> >>>Okay, step by step using Outlook 2003. >>> >>>Click Tools --> Rules and Alerts >>> >>>Click New Rule >>> >>>Select 'Start from a blank rule' (not default selection) >>> >>>Under Step1, select Check messages after sending, click next. >>> >>>Click next again (you will be prompted again, click Yes) >>> >>>(Side note, this rule now applies to ALL email you send. The last >>>Next and Yes skipped past conditions you may want to choose) >>> >>>Select 'CC the message to people or distribution list'. >>> >>>In the step 2 window, click the underlines 'people or distribution >>>list' to select the address you want the copy sent too. >>> >>>Click Next, then Next again (this one skips the exceptions that you >>>can apply to your rule) >>> >>>Click Finish >>> >>>All done! >>> >>>Drew >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky >>>Smolin at Beach Access Software >>>Sent: Monday, April 23, 2007 11:02 AM >>>To: 'Access Developers discussion and problem solving' >>>Subject: Re: [AccessD] OT: Default BCC >>> >>> >>>That WOULD be easy. But I don't see a rule that governs outgoing >>>addresses. Only sorting incoming mail. Am I missing it somewhere? >>> >>>Rocky >>> >>> >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>>Sent: Monday, April 23, 2007 8:11 AM >>>To: Access Developers discussion and problem solving >>>Subject: Re: [AccessD] OT: Default BCC >>> >>>Probably easier to use a rule. (There's a rule wizard to help out). >>> >>>Drew >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky >>>Smolin at Beach Access Software >>>Sent: Sunday, April 22, 2007 2:45 PM >>>To: 'Access Developers discussion and problem solving' >>>Subject: [AccessD] OT: Default BCC >>> >>> >>> >>> >>>Dear List: >>> >>>Is there a way to default an email address into the BCC field in >>>Outlook when you create a new message? >>> >>>TIA >>> >>>Rocky >>> >>> >>> >>> >-- >Marty Connelly >Victoria, B.C. >Canada > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: >4/22/2007 >8:18 PM > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM From jwcolby at colbyconsulting.com Tue Apr 24 10:13:05 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 24 Apr 2007 11:13:05 -0400 Subject: [AccessD] OT a little - Code Tables In-Reply-To: <013701c7867e$53939290$6402a8c0@ScuzzPaq> References: <013701c7867e$53939290$6402a8c0@ScuzzPaq> Message-ID: <003201c78683$0fdf5200$657aa8c0@m6805> Which little ditty is that? Are you referring to SysVars? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, April 24, 2007 10:39 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Hi Ed, My ponderings... I've seen codes like this before - in a USDA database. I've seen arguments on both sides as to its compliance with relational theory. In any case IMO it is a confusing way to handle lookup values as it (obviously) contains more than one type of value. As long as you retain the same programmer it probably doesn't matter - but who can do that anymore? So all I can advise is to document, document, document! The one exception IMO for holding more than one type of value in a lookup table is if the item will _never_ have more than one value - then JC's little ditty works nice. In that case it is handled via code not relational structure. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, April 24, 2007 9:00 AM To: dba-ot at databaseadvisors.com; Access Developers discussion and problem solving Subject: [AccessD] OT a little - Code Tables Hi All, I'm not familiar enough with SQL Server but I have a question regarding what I call Code Tables. I use them a lot when I develop an application in Access, e.g., I'll have a table for counties i.e., county code and county name or Providers, Provider code and Provider Name. I have them as separate tables. I'm trying to make sense out of the tables and relationships "my" programmer created. He has one code table period! Below is a look as to how it is setup. dbo_tblCodes CodeType CodeId CodeName OrderOnForm Ethnicity 1 Puerto Rican 1 Ethnicity 2 Mexican 2 Ethnicity 3 Cuban 3 Ethnicity 4 Other Hispanic 4 Ethnicity 5 Hispanic, Not Specified/Known 5 Ethnicity 7 Not of Hispanic Origin 6 Ethnicity 9 Don't Know/No Answer 7 Gender 1 Male 10 Gender 2 Female 20 Health 1 Poor 5 Health 2 Fair 10 Health 3 Good 15 Health 4 Very Good 20 Health 5 Excellent 25 Health 9 Don't Know/No Answer 80 This is just a little bit of the table but I think you can see his "logic" here. Is this a common convention that developers use? Hate to see what else I'm going to find as I try to wade through this. TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us -- 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 DWUTKA at Marlow.com Tue Apr 24 10:20:36 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Tue, 24 Apr 2007 10:20:36 -0500 Subject: [AccessD] OT: Default BCC In-Reply-To: <000301c7867f$ad2266f0$0501a8c0@HAL9005> Message-ID: On the left, you should have a project window, a tree representation of your Outlook VBA project. Top item should be Project1, with Microsoft Outlook as a child, in turn ThisOutlookSession will be a child of that. Double click that to bring up it's code page. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 24, 2007 9:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC " go into the code window," using Alt-F11? "there is a 'ThisOutlookSession' object." I don't see that. The left combo box has only (General) in it. Where would I look for it? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 4:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC When you go into the code window, there is a 'ThisOutlookSession' object. Click that, and you should get a blank code page. Click the left drop down box in the code page and select Application. The right drop down will then have the ItemSend event. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 6:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Marty: You know I found that site. And the code makes sense. But I've never put any code behind Outlook. Don't know how to get that code attached to the Item_Send event (if there is such a thing). Any hints on how to? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 23, 2007 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC This site says you have to do through VBA code. or use third party add-in http://www.howto-outlook.com/faq/createbccrule.htm To automatically Bcc all outgoing messages. http://www.outlookcode.com/d/code/autobcc.htm Rocky Smolin at Beach Access Software wrote: >Yes, but she has to insert her AA's email address manually on every >email that goes to a client that she wants to copy the AA on. So she >was looking for a way to have the AA's email automatically entered in >the Bcc line on every email. > >Rocky > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Monday, April 23, 2007 10:54 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT: Default BCC > >Sorry if this is too simplistic, but she does have the View BCC option >ticked doesn't she? > >-- Andy Lacey >http://www.minstersystems.co.uk > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>Smolin at Beach Access Software >>Sent: 23 April 2007 17:51 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>Almost there. The user who asked me for this wants to Bcc. >>The rule wizard >>seems to only allow CC. It's a law office and this person >>wants to Bcc her >>admin assistant. Is there a way to do Bcc? >> >>Rocky >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 9:39 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Okay, step by step using Outlook 2003. >> >>Click Tools --> Rules and Alerts >> >>Click New Rule >> >>Select 'Start from a blank rule' (not default selection) >> >>Under Step1, select Check messages after sending, click next. >> >>Click next again (you will be prompted again, click Yes) >> >>(Side note, this rule now applies to ALL email you send. The last >>Next and Yes skipped past conditions you may want to choose) >> >>Select 'CC the message to people or distribution list'. >> >>In the step 2 window, click the underlines 'people or distribution >>list' to select the address you want the copy sent too. >> >>Click Next, then Next again (this one skips the exceptions that you >>can apply to your rule) >> >>Click Finish >> >>All done! >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Monday, April 23, 2007 11:02 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>That WOULD be easy. But I don't see a rule that governs outgoing >>addresses. Only sorting incoming mail. Am I missing it somewhere? >> >>Rocky >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 8:11 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Probably easier to use a rule. (There's a rule wizard to help out). >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Sunday, April 22, 2007 2:45 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] OT: Default BCC >> >> >> >> >>Dear List: >> >>Is there a way to default an email address into the BCC field in >>Outlook when you create a new message? >> >>TIA >> >>Rocky >> >> -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Apr 24 10:21:03 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 24 Apr 2007 08:21:03 -0700 Subject: [AccessD] OT a little - Code Tables In-Reply-To: <003201c78683$0fdf5200$657aa8c0@m6805> References: <013701c7867e$53939290$6402a8c0@ScuzzPaq> <003201c78683$0fdf5200$657aa8c0@m6805> Message-ID: Have you been singing its praises lately, John? ;-} I use a very similar 2 field table for the same purposes in Access apps. In .Net, we generally stuff the info into a table in an xml file instead of in the database. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, April 24, 2007 8:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Which little ditty is that? Are you referring to SysVars? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, April 24, 2007 10:39 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Hi Ed, My ponderings... I've seen codes like this before - in a USDA database. I've seen arguments on both sides as to its compliance with relational theory. In any case IMO it is a confusing way to handle lookup values as it (obviously) contains more than one type of value. As long as you retain the same programmer it probably doesn't matter - but who can do that anymore? So all I can advise is to document, document, document! The one exception IMO for holding more than one type of value in a lookup table is if the item will _never_ have more than one value - then JC's little ditty works nice. In that case it is handled via code not relational structure. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, April 24, 2007 9:00 AM To: dba-ot at databaseadvisors.com; Access Developers discussion and problem solving Subject: [AccessD] OT a little - Code Tables Hi All, I'm not familiar enough with SQL Server but I have a question regarding what I call Code Tables. I use them a lot when I develop an application in Access, e.g., I'll have a table for counties i.e., county code and county name or Providers, Provider code and Provider Name. I have them as separate tables. I'm trying to make sense out of the tables and relationships "my" programmer created. He has one code table period! Below is a look as to how it is setup. dbo_tblCodes CodeType CodeId CodeName OrderOnForm Ethnicity 1 Puerto Rican 1 Ethnicity 2 Mexican 2 Ethnicity 3 Cuban 3 Ethnicity 4 Other Hispanic 4 Ethnicity 5 Hispanic, Not Specified/Known 5 Ethnicity 7 Not of Hispanic Origin 6 Ethnicity 9 Don't Know/No Answer 7 Gender 1 Male 10 Gender 2 Female 20 Health 1 Poor 5 Health 2 Fair 10 Health 3 Good 15 Health 4 Very Good 20 Health 5 Excellent 25 Health 9 Don't Know/No Answer 80 This is just a little bit of the table but I think you can see his "logic" here. Is this a common convention that developers use? Hate to see what else I'm going to find as I try to wade through this. TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us -- 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 From Gustav at cactus.dk Tue Apr 24 10:22:42 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 24 Apr 2007 17:22:42 +0200 Subject: [AccessD] using a saved SSIS with VB.Net Message-ID: Hi John Yes, I hope you get paid well. Had you installed your SQL Server 2005 in "backwards compatibility mode" or whatever it is called - to behave like an SQL Server 2000 - it is my understanding that you could have created an ADP which gives you direct access to create and edit stored procedures in the SQL Server engine. I have never done this myself so someone else might guide you here what your options are. /gustav >>> jwcolby at colbyconsulting.com 24-04-2007 16:32 >>> Gustav, My bigger issue here is that there 56 of these files to import into SQL Server, supposedly ~100 million records. I have done about 8 million records so far. I really must get this thing automated such that it just chunks through these CSV files without my having to be around to start the next one. I am working now on setting up the append query using that syntax below into a stored procedure so that I can then just replace the file name. After that I will need to write something in VB.Net or whatever to execute the stored procedure feeding in all of the file names from a specific directory, deleting the file once the stored procedure finishes the import for a given file. I have never written a stored procedure. Obviously, given the above, I have never called a stored procedure from code. So much to learn, so little time. Once this is imported I have to turn right around and export a subset of fields from the table back out as 1 - 2 million record chunks for CAS / DPV / NCOA processing, then I have to import THOSE back in to a new table. And when this set of data is finished, I have another set of about the same size on the way, to which I have to perform the same processes. I soooooo need to get this process automated. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 24, 2007 8:54 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John That looks right. I don't know what speed to expect other than it should be more than the typical a-couple-of-hundreds per second for inserts via DAO and ODBC. The only tricks I know of are the well-known to drop indexes from the receiving table during the import and - as you mention - to minimize logging. The reference to MySQL is just for you to have an ultimate goal. I haven't seen or heard of anything else running at that speed, not even JET where you can expect around 15k records/s. Of course, it should server a purpose for you to install it, but MySQL is very easy to set up - and we have true experts (not me) joining the list. So if you can see an idea having these files loaded into an engine very fast, just move on. On the other hand, if you have a night and can perform the import without manual intervention, I think I would choose the method you have described. /gustav From ssharkins at setel.com Tue Apr 24 10:30:17 2007 From: ssharkins at setel.com (Susan Harkins) Date: Tue, 24 Apr 2007 11:30:17 -0400 Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! In-Reply-To: <200704241728.23380.bbruen@unwired.com.au> References: <200704241728.23380.bbruen@unwired.com.au> Message-ID: <000b01c78685$76c7dad0$0432fad1@SusanOne> Bruce, is each field truly that custom? You do know that you can change default formats for a form don't you? Of course, that doesn't help with the problem at hand -- sorry about that. :( Susan H. After 6 weeks work of setting conditional formats over 32 tables, 65 forms and 12 reports I accidentally hit ctl-leftshift-alt-prtscn-scratchnose which produced a "YOUAREGOINGINTOHIGHRESOLUTIONMODE" popup, with apparently NO WAY TO CANCEL IT! From jwcolby at colbyconsulting.com Tue Apr 24 10:36:19 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 24 Apr 2007 11:36:19 -0400 Subject: [AccessD] OT a little - Code Tables In-Reply-To: References: <013701c7867e$53939290$6402a8c0@ScuzzPaq><003201c78683$0fdf5200$657aa8c0@m6805> Message-ID: <004001c78686$4e78fcc0$657aa8c0@m6805> >Have you been singing its praises lately, John? ;-} Only when someone is trying to use a single record table and adding fields to the table every day. >In .Net, we generally stuff the info into a table in an xml file instead of in the database. I find it useful to have a copy (for my framework SysVars for example) in the framework itself, then a copy in the FE. The FE copy is loaded AFTER the FW copy so overwrites the FW copy if any changes are made in the FE. This allows me to set up the framework to have default behaviors that can be overwritten as desired for specific Fes. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, April 24, 2007 11:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT a little - Code Tables Have you been singing its praises lately, John? ;-} I use a very similar 2 field table for the same purposes in Access apps. In .Net, we generally stuff the info into a table in an xml file instead of in the database. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, April 24, 2007 8:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Which little ditty is that? Are you referring to SysVars? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, April 24, 2007 10:39 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Hi Ed, My ponderings... I've seen codes like this before - in a USDA database. I've seen arguments on both sides as to its compliance with relational theory. In any case IMO it is a confusing way to handle lookup values as it (obviously) contains more than one type of value. As long as you retain the same programmer it probably doesn't matter - but who can do that anymore? So all I can advise is to document, document, document! The one exception IMO for holding more than one type of value in a lookup table is if the item will _never_ have more than one value - then JC's little ditty works nice. In that case it is handled via code not relational structure. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, April 24, 2007 9:00 AM To: dba-ot at databaseadvisors.com; Access Developers discussion and problem solving Subject: [AccessD] OT a little - Code Tables Hi All, I'm not familiar enough with SQL Server but I have a question regarding what I call Code Tables. I use them a lot when I develop an application in Access, e.g., I'll have a table for counties i.e., county code and county name or Providers, Provider code and Provider Name. I have them as separate tables. I'm trying to make sense out of the tables and relationships "my" programmer created. He has one code table period! Below is a look as to how it is setup. dbo_tblCodes CodeType CodeId CodeName OrderOnForm Ethnicity 1 Puerto Rican 1 Ethnicity 2 Mexican 2 Ethnicity 3 Cuban 3 Ethnicity 4 Other Hispanic 4 Ethnicity 5 Hispanic, Not Specified/Known 5 Ethnicity 7 Not of Hispanic Origin 6 Ethnicity 9 Don't Know/No Answer 7 Gender 1 Male 10 Gender 2 Female 20 Health 1 Poor 5 Health 2 Fair 10 Health 3 Good 15 Health 4 Very Good 20 Health 5 Excellent 25 Health 9 Don't Know/No Answer 80 This is just a little bit of the table but I think you can see his "logic" here. Is this a common convention that developers use? Hate to see what else I'm going to find as I try to wade through this. TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Apr 24 10:44:10 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 24 Apr 2007 08:44:10 -0700 Subject: [AccessD] OT a little - Code Tables In-Reply-To: <004001c78686$4e78fcc0$657aa8c0@m6805> References: <013701c7867e$53939290$6402a8c0@ScuzzPaq><003201c78683$0fdf5200$657aa8c0@m6805> <004001c78686$4e78fcc0$657aa8c0@m6805> Message-ID: Essentially, we do the same thing in .Net. The xml files are the equivalent of FE tables. We also provide an "overwrite" methodology that allows admins to distribute an xml file that will install and/or lock settings on an installation so the user either doesn't have to or can't set them. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, April 24, 2007 8:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables >Have you been singing its praises lately, John? ;-} Only when someone is trying to use a single record table and adding fields to the table every day. >In .Net, we generally stuff the info into a table in an xml file >instead of in the database. I find it useful to have a copy (for my framework SysVars for example) in the framework itself, then a copy in the FE. The FE copy is loaded AFTER the FW copy so overwrites the FW copy if any changes are made in the FE. This allows me to set up the framework to have default behaviors that can be overwritten as desired for specific Fes. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, April 24, 2007 11:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT a little - Code Tables Have you been singing its praises lately, John? ;-} I use a very similar 2 field table for the same purposes in Access apps. In .Net, we generally stuff the info into a table in an xml file instead of in the database. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, April 24, 2007 8:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Which little ditty is that? Are you referring to SysVars? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, April 24, 2007 10:39 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Hi Ed, My ponderings... I've seen codes like this before - in a USDA database. I've seen arguments on both sides as to its compliance with relational theory. In any case IMO it is a confusing way to handle lookup values as it (obviously) contains more than one type of value. As long as you retain the same programmer it probably doesn't matter - but who can do that anymore? So all I can advise is to document, document, document! The one exception IMO for holding more than one type of value in a lookup table is if the item will _never_ have more than one value - then JC's little ditty works nice. In that case it is handled via code not relational structure. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, April 24, 2007 9:00 AM To: dba-ot at databaseadvisors.com; Access Developers discussion and problem solving Subject: [AccessD] OT a little - Code Tables Hi All, I'm not familiar enough with SQL Server but I have a question regarding what I call Code Tables. I use them a lot when I develop an application in Access, e.g., I'll have a table for counties i.e., county code and county name or Providers, Provider code and Provider Name. I have them as separate tables. I'm trying to make sense out of the tables and relationships "my" programmer created. He has one code table period! Below is a look as to how it is setup. dbo_tblCodes CodeType CodeId CodeName OrderOnForm Ethnicity 1 Puerto Rican 1 Ethnicity 2 Mexican 2 Ethnicity 3 Cuban 3 Ethnicity 4 Other Hispanic 4 Ethnicity 5 Hispanic, Not Specified/Known 5 Ethnicity 7 Not of Hispanic Origin 6 Ethnicity 9 Don't Know/No Answer 7 Gender 1 Male 10 Gender 2 Female 20 Health 1 Poor 5 Health 2 Fair 10 Health 3 Good 15 Health 4 Very Good 20 Health 5 Excellent 25 Health 9 Don't Know/No Answer 80 This is just a little bit of the table but I think you can see his "logic" here. Is this a common convention that developers use? Hate to see what else I'm going to find as I try to wade through this. TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us -- 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 -- 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 rl_stewart at highstream.net Tue Apr 24 10:50:52 2007 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 24 Apr 2007 10:50:52 -0500 Subject: [AccessD] Code Tables In-Reply-To: References: Message-ID: <200704241554.l3OFsAJI026425@databaseadvisors.com> He is probably an ex-FoxPro developer. They were one of the ones that got into doing a single table like that for all of the lookups. It is flat out bad design. Show him the correct way, yours. Robert At 10:22 AM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 09:59:55 -0400 >From: "Tesiny, Ed" >Subject: [AccessD] OT a little - Code Tables >To: , "Access Developers discussion and > problem solving" >Message-ID: > > >Content-Type: text/plain; charset="us-ascii" > >Hi All, >I'm not familiar enough with SQL Server but I have a question regarding >what I call Code Tables. I use them a lot when I develop an application >in Access, e.g., I'll have a table for counties i.e., county code and >county name or Providers, Provider code and Provider Name. I have them >as separate tables. I'm trying to make sense out of the tables and >relationships "my" programmer created. He has one code table period! >Below is a look as to how it is setup. > >dbo_tblCodes >CodeType CodeId CodeName OrderOnForm >Ethnicity 1 Puerto Rican 1 >Ethnicity 2 Mexican 2 >Ethnicity 3 Cuban 3 >Ethnicity 4 Other Hispanic 4 >Ethnicity 5 Hispanic, Not Specified/Known 5 >Ethnicity 7 Not of Hispanic Origin 6 >Ethnicity 9 Don't Know/No Answer 7 >Gender 1 Male 10 >Gender 2 Female 20 >Health 1 Poor 5 >Health 2 Fair 10 >Health 3 Good 15 >Health 4 Very Good 20 >Health 5 Excellent 25 >Health 9 Don't Know/No Answer 80 > >This is just a little bit of the table but I think you can see his >"logic" here. Is this a common convention that developers use? Hate to >see what else I'm going to find as I try to wade through this. >TIA >Ed > > >Edward P. Tesiny >Assistant Director for Evaluation >Bureau of Evaluation and Practice Improvement >New York State OASAS >1450 Western Ave. >Albany, New York 12203-3526 >Phone: (518) 485-7189 >Fax: (518) 485-5769 >Email: EdTesiny at oasas.state.ny.us From rl_stewart at highstream.net Tue Apr 24 10:53:22 2007 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 24 Apr 2007 10:53:22 -0500 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: References: Message-ID: <200704241554.l3OFsB3F026427@databaseadvisors.com> John, One of the keys to getting it into SQL Server faster is to have the CSV file on the server and not on a different machine. Network traffic can kill the process and slow it down significantly. Robert At 10:22 AM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 10:32:44 -0400 >From: "JWColby" >Subject: Re: [AccessD] using a saved SSIS with VB.Net >To: "'Access Developers discussion and problem solving'" > >Message-ID: <003101c7867d$6cce93a0$657aa8c0 at m6805> >Content-Type: text/plain; charset="us-ascii" > >Gustav, > >My bigger issue here is that there 56 of these files to import into SQL >Server, supposedly ~100 million records. I have done about 8 million >records so far. I really must get this thing automated such that it just >chunks through these CSV files without my having to be around to start the >next one. I am working now on setting up the append query using that syntax >below into a stored procedure so that I can then just replace the file name. >After that I will need to write something in VB.Net or whatever to execute >the stored procedure feeding in all of the file names from a specific >directory, deleting the file once the stored procedure finishes the import >for a given file. > >I have never written a stored procedure. >Obviously, given the above, I have never called a stored procedure from >code. > >So much to learn, so little time. > >Once this is imported I have to turn right around and export a subset of >fields from the table back out as 1 - 2 million record chunks for CAS / DPV >/ NCOA processing, then I have to import THOSE back in to a new table. > >And when this set of data is finished, I have another set of about the same >size on the way, to which I have to perform the same processes. I soooooo >need to get this process automated. > >John W. Colby From fuller.artful at gmail.com Tue Apr 24 10:55:07 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 24 Apr 2007 11:55:07 -0400 Subject: [AccessD] OT a little - Code Tables In-Reply-To: <004001c78686$4e78fcc0$657aa8c0@m6805> References: <013701c7867e$53939290$6402a8c0@ScuzzPaq> <003201c78683$0fdf5200$657aa8c0@m6805> <004001c78686$4e78fcc0$657aa8c0@m6805> Message-ID: <29f585dd0704240855t7a6f5d90nc7337197ebc8ed9a@mail.gmail.com> For those who care about theory, this model is a definite no-no. A table (relation) is a collection of like entities, and since there is no observable penalty for the number of tables (unless it goes into the thousands), then IMO it is asinine, not to mention theoretically unsound, to use one table for several purposes. Assuming that you choose the one-table route, then you must create views or UDFs to isolate the collection of interest. Given the overhead involved in doing that (and the more rows, the more overhead), what do you gain by stuffing a bunch of unlike entities into a single table? The whole idea IMO is incoherent and self-defeating. My $.02. Arthur On 4/24/07, JWColby wrote: > > >Have you been singing its praises lately, John? ;-} > > Only when someone is trying to use a single record table and adding fields > to the table every day. > > > > >In .Net, we generally stuff the info into a table in an xml file instead > of > in the database. > > I find it useful to have a copy (for my framework SysVars for example) in > the framework itself, then a copy in the FE. The FE copy is loaded AFTER > the FW copy so overwrites the FW copy if any changes are made in the FE. > This allows me to set up the framework to have default behaviors that can > be > overwritten as desired for specific Fes. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Tuesday, April 24, 2007 11:21 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT a little - Code Tables > > Have you been singing its praises lately, John? ;-} > > I use a very similar 2 field table for the same purposes in Access apps. > In .Net, we generally stuff the info into a table in an xml file instead > of > in the database. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Tuesday, April 24, 2007 8:13 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT a little - Code Tables > > Which little ditty is that? Are you referring to SysVars? > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Tuesday, April 24, 2007 10:39 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT a little - Code Tables > > Hi Ed, > My ponderings... > > I've seen codes like this before - in a USDA database. > > I've seen arguments on both sides as to its compliance with relational > theory. In any case IMO it is a confusing way to handle lookup values as > it > (obviously) contains more than one type of value. As long as you retain > the > same programmer it probably doesn't matter - but who can do that anymore? > So > all I can advise is to document, document, document! > > The one exception IMO for holding more than one type of value in a lookup > table is if the item will _never_ have more than one value - then JC's > little ditty works nice. In that case it is handled via code not > relational > structure. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed > Sent: Tuesday, April 24, 2007 9:00 AM > To: dba-ot at databaseadvisors.com; Access Developers discussion and problem > solving > Subject: [AccessD] OT a little - Code Tables > > Hi All, > I'm not familiar enough with SQL Server but I have a question regarding > what > I call Code Tables. I use them a lot when I develop an application in > Access, e.g., I'll have a table for counties i.e., county code and county > name or Providers, Provider code and Provider Name. I have them as > separate > tables. I'm trying to make sense out of the tables and relationships "my" > programmer created. He has one code table period! > Below is a look as to how it is setup. > > dbo_tblCodes > CodeType CodeId CodeName OrderOnForm > Ethnicity 1 Puerto Rican 1 > Ethnicity 2 Mexican 2 > Ethnicity 3 Cuban 3 > Ethnicity 4 Other Hispanic 4 > Ethnicity 5 Hispanic, Not Specified/Known 5 > Ethnicity 7 Not of Hispanic Origin 6 > Ethnicity 9 Don't Know/No Answer 7 > Gender 1 Male 10 > Gender 2 Female 20 > Health 1 Poor 5 > Health 2 Fair 10 > Health 3 Good 15 > Health 4 Very Good 20 > Health 5 Excellent 25 > Health 9 Don't Know/No Answer 80 > > This is just a little bit of the table but I think you can see his "logic" > here. Is this a common convention that developers use? Hate to see what > else I'm going to find as I try to wade through this. > TIA > Ed > > > Edward P. Tesiny > Assistant Director for Evaluation > Bureau of Evaluation and Practice Improvement New York State OASAS 1450 > Western Ave. > Albany, New York 12203-3526 > Phone: (518) 485-7189 > Fax: (518) 485-5769 > Email: EdTesiny at oasas.state.ny.us > > -- > 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 > > -- > 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 cfoust at infostatsystems.com Tue Apr 24 10:58:01 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 24 Apr 2007 08:58:01 -0700 Subject: [AccessD] Code Tables In-Reply-To: <200704241554.l3OFsAJI026425@databaseadvisors.com> References: <200704241554.l3OFsAJI026425@databaseadvisors.com> Message-ID: I seem to recall we did it that way in dBase too. I think it was pretty standard for all the xBase languages because it was so hard to keep track of all the table files otherwise. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Tuesday, April 24, 2007 8:51 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Code Tables He is probably an ex-FoxPro developer. They were one of the ones that got into doing a single table like that for all of the lookups. It is flat out bad design. Show him the correct way, yours. Robert At 10:22 AM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 09:59:55 -0400 >From: "Tesiny, Ed" >Subject: [AccessD] OT a little - Code Tables >To: , "Access Developers discussion and > problem solving" >Message-ID: > > >Content-Type: text/plain; charset="us-ascii" > >Hi All, >I'm not familiar enough with SQL Server but I have a question regarding >what I call Code Tables. I use them a lot when I develop an >application in Access, e.g., I'll have a table for counties i.e., >county code and county name or Providers, Provider code and Provider >Name. I have them as separate tables. I'm trying to make sense out of >the tables and relationships "my" programmer created. He has one code table period! >Below is a look as to how it is setup. > >dbo_tblCodes >CodeType CodeId CodeName OrderOnForm >Ethnicity 1 Puerto Rican 1 >Ethnicity 2 Mexican 2 >Ethnicity 3 Cuban 3 >Ethnicity 4 Other Hispanic 4 >Ethnicity 5 Hispanic, Not Specified/Known 5 >Ethnicity 7 Not of Hispanic Origin 6 >Ethnicity 9 Don't Know/No Answer 7 >Gender 1 Male 10 >Gender 2 Female 20 >Health 1 Poor 5 >Health 2 Fair 10 >Health 3 Good 15 >Health 4 Very Good 20 >Health 5 Excellent 25 >Health 9 Don't Know/No Answer 80 > >This is just a little bit of the table but I think you can see his >"logic" here. Is this a common convention that developers use? Hate >to see what else I'm going to find as I try to wade through this. >TIA >Ed > > >Edward P. Tesiny >Assistant Director for Evaluation >Bureau of Evaluation and Practice Improvement New York State OASAS 1450 >Western Ave. >Albany, New York 12203-3526 >Phone: (518) 485-7189 >Fax: (518) 485-5769 >Email: EdTesiny at oasas.state.ny.us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Apr 24 11:07:11 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 24 Apr 2007 12:07:11 -0400 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: <200704241554.l3OFsB3F026427@databaseadvisors.com> References: <200704241554.l3OFsB3F026427@databaseadvisors.com> Message-ID: <004301c7868a$9e6cd590$657aa8c0@m6805> The CSV file is on the same machine. It appears that the clause that pulls the source table (csv file) into memory is taking a ton of time. These are large files, the smallest are a little under 200 million bytes and the largest are up in the 3 gigabyte range. It appears that SQL Server does not read a few records and append them, but rather reads the whole CSV and then starts appending all of the assembled records. If I were a SQL Server pro I could probably speed this up considerably. Alas, I am not. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Tuesday, April 24, 2007 11:53 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net John, One of the keys to getting it into SQL Server faster is to have the CSV file on the server and not on a different machine. Network traffic can kill the process and slow it down significantly. Robert At 10:22 AM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 10:32:44 -0400 >From: "JWColby" >Subject: Re: [AccessD] using a saved SSIS with VB.Net >To: "'Access Developers discussion and problem solving'" > >Message-ID: <003101c7867d$6cce93a0$657aa8c0 at m6805> >Content-Type: text/plain; charset="us-ascii" > >Gustav, > >My bigger issue here is that there 56 of these files to import into SQL >Server, supposedly ~100 million records. I have done about 8 million >records so far. I really must get this thing automated such that it >just chunks through these CSV files without my having to be around to >start the next one. I am working now on setting up the append query >using that syntax below into a stored procedure so that I can then just replace the file name. >After that I will need to write something in VB.Net or whatever to >execute the stored procedure feeding in all of the file names from a >specific directory, deleting the file once the stored procedure >finishes the import for a given file. > >I have never written a stored procedure. >Obviously, given the above, I have never called a stored procedure from >code. > >So much to learn, so little time. > >Once this is imported I have to turn right around and export a subset >of fields from the table back out as 1 - 2 million record chunks for >CAS / DPV / NCOA processing, then I have to import THOSE back in to a new table. > >And when this set of data is finished, I have another set of about the >same size on the way, to which I have to perform the same processes. I >soooooo need to get this process automated. > >John W. Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Apr 24 11:07:57 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 24 Apr 2007 09:07:57 -0700 Subject: [AccessD] OT a little - Code Tables In-Reply-To: <29f585dd0704240855t7a6f5d90nc7337197ebc8ed9a@mail.gmail.com> References: <013701c7867e$53939290$6402a8c0@ScuzzPaq><003201c78683$0fdf5200$657aa8c0@m6805><004001c78686$4e78fcc0$657aa8c0@m6805> <29f585dd0704240855t7a6f5d90nc7337197ebc8ed9a@mail.gmail.com> Message-ID: In modern databases, it's incoherent and unnecessary. In the databases of 25 years ago, where every table was a separate file, it made a bit more sesne to reduce the number of tables where possible. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, April 24, 2007 8:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT a little - Code Tables For those who care about theory, this model is a definite no-no. A table (relation) is a collection of like entities, and since there is no observable penalty for the number of tables (unless it goes into the thousands), then IMO it is asinine, not to mention theoretically unsound, to use one table for several purposes. Assuming that you choose the one-table route, then you must create views or UDFs to isolate the collection of interest. Given the overhead involved in doing that (and the more rows, the more overhead), what do you gain by stuffing a bunch of unlike entities into a single table? The whole idea IMO is incoherent and self-defeating. My $.02. Arthur On 4/24/07, JWColby wrote: > > >Have you been singing its praises lately, John? ;-} > > Only when someone is trying to use a single record table and adding > fields to the table every day. > > > > >In .Net, we generally stuff the info into a table in an xml file > >instead > of > in the database. > > I find it useful to have a copy (for my framework SysVars for example) > in the framework itself, then a copy in the FE. The FE copy is loaded > AFTER the FW copy so overwrites the FW copy if any changes are made in the FE. > This allows me to set up the framework to have default behaviors that > can be overwritten as desired for specific Fes. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Tuesday, April 24, 2007 11:21 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT a little - Code Tables > > Have you been singing its praises lately, John? ;-} > > I use a very similar 2 field table for the same purposes in Access apps. > In .Net, we generally stuff the info into a table in an xml file > instead of in the database. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby > Sent: Tuesday, April 24, 2007 8:13 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT a little - Code Tables > > Which little ditty is that? Are you referring to SysVars? > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Tuesday, April 24, 2007 10:39 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT a little - Code Tables > > Hi Ed, > My ponderings... > > I've seen codes like this before - in a USDA database. > > I've seen arguments on both sides as to its compliance with relational > theory. In any case IMO it is a confusing way to handle lookup values > as it > (obviously) contains more than one type of value. As long as you > retain the same programmer it probably doesn't matter - but who can do > that anymore? > So > all I can advise is to document, document, document! > > The one exception IMO for holding more than one type of value in a > lookup table is if the item will _never_ have more than one value - > then JC's little ditty works nice. In that case it is handled via code > not relational structure. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed > Sent: Tuesday, April 24, 2007 9:00 AM > To: dba-ot at databaseadvisors.com; Access Developers discussion and > problem solving > Subject: [AccessD] OT a little - Code Tables > > Hi All, > I'm not familiar enough with SQL Server but I have a question > regarding what I call Code Tables. I use them a lot when I develop an > application in Access, e.g., I'll have a table for counties i.e., > county code and county name or Providers, Provider code and Provider > Name. I have them as separate tables. I'm trying to make sense out > of the tables and relationships "my" > programmer created. He has one code table period! > Below is a look as to how it is setup. > > dbo_tblCodes > CodeType CodeId CodeName OrderOnForm > Ethnicity 1 Puerto Rican 1 > Ethnicity 2 Mexican 2 > Ethnicity 3 Cuban 3 > Ethnicity 4 Other Hispanic 4 > Ethnicity 5 Hispanic, Not Specified/Known 5 > Ethnicity 7 Not of Hispanic Origin 6 > Ethnicity 9 Don't Know/No Answer 7 > Gender 1 Male 10 > Gender 2 Female 20 > Health 1 Poor 5 > Health 2 Fair 10 > Health 3 Good 15 > Health 4 Very Good 20 > Health 5 Excellent 25 > Health 9 Don't Know/No Answer 80 > > This is just a little bit of the table but I think you can see his "logic" > here. Is this a common convention that developers use? Hate to see > what else I'm going to find as I try to wade through this. > TIA > Ed > > > Edward P. Tesiny > Assistant Director for Evaluation > Bureau of Evaluation and Practice Improvement New York State OASAS > 1450 Western Ave. > Albany, New York 12203-3526 > Phone: (518) 485-7189 > Fax: (518) 485-5769 > Email: EdTesiny at oasas.state.ny.us > > -- > 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 > > -- > 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 From jwcolby at colbyconsulting.com Tue Apr 24 11:09:10 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 24 Apr 2007 12:09:10 -0400 Subject: [AccessD] Code Tables In-Reply-To: References: <200704241554.l3OFsAJI026425@databaseadvisors.com> Message-ID: <004401c7868a$e4fdde00$657aa8c0@m6805> >I think it was pretty standard for all the xBase languages because it was so hard to keep track of all the table files otherwise. LOL. I got a job one time rescuing a Paradox database that was crumbling. It had well over TWO THOUSAND files in dozens of directories. It was not pleasant trying to get the data out of it. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, April 24, 2007 11:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Code Tables I seem to recall we did it that way in dBase too. I think it was pretty standard for all the xBase languages because it was so hard to keep track of all the table files otherwise. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Tuesday, April 24, 2007 8:51 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Code Tables He is probably an ex-FoxPro developer. They were one of the ones that got into doing a single table like that for all of the lookups. It is flat out bad design. Show him the correct way, yours. Robert At 10:22 AM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 09:59:55 -0400 >From: "Tesiny, Ed" >Subject: [AccessD] OT a little - Code Tables >To: , "Access Developers discussion and > problem solving" >Message-ID: > > >Content-Type: text/plain; charset="us-ascii" > >Hi All, >I'm not familiar enough with SQL Server but I have a question regarding >what I call Code Tables. I use them a lot when I develop an >application in Access, e.g., I'll have a table for counties i.e., >county code and county name or Providers, Provider code and Provider >Name. I have them as separate tables. I'm trying to make sense out of >the tables and relationships "my" programmer created. He has one code table period! >Below is a look as to how it is setup. > >dbo_tblCodes >CodeType CodeId CodeName OrderOnForm >Ethnicity 1 Puerto Rican 1 >Ethnicity 2 Mexican 2 >Ethnicity 3 Cuban 3 >Ethnicity 4 Other Hispanic 4 >Ethnicity 5 Hispanic, Not Specified/Known 5 >Ethnicity 7 Not of Hispanic Origin 6 >Ethnicity 9 Don't Know/No Answer 7 >Gender 1 Male 10 >Gender 2 Female 20 >Health 1 Poor 5 >Health 2 Fair 10 >Health 3 Good 15 >Health 4 Very Good 20 >Health 5 Excellent 25 >Health 9 Don't Know/No Answer 80 > >This is just a little bit of the table but I think you can see his >"logic" here. Is this a common convention that developers use? Hate >to see what else I'm going to find as I try to wade through this. >TIA >Ed > > >Edward P. Tesiny >Assistant Director for Evaluation >Bureau of Evaluation and Practice Improvement New York State OASAS 1450 >Western Ave. >Albany, New York 12203-3526 >Phone: (518) 485-7189 >Fax: (518) 485-5769 >Email: EdTesiny at oasas.state.ny.us -- 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 cfoust at infostatsystems.com Tue Apr 24 11:13:00 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 24 Apr 2007 09:13:00 -0700 Subject: [AccessD] Code Tables In-Reply-To: <004401c7868a$e4fdde00$657aa8c0@m6805> References: <200704241554.l3OFsAJI026425@databaseadvisors.com> <004401c7868a$e4fdde00$657aa8c0@m6805> Message-ID: You have my deepest sympathy in retrospect! Been there, done that, bought the mouse pad. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, April 24, 2007 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Code Tables >I think it was pretty standard for all the xBase languages because it >was so hard to keep track of all the table files otherwise. LOL. I got a job one time rescuing a Paradox database that was crumbling. It had well over TWO THOUSAND files in dozens of directories. It was not pleasant trying to get the data out of it. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, April 24, 2007 11:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Code Tables I seem to recall we did it that way in dBase too. I think it was pretty standard for all the xBase languages because it was so hard to keep track of all the table files otherwise. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Tuesday, April 24, 2007 8:51 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Code Tables He is probably an ex-FoxPro developer. They were one of the ones that got into doing a single table like that for all of the lookups. It is flat out bad design. Show him the correct way, yours. Robert At 10:22 AM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 09:59:55 -0400 >From: "Tesiny, Ed" >Subject: [AccessD] OT a little - Code Tables >To: , "Access Developers discussion and > problem solving" >Message-ID: > > >Content-Type: text/plain; charset="us-ascii" > >Hi All, >I'm not familiar enough with SQL Server but I have a question regarding >what I call Code Tables. I use them a lot when I develop an >application in Access, e.g., I'll have a table for counties i.e., >county code and county name or Providers, Provider code and Provider >Name. I have them as separate tables. I'm trying to make sense out of >the tables and relationships "my" programmer created. He has one code table period! >Below is a look as to how it is setup. > >dbo_tblCodes >CodeType CodeId CodeName OrderOnForm >Ethnicity 1 Puerto Rican 1 >Ethnicity 2 Mexican 2 >Ethnicity 3 Cuban 3 >Ethnicity 4 Other Hispanic 4 >Ethnicity 5 Hispanic, Not Specified/Known 5 >Ethnicity 7 Not of Hispanic Origin 6 >Ethnicity 9 Don't Know/No Answer 7 >Gender 1 Male 10 >Gender 2 Female 20 >Health 1 Poor 5 >Health 2 Fair 10 >Health 3 Good 15 >Health 4 Very Good 20 >Health 5 Excellent 25 >Health 9 Don't Know/No Answer 80 > >This is just a little bit of the table but I think you can see his >"logic" here. Is this a common convention that developers use? Hate >to see what else I'm going to find as I try to wade through this. >TIA >Ed > > >Edward P. Tesiny >Assistant Director for Evaluation >Bureau of Evaluation and Practice Improvement New York State OASAS 1450 >Western Ave. >Albany, New York 12203-3526 >Phone: (518) 485-7189 >Fax: (518) 485-5769 >Email: EdTesiny at oasas.state.ny.us -- 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 From john at winhaven.net Tue Apr 24 11:26:56 2007 From: john at winhaven.net (John Bartow) Date: Tue, 24 Apr 2007 11:26:56 -0500 Subject: [AccessD] OT a little - Code Tables In-Reply-To: <003201c78683$0fdf5200$657aa8c0@m6805> References: <013701c7867e$53939290$6402a8c0@ScuzzPaq> <003201c78683$0fdf5200$657aa8c0@m6805> Message-ID: <015d01c7868d$60b7fdd0$6402a8c0@ScuzzPaq> Yes - a code based solution to a relational theory based PITA ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, April 24, 2007 10:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Which little ditty is that? Are you referring to SysVars? From john at winhaven.net Tue Apr 24 11:41:43 2007 From: john at winhaven.net (John Bartow) Date: Tue, 24 Apr 2007 11:41:43 -0500 Subject: [AccessD] OT a little - Code Tables In-Reply-To: <29f585dd0704240855t7a6f5d90nc7337197ebc8ed9a@mail.gmail.com> References: <013701c7867e$53939290$6402a8c0@ScuzzPaq><003201c78683$0fdf5200$657aa8c0@m6805><004001c78686$4e78fcc0$657aa8c0@m6805> <29f585dd0704240855t7a6f5d90nc7337197ebc8ed9a@mail.gmail.com> Message-ID: <016a01c7868f$717ed010$6402a8c0@ScuzzPaq> I think it was bad design due to the limitations of some of the DB products of the time. Also, another reason it was done was for the end user's sake. Basically there would be one table with lookups and values and the user could add or edit new lookups types and values which would be loaded to a UI form via a DB View. Although it could have been done using other methods, it was one method of accomplishing something that needed to be done. I didn't like it back then and I dislike it even more now. I migrated data from the DB (Informix) that held this methodology into a normalized SQL Server DB - I had to set up many filters to get the lookup tables migrated! And that wasn't the only non-standard methodology used in the Informix DB :o( -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, April 24, 2007 10:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT a little - Code Tables For those who care about theory, this model is a definite no-no. A table (relation) is a collection of like entities, and since there is no observable penalty for the number of tables (unless it goes into the thousands), then IMO it is asinine, not to mention theoretically unsound, to use one table for several purposes. Assuming that you choose the one-table route, then you must create views or UDFs to isolate the collection of interest. Given the overhead involved in doing that (and the more rows, the more overhead), what do you gain by stuffing a bunch of unlike entities into a single table? From john at winhaven.net Tue Apr 24 11:47:19 2007 From: john at winhaven.net (John Bartow) Date: Tue, 24 Apr 2007 11:47:19 -0500 Subject: [AccessD] Code Tables In-Reply-To: References: <200704241554.l3OFsAJI026425@databaseadvisors.com> Message-ID: <016c01c78690$3a8a4020$6402a8c0@ScuzzPaq> Yes, that could be a drag - a good reason during that era to use R:Base. It had three files Data, Index, Notes(memo) field data. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, April 24, 2007 10:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Code Tables I seem to recall we did it that way in dBase too. I think it was pretty standard for all the xBase languages because it was so hard to keep track of all the table files otherwise. From rl_stewart at highstream.net Tue Apr 24 12:20:33 2007 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 24 Apr 2007 12:20:33 -0500 Subject: [AccessD] Code Tables In-Reply-To: References: Message-ID: <200704241724.l3OHO65p020120@databaseadvisors.com> Charlotte, Personally, my Clipper stuff was normalized. The Fox guys thought they could get away with the bad design because of the advantage that the Rushmore technology used in the idexing gave to them. Robert At 12:00 PM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 08:58:01 -0700 >From: "Charlotte Foust" >Subject: Re: [AccessD] Code Tables >To: "Access Developers discussion and problem solving" > >Message-ID: > >Content-Type: text/plain; charset="us-ascii" > >I seem to recall we did it that way in dBase too. I think it was pretty >standard for all the xBase languages because it was so hard to keep >track of all the table files otherwise. > >Charlotte Foust From rl_stewart at highstream.net Tue Apr 24 12:22:28 2007 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 24 Apr 2007 12:22:28 -0500 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: References: Message-ID: <200704241724.l3OHO6jw020122@databaseadvisors.com> John, Try setting up a linked server using the text files as the server files. This would allow SQL Server to operate as if they were SQL files. Robert At 12:00 PM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 12:07:11 -0400 >From: "JWColby" >Subject: Re: [AccessD] using a saved SSIS with VB.Net >To: "'Access Developers discussion and problem solving'" > >Message-ID: <004301c7868a$9e6cd590$657aa8c0 at m6805> >Content-Type: text/plain; charset="us-ascii" > >The CSV file is on the same machine. It appears that the clause that pulls >the source table (csv file) into memory is taking a ton of time. These are >large files, the smallest are a little under 200 million bytes and the >largest are up in the 3 gigabyte range. It appears that SQL Server does not >read a few records and append them, but rather reads the whole CSV and then >starts appending all of the assembled records. > >If I were a SQL Server pro I could probably speed this up considerably. >Alas, I am not. > >John W. Colby From rl_stewart at highstream.net Tue Apr 24 12:23:44 2007 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 24 Apr 2007 12:23:44 -0500 Subject: [AccessD] Code Tables In-Reply-To: References: Message-ID: <200704241729.l3OHT5it021503@databaseadvisors.com> The real Paradox was that Paradox even worked. :-) Robert At 12:00 PM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 12:09:10 -0400 >From: "JWColby" >Subject: Re: [AccessD] Code Tables >To: "'Access Developers discussion and problem solving'" > >Message-ID: <004401c7868a$e4fdde00$657aa8c0 at m6805> >Content-Type: text/plain; charset="us-ascii" > > >I think it was pretty standard for all the xBase languages because it was >so hard to keep track of all the table files otherwise. > >LOL. I got a job one time rescuing a Paradox database that was crumbling. >It had well over TWO THOUSAND files in dozens of directories. It was not >pleasant trying to get the data out of it. > >John W. Colby From mwp.reid at qub.ac.uk Tue Apr 24 12:33:21 2007 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 24 Apr 2007 18:33:21 +0100 Subject: [AccessD] using a saved SSIS with VB.Net References: <200704241724.l3OHO6jw020122@databaseadvisors.com> Message-ID: John Have not worked with such large text files. But here are some links to areas with similar needs. You might pick up an idea or two. http://discuss.fogcreek.com/joelonsoftware4/default.asp?cmd=show&ixPost=130552&ixReplies=16 http://msdn2.microsoft.com/en-us/library/ms139941.aspx http://groups.google.com/group/microsoft.public.sqlserver.programming/browse_thread/thread/d11a50d085985781/b16c9cc3cbbef69f%23b16c9cc3cbbef69f http://weblogs.sqlteam.com/mladenp/articles/10631.aspx HTH Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From jimdettman at verizon.net Tue Apr 24 12:47:57 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 24 Apr 2007 13:47:57 -0400 Subject: [AccessD] OT a little - Code Tables In-Reply-To: References: Message-ID: <017e01c78698$b27dd350$8abea8c0@XPS> Just to weigh in; I do this myself in all my apps. I see little sense in setting up a separate table for each one of the lookups when they are all the same. And I don't agree with Arthur that this violates relational theory. They are all the same entity. Each one has a type, code, and a description. That's it. No more and no less. It would be a different matter if I had something like this: Type CodeID CodeName Postal Mask Phone Mask OnOrder Form Country USA United States #####-#### (###) ###-#### Null Country CAN Canada ### ### (###) ###-#### Null Ethnicity 1 Puerto Rican Null Null 1 Ethnicity 2 Mexican Null Null 2 Now there are multiple entities in the table as each instance does not have the same attributes and thus cannot be the same thing. This is the point where I break out into a separate table. But for a "lookup value", even though each lookup value may have a different type, I keep them all in the same table. I find it simplifies things quite a bit and performs better as well. Lot less overhead then having multiple tables, all of which need to be opened, closed, indexed, etc. Coding is less complex overall as well. My .02 Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, April 24, 2007 10:00 AM To: dba-ot at databaseadvisors.com; Access Developers discussion and problem solving Subject: [AccessD] OT a little - Code Tables Hi All, I'm not familiar enough with SQL Server but I have a question regarding what I call Code Tables. I use them a lot when I develop an application in Access, e.g., I'll have a table for counties i.e., county code and county name or Providers, Provider code and Provider Name. I have them as separate tables. I'm trying to make sense out of the tables and relationships "my" programmer created. He has one code table period! Below is a look as to how it is setup. dbo_tblCodes CodeType CodeId CodeName OrderOnForm Ethnicity 1 Puerto Rican 1 Ethnicity 2 Mexican 2 Ethnicity 3 Cuban 3 Ethnicity 4 Other Hispanic 4 Ethnicity 5 Hispanic, Not Specified/Known 5 Ethnicity 7 Not of Hispanic Origin 6 Ethnicity 9 Don't Know/No Answer 7 Gender 1 Male 10 Gender 2 Female 20 Health 1 Poor 5 Health 2 Fair 10 Health 3 Good 15 Health 4 Very Good 20 Health 5 Excellent 25 Health 9 Don't Know/No Answer 80 This is just a little bit of the table but I think you can see his "logic" here. Is this a common convention that developers use? Hate to see what else I'm going to find as I try to wade through this. TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Apr 24 13:06:33 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 24 Apr 2007 11:06:33 -0700 Subject: [AccessD] Code Tables In-Reply-To: <200704241724.l3OHO65p020120@databaseadvisors.com> References: <200704241724.l3OHO65p020120@databaseadvisors.com> Message-ID: Clipper was a special case. I never programmed in it, but I effectively "debugged" commercial apps we used that were built in it. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Tuesday, April 24, 2007 10:21 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Code Tables Charlotte, Personally, my Clipper stuff was normalized. The Fox guys thought they could get away with the bad design because of the advantage that the Rushmore technology used in the idexing gave to them. Robert At 12:00 PM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 08:58:01 -0700 >From: "Charlotte Foust" >Subject: Re: [AccessD] Code Tables >To: "Access Developers discussion and problem solving" > >Message-ID: > >Content-Type: text/plain; charset="us-ascii" > >I seem to recall we did it that way in dBase too. I think it was >pretty standard for all the xBase languages because it was so hard to >keep track of all the table files otherwise. > >Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DElam at jenkens.com Tue Apr 24 13:12:35 2007 From: DElam at jenkens.com (Elam, Debbie) Date: Tue, 24 Apr 2007 13:12:35 -0500 Subject: [AccessD] OT a little - Code Tables Message-ID: <573E90481C9F004C9E598D3A5A9DCDA001D206@jgexch1.jenkens.com> I agree. The only thing I would do is make sure the ID is unique regardless of the code type. Having a multiple field key does cause more problems. As I pointed out, if you want to add the functionality to the front end of being able to define some custom combo or list boxes, custom codes are often needed too. This offers the ability to recycle a previous list (Yes/no is a common recycled list) or create a new one from scratch. I use a commercial product that uses a consolidated code table and party table for just that reason. It has made the interface very customizable by a reasonably savvy end user with no programming experience and no access to the server to add new tables. The views of each code type are a convenience, not a necessity. Debbie -----Original Message----- From: Jim Dettman [mailto:jimdettman at verizon.net] Sent: Tuesday, April 24, 2007 12:48 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Just to weigh in; I do this myself in all my apps. I see little sense in setting up a separate table for each one of the lookups when they are all the same. And I don't agree with Arthur that this violates relational theory. They are all the same entity. Each one has a type, code, and a description. That's it. No more and no less. It would be a different matter if I had something like this: Type CodeID CodeName Postal Mask Phone Mask OnOrder Form Country USA United States #####-#### (###) ###-#### Null Country CAN Canada ### ### (###) ###-#### Null Ethnicity 1 Puerto Rican Null Null 1 Ethnicity 2 Mexican Null Null 2 Now there are multiple entities in the table as each instance does not have the same attributes and thus cannot be the same thing. This is the point where I break out into a separate table. But for a "lookup value", even though each lookup value may have a different type, I keep them all in the same table. I find it simplifies things quite a bit and performs better as well. Lot less overhead then having multiple tables, all of which need to be opened, closed, indexed, etc. Coding is less complex overall as well. My .02 Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, April 24, 2007 10:00 AM To: dba-ot at databaseadvisors.com; Access Developers discussion and problem solving Subject: [AccessD] OT a little - Code Tables Hi All, I'm not familiar enough with SQL Server but I have a question regarding what I call Code Tables. I use them a lot when I develop an application in Access, e.g., I'll have a table for counties i.e., county code and county name or Providers, Provider code and Provider Name. I have them as separate tables. I'm trying to make sense out of the tables and relationships "my" programmer created. He has one code table period! Below is a look as to how it is setup. dbo_tblCodes CodeType CodeId CodeName OrderOnForm Ethnicity 1 Puerto Rican 1 Ethnicity 2 Mexican 2 Ethnicity 3 Cuban 3 Ethnicity 4 Other Hispanic 4 Ethnicity 5 Hispanic, Not Specified/Known 5 Ethnicity 7 Not of Hispanic Origin 6 Ethnicity 9 Don't Know/No Answer 7 Gender 1 Male 10 Gender 2 Female 20 Health 1 Poor 5 Health 2 Fair 10 Health 3 Good 15 Health 4 Very Good 20 Health 5 Excellent 25 Health 9 Don't Know/No Answer 80 This is just a little bit of the table but I think you can see his "logic" here. Is this a common convention that developers use? Hate to see what else I'm going to find as I try to wade through this. TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us -- 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 cfoust at infostatsystems.com Tue Apr 24 13:14:15 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 24 Apr 2007 11:14:15 -0700 Subject: [AccessD] OT a little - Code Tables In-Reply-To: <017e01c78698$b27dd350$8abea8c0@XPS> References: <017e01c78698$b27dd350$8abea8c0@XPS> Message-ID: I think your approach is the cousin to John's SysVars and my USysSettings tables, Jim. In my USysSettings table, every value is a string that gets translated to the appropriate datatype in the public function that retrieves it. I break out my multi-record lookup values that have different structures, i.e., fields that don't apply to other types, etc., or where they would require a multi-field key to insure uniqueness. If the CodeID is numeric in one set of values and a string in another, they go in different tables anyhow. I can see using your approach in a class to wrap the separate tables, but I'd still want the tables broken out. :-} Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, April 24, 2007 10:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Just to weigh in; I do this myself in all my apps. I see little sense in setting up a separate table for each one of the lookups when they are all the same. And I don't agree with Arthur that this violates relational theory. They are all the same entity. Each one has a type, code, and a description. That's it. No more and no less. It would be a different matter if I had something like this: Type CodeID CodeName Postal Mask Phone Mask OnOrder Form Country USA United States #####-#### (###) ###-#### Null Country CAN Canada ### ### (###) ###-#### Null Ethnicity 1 Puerto Rican Null Null 1 Ethnicity 2 Mexican Null Null 2 Now there are multiple entities in the table as each instance does not have the same attributes and thus cannot be the same thing. This is the point where I break out into a separate table. But for a "lookup value", even though each lookup value may have a different type, I keep them all in the same table. I find it simplifies things quite a bit and performs better as well. Lot less overhead then having multiple tables, all of which need to be opened, closed, indexed, etc. Coding is less complex overall as well. My .02 Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, April 24, 2007 10:00 AM To: dba-ot at databaseadvisors.com; Access Developers discussion and problem solving Subject: [AccessD] OT a little - Code Tables Hi All, I'm not familiar enough with SQL Server but I have a question regarding what I call Code Tables. I use them a lot when I develop an application in Access, e.g., I'll have a table for counties i.e., county code and county name or Providers, Provider code and Provider Name. I have them as separate tables. I'm trying to make sense out of the tables and relationships "my" programmer created. He has one code table period! Below is a look as to how it is setup. dbo_tblCodes CodeType CodeId CodeName OrderOnForm Ethnicity 1 Puerto Rican 1 Ethnicity 2 Mexican 2 Ethnicity 3 Cuban 3 Ethnicity 4 Other Hispanic 4 Ethnicity 5 Hispanic, Not Specified/Known 5 Ethnicity 7 Not of Hispanic Origin 6 Ethnicity 9 Don't Know/No Answer 7 Gender 1 Male 10 Gender 2 Female 20 Health 1 Poor 5 Health 2 Fair 10 Health 3 Good 15 Health 4 Very Good 20 Health 5 Excellent 25 Health 9 Don't Know/No Answer 80 This is just a little bit of the table but I think you can see his "logic" here. Is this a common convention that developers use? Hate to see what else I'm going to find as I try to wade through this. TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us -- 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 rockysmolin at bchacc.com Tue Apr 24 13:47:43 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 24 Apr 2007 11:47:43 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: Message-ID: <004201c786a1$0b4582f0$0501a8c0@HAL9005> Making progress. The project window wasn't displayed by default. But I found how to display it, double-clicked ThisOutlookSession, and pasted into the code window: Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) Dim objMe As Recipient Set objMe = Item.Recipients.Add("bchacc at san.rr.com") objMe.Type = olBCC objMe.Resolve Set objMe = Nothing End Sub However, it's not sending a Bcc to bchacc at san.rr.com. Have I missed a step? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Tuesday, April 24, 2007 8:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC On the left, you should have a project window, a tree representation of your Outlook VBA project. Top item should be Project1, with Microsoft Outlook as a child, in turn ThisOutlookSession will be a child of that. Double click that to bring up it's code page. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 24, 2007 9:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC " go into the code window," using Alt-F11? "there is a 'ThisOutlookSession' object." I don't see that. The left combo box has only (General) in it. Where would I look for it? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 4:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC When you go into the code window, there is a 'ThisOutlookSession' object. Click that, and you should get a blank code page. Click the left drop down box in the code page and select Application. The right drop down will then have the ItemSend event. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 6:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Marty: You know I found that site. And the code makes sense. But I've never put any code behind Outlook. Don't know how to get that code attached to the Item_Send event (if there is such a thing). Any hints on how to? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 23, 2007 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC This site says you have to do through VBA code. or use third party add-in http://www.howto-outlook.com/faq/createbccrule.htm To automatically Bcc all outgoing messages. http://www.outlookcode.com/d/code/autobcc.htm Rocky Smolin at Beach Access Software wrote: >Yes, but she has to insert her AA's email address manually on every >email that goes to a client that she wants to copy the AA on. So she >was looking for a way to have the AA's email automatically entered in >the Bcc line on every email. > >Rocky > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Monday, April 23, 2007 10:54 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT: Default BCC > >Sorry if this is too simplistic, but she does have the View BCC option >ticked doesn't she? > >-- Andy Lacey >http://www.minstersystems.co.uk > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>Smolin at Beach Access Software >>Sent: 23 April 2007 17:51 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>Almost there. The user who asked me for this wants to Bcc. >>The rule wizard >>seems to only allow CC. It's a law office and this person >>wants to Bcc her >>admin assistant. Is there a way to do Bcc? >> >>Rocky >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 9:39 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Okay, step by step using Outlook 2003. >> >>Click Tools --> Rules and Alerts >> >>Click New Rule >> >>Select 'Start from a blank rule' (not default selection) >> >>Under Step1, select Check messages after sending, click next. >> >>Click next again (you will be prompted again, click Yes) >> >>(Side note, this rule now applies to ALL email you send. The last >>Next and Yes skipped past conditions you may want to choose) >> >>Select 'CC the message to people or distribution list'. >> >>In the step 2 window, click the underlines 'people or distribution >>list' to select the address you want the copy sent too. >> >>Click Next, then Next again (this one skips the exceptions that you >>can apply to your rule) >> >>Click Finish >> >>All done! >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Monday, April 23, 2007 11:02 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>That WOULD be easy. But I don't see a rule that governs outgoing >>addresses. Only sorting incoming mail. Am I missing it somewhere? >> >>Rocky >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 8:11 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Probably easier to use a rule. (There's a rule wizard to help out). >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Sunday, April 22, 2007 2:45 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] OT: Default BCC >> >> >> >> >>Dear List: >> >>Is there a way to default an email address into the BCC field in >>Outlook when you create a new message? >> >>TIA >> >>Rocky >> >> -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007 5:26 PM From accessd at shaw.ca Tue Apr 24 14:14:19 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 24 Apr 2007 12:14:19 -0700 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: <003101c7867d$6cce93a0$657aa8c0@m6805> Message-ID: <0JH000F13NXIHH60@l-daemon> Hi John: Here is a basic... very basic MS Windows SQL 2005 Stored Procedure introduction video: http://download.microsoft.com/download/b/3/8/b3847275-2bea-440a-8e2e-305b009 bb261/sql_12.wmv HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, April 24, 2007 7:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] using a saved SSIS with VB.Net Gustav, My bigger issue here is that there 56 of these files to import into SQL Server, supposedly ~100 million records. I have done about 8 million records so far. I really must get this thing automated such that it just chunks through these CSV files without my having to be around to start the next one. I am working now on setting up the append query using that syntax below into a stored procedure so that I can then just replace the file name. After that I will need to write something in VB.Net or whatever to execute the stored procedure feeding in all of the file names from a specific directory, deleting the file once the stored procedure finishes the import for a given file. I have never written a stored procedure. Obviously, given the above, I have never called a stored procedure from code. So much to learn, so little time. Once this is imported I have to turn right around and export a subset of fields from the table back out as 1 - 2 million record chunks for CAS / DPV / NCOA processing, then I have to import THOSE back in to a new table. And when this set of data is finished, I have another set of about the same size on the way, to which I have to perform the same processes. I soooooo need to get this process automated. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 24, 2007 8:54 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John That looks right. I don't know what speed to expect other than it should be more than the typical a-couple-of-hundreds per second for inserts via DAO and ODBC. The only tricks I know of are the well-known to drop indexes from the receiving table during the import and - as you mention - to minimize logging. The reference to MySQL is just for you to have an ultimate goal. I haven't seen or heard of anything else running at that speed, not even JET where you can expect around 15k records/s. Of course, it should server a purpose for you to install it, but MySQL is very easy to set up - and we have true experts (not me) joining the list. So if you can see an idea having these files loaded into an engine very fast, just move on. On the other hand, if you have a night and can perform the import without manual intervention, I think I would choose the method you have described. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Apr 24 16:15:47 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 24 Apr 2007 17:15:47 -0400 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: <0JH000F13NXIHH60@l-daemon> References: <003101c7867d$6cce93a0$657aa8c0@m6805> <0JH000F13NXIHH60@l-daemon> Message-ID: <008b01c786b5$baa422b0$657aa8c0@m6805> Thanks, I am looking at it now. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, April 24, 2007 3:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John: Here is a basic... very basic MS Windows SQL 2005 Stored Procedure introduction video: http://download.microsoft.com/download/b/3/8/b3847275-2bea-440a-8e2e-305b009 bb261/sql_12.wmv HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, April 24, 2007 7:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] using a saved SSIS with VB.Net Gustav, My bigger issue here is that there 56 of these files to import into SQL Server, supposedly ~100 million records. I have done about 8 million records so far. I really must get this thing automated such that it just chunks through these CSV files without my having to be around to start the next one. I am working now on setting up the append query using that syntax below into a stored procedure so that I can then just replace the file name. After that I will need to write something in VB.Net or whatever to execute the stored procedure feeding in all of the file names from a specific directory, deleting the file once the stored procedure finishes the import for a given file. I have never written a stored procedure. Obviously, given the above, I have never called a stored procedure from code. So much to learn, so little time. Once this is imported I have to turn right around and export a subset of fields from the table back out as 1 - 2 million record chunks for CAS / DPV / NCOA processing, then I have to import THOSE back in to a new table. And when this set of data is finished, I have another set of about the same size on the way, to which I have to perform the same processes. I soooooo need to get this process automated. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 24, 2007 8:54 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John That looks right. I don't know what speed to expect other than it should be more than the typical a-couple-of-hundreds per second for inserts via DAO and ODBC. The only tricks I know of are the well-known to drop indexes from the receiving table during the import and - as you mention - to minimize logging. The reference to MySQL is just for you to have an ultimate goal. I haven't seen or heard of anything else running at that speed, not even JET where you can expect around 15k records/s. Of course, it should server a purpose for you to install it, but MySQL is very easy to set up - and we have true experts (not me) joining the list. So if you can see an idea having these files loaded into an engine very fast, just move on. On the other hand, if you have a night and can perform the import without manual intervention, I think I would choose the method you have described. /gustav -- 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 mmattys at rochester.rr.com Tue Apr 24 16:36:05 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Tue, 24 Apr 2007 17:36:05 -0400 Subject: [AccessD] using a saved SSIS with VB.Net References: <200704241724.l3OHO6jw020122@databaseadvisors.com> Message-ID: <00ca01c786b8$911c3d80$0302a8c0@Laptop> John, I've read through your description and see the bottlenecks. All I can think of is that you could have this running distributed across machines (but I know you thought of that). Robert, Please explain your idea a little further - how to set up. Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Robert L. Stewart" To: Sent: Tuesday, April 24, 2007 1:22 PM Subject: Re: [AccessD] using a saved SSIS with VB.Net > John, > > Try setting up a linked server using the text files as the server files. > This would allow SQL Server to operate as if they were SQL files. > > Robert > > At 12:00 PM 4/24/2007, you wrote: >>Date: Tue, 24 Apr 2007 12:07:11 -0400 >>From: "JWColby" >>Subject: Re: [AccessD] using a saved SSIS with VB.Net >>To: "'Access Developers discussion and problem solving'" >> >>Message-ID: <004301c7868a$9e6cd590$657aa8c0 at m6805> >>Content-Type: text/plain; charset="us-ascii" >> >>The CSV file is on the same machine. It appears that the clause that >>pulls >>the source table (csv file) into memory is taking a ton of time. These >>are >>large files, the smallest are a little under 200 million bytes and the >>largest are up in the 3 gigabyte range. It appears that SQL Server does >>not >>read a few records and append them, but rather reads the whole CSV and >>then >>starts appending all of the assembled records. >> >>If I were a SQL Server pro I could probably speed this up considerably. >>Alas, I am not. >> >>John W. Colby > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Apr 24 17:24:23 2007 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 25 Apr 2007 00:24:23 +0200 Subject: [AccessD] using a saved SSIS with VB.Net Message-ID: Hi John Your observations about the flow are probably true. If we for a moment return to your reading and converting of these huge files in Access, instead of rewriting these to csv files for later import into SQL Server, why not collect the finished records to batches of: Insert Into
Values ( , , .. ) with, say, 100 or 1000 lines and feed these directly to SQL Server? This can be easily done with ADO and a Connection object and a Command object where you use the Connection.Execute method to load the batch of records directly into SQL Server. For you it should be a simple matter to modify your Access app, which you already have build, to perform the task. /gustav >>> jwcolby at colbyconsulting.com 24-04-07 18:07 >>> The CSV file is on the same machine. It appears that the clause that pulls the source table (csv file) into memory is taking a ton of time. These are large files, the smallest are a little under 200 million bytes and the largest are up in the 3 gigabyte range. It appears that SQL Server does not read a few records and append them, but rather reads the whole CSV and then starts appending all of the assembled records. If I were a SQL Server pro I could probably speed this up considerably. Alas, I am not. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Tuesday, April 24, 2007 11:53 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net John, One of the keys to getting it into SQL Server faster is to have the CSV file on the server and not on a different machine. Network traffic can kill the process and slow it down significantly. Robert At 10:22 AM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 10:32:44 -0400 >From: "JWColby" >Subject: Re: [AccessD] using a saved SSIS with VB.Net >To: "'Access Developers discussion and problem solving'" > >Message-ID: <003101c7867d$6cce93a0$657aa8c0 at m6805> >Content-Type: text/plain; charset="us-ascii" > >Gustav, > >My bigger issue here is that there 56 of these files to import into SQL >Server, supposedly ~100 million records. I have done about 8 million >records so far. I really must get this thing automated such that it >just chunks through these CSV files without my having to be around to >start the next one. I am working now on setting up the append query >using that syntax below into a stored procedure so that I can then just replace the file name. >After that I will need to write something in VB.Net or whatever to >execute the stored procedure feeding in all of the file names from a >specific directory, deleting the file once the stored procedure >finishes the import for a given file. > >I have never written a stored procedure. >Obviously, given the above, I have never called a stored procedure from >code. > >So much to learn, so little time. > >Once this is imported I have to turn right around and export a subset >of fields from the table back out as 1 - 2 million record chunks for >CAS / DPV / NCOA processing, then I have to import THOSE back in to a new table. > >And when this set of data is finished, I have another set of about the >same size on the way, to which I have to perform the same processes. I >soooooo need to get this process automated. > >John W. Colby From gustav at cactus.dk Tue Apr 24 17:26:52 2007 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 25 Apr 2007 00:26:52 +0200 Subject: [AccessD] using a saved SSIS with VB.Net Message-ID: Hi John Your observations about the flow are probably true. If we for a moment return to your reading and converting of these huge files in Access, instead of rewriting these to csv files for later import into SQL Server, why not collect the finished records to batches of: Insert Into
Values ( , , .. ) with, say, 100 or 1000 lines and feed these directly to SQL Server? This can be easily done with ADO and a Connection object and a Command object where you use the Connection.Execute method to load the batch of records directly into SQL Server. For you it should be a simple matter to modify your Access app, which you already have build, to perform the task. /gustav >>> jwcolby at colbyconsulting.com 24-04-07 18:07 >>> The CSV file is on the same machine. It appears that the clause that pulls the source table (csv file) into memory is taking a ton of time. These are large files, the smallest are a little under 200 million bytes and the largest are up in the 3 gigabyte range. It appears that SQL Server does not read a few records and append them, but rather reads the whole CSV and then starts appending all of the assembled records. If I were a SQL Server pro I could probably speed this up considerably. Alas, I am not. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Tuesday, April 24, 2007 11:53 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net John, One of the keys to getting it into SQL Server faster is to have the CSV file on the server and not on a different machine. Network traffic can kill the process and slow it down significantly. Robert At 10:22 AM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 10:32:44 -0400 >From: "JWColby" >Subject: Re: [AccessD] using a saved SSIS with VB.Net >To: "'Access Developers discussion and problem solving'" > >Message-ID: <003101c7867d$6cce93a0$657aa8c0 at m6805> >Content-Type: text/plain; charset="us-ascii" > >Gustav, > >My bigger issue here is that there 56 of these files to import into SQL >Server, supposedly ~100 million records. I have done about 8 million >records so far. I really must get this thing automated such that it >just chunks through these CSV files without my having to be around to >start the next one. I am working now on setting up the append query >using that syntax below into a stored procedure so that I can then just replace the file name. >After that I will need to write something in VB.Net or whatever to >execute the stored procedure feeding in all of the file names from a >specific directory, deleting the file once the stored procedure >finishes the import for a given file. > >I have never written a stored procedure. >Obviously, given the above, I have never called a stored procedure from >code. > >So much to learn, so little time. > >Once this is imported I have to turn right around and export a subset >of fields from the table back out as 1 - 2 million record chunks for >CAS / DPV / NCOA processing, then I have to import THOSE back in to a new table. > >And when this set of data is finished, I have another set of about the >same size on the way, to which I have to perform the same processes. I >soooooo need to get this process automated. > >John W. Colby From bbruen at unwired.com.au Tue Apr 24 17:24:07 2007 From: bbruen at unwired.com.au (Bruce Bruen) Date: Wed, 25 Apr 2007 08:24:07 +1000 Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! In-Reply-To: <000601c78671$5b442ed0$0200a8c0@danwaters> References: <200704241728.23380.bbruen@unwired.com.au> <000601c78671$5b442ed0$0200a8c0@danwaters> Message-ID: <200704250824.09584.bbruen@unwired.com.au> Thanks Dan, I was pretty panicky yesterday when this happened and didn't think of going through the "normal" diagnostics as you suggest. For interest sakes, other databases with conditional formatting suffered the same problem. I haven't the luxury of more than one windows PC here, so I haven't tried step 2. What I did was log out and back in to see if the environment was corrupted somehow. This didn't fix the problem. Then, grasping at straws, I power cycled the PC. Now its back up and the formats are all back to normal. Much relief! Thanks for the "calm down and think it through" suggest. Whatever the keystroke sequence is that sets the high res mode, it must do something deep inside the OS though, I cant see why logout/login wouldn't fix it. As regards setting the format in code, that's what I am partway through. Getting the visual effect needed for the multiplicity of conditions was the first task and it was quicker to use the format design tool to tweak the various colors. regards Bruce On Tuesday 24 April 2007 23:06, Dan Waters wrote: > Hi Bruce, > > Can't help with the home address! > > I would first try to rule out that something has happened to your PC. Put > your database on another PC to see what happens. Do you have any other > databases that use conditional formatting? > > Then on your PC, create a new small database and then see if conditional > formatting works. > > You can try importing a couple of your objects to a new database. > > I use conditional formatting quite a bit but haven't seen this problem. > > Long term, conditional formatting can be established through code. This > would hopefully reset your forms/reports even if your PC did this again. > > Hope this helps - and good luck! > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen > Sent: Tuesday, April 24, 2007 2:28 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! > > After 6 weeks work of setting conditional formats over 32 tables, 65 forms > and > 12 reports I accidentally hit ctl-leftshift-alt-prtscn-scratchnose which > produced a "YOUAREGOINGINTOHIGHRESOLUTIONMODE" popup, with apparently NO > WAY > > TO CANCEL IT! > > Guess what, all the conditional formats are now black-on-defaultbackground. > > Recovered the backup taken 30 minutes ago, still the same. Went back to > this > mornings backup, still the same. Changed the display mode back to normal XP > defaults, ... still the same. > > 1. Has anyone got any idea how to fix this? > 2. Can anyone give me the home address of the M$ MORON who did this to me? > > -- > regards > > Bruce > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Apr 24 18:06:01 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 24 Apr 2007 18:06:01 -0500 Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! In-Reply-To: <200704250824.09584.bbruen@unwired.com.au> References: <200704241728.23380.bbruen@unwired.com.au><000601c78671$5b442ed0$0200a8c0@danwaters> <200704250824.09584.bbruen@unwired.com.au> Message-ID: <003901c786c5$20b17ad0$0200a8c0@danwaters> Glad to help! I had a problem with conditional formatting a few years ago. MS did acknowledge that it was a bug - they even sent me a follow-up email telling me that they weren't going to charge me for their help because I had solved the problem myself! :-) The solution at the time was to multiply a numeric value in the conditional format expression field by 1. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen Sent: Tuesday, April 24, 2007 5:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! Thanks Dan, I was pretty panicky yesterday when this happened and didn't think of going through the "normal" diagnostics as you suggest. For interest sakes, other databases with conditional formatting suffered the same problem. I haven't the luxury of more than one windows PC here, so I haven't tried step 2. What I did was log out and back in to see if the environment was corrupted somehow. This didn't fix the problem. Then, grasping at straws, I power cycled the PC. Now its back up and the formats are all back to normal. Much relief! Thanks for the "calm down and think it through" suggest. Whatever the keystroke sequence is that sets the high res mode, it must do something deep inside the OS though, I cant see why logout/login wouldn't fix it. As regards setting the format in code, that's what I am partway through. Getting the visual effect needed for the multiplicity of conditions was the first task and it was quicker to use the format design tool to tweak the various colors. regards Bruce On Tuesday 24 April 2007 23:06, Dan Waters wrote: > Hi Bruce, > > Can't help with the home address! > > I would first try to rule out that something has happened to your PC. Put > your database on another PC to see what happens. Do you have any other > databases that use conditional formatting? > > Then on your PC, create a new small database and then see if conditional > formatting works. > > You can try importing a couple of your objects to a new database. > > I use conditional formatting quite a bit but haven't seen this problem. > > Long term, conditional formatting can be established through code. This > would hopefully reset your forms/reports even if your PC did this again. > > Hope this helps - and good luck! > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen > Sent: Tuesday, April 24, 2007 2:28 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! > > After 6 weeks work of setting conditional formats over 32 tables, 65 forms > and > 12 reports I accidentally hit ctl-leftshift-alt-prtscn-scratchnose which > produced a "YOUAREGOINGINTOHIGHRESOLUTIONMODE" popup, with apparently NO > WAY > > TO CANCEL IT! > > Guess what, all the conditional formats are now black-on-defaultbackground. > > Recovered the backup taken 30 minutes ago, still the same. Went back to > this > mornings backup, still the same. Changed the display mode back to normal XP > defaults, ... still the same. > > 1. Has anyone got any idea how to fix this? > 2. Can anyone give me the home address of the M$ MORON who did this to me? > > -- > regards > > Bruce > -- > 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 bbruen at unwired.com.au Tue Apr 24 18:31:35 2007 From: bbruen at unwired.com.au (Bruce Bruen) Date: Wed, 25 Apr 2007 09:31:35 +1000 Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! In-Reply-To: <000b01c78685$76c7dad0$0432fad1@SusanOne> References: <200704241728.23380.bbruen@unwired.com.au> <000b01c78685$76c7dad0$0432fad1@SusanOne> Message-ID: <200704250931.37164.bbruen@unwired.com.au> Hi Susan, Yep, they are truly that custom. Basically the app is a status monitor for injection moulding plant, sort of like a fire panel, with a twist. There are essentially 10 "object types" each having a set of conditions and statuses. The objects fall into 2 heirarchies (structural and operational) of 6 and 4 levels respectively. The final installation will have about 500-600 real objects that are manually monitored several times a day. Everything's normal status is "warm" but there are a lot of conditions that are "warmer" or "cooler" than norm which may need attention. That attention depends on the operator getting a clear overview of the entire environment for the object, its job mix, the particular job type etc etc. If an object gets too hot or develops some fault, the realtime monitoring equipment sounds the alarm and stops the machine. This app essentially gets the log info from the realtime stuff and is aimed at detecting problems before they happen, by looking at the variance of the signals over time and presenting the user with an overall view at each of the levels that they can drill down through to "inspect" a particular machine (in fact, down to specific components of machines). So, on line "A" we might have a feeder, an injector and a conveyor. For certain jobs, using certain dies and certain plastic mixes, the injector may need to run slightly hotter than for other jobs and if it doesn't then it will gum up. There are lots of conditions and lots of states, and of course there are always new job types that raise new conditions and states. Rather than reprogram the realtime monitor (and this app) over and over, they set the realtime fault levels at a "significant" fault and hope to use this app to detect any "errant but within bounds" event. There are 4 "main" forms - 3 of which are continuous forms with around 10 "signals" per row and a treeview+inspector form/subform - that make up the major view of the system. The continuous forms show all 500 objects - so its important that the operator can recognize an aberrent signal level by quickly scrolling through the list. Hence the need for all the custom formats! The treeview form, which has 6 subforms that swap depending on the "type" of node selected in the tree allow the user to modify the monitor levels on the fly, say to loosen or tighten the variances allowed on a new die as it beds in etc etc. Sorry about the long winded story, but its quite an interesting app! regards Bruce On Wednesday 25 April 2007 01:30, Susan Harkins wrote: > Bruce, is each field truly that custom? You do know that you can change > default formats for a form don't you? Of course, that doesn't help with the > problem at hand -- sorry about that. :( > > Susan H. > > After 6 weeks work of setting conditional formats over 32 tables, 65 forms > and > 12 reports I accidentally hit ctl-leftshift-alt-prtscn-scratchnose which > produced a "YOUAREGOINGINTOHIGHRESOLUTIONMODE" popup, with apparently NO > WAY TO CANCEL IT! From EdTesiny at oasas.state.ny.us Tue Apr 24 18:51:52 2007 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Tue, 24 Apr 2007 19:51:52 -0400 Subject: [AccessD] OT a little - Code Tables References: Message-ID: Many thanks to all who responded, you've given me a lot to think about. Spent most of the day trying to get the data organized in a way I can use it productively. Made some good progress today and I hope this will continue. I hope the new programmer I requested goes through and we can all sit down and work this out. In closing for the night, all I can say is "This list is ALL GOOD" and I mean that sincerely. Thanks for all your help and comments! Ed ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Tesiny, Ed Sent: Tue 4/24/2007 9:59 AM To: dba-ot at databaseadvisors.com; Access Developers discussion and problem solving Subject: [AccessD] OT a little - Code Tables Hi All, I'm not familiar enough with SQL Server but I have a question regarding what I call Code Tables. I use them a lot when I develop an application in Access, e.g., I'll have a table for counties i.e., county code and county name or Providers, Provider code and Provider Name. I have them as separate tables. I'm trying to make sense out of the tables and relationships "my" programmer created. He has one code table period! Below is a look as to how it is setup. dbo_tblCodes CodeType CodeId CodeName OrderOnForm Ethnicity 1 Puerto Rican 1 Ethnicity 2 Mexican 2 Ethnicity 3 Cuban 3 Ethnicity 4 Other Hispanic 4 Ethnicity 5 Hispanic, Not Specified/Known 5 Ethnicity 7 Not of Hispanic Origin 6 Ethnicity 9 Don't Know/No Answer 7 Gender 1 Male 10 Gender 2 Female 20 Health 1 Poor 5 Health 2 Fair 10 Health 3 Good 15 Health 4 Very Good 20 Health 5 Excellent 25 Health 9 Don't Know/No Answer 80 This is just a little bit of the table but I think you can see his "logic" here. Is this a common convention that developers use? Hate to see what else I'm going to find as I try to wade through this. TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at sc.rr.com Tue Apr 24 19:47:13 2007 From: bheid at sc.rr.com (Bobby Heid) Date: Tue, 24 Apr 2007 20:47:13 -0400 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: References: Message-ID: <002901c786d3$44482a30$2c01a8c0@bhxp> John, Did you ever check out the BCP utility in SQL Server to import the files? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 24, 2007 6:24 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John Your observations about the flow are probably true. If we for a moment return to your reading and converting of these huge files in Access, instead of rewriting these to csv files for later import into SQL Server, why not collect the finished records to batches of: Insert Into
Values ( , , .. ) with, say, 100 or 1000 lines and feed these directly to SQL Server? This can be easily done with ADO and a Connection object and a Command object where you use the Connection.Execute method to load the batch of records directly into SQL Server. For you it should be a simple matter to modify your Access app, which you already have build, to perform the task. /gustav >>> jwcolby at colbyconsulting.com 24-04-07 18:07 >>> The CSV file is on the same machine. It appears that the clause that pulls the source table (csv file) into memory is taking a ton of time. These are large files, the smallest are a little under 200 million bytes and the largest are up in the 3 gigabyte range. It appears that SQL Server does not read a few records and append them, but rather reads the whole CSV and then starts appending all of the assembled records. If I were a SQL Server pro I could probably speed this up considerably. Alas, I am not. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Tuesday, April 24, 2007 11:53 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net John, One of the keys to getting it into SQL Server faster is to have the CSV file on the server and not on a different machine. Network traffic can kill the process and slow it down significantly. Robert At 10:22 AM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 10:32:44 -0400 >From: "JWColby" >Subject: Re: [AccessD] using a saved SSIS with VB.Net >To: "'Access Developers discussion and problem solving'" > >Message-ID: <003101c7867d$6cce93a0$657aa8c0 at m6805> >Content-Type: text/plain; charset="us-ascii" > >Gustav, > >My bigger issue here is that there 56 of these files to import into SQL >Server, supposedly ~100 million records. I have done about 8 million >records so far. I really must get this thing automated such that it >just chunks through these CSV files without my having to be around to >start the next one. I am working now on setting up the append query >using that syntax below into a stored procedure so that I can then just replace the file name. >After that I will need to write something in VB.Net or whatever to >execute the stored procedure feeding in all of the file names from a >specific directory, deleting the file once the stored procedure >finishes the import for a given file. > >I have never written a stored procedure. >Obviously, given the above, I have never called a stored procedure from >code. > >So much to learn, so little time. > >Once this is imported I have to turn right around and export a subset >of fields from the table back out as 1 - 2 million record chunks for >CAS / DPV / NCOA processing, then I have to import THOSE back in to a new table. > >And when this set of data is finished, I have another set of about the >same size on the way, to which I have to perform the same processes. I >soooooo need to get this process automated. > >John W. Colby From dwaters at usinternet.com Tue Apr 24 20:22:23 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 24 Apr 2007 20:22:23 -0500 Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! In-Reply-To: <200704250931.37164.bbruen@unwired.com.au> References: <200704241728.23380.bbruen@unwired.com.au><000b01c78685$76c7dad0$0432fad1@SusanOne> <200704250931.37164.bbruen@unwired.com.au> Message-ID: <003f01c786d8$2d679710$0200a8c0@danwaters> That's Very interesting! How do you get the real time info from the machines and components? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen Sent: Tuesday, April 24, 2007 6:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! Hi Susan, Yep, they are truly that custom. Basically the app is a status monitor for injection moulding plant, sort of like a fire panel, with a twist. There are essentially 10 "object types" each having a set of conditions and statuses. The objects fall into 2 heirarchies (structural and operational) of 6 and 4 levels respectively. The final installation will have about 500-600 real objects that are manually monitored several times a day. Everything's normal status is "warm" but there are a lot of conditions that are "warmer" or "cooler" than norm which may need attention. That attention depends on the operator getting a clear overview of the entire environment for the object, its job mix, the particular job type etc etc. If an object gets too hot or develops some fault, the realtime monitoring equipment sounds the alarm and stops the machine. This app essentially gets the log info from the realtime stuff and is aimed at detecting problems before they happen, by looking at the variance of the signals over time and presenting the user with an overall view at each of the levels that they can drill down through to "inspect" a particular machine (in fact, down to specific components of machines). So, on line "A" we might have a feeder, an injector and a conveyor. For certain jobs, using certain dies and certain plastic mixes, the injector may need to run slightly hotter than for other jobs and if it doesn't then it will gum up. There are lots of conditions and lots of states, and of course there are always new job types that raise new conditions and states. Rather than reprogram the realtime monitor (and this app) over and over, they set the realtime fault levels at a "significant" fault and hope to use this app to detect any "errant but within bounds" event. There are 4 "main" forms - 3 of which are continuous forms with around 10 "signals" per row and a treeview+inspector form/subform - that make up the major view of the system. The continuous forms show all 500 objects - so its important that the operator can recognize an aberrent signal level by quickly scrolling through the list. Hence the need for all the custom formats! The treeview form, which has 6 subforms that swap depending on the "type" of node selected in the tree allow the user to modify the monitor levels on the fly, say to loosen or tighten the variances allowed on a new die as it beds in etc etc. Sorry about the long winded story, but its quite an interesting app! regards Bruce On Wednesday 25 April 2007 01:30, Susan Harkins wrote: > Bruce, is each field truly that custom? You do know that you can change > default formats for a form don't you? Of course, that doesn't help with the > problem at hand -- sorry about that. :( > > Susan H. > > After 6 weeks work of setting conditional formats over 32 tables, 65 forms > and > 12 reports I accidentally hit ctl-leftshift-alt-prtscn-scratchnose which > produced a "YOUAREGOINGINTOHIGHRESOLUTIONMODE" popup, with apparently NO > WAY TO CANCEL IT! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at ot.com Tue Apr 24 21:58:30 2007 From: askolits at ot.com (John Skolits) Date: Tue, 24 Apr 2007 22:58:30 -0400 Subject: [AccessD] Trim function in SqlServer In-Reply-To: <015d01c7868d$60b7fdd0$6402a8c0@ScuzzPaq> Message-ID: <010001c786e5$9b4ac5b0$7a02a8c0@LaptopXP> I know there is an RTRIM() and LTRIM() in SQLServer, but is there one that trims both ends, like the Access TRIM() function? I want to do this in a SQLServer view. John From ebarro at verizon.net Tue Apr 24 22:20:09 2007 From: ebarro at verizon.net (Eric Barro) Date: Tue, 24 Apr 2007 20:20:09 -0700 Subject: [AccessD] Trim function in SqlServer In-Reply-To: <010001c786e5$9b4ac5b0$7a02a8c0@LaptopXP> Message-ID: <0JH1005DDALREVGP@vms046.mailsrvcs.net> SELECT LTRIM(RTRIM(' foo ')) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Tuesday, April 24, 2007 7:59 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Trim function in SqlServer I know there is an RTRIM() and LTRIM() in SQLServer, but is there one that trims both ends, like the Access TRIM() function? I want to do this in a SQLServer view. John From askolits at ot.com Tue Apr 24 22:25:15 2007 From: askolits at ot.com (John Skolits) Date: Tue, 24 Apr 2007 23:25:15 -0400 Subject: [AccessD] Trim function in SqlServer In-Reply-To: <0JH1005DDALREVGP@vms046.mailsrvcs.net> Message-ID: <010901c786e9$5791bfa0$7a02a8c0@LaptopXP> Yep, Makes sense. Thanks! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Tuesday, April 24, 2007 11:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Trim function in SqlServer SELECT LTRIM(RTRIM(' foo ')) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Tuesday, April 24, 2007 7:59 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Trim function in SqlServer I know there is an RTRIM() and LTRIM() in SQLServer, but is there one that trims both ends, like the Access TRIM() function? I want to do this in a SQLServer view. John -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bbruen at unwired.com.au Wed Apr 25 05:15:55 2007 From: bbruen at unwired.com.au (Bruce Bruen) Date: Wed, 25 Apr 2007 20:15:55 +1000 Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! In-Reply-To: <003f01c786d8$2d679710$0200a8c0@danwaters> References: <200704241728.23380.bbruen@unwired.com.au> <200704250931.37164.bbruen@unwired.com.au> <003f01c786d8$2d679710$0200a8c0@danwaters> Message-ID: <200704252015.56198.bbruen@unwired.com.au> Ah now that's a real tricky piece of work. :-) Basically the realtime monitors log every measurement they make (~26-46 per minute) to a text file with the first 20 bytes being a DTS. All I'm doing is everytime this app gets invoked is to read the log file, ignore anything that is less than the "last stamp I know of" and process the rest. Tricky eh! and now I've told you, I'm afraid I'll have to .... Sometimes simple is best. Dont forget, these people open the app 1 or 2 times per shift, check things out and close it. It's not doing or pretending to be am "active" monitor, just something to make the operator's life a bit easier than walking around a 2 acre floor, taking and logging readings, correlating them to the current job mix, checking the mix against the schedule.........etc etc. Actually, these guys spend most of their shift walking the floor. Apart from die jams, which happen every couple of hours or so, most of the time they ... wait for it essentially use their faces to detect if anything is slightly aberrent. That is, these people can "just tell" by walking past a machine line whether it sounds, smells, looks and feels like its going full bore and OK. Currently, we are working on "feels", i.e the operating temps amd feed rates. If I can get into the "sounds, smells and looks" regime. I'll be applying for patents and making an aggressive takeover for M$ ... :-) On Wednesday 25 April 2007 11:22, Dan Waters wrote: > That's Very interesting! > > How do you get the real time info from the machines and components? > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen > Sent: Tuesday, April 24, 2007 6:32 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! > > Hi Susan, > > Yep, they are truly that custom. Basically the app is a status monitor for > injection moulding plant, sort of like a fire panel, with a twist. There > are > essentially 10 "object types" each having a set of conditions and statuses. > The objects fall into 2 heirarchies (structural and operational) of 6 and 4 > levels respectively. The final installation will have about 500-600 real > objects that are manually monitored several times a day. Everything's > normal > status is "warm" but there are a lot of conditions that are "warmer" > or "cooler" than norm which may need attention. That attention depends on > the > operator getting a clear overview of the entire environment for the object, > its job mix, the particular job type etc etc. If an object gets too hot or > develops some fault, the realtime monitoring equipment sounds the alarm and > stops the machine. This app essentially gets the log info from the realtime > stuff and is aimed at detecting problems before they happen, by looking at > the variance of the signals over time and presenting the user with an > overall > view at each of the levels that they can drill down through to "inspect" a > particular machine (in fact, down to specific components of machines). > > So, on line "A" we might have a feeder, an injector and a conveyor. For > certain jobs, using certain dies and certain plastic mixes, the injector > may > > need to run slightly hotter than for other jobs and if it doesn't then it > will gum up. There are lots of conditions and lots of states, and of > course > > there are always new job types that raise new conditions and states. > Rather > > than reprogram the realtime monitor (and this app) over and over, they set > the realtime fault levels at a "significant" fault and hope to use this app > to detect any "errant but within bounds" event. > > There are 4 "main" forms - 3 of which are continuous forms with around > 10 "signals" per row and a treeview+inspector form/subform - that make up > the > major view of the system. The continuous forms show all 500 objects - so > its > important that the operator can recognize an aberrent signal level by > quickly > scrolling through the list. Hence the need for all the custom formats! The > treeview form, which has 6 subforms that swap depending on the "type" of > node > selected in the tree allow the user to modify the monitor levels on the > fly, > > say to loosen or tighten the variances allowed on a new die as it beds in > etc > etc. > > Sorry about the long winded story, but its quite an interesting app! > > regards > Bruce > > On Wednesday 25 April 2007 01:30, Susan Harkins wrote: > > Bruce, is each field truly that custom? You do know that you can change > > default formats for a form don't you? Of course, that doesn't help with > > the > > > problem at hand -- sorry about that. :( > > > > Susan H. > > > > After 6 weeks work of setting conditional formats over 32 tables, 65 > > forms and > > 12 reports I accidentally hit ctl-leftshift-alt-prtscn-scratchnose which > > produced a "YOUAREGOINGINTOHIGHRESOLUTIONMODE" popup, with apparently NO > > WAY TO CANCEL IT! > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- regards Bruce From jwcolby at colbyconsulting.com Wed Apr 25 06:30:09 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 25 Apr 2007 07:30:09 -0400 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: <002901c786d3$44482a30$2c01a8c0@bhxp> References: <002901c786d3$44482a30$2c01a8c0@bhxp> Message-ID: <002f01c7872d$153fa880$657aa8c0@m6805> Bobby, I have not. I have always meant to go study that but life (other work) got in the way. Maybe today I will get a moment. So much to know, so little time. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Tuesday, April 24, 2007 8:47 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] using a saved SSIS with VB.Net John, Did you ever check out the BCP utility in SQL Server to import the files? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 24, 2007 6:24 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John Your observations about the flow are probably true. If we for a moment return to your reading and converting of these huge files in Access, instead of rewriting these to csv files for later import into SQL Server, why not collect the finished records to batches of: Insert Into
Values ( , , .. ) with, say, 100 or 1000 lines and feed these directly to SQL Server? This can be easily done with ADO and a Connection object and a Command object where you use the Connection.Execute method to load the batch of records directly into SQL Server. For you it should be a simple matter to modify your Access app, which you already have build, to perform the task. /gustav >>> jwcolby at colbyconsulting.com 24-04-07 18:07 >>> The CSV file is on the same machine. It appears that the clause that pulls the source table (csv file) into memory is taking a ton of time. These are large files, the smallest are a little under 200 million bytes and the largest are up in the 3 gigabyte range. It appears that SQL Server does not read a few records and append them, but rather reads the whole CSV and then starts appending all of the assembled records. If I were a SQL Server pro I could probably speed this up considerably. Alas, I am not. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Tuesday, April 24, 2007 11:53 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net John, One of the keys to getting it into SQL Server faster is to have the CSV file on the server and not on a different machine. Network traffic can kill the process and slow it down significantly. Robert At 10:22 AM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 10:32:44 -0400 >From: "JWColby" >Subject: Re: [AccessD] using a saved SSIS with VB.Net >To: "'Access Developers discussion and problem solving'" > >Message-ID: <003101c7867d$6cce93a0$657aa8c0 at m6805> >Content-Type: text/plain; charset="us-ascii" > >Gustav, > >My bigger issue here is that there 56 of these files to import into SQL >Server, supposedly ~100 million records. I have done about 8 million >records so far. I really must get this thing automated such that it >just chunks through these CSV files without my having to be around to >start the next one. I am working now on setting up the append query >using that syntax below into a stored procedure so that I can then just replace the file name. >After that I will need to write something in VB.Net or whatever to >execute the stored procedure feeding in all of the file names from a >specific directory, deleting the file once the stored procedure >finishes the import for a given file. > >I have never written a stored procedure. >Obviously, given the above, I have never called a stored procedure from >code. > >So much to learn, so little time. > >Once this is imported I have to turn right around and export a subset >of fields from the table back out as 1 - 2 million record chunks for >CAS / DPV / NCOA processing, then I have to import THOSE back in to a >new table. > >And when this set of data is finished, I have another set of about the >same size on the way, to which I have to perform the same processes. I >soooooo need to get this process automated. > >John W. Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Apr 25 07:06:13 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 25 Apr 2007 08:06:13 -0400 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: References: Message-ID: <003001c78732$1ee35d00$657aa8c0@m6805> Gustav, Yesterday afternoon I started looking at something similar. First I tried to just write a sql statement for each record and execute that against SQL Server. That runs about 300 records / second. The advantage it has is that is "one step", i.e. there is no "convert to csv" and then "import to SQL Server". ATM the "import to SQL Server requires manual work on my part so this is truly automated from start to finish. I unzip the files to a directory, then my (Access/VBA) program picks up all the files one by one and processes them, automatically. Unfortunately processing 100 million records at 300 / second turns into 92.5 hours. Fortunately it is totally automatic, barring some outside influence such as disk full, power loss, mangled file etc. I then tried to write a DAO recordset to a temp table inside of Access. Working directly with the recordset I AddNew / iterate the fields filling in the data pulled from the flat file line, Update, do it again. This creates the temp table records at a rate of about 1000 per second but the MDB gets HUGE, remember that the source files are often multi-gigabyte monstrosities. Then appending the entire table to SQL Server just takes forever. So essentially I tried your suggestion: > Insert Into
Values ( , , .. ) And it does work, it is automatic and it is painfully slow. OTOH, I just used a Dao database object and used db.execute to send the data to sql server. Do you think it would be faster using the ADO method? I am now timing having a dao.db.execute append an entire linked CSV file into SQL Server. In the end, I think that I can go with any of these methods as long as it does not require manual intervention. I already have CSVs generated for the majority of these flat files. I can do the rest and then just use Access / VBA to bang the CSV files in to SQL Server. If it takes four days well... It will be done by Monday. I really want to switch to VB.Net for all of this bit twiddling. I think I will use VB.Net to do the part where I pull the name / address stuff back out to CSVs for feeding to Accuzip. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 24, 2007 6:24 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John Your observations about the flow are probably true. If we for a moment return to your reading and converting of these huge files in Access, instead of rewriting these to csv files for later import into SQL Server, why not collect the finished records to batches of: Insert Into
Values ( , , .. ) with, say, 100 or 1000 lines and feed these directly to SQL Server? This can be easily done with ADO and a Connection object and a Command object where you use the Connection.Execute method to load the batch of records directly into SQL Server. For you it should be a simple matter to modify your Access app, which you already have build, to perform the task. /gustav From dwaters at usinternet.com Wed Apr 25 08:01:27 2007 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 25 Apr 2007 08:01:27 -0500 Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! In-Reply-To: <200704252015.56198.bbruen@unwired.com.au> References: <200704241728.23380.bbruen@unwired.com.au><200704250931.37164.bbruen@unwired.com.au><003f01c786d8$2d679710$0200a8c0@danwaters> <200704252015.56198.bbruen@unwired.com.au> Message-ID: <000c01c78739$d6461030$0200a8c0@danwaters> Nice! If you can get into the sounds, smells, and looks you'll have manufacturers knocking down your door! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen Sent: Wednesday, April 25, 2007 5:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! Ah now that's a real tricky piece of work. :-) Basically the realtime monitors log every measurement they make (~26-46 per minute) to a text file with the first 20 bytes being a DTS. All I'm doing is everytime this app gets invoked is to read the log file, ignore anything that is less than the "last stamp I know of" and process the rest. Tricky eh! and now I've told you, I'm afraid I'll have to .... Sometimes simple is best. Dont forget, these people open the app 1 or 2 times per shift, check things out and close it. It's not doing or pretending to be am "active" monitor, just something to make the operator's life a bit easier than walking around a 2 acre floor, taking and logging readings, correlating them to the current job mix, checking the mix against the schedule.........etc etc. Actually, these guys spend most of their shift walking the floor. Apart from die jams, which happen every couple of hours or so, most of the time they ... wait for it essentially use their faces to detect if anything is slightly aberrent. That is, these people can "just tell" by walking past a machine line whether it sounds, smells, looks and feels like its going full bore and OK. Currently, we are working on "feels", i.e the operating temps amd feed rates. If I can get into the "sounds, smells and looks" regime. I'll be applying for patents and making an aggressive takeover for M$ ... :-) On Wednesday 25 April 2007 11:22, Dan Waters wrote: > That's Very interesting! > > How do you get the real time info from the machines and components? > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen > Sent: Tuesday, April 24, 2007 6:32 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! > > Hi Susan, > > Yep, they are truly that custom. Basically the app is a status monitor for > injection moulding plant, sort of like a fire panel, with a twist. There > are > essentially 10 "object types" each having a set of conditions and statuses. > The objects fall into 2 heirarchies (structural and operational) of 6 and 4 > levels respectively. The final installation will have about 500-600 real > objects that are manually monitored several times a day. Everything's > normal > status is "warm" but there are a lot of conditions that are "warmer" > or "cooler" than norm which may need attention. That attention depends on > the > operator getting a clear overview of the entire environment for the object, > its job mix, the particular job type etc etc. If an object gets too hot or > develops some fault, the realtime monitoring equipment sounds the alarm and > stops the machine. This app essentially gets the log info from the realtime > stuff and is aimed at detecting problems before they happen, by looking at > the variance of the signals over time and presenting the user with an > overall > view at each of the levels that they can drill down through to "inspect" a > particular machine (in fact, down to specific components of machines). > > So, on line "A" we might have a feeder, an injector and a conveyor. For > certain jobs, using certain dies and certain plastic mixes, the injector > may > > need to run slightly hotter than for other jobs and if it doesn't then it > will gum up. There are lots of conditions and lots of states, and of > course > > there are always new job types that raise new conditions and states. > Rather > > than reprogram the realtime monitor (and this app) over and over, they set > the realtime fault levels at a "significant" fault and hope to use this app > to detect any "errant but within bounds" event. > > There are 4 "main" forms - 3 of which are continuous forms with around > 10 "signals" per row and a treeview+inspector form/subform - that make up > the > major view of the system. The continuous forms show all 500 objects - so > its > important that the operator can recognize an aberrent signal level by > quickly > scrolling through the list. Hence the need for all the custom formats! The > treeview form, which has 6 subforms that swap depending on the "type" of > node > selected in the tree allow the user to modify the monitor levels on the > fly, > > say to loosen or tighten the variances allowed on a new die as it beds in > etc > etc. > > Sorry about the long winded story, but its quite an interesting app! > > regards > Bruce > > On Wednesday 25 April 2007 01:30, Susan Harkins wrote: > > Bruce, is each field truly that custom? You do know that you can change > > default formats for a form don't you? Of course, that doesn't help with > > the > > > problem at hand -- sorry about that. :( > > > > Susan H. > > > > After 6 weeks work of setting conditional formats over 32 tables, 65 > > forms and > > 12 reports I accidentally hit ctl-leftshift-alt-prtscn-scratchnose which > > produced a "YOUAREGOINGINTOHIGHRESOLUTIONMODE" popup, with apparently NO > > WAY TO CANCEL IT! > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- regards Bruce -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Apr 25 08:01:29 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 25 Apr 2007 15:01:29 +0200 Subject: [AccessD] using a saved SSIS with VB.Net Message-ID: Hi John I'm not sure you may get much faster than about 1000 records/s with ADO. Here's what I have tried: Public Function AppendBatchADO(ByVal lngRows As Long) ' Inserts about 1000 records/s. Dim cnn As ADODB.Connection Dim cmd As ADODB.Command Dim lngRow As Long Dim strSQL As String Set cnn = New ADODB.Connection Set cmd = New ADODB.Command cnn.ConnectionString = "DSN=Test;DATABASE=TestDb;" cnn.Open , "SA", "password" cnn.CursorLocation = adUseServer For lngRow = 1 To lngRows strSQL = "Insert Into dbo.Sample Values ( " & _ CStr(lngRow) & "," & _ "'Name'," & _ "'Address'," & _ CStr(1) & ")" cmd.CommandText = strSQL cnn.Execute cmd.CommandText, , adCmdText + adExecuteNoRecords Next cnn.Close Set cmd = Nothing Set cnn = Nothing End Function The advantage would be, that you can handle whatever size of input file, read one line, convert it, and insert it. Done. Next line. You could probably set up several instances to handle several files simultaneously. /gustav >>> jwcolby at colbyconsulting.com 25-04-2007 14:06 >>> Gustav, Yesterday afternoon I started looking at something similar. First I tried to just write a sql statement for each record and execute that against SQL Server. That runs about 300 records / second. The advantage it has is that is "one step", i.e. there is no "convert to csv" and then "import to SQL Server". ATM the "import to SQL Server requires manual work on my part so this is truly automated from start to finish. I unzip the files to a directory, then my (Access/VBA) program picks up all the files one by one and processes them, automatically. Unfortunately processing 100 million records at 300 / second turns into 92.5 hours. Fortunately it is totally automatic, barring some outside influence such as disk full, power loss, mangled file etc. I then tried to write a DAO recordset to a temp table inside of Access. Working directly with the recordset I AddNew / iterate the fields filling in the data pulled from the flat file line, Update, do it again. This creates the temp table records at a rate of about 1000 per second but the MDB gets HUGE, remember that the source files are often multi-gigabyte monstrosities. Then appending the entire table to SQL Server just takes forever. So essentially I tried your suggestion: > Insert Into
Values ( , , .. ) And it does work, it is automatic and it is painfully slow. OTOH, I just used a Dao database object and used db.execute to send the data to sql server. Do you think it would be faster using the ADO method? I am now timing having a dao.db.execute append an entire linked CSV file into SQL Server. In the end, I think that I can go with any of these methods as long as it does not require manual intervention. I already have CSVs generated for the majority of these flat files. I can do the rest and then just use Access / VBA to bang the CSV files in to SQL Server. If it takes four days well... It will be done by Monday. I really want to switch to VB.Net for all of this bit twiddling. I think I will use VB.Net to do the part where I pull the name / address stuff back out to CSVs for feeding to Accuzip. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 24, 2007 6:24 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net Hi John Your observations about the flow are probably true. If we for a moment return to your reading and converting of these huge files in Access, instead of rewriting these to csv files for later import into SQL Server, why not collect the finished records to batches of: Insert Into
Values ( , , .. ) with, say, 100 or 1000 lines and feed these directly to SQL Server? This can be easily done with ADO and a Connection object and a Command object where you use the Connection.Execute method to load the batch of records directly into SQL Server. For you it should be a simple matter to modify your Access app, which you already have build, to perform the task. /gustav From jimdettman at verizon.net Wed Apr 25 08:10:29 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 25 Apr 2007 09:10:29 -0400 Subject: [AccessD] OT a little - Code Tables In-Reply-To: References: Message-ID: <00f701c7873b$1b297330$8abea8c0@XPS> Ed, Well here's a little more to think about. I started thinking about this more and more yesterday (after I made my last post) and took some time to dig around on this. Part of the reason was that in the past, I had always employed the multiple table approach, but when I moved into the FoxPro world, the single table approach was very common. I had been reluctant at first to use it, but found that the concept worked well and I never had a problem with it. The argument given to me was the one I gave to you and at the time, I didn't see what was wrong with it. As it turns out, a single lookup table does violate relational theory (it actually violates 2NF and I'm not sure why I never understood that before). But in a practical where the rubber meets the road view, there is little difference. It's the same thing with surrogate keys; they are a violation of relational theory, yet because we have to deal with computer systems, their use is widespread and accepted. I'll try and explain a bit. If you had this in your single lookup table: LookupID Lookup Type Lookup Code Lookup Description 1 Charge MC Master Card 2 Charge VISA Visa 3 Charge DISC Discover 4 Shipping FEDX Federal Express 5 Shipping UPSG UPS Ground 6 Shipping UPS2 UPS 2nd Day Air and the database stood on its own, with nothing to restrict the table by lookup type (just tables), you'd have a problem. If I were to place an order for example, it should be impossible to have a shipping type of "MC", which is a type of charge. The correct fix would be to break out the above into two tables; tblChargeTypes and tblShippingTypes. The real world short cut fix I employ is to always access the table by a parameterized view. It always works. I can't get a list of records back that are mixed. Nor with the way my code is written ever fail to provide the parameter (Charlotte hit it on the head yesterday; I have a pick list class, which requires the lookup type or it returns nothing). Through my app and coding, the view of the database is "normalized". On it's own however it is not. Yet it's obvious to anyone looking at the data in the table what is going on. Is this going to stop me from using the single table approach? Probably not. Just like using surrogate keys. Both solve practical problems and carry no real serious side affects. FWIW Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, April 24, 2007 7:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT a little - Code Tables Many thanks to all who responded, you've given me a lot to think about. Spent most of the day trying to get the data organized in a way I can use it productively. Made some good progress today and I hope this will continue. I hope the new programmer I requested goes through and we can all sit down and work this out. In closing for the night, all I can say is "This list is ALL GOOD" and I mean that sincerely. Thanks for all your help and comments! Ed ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Tesiny, Ed Sent: Tue 4/24/2007 9:59 AM To: dba-ot at databaseadvisors.com; Access Developers discussion and problem solving Subject: [AccessD] OT a little - Code Tables Hi All, I'm not familiar enough with SQL Server but I have a question regarding what I call Code Tables. I use them a lot when I develop an application in Access, e.g., I'll have a table for counties i.e., county code and county name or Providers, Provider code and Provider Name. I have them as separate tables. I'm trying to make sense out of the tables and relationships "my" programmer created. He has one code table period! Below is a look as to how it is setup. dbo_tblCodes CodeType CodeId CodeName OrderOnForm Ethnicity 1 Puerto Rican 1 Ethnicity 2 Mexican 2 Ethnicity 3 Cuban 3 Ethnicity 4 Other Hispanic 4 Ethnicity 5 Hispanic, Not Specified/Known 5 Ethnicity 7 Not of Hispanic Origin 6 Ethnicity 9 Don't Know/No Answer 7 Gender 1 Male 10 Gender 2 Female 20 Health 1 Poor 5 Health 2 Fair 10 Health 3 Good 15 Health 4 Very Good 20 Health 5 Excellent 25 Health 9 Don't Know/No Answer 80 This is just a little bit of the table but I think you can see his "logic" here. Is this a common convention that developers use? Hate to see what else I'm going to find as I try to wade through this. TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Wed Apr 25 08:12:16 2007 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 25 Apr 2007 08:12:16 -0500 Subject: [AccessD] Code Tables In-Reply-To: References: Message-ID: <200704251316.l3PDGNju025938@databaseadvisors.com> Debbie and Jim (and anyone else that thinks of this as good design), Sorry, but it is PURE BAD design. And Jim, just because you do it in all your apps does not make it right or good design. Most of the money I make and the highest prices I charge are for fixing poorly designed Access applications. IT is NOT relational in any stretch of the imagination. If you think so, then you need to go back and review relational theory. You can make a very customizable interface for the user with good design also. So if you want the ultimate in flexibility (and bad design) here you go: tblEntity EntityID EntityDescription tblEntityAttribute EntityAttributeID EntityID AttributeID AttributeValue AttributeComments tblAttribute AttributeID AttributeDescription tblRelatedEntities RelatedEntityID ParentEntityID ChildEntityID There, that is all you will need forever to define whatever you need to store data for. Here is an example: tblEntity EntityID EntityDescription 1 Robert 2 Sales Order 3 Address tblAttribute AttributeID AttributeDescription 1 AddressLine1 2 City 3 State 4 PostalCode 5 OrderNumber 6 OrderDate 7 CustomerNumber tblEntityAttribute EntityAttributeID EntityID AttributeID AttributValue AttributeComments 1 3 1 123 IDK St. 2 3 2 Bellville 3 3 3 TX 4 2 5 2007-02-12-01 5 2 6 2/12/2007 6 2 7 1 tblRelatedEntities RelatedEntityID ParentEntityID ChildEntityID 1 1 3 Well, there you go, the ultimate in flexibility and bad design. Now go back and review what the first 3 normal forms are before you spout off that a single code table is not bad design and does not violate normalization rules again. They are not the same entity. You obviously do not know the definition of 'entity' either. And Debbie, just because a commercial product has it in it, does not make it good either. I have a number of commercial products out and NONE of them are given to this poor design concept. Robert At 07:47 PM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 13:12:35 -0500 >From: "Elam, Debbie" >Subject: Re: [AccessD] OT a little - Code Tables >To: "'Access Developers discussion and problem solving'" > >Message-ID: > <573E90481C9F004C9E598D3A5A9DCDA001D206 at jgexch1.jenkens.com> >Content-Type: text/plain > >I agree. The only thing I would do is make sure the ID is unique regardless >of the code type. Having a multiple field key does cause more problems. As >I pointed out, if you want to add the functionality to the front end of >being able to define some custom combo or list boxes, custom codes are often >needed too. This offers the ability to recycle a previous list (Yes/no is a >common recycled list) or create a new one from scratch. > >I use a commercial product that uses a consolidated code table and party >table for just that reason. It has made the interface very customizable by >a reasonably savvy end user with no programming experience and no access to >the server to add new tables. > >The views of each code type are a convenience, not a necessity. > >Debbie > >-----Original Message----- >From: Jim Dettman [mailto:jimdettman at verizon.net] >Sent: Tuesday, April 24, 2007 12:48 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT a little - Code Tables > > > > Just to weigh in; I do this myself in all my apps. I see little sense in >setting up a separate table for each one of the lookups when they are all >the same. > > And I don't agree with Arthur that this violates relational theory. They >are all the same entity. Each one has a type, code, and a description. >That's it. No more and no less. > > It would be a different matter if I had something like this: > >Type CodeID CodeName Postal Mask Phone Mask >OnOrder Form >Country USA United States #####-#### (###) ###-#### >Null >Country CAN Canada ### ### (###) ###-#### >Null >Ethnicity 1 Puerto Rican Null Null >1 >Ethnicity 2 Mexican Null Null >2 > > Now there are multiple entities in the table as each instance does not >have the same attributes and thus cannot be the same thing. > > This is the point where I break out into a separate table. But for a >"lookup value", even though each lookup value may have a different type, I >keep them all in the same table. > > I find it simplifies things quite a bit and performs better as well. Lot >less overhead then having multiple tables, all of which need to be opened, >closed, indexed, etc. Coding is less complex overall as well. > >My .02 >Jim. From rl_stewart at highstream.net Wed Apr 25 08:15:19 2007 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 25 Apr 2007 08:15:19 -0500 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: References: Message-ID: <200704251316.l3PDGNtY025939@databaseadvisors.com> You need to go to the books on line and read up on Linked Servers. It is not that difficult to do. But, once done, it is very simple to access the information. You can even link Access tables to SQL Server this way. Robert At 07:47 PM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 17:36:05 -0400 >From: "Michael R Mattys" >Subject: Re: [AccessD] using a saved SSIS with VB.Net >To: "Access Developers discussion and problem solving" > >Message-ID: <00ca01c786b8$911c3d80$0302a8c0 at Laptop> >Content-Type: text/plain; format=flowed; charset="iso-8859-1"; > reply-type=original > >John, > >I've read through your description and see the bottlenecks. >All I can think of is that you could have this running distributed >across machines (but I know you thought of that). > >Robert, > >Please explain your idea a little further - how to set up. > >Michael R. Mattys >MapPoint & Access Dev From mmattys at rochester.rr.com Wed Apr 25 08:29:21 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 25 Apr 2007 09:29:21 -0400 Subject: [AccessD] using a saved SSIS with VB.Net References: <200704251316.l3PDGNtY025939@databaseadvisors.com> Message-ID: <022e01c7873d$bceafca0$0302a8c0@Laptop> 'Linked Servers' That'll work - thanks Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Robert L. Stewart" To: Sent: Wednesday, April 25, 2007 9:15 AM Subject: Re: [AccessD] using a saved SSIS with VB.Net > You need to go to the books on line and read up on Linked Servers. > It is not that difficult to do. But, once done, it is very simple > to access the information. You can even link Access tables to SQL > Server this way. > > Robert > > At 07:47 PM 4/24/2007, you wrote: >>Date: Tue, 24 Apr 2007 17:36:05 -0400 >>From: "Michael R Mattys" >>Subject: Re: [AccessD] using a saved SSIS with VB.Net >>To: "Access Developers discussion and problem solving" >> >>Message-ID: <00ca01c786b8$911c3d80$0302a8c0 at Laptop> >>Content-Type: text/plain; format=flowed; charset="iso-8859-1"; >> reply-type=original >> >>John, >> >>I've read through your description and see the bottlenecks. >>All I can think of is that you could have this running distributed >>across machines (but I know you thought of that). >> >>Robert, >> >>Please explain your idea a little further - how to set up. >> >>Michael R. Mattys >>MapPoint & Access Dev > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DElam at jenkens.com Wed Apr 25 08:33:31 2007 From: DElam at jenkens.com (Elam, Debbie) Date: Wed, 25 Apr 2007 08:33:31 -0500 Subject: [AccessD] Code Tables Message-ID: <573E90481C9F004C9E598D3A5A9DCDA001D211@jgexch1.jenkens.com> Never thought that just because a commercial product does it that it is most correct. I have had product (including from this same manufacturer) that I have cursed for bad design. I would prefer separate tables, but in this instance, it does solve a practical problem in that customers can create new code types without table changes and it does it with a minimum of problems. Practical solution to a problem. Would I use this exclusively, no, and I do not unless there is some chance that a customer would need to create their own lookup table that cannot be glommed on to an existing one. Even in that case I would be inclined to make separate tables for the defaults and one like this for the user created ones. In the annals of bad design, this ranks near the bottom of my list and does have it's useful point. Debbie -----Original Message----- From: Robert L. Stewart [mailto:rl_stewart at highstream.net] Sent: Wednesday, April 25, 2007 8:12 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Code Tables Debbie and Jim (and anyone else that thinks of this as good design), Sorry, but it is PURE BAD design. And Jim, just because you do it in all your apps does not make it right or good design. Most of the money I make and the highest prices I charge are for fixing poorly designed Access applications. IT is NOT relational in any stretch of the imagination. If you think so, then you need to go back and review relational theory. You can make a very customizable interface for the user with good design also. So if you want the ultimate in flexibility (and bad design) here you go: tblEntity EntityID EntityDescription tblEntityAttribute EntityAttributeID EntityID AttributeID AttributeValue AttributeComments tblAttribute AttributeID AttributeDescription tblRelatedEntities RelatedEntityID ParentEntityID ChildEntityID There, that is all you will need forever to define whatever you need to store data for. Here is an example: tblEntity EntityID EntityDescription 1 Robert 2 Sales Order 3 Address tblAttribute AttributeID AttributeDescription 1 AddressLine1 2 City 3 State 4 PostalCode 5 OrderNumber 6 OrderDate 7 CustomerNumber tblEntityAttribute EntityAttributeID EntityID AttributeID AttributValue AttributeComments 1 3 1 123 IDK St. 2 3 2 Bellville 3 3 3 TX 4 2 5 2007-02-12-01 5 2 6 2/12/2007 6 2 7 1 tblRelatedEntities RelatedEntityID ParentEntityID ChildEntityID 1 1 3 Well, there you go, the ultimate in flexibility and bad design. Now go back and review what the first 3 normal forms are before you spout off that a single code table is not bad design and does not violate normalization rules again. They are not the same entity. You obviously do not know the definition of 'entity' either. And Debbie, just because a commercial product has it in it, does not make it good either. I have a number of commercial products out and NONE of them are given to this poor design concept. Robert At 07:47 PM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 13:12:35 -0500 >From: "Elam, Debbie" >Subject: Re: [AccessD] OT a little - Code Tables >To: "'Access Developers discussion and problem solving'" > >Message-ID: > <573E90481C9F004C9E598D3A5A9DCDA001D206 at jgexch1.jenkens.com> >Content-Type: text/plain > >I agree. The only thing I would do is make sure the ID is unique regardless >of the code type. Having a multiple field key does cause more problems. As >I pointed out, if you want to add the functionality to the front end of >being able to define some custom combo or list boxes, custom codes are often >needed too. This offers the ability to recycle a previous list (Yes/no is a >common recycled list) or create a new one from scratch. > >I use a commercial product that uses a consolidated code table and party >table for just that reason. It has made the interface very customizable by >a reasonably savvy end user with no programming experience and no access to >the server to add new tables. > >The views of each code type are a convenience, not a necessity. > >Debbie > >-----Original Message----- >From: Jim Dettman [mailto:jimdettman at verizon.net] >Sent: Tuesday, April 24, 2007 12:48 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT a little - Code Tables > > > > Just to weigh in; I do this myself in all my apps. I see little sense in >setting up a separate table for each one of the lookups when they are all >the same. > > And I don't agree with Arthur that this violates relational theory. They >are all the same entity. Each one has a type, code, and a description. >That's it. No more and no less. > > It would be a different matter if I had something like this: > >Type CodeID CodeName Postal Mask Phone Mask >OnOrder Form >Country USA United States #####-#### (###) ###-#### >Null >Country CAN Canada ### ### (###) ###-#### >Null >Ethnicity 1 Puerto Rican Null Null >1 >Ethnicity 2 Mexican Null Null >2 > > Now there are multiple entities in the table as each instance does not >have the same attributes and thus cannot be the same thing. > > This is the point where I break out into a separate table. But for a >"lookup value", even though each lookup value may have a different type, I >keep them all in the same table. > > I find it simplifies things quite a bit and performs better as well. Lot >less overhead then having multiple tables, all of which need to be opened, >closed, indexed, etc. Coding is less complex overall as well. > >My .02 >Jim. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Apr 25 08:35:54 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 25 Apr 2007 09:35:54 -0400 Subject: [AccessD] OT a little - Code Tables In-Reply-To: <00f701c7873b$1b297330$8abea8c0@XPS> References: <00f701c7873b$1b297330$8abea8c0@XPS> Message-ID: <003101c7873e$a68a44b0$657aa8c0@m6805> I pretty much have to agree Jim. Given a LookupID as you use to relate the record back to other records then you are good to go. The one thing I might do is actually break the table down into a LookupType table (charge, shipping, state etc) the reason being simply that people are typing in to this table to fill it. If they typed: Chrg Visa and Charge MC Then if you simply filtered in Charge you would not pick up Chrg. If they filled in a second table with Charge and then used that in a combo to select the lookup type, you could use the PKID of the LookupType table and always pick up all Charge records. Of course that now becomes TWO tables to maintain, but still less than N tables. tblLookupType LT_ID LT_Type 1 Charge 2 Shipping 3 State tblLookupDetail LD_ID LD_LTID LD_Details 1 1 MC 2 1 Visa 3 1 Am Ex 4 2 Fed Ex 5 2 UPS 6 2 USPS 7 3 AZ 8 3 CA John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, April 25, 2007 9:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Ed, Well here's a little more to think about. I started thinking about this more and more yesterday (after I made my last post) and took some time to dig around on this. Part of the reason was that in the past, I had always employed the multiple table approach, but when I moved into the FoxPro world, the single table approach was very common. I had been reluctant at first to use it, but found that the concept worked well and I never had a problem with it. The argument given to me was the one I gave to you and at the time, I didn't see what was wrong with it. As it turns out, a single lookup table does violate relational theory (it actually violates 2NF and I'm not sure why I never understood that before). But in a practical where the rubber meets the road view, there is little difference. It's the same thing with surrogate keys; they are a violation of relational theory, yet because we have to deal with computer systems, their use is widespread and accepted. I'll try and explain a bit. If you had this in your single lookup table: LookupID Lookup Type Lookup Code Lookup Description 1 Charge MC Master Card 2 Charge VISA Visa 3 Charge DISC Discover 4 Shipping FEDX Federal Express 5 Shipping UPSG UPS Ground 6 Shipping UPS2 UPS 2nd Day Air and the database stood on its own, with nothing to restrict the table by lookup type (just tables), you'd have a problem. If I were to place an order for example, it should be impossible to have a shipping type of "MC", which is a type of charge. The correct fix would be to break out the above into two tables; tblChargeTypes and tblShippingTypes. The real world short cut fix I employ is to always access the table by a parameterized view. It always works. I can't get a list of records back that are mixed. Nor with the way my code is written ever fail to provide the parameter (Charlotte hit it on the head yesterday; I have a pick list class, which requires the lookup type or it returns nothing). Through my app and coding, the view of the database is "normalized". On it's own however it is not. Yet it's obvious to anyone looking at the data in the table what is going on. Is this going to stop me from using the single table approach? Probably not. Just like using surrogate keys. Both solve practical problems and carry no real serious side affects. FWIW Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, April 24, 2007 7:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT a little - Code Tables Many thanks to all who responded, you've given me a lot to think about. Spent most of the day trying to get the data organized in a way I can use it productively. Made some good progress today and I hope this will continue. I hope the new programmer I requested goes through and we can all sit down and work this out. In closing for the night, all I can say is "This list is ALL GOOD" and I mean that sincerely. Thanks for all your help and comments! Ed From john at winhaven.net Wed Apr 25 09:07:13 2007 From: john at winhaven.net (John Bartow) Date: Wed, 25 Apr 2007 09:07:13 -0500 Subject: [AccessD] OT a little - Code Tables In-Reply-To: <00f701c7873b$1b297330$8abea8c0@XPS> References: <00f701c7873b$1b297330$8abea8c0@XPS> Message-ID: <00e301c78743$06e70330$6402a8c0@ScuzzPaq> Hi Jim, These are the pro side arguments of this type of design that I've heard in the past (and well put BTW). As in all things relational - theory is theory and practical is practical. Theory can be taken too far for practicality. When is the last time anyone here worked on a completely normalized (per Codd) data structure? IMO as long as you know which road you're taking, practical is OK. If I hired you as a programmer and you wanted to take this approach I'd be OK with it. But then I've seen a lot reasons to be confident in your abilities. Same with a number of people here. I'd certainly want documentation on it so that the next person who worked on it could understand it without spending a lot of time on it. On the other if some newbie came up with this idea I'd not be quite so accepting. Talent and experience go a long way in determining flexibility ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, April 25, 2007 8:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Ed, Well here's a little more to think about. I started thinking about this more and more yesterday (after I made my last post) and took some time to dig around on this. Part of the reason was that in the past, I had always employed the multiple table approach, but when I moved into the FoxPro world, the single table approach was very common. I had been reluctant at first to use it, but found that the concept worked well and I never had a problem with it. The argument given to me was the one I gave to you and at the time, I didn't see what was wrong with it. As it turns out, a single lookup table does violate relational theory (it actually violates 2NF and I'm not sure why I never understood that before). But in a practical where the rubber meets the road view, there is little difference. It's the same thing with surrogate keys; they are a violation of relational theory, yet because we have to deal with computer systems, their use is widespread and accepted. I'll try and explain a bit. If you had this in your single lookup table: LookupID Lookup Type Lookup Code Lookup Description 1 Charge MC Master Card 2 Charge VISA Visa 3 Charge DISC Discover 4 Shipping FEDX Federal Express 5 Shipping UPSG UPS Ground 6 Shipping UPS2 UPS 2nd Day Air and the database stood on its own, with nothing to restrict the table by lookup type (just tables), you'd have a problem. If I were to place an order for example, it should be impossible to have a shipping type of "MC", which is a type of charge. The correct fix would be to break out the above into two tables; tblChargeTypes and tblShippingTypes. The real world short cut fix I employ is to always access the table by a parameterized view. It always works. I can't get a list of records back that are mixed. Nor with the way my code is written ever fail to provide the parameter (Charlotte hit it on the head yesterday; I have a pick list class, which requires the lookup type or it returns nothing). Through my app and coding, the view of the database is "normalized". On it's own however it is not. Yet it's obvious to anyone looking at the data in the table what is going on. Is this going to stop me from using the single table approach? Probably not. Just like using surrogate keys. Both solve practical problems and carry no real serious side affects. From Jim.Hale at FleetPride.com Wed Apr 25 09:35:00 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 25 Apr 2007 09:35:00 -0500 Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! Message-ID: Very interesting stuff. Now that you are out of panic mode I've been dying to ask how do you "accidentally" hit 'ctl-leftshift-alt-prtscn-scratchnose'? (I didn't dare ask yesterday) Reminds me of Nixon's secretary who had to simultaneously hit keys with her hands and feet to "accidentally" erase 15 minutes of Watergate tapes. Inquiring minds want to know :-) Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen Sent: Wednesday, April 25, 2007 5:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! Ah now that's a real tricky piece of work. :-) Basically the realtime monitors log every measurement they make (~26-46 per minute) to a text file with the first 20 bytes being a DTS. All I'm doing is everytime this app gets invoked is to read the log file, ignore anything that is less than the "last stamp I know of" and process the rest. Tricky eh! and now I've told you, I'm afraid I'll have to .... Sometimes simple is best. Dont forget, these people open the app 1 or 2 times per shift, check things out and close it. It's not doing or pretending to be am "active" monitor, just something to make the operator's life a bit easier than walking around a 2 acre floor, taking and logging readings, correlating them to the current job mix, checking the mix against the schedule.........etc etc. Actually, these guys spend most of their shift walking the floor. Apart from die jams, which happen every couple of hours or so, most of the time they ... wait for it essentially use their faces to detect if anything is slightly aberrent. That is, these people can "just tell" by walking past a machine line whether it sounds, smells, looks and feels like its going full bore and OK. Currently, we are working on "feels", i.e the operating temps amd feed rates. If I can get into the "sounds, smells and looks" regime. I'll be applying for patents and making an aggressive takeover for M$ ... :-) On Wednesday 25 April 2007 11:22, Dan Waters wrote: > That's Very interesting! > > How do you get the real time info from the machines and components? > > Dan > *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From jwcolby at colbyconsulting.com Wed Apr 25 09:45:41 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 25 Apr 2007 10:45:41 -0400 Subject: [AccessD] OT - Excel - IIF in cell Message-ID: <003d01c78748$664c73f0$657aa8c0@m6805> I need to do a simple iif in a cell: =iif((E3="x"),0,C3) IOW what I am trying to do is say if the cell E3 = "x" then the current cell = 0 else the current cell = the contents of cell C3 All I get is the infamous #Name? Is it possible to do this? Is there some other construct? John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Apr 25 09:51:41 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 25 Apr 2007 10:51:41 -0400 Subject: [AccessD] OT - Excel - IIF in cell In-Reply-To: <003d01c78748$664c73f0$657aa8c0@m6805> References: <003d01c78748$664c73f0$657aa8c0@m6805> Message-ID: <004201c78749$3cb05560$657aa8c0@m6805> As always, immediately after I pressed Send I discovered the answer. =if((E3="x"),0,C3) Now why doesn't IIF work? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, April 25, 2007 10:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT - Excel - IIF in cell I need to do a simple iif in a cell: =iif((E3="x"),0,C3) IOW what I am trying to do is say if the cell E3 = "x" then the current cell = 0 else the current cell = the contents of cell C3 All I get is the infamous #Name? Is it possible to do this? Is there some other construct? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reuben at gfconsultants.com Wed Apr 25 09:58:27 2007 From: reuben at gfconsultants.com (Reuben Cummings) Date: Wed, 25 Apr 2007 10:58:27 -0400 Subject: [AccessD] OT - Excel - IIF in cell In-Reply-To: <003d01c78748$664c73f0$657aa8c0@m6805> Message-ID: I think in Excel it's just 'if' not 'iif' - just one i Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of JWColby > Sent: Wednesday, April 25, 2007 10:46 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] OT - Excel - IIF in cell > > > I need to do a simple iif in a cell: > > =iif((E3="x"),0,C3) > > IOW what I am trying to do is say if the cell E3 = "x" then the > current cell > = 0 else the current cell = the contents of cell C3 > > All I get is the infamous #Name? > > Is it possible to do this? Is there some other construct? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From carbonnb at gmail.com Wed Apr 25 10:01:11 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 25 Apr 2007 11:01:11 -0400 Subject: [AccessD] OT - Excel - IIF in cell In-Reply-To: <004201c78749$3cb05560$657aa8c0@m6805> References: <003d01c78748$664c73f0$657aa8c0@m6805> <004201c78749$3cb05560$657aa8c0@m6805> Message-ID: On 4/25/07, JWColby wrote: > As always, immediately after I pressed Send I discovered the answer. > > =if((E3="x"),0,C3) > > Now why doesn't IIF work? 'Cause IIF is not a valid function in Excel Formulas. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From ebarro at verizon.net Wed Apr 25 10:01:26 2007 From: ebarro at verizon.net (Eric Barro) Date: Wed, 25 Apr 2007 08:01:26 -0700 Subject: [AccessD] OT - Excel - IIF in cell In-Reply-To: <004201c78749$3cb05560$657aa8c0@m6805> Message-ID: <0JH20030I72LFWF7@vms042.mailsrvcs.net> Because IIF is not a supported function in Excel. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, April 25, 2007 7:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT - Excel - IIF in cell As always, immediately after I pressed Send I discovered the answer. =if((E3="x"),0,C3) Now why doesn't IIF work? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, April 25, 2007 10:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT - Excel - IIF in cell I need to do a simple iif in a cell: =iif((E3="x"),0,C3) IOW what I am trying to do is say if the cell E3 = "x" then the current cell = 0 else the current cell = the contents of cell C3 All I get is the infamous #Name? Is it possible to do this? Is there some other construct? John W. Colby Colby Consulting www.ColbyConsulting.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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.6.0/775 - Release Date: 4/24/2007 5:43 PM From Jim.Hale at FleetPride.com Wed Apr 25 09:58:25 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 25 Apr 2007 09:58:25 -0500 Subject: [AccessD] OT - Excel - IIF in cell Message-ID: Use if not iif -Rudyard Kipling -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, April 25, 2007 9:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT - Excel - IIF in cell I need to do a simple iif in a cell: =iif((E3="x"),0,C3) IOW what I am trying to do is say if the cell E3 = "x" then the current cell = 0 else the current cell = the contents of cell C3 All I get is the infamous #Name? Is it possible to do this? Is there some other construct? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From JHewson at karta.com Wed Apr 25 10:21:58 2007 From: JHewson at karta.com (Jim Hewson) Date: Wed, 25 Apr 2007 10:21:58 -0500 Subject: [AccessD] OT - Excel - IIF in cell In-Reply-To: <003d01c78748$664c73f0$657aa8c0@m6805> References: <003d01c78748$664c73f0$657aa8c0@m6805> Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C051B5B00@karta-exc-int.Karta.com> In Excel the function is simply IF Also you don't need the parens around the logical test. =If(E3="x",0,C3) HTH Jim jhewson at karta.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, April 25, 2007 9:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT - Excel - IIF in cell I need to do a simple iif in a cell: =iif((E3="x"),0,C3) IOW what I am trying to do is say if the cell E3 = "x" then the current cell = 0 else the current cell = the contents of cell C3 All I get is the infamous #Name? Is it possible to do this? Is there some other construct? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Wed Apr 25 10:38:11 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 25 Apr 2007 11:38:11 -0400 Subject: [AccessD] OT a little - Code Tables In-Reply-To: <00e301c78743$06e70330$6402a8c0@ScuzzPaq> References: <00f701c7873b$1b297330$8abea8c0@XPS> <00e301c78743$06e70330$6402a8c0@ScuzzPaq> Message-ID: <014201c7874f$bece5d70$8abea8c0@XPS> John, <> Thanks. <> Not in recent history I think <> That is a great point. I used to be very hung up about getting it "right". It took me quite a while to learn that "right" is not always practical or best for a given situation. You need to know the pros and cons of the various approaches and what the ramifications will be. As long as you know what your working with and can make it clear to others why that route was chosen, then I see nothing wrong with using a more practical approach. That's why even though I now understand that a single lookup table is technically wrong, I probably won't change anything. What I have works and it works pretty well. The only real issue I have to deal with is to remember to use a view rather then binding directly to the table when working with the database directly. For the things I gain in the app, that seems to be a good trade off and a fairly safe one. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Wednesday, April 25, 2007 10:07 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Hi Jim, These are the pro side arguments of this type of design that I've heard in the past (and well put BTW). As in all things relational - theory is theory and practical is practical. Theory can be taken too far for practicality. When is the last time anyone here worked on a completely normalized (per Codd) data structure? IMO as long as you know which road you're taking, practical is OK. If I hired you as a programmer and you wanted to take this approach I'd be OK with it. But then I've seen a lot reasons to be confident in your abilities. Same with a number of people here. I'd certainly want documentation on it so that the next person who worked on it could understand it without spending a lot of time on it. On the other if some newbie came up with this idea I'd not be quite so accepting. Talent and experience go a long way in determining flexibility ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, April 25, 2007 8:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Ed, Well here's a little more to think about. I started thinking about this more and more yesterday (after I made my last post) and took some time to dig around on this. Part of the reason was that in the past, I had always employed the multiple table approach, but when I moved into the FoxPro world, the single table approach was very common. I had been reluctant at first to use it, but found that the concept worked well and I never had a problem with it. The argument given to me was the one I gave to you and at the time, I didn't see what was wrong with it. As it turns out, a single lookup table does violate relational theory (it actually violates 2NF and I'm not sure why I never understood that before). But in a practical where the rubber meets the road view, there is little difference. It's the same thing with surrogate keys; they are a violation of relational theory, yet because we have to deal with computer systems, their use is widespread and accepted. I'll try and explain a bit. If you had this in your single lookup table: LookupID Lookup Type Lookup Code Lookup Description 1 Charge MC Master Card 2 Charge VISA Visa 3 Charge DISC Discover 4 Shipping FEDX Federal Express 5 Shipping UPSG UPS Ground 6 Shipping UPS2 UPS 2nd Day Air and the database stood on its own, with nothing to restrict the table by lookup type (just tables), you'd have a problem. If I were to place an order for example, it should be impossible to have a shipping type of "MC", which is a type of charge. The correct fix would be to break out the above into two tables; tblChargeTypes and tblShippingTypes. The real world short cut fix I employ is to always access the table by a parameterized view. It always works. I can't get a list of records back that are mixed. Nor with the way my code is written ever fail to provide the parameter (Charlotte hit it on the head yesterday; I have a pick list class, which requires the lookup type or it returns nothing). Through my app and coding, the view of the database is "normalized". On it's own however it is not. Yet it's obvious to anyone looking at the data in the table what is going on. Is this going to stop me from using the single table approach? Probably not. Just like using surrogate keys. Both solve practical problems and carry no real serious side affects. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Wed Apr 25 10:38:11 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 25 Apr 2007 11:38:11 -0400 Subject: [AccessD] OT a little - Code Tables In-Reply-To: <003101c7873e$a68a44b0$657aa8c0@m6805> References: <00f701c7873b$1b297330$8abea8c0@XPS> <003101c7873e$a68a44b0$657aa8c0@m6805> Message-ID: <014301c7874f$bf992780$8abea8c0@XPS> John, << The one thing I might do is actually break the table down into a LookupType table (charge, shipping, state etc) the reason being simply that people are typing in to this table to fill it. If they typed:>> Yes, that is what I do. I have one maintenance form to maintain those two tables. The tblLookupType is bound to a drop down, then a grid to handle the tblLookupValues, which is filtered by the combo. I also include a field on tblLookupType "UserModify", which is a yes/no indicating if the lookup values are modifiable by the end user. Certain types of lookups that I store in the table are coded into the app in some way shape or form and should not be changed. For example, a Transaction status of Open (0), Closed (1), and Archived (2). Rather then code that in as a property or doing it in code, I just stuff it in the lookup table. This makes it very easy to convert to different languages. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, April 25, 2007 9:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables I pretty much have to agree Jim. Given a LookupID as you use to relate the record back to other records then you are good to go. The one thing I might do is actually break the table down into a LookupType table (charge, shipping, state etc) the reason being simply that people are typing in to this table to fill it. If they typed: Chrg Visa and Charge MC Then if you simply filtered in Charge you would not pick up Chrg. If they filled in a second table with Charge and then used that in a combo to select the lookup type, you could use the PKID of the LookupType table and always pick up all Charge records. Of course that now becomes TWO tables to maintain, but still less than N tables. tblLookupType LT_ID LT_Type 1 Charge 2 Shipping 3 State tblLookupDetail LD_ID LD_LTID LD_Details 1 1 MC 2 1 Visa 3 1 Am Ex 4 2 Fed Ex 5 2 UPS 6 2 USPS 7 3 AZ 8 3 CA John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, April 25, 2007 9:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Ed, Well here's a little more to think about. I started thinking about this more and more yesterday (after I made my last post) and took some time to dig around on this. Part of the reason was that in the past, I had always employed the multiple table approach, but when I moved into the FoxPro world, the single table approach was very common. I had been reluctant at first to use it, but found that the concept worked well and I never had a problem with it. The argument given to me was the one I gave to you and at the time, I didn't see what was wrong with it. As it turns out, a single lookup table does violate relational theory (it actually violates 2NF and I'm not sure why I never understood that before). But in a practical where the rubber meets the road view, there is little difference. It's the same thing with surrogate keys; they are a violation of relational theory, yet because we have to deal with computer systems, their use is widespread and accepted. I'll try and explain a bit. If you had this in your single lookup table: LookupID Lookup Type Lookup Code Lookup Description 1 Charge MC Master Card 2 Charge VISA Visa 3 Charge DISC Discover 4 Shipping FEDX Federal Express 5 Shipping UPSG UPS Ground 6 Shipping UPS2 UPS 2nd Day Air and the database stood on its own, with nothing to restrict the table by lookup type (just tables), you'd have a problem. If I were to place an order for example, it should be impossible to have a shipping type of "MC", which is a type of charge. The correct fix would be to break out the above into two tables; tblChargeTypes and tblShippingTypes. The real world short cut fix I employ is to always access the table by a parameterized view. It always works. I can't get a list of records back that are mixed. Nor with the way my code is written ever fail to provide the parameter (Charlotte hit it on the head yesterday; I have a pick list class, which requires the lookup type or it returns nothing). Through my app and coding, the view of the database is "normalized". On it's own however it is not. Yet it's obvious to anyone looking at the data in the table what is going on. Is this going to stop me from using the single table approach? Probably not. Just like using surrogate keys. Both solve practical problems and carry no real serious side affects. FWIW Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, April 24, 2007 7:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT a little - Code Tables Many thanks to all who responded, you've given me a lot to think about. Spent most of the day trying to get the data organized in a way I can use it productively. Made some good progress today and I hope this will continue. I hope the new programmer I requested goes through and we can all sit down and work this out. In closing for the night, all I can say is "This list is ALL GOOD" and I mean that sincerely. Thanks for all your help and comments! Ed -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Apr 25 10:53:14 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 25 Apr 2007 11:53:14 -0400 Subject: [AccessD] OT a little - Code Tables In-Reply-To: <014301c7874f$bf992780$8abea8c0@XPS> References: <00f701c7873b$1b297330$8abea8c0@XPS><003101c7873e$a68a44b0$657aa8c0@m6805> <014301c7874f$bf992780$8abea8c0@XPS> Message-ID: <004701c78751$d5ce0d20$657aa8c0@m6805> BTW, doing it this way once again makes it (more) normalized - object / object detail. The object is now the lookup type, the detail records apply equally to all objects. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, April 25, 2007 11:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables John, << The one thing I might do is actually break the table down into a LookupType table (charge, shipping, state etc) the reason being simply that people are typing in to this table to fill it. If they typed:>> Yes, that is what I do. I have one maintenance form to maintain those two tables. The tblLookupType is bound to a drop down, then a grid to handle the tblLookupValues, which is filtered by the combo. I also include a field on tblLookupType "UserModify", which is a yes/no indicating if the lookup values are modifiable by the end user. Certain types of lookups that I store in the table are coded into the app in some way shape or form and should not be changed. For example, a Transaction status of Open (0), Closed (1), and Archived (2). Rather then code that in as a property or doing it in code, I just stuff it in the lookup table. This makes it very easy to convert to different languages. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, April 25, 2007 9:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables I pretty much have to agree Jim. Given a LookupID as you use to relate the record back to other records then you are good to go. The one thing I might do is actually break the table down into a LookupType table (charge, shipping, state etc) the reason being simply that people are typing in to this table to fill it. If they typed: Chrg Visa and Charge MC Then if you simply filtered in Charge you would not pick up Chrg. If they filled in a second table with Charge and then used that in a combo to select the lookup type, you could use the PKID of the LookupType table and always pick up all Charge records. Of course that now becomes TWO tables to maintain, but still less than N tables. tblLookupType LT_ID LT_Type 1 Charge 2 Shipping 3 State tblLookupDetail LD_ID LD_LTID LD_Details 1 1 MC 2 1 Visa 3 1 Am Ex 4 2 Fed Ex 5 2 UPS 6 2 USPS 7 3 AZ 8 3 CA John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, April 25, 2007 9:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT a little - Code Tables Ed, Well here's a little more to think about. I started thinking about this more and more yesterday (after I made my last post) and took some time to dig around on this. Part of the reason was that in the past, I had always employed the multiple table approach, but when I moved into the FoxPro world, the single table approach was very common. I had been reluctant at first to use it, but found that the concept worked well and I never had a problem with it. The argument given to me was the one I gave to you and at the time, I didn't see what was wrong with it. As it turns out, a single lookup table does violate relational theory (it actually violates 2NF and I'm not sure why I never understood that before). But in a practical where the rubber meets the road view, there is little difference. It's the same thing with surrogate keys; they are a violation of relational theory, yet because we have to deal with computer systems, their use is widespread and accepted. I'll try and explain a bit. If you had this in your single lookup table: LookupID Lookup Type Lookup Code Lookup Description 1 Charge MC Master Card 2 Charge VISA Visa 3 Charge DISC Discover 4 Shipping FEDX Federal Express 5 Shipping UPSG UPS Ground 6 Shipping UPS2 UPS 2nd Day Air and the database stood on its own, with nothing to restrict the table by lookup type (just tables), you'd have a problem. If I were to place an order for example, it should be impossible to have a shipping type of "MC", which is a type of charge. The correct fix would be to break out the above into two tables; tblChargeTypes and tblShippingTypes. The real world short cut fix I employ is to always access the table by a parameterized view. It always works. I can't get a list of records back that are mixed. Nor with the way my code is written ever fail to provide the parameter (Charlotte hit it on the head yesterday; I have a pick list class, which requires the lookup type or it returns nothing). Through my app and coding, the view of the database is "normalized". On it's own however it is not. Yet it's obvious to anyone looking at the data in the table what is going on. Is this going to stop me from using the single table approach? Probably not. Just like using surrogate keys. Both solve practical problems and carry no real serious side affects. FWIW Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Tuesday, April 24, 2007 7:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT a little - Code Tables Many thanks to all who responded, you've given me a lot to think about. Spent most of the day trying to get the data organized in a way I can use it productively. Made some good progress today and I hope this will continue. I hope the new programmer I requested goes through and we can all sit down and work this out. In closing for the night, all I can say is "This list is ALL GOOD" and I mean that sincerely. Thanks for all your help and comments! Ed -- 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 accessd at shaw.ca Wed Apr 25 15:21:18 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 25 Apr 2007 13:21:18 -0700 Subject: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! In-Reply-To: <200704252015.56198.bbruen@unwired.com.au> Message-ID: <0JH200LRPLP0UYQ4@l-daemon> Hi All: Just a note on this discussion and this may be a bit off topic but: A MS SQL server can be setup to monitor multiple ports. There is a SQL Server Network Utility (SQL 2000) and the SQL Server Configuration Manager tool (SQL 2005) which allows this configuration. Example: SQL server listening on 157.54.178.42:1433, 157.54.178.42:5000, 127.0.0.1:1433, 127.0.0.1:5000 etc... Virtually any IP address and port option. See articles http://support.microsoft.com/kb/294453 and http://msdn2.microsoft.com/en-us/library/ms189310.aspx I have not tested this to see whether the functionality can be extended the Express version. A friend, using this technology has a system that can monitor a large number of controllers (Neptune Project -http://www.neptune.washington.edu/pub/whats_neptune/whats_neptune.html). There would be a bit of work if the protocols differ from standards but considering that the DB is designed to sustain thousands of hits per minute it might be an idea to utilize the existing technology. An Access GUI would just be used to display the results. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen Sent: Wednesday, April 25, 2007 3:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! Ah now that's a real tricky piece of work. :-) Basically the realtime monitors log every measurement they make (~26-46 per minute) to a text file with the first 20 bytes being a DTS. All I'm doing is everytime this app gets invoked is to read the log file, ignore anything that is less than the "last stamp I know of" and process the rest. Tricky eh! and now I've told you, I'm afraid I'll have to .... Sometimes simple is best. Dont forget, these people open the app 1 or 2 times per shift, check things out and close it. It's not doing or pretending to be am "active" monitor, just something to make the operator's life a bit easier than walking around a 2 acre floor, taking and logging readings, correlating them to the current job mix, checking the mix against the schedule.........etc etc. Actually, these guys spend most of their shift walking the floor. Apart from die jams, which happen every couple of hours or so, most of the time they ... wait for it essentially use their faces to detect if anything is slightly aberrent. That is, these people can "just tell" by walking past a machine line whether it sounds, smells, looks and feels like its going full bore and OK. Currently, we are working on "feels", i.e the operating temps amd feed rates. If I can get into the "sounds, smells and looks" regime. I'll be applying for patents and making an aggressive takeover for M$ ... :-) On Wednesday 25 April 2007 11:22, Dan Waters wrote: > That's Very interesting! > > How do you get the real time info from the machines and components? > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen > Sent: Tuesday, April 24, 2007 6:32 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] I just don't believe this. )&*()&)(&)&!&*^@(*&!! > > Hi Susan, > > Yep, they are truly that custom. Basically the app is a status monitor for > injection moulding plant, sort of like a fire panel, with a twist. There > are > essentially 10 "object types" each having a set of conditions and statuses. > The objects fall into 2 heirarchies (structural and operational) of 6 and 4 > levels respectively. The final installation will have about 500-600 real > objects that are manually monitored several times a day. Everything's > normal > status is "warm" but there are a lot of conditions that are "warmer" > or "cooler" than norm which may need attention. That attention depends on > the > operator getting a clear overview of the entire environment for the object, > its job mix, the particular job type etc etc. If an object gets too hot or > develops some fault, the realtime monitoring equipment sounds the alarm and > stops the machine. This app essentially gets the log info from the realtime > stuff and is aimed at detecting problems before they happen, by looking at > the variance of the signals over time and presenting the user with an > overall > view at each of the levels that they can drill down through to "inspect" a > particular machine (in fact, down to specific components of machines). > > So, on line "A" we might have a feeder, an injector and a conveyor. For > certain jobs, using certain dies and certain plastic mixes, the injector > may > > need to run slightly hotter than for other jobs and if it doesn't then it > will gum up. There are lots of conditions and lots of states, and of > course > > there are always new job types that raise new conditions and states. > Rather > > than reprogram the realtime monitor (and this app) over and over, they set > the realtime fault levels at a "significant" fault and hope to use this app > to detect any "errant but within bounds" event. > > There are 4 "main" forms - 3 of which are continuous forms with around > 10 "signals" per row and a treeview+inspector form/subform - that make up > the > major view of the system. The continuous forms show all 500 objects - so > its > important that the operator can recognize an aberrent signal level by > quickly > scrolling through the list. Hence the need for all the custom formats! The > treeview form, which has 6 subforms that swap depending on the "type" of > node > selected in the tree allow the user to modify the monitor levels on the > fly, > > say to loosen or tighten the variances allowed on a new die as it beds in > etc > etc. > > Sorry about the long winded story, but its quite an interesting app! > > regards > Bruce > > On Wednesday 25 April 2007 01:30, Susan Harkins wrote: > > Bruce, is each field truly that custom? You do know that you can change > > default formats for a form don't you? Of course, that doesn't help with > > the > > > problem at hand -- sorry about that. :( > > > > Susan H. > > > > After 6 weeks work of setting conditional formats over 32 tables, 65 > > forms and > > 12 reports I accidentally hit ctl-leftshift-alt-prtscn-scratchnose which > > produced a "YOUAREGOINGINTOHIGHRESOLUTIONMODE" popup, with apparently NO > > WAY TO CANCEL IT! > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- regards Bruce -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Apr 25 15:26:21 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 25 Apr 2007 13:26:21 -0700 Subject: [AccessD] OT - Excel - IIF in cell In-Reply-To: <004201c78749$3cb05560$657aa8c0@m6805> Message-ID: <0JH200M7GLXFFLP4@l-daemon> ...Because it is not needed. Why the iif command was created when the functionality could have been extended to the already existing if statement has always been beyond me. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, April 25, 2007 7:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT - Excel - IIF in cell As always, immediately after I pressed Send I discovered the answer. =if((E3="x"),0,C3) Now why doesn't IIF work? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, April 25, 2007 10:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT - Excel - IIF in cell I need to do a simple iif in a cell: =iif((E3="x"),0,C3) IOW what I am trying to do is say if the cell E3 = "x" then the current cell = 0 else the current cell = the contents of cell C3 All I get is the infamous #Name? Is it possible to do this? Is there some other construct? John W. Colby Colby Consulting www.ColbyConsulting.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 tuxedoman888 at gmail.com Wed Apr 25 16:30:56 2007 From: tuxedoman888 at gmail.com (Billy Pang) Date: Wed, 25 Apr 2007 14:30:56 -0700 Subject: [AccessD] OT - Excel - IIF in cell In-Reply-To: <004201c78749$3cb05560$657aa8c0@m6805> References: <003d01c78748$664c73f0$657aa8c0@m6805> <004201c78749$3cb05560$657aa8c0@m6805> Message-ID: <7c8826480704251430s210ffaf5x7ea6110a60fb6325@mail.gmail.com> same reason why datediff in excel does not work; gotta use datedif (missing one F) On 4/25/07, JWColby wrote: > > > Now why doesn't IIF work? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > > -- > Billy Pang > http://dbnotes.blogspot.com/ > "Once the game is over, the King and the pawn go back in the same box." - > Italian proverb From rockysmolin at bchacc.com Thu Apr 26 08:18:00 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 26 Apr 2007 06:18:00 -0700 Subject: [AccessD] OT: WinZip Courier Problem Message-ID: <001301c78805$50cc9fb0$0501a8c0@HAL9005> For those who may be considering WinZip's new Courier service, there's a small problem. If you upload a file with a .EXE extension, it is delivered without the extension. So when the user tries to run it it comes up with the 'what program do you want to use to open this file?" prompt. Since I'm sending mostly setup files created by Wise, this is a serious problem. They currently have no fix for this other than the workaround that the user need to be advised to add the .EXE to the file before running it. Regards, Rocky From Gustav at cactus.dk Thu Apr 26 09:28:51 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 26 Apr 2007 16:28:51 +0200 Subject: [AccessD] Visual Studio Standard 2005 won't install Message-ID: Hi all Anyone having the Action Pack? Finally, the above title arrived but it won't install. It keeps popping a message: Please insert the disk: Microsoft Visual Studio 2005 Standard Edition - ENU Disk 2 but there is no disk 2. This appears during the very first install item, "Microsoft Visual Studio 2005", and the file ..\Common7\Tools\VDT\vdt80.dll I've browsed all over the net and can find some hints mostly related to downloaded images burned/saved to cd/iso with wrong titles, but this is the original cd which doesn't carry any info that it should be "Disk 1". I've also tried to copy to cd to a folder and install from that, and also to disable antivirus but to no avail. I had VB 2005 Express and Web Express installed (with no errors) but those were uninstalled first. Any hints? /gustav From fuller.artful at gmail.com Thu Apr 26 11:16:21 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 26 Apr 2007 12:16:21 -0400 Subject: [AccessD] Visual Studio Standard 2005 won't install In-Reply-To: References: Message-ID: <29f585dd0704260916y311eeb9fqa9a55fb57b262de0@mail.gmail.com> I don't have the Action Pack but I do have VS 2005 Standard Edition and it does have a Disk 2. On 4/26/07, Gustav Brock wrote: > > Hi all > > Anyone having the Action Pack? Finally, the above title arrived but it > won't install. > It keeps popping a message: > > Please insert the disk: Microsoft Visual Studio 2005 Standard Edition - > ENU Disk 2 > > but there is no disk 2. > This appears during the very first install item, "Microsoft Visual Studio > 2005", and the file ..\Common7\Tools\VDT\vdt80.dll > > I've browsed all over the net and can find some hints mostly related to > downloaded images burned/saved to cd/iso with wrong titles, but this is the > original cd which doesn't carry any info that it should be "Disk 1". > I've also tried to copy to cd to a folder and install from that, and also > to disable antivirus but to no avail. > > I had VB 2005 Express and Web Express installed (with no errors) but those > were uninstalled first. > > Any hints? > > /gustav > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Thu Apr 26 11:40:56 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 26 Apr 2007 18:40:56 +0200 Subject: [AccessD] Visual Studio Standard 2005 won't install Message-ID: Hi Arthur OK, thanks, that explains. Then that disk probably will arrive with the next update - in three months ... /gustav >>> fuller.artful at gmail.com 26-04-2007 18:16 >>> I don't have the Action Pack but I do have VS 2005 Standard Edition and it does have a Disk 2. On 4/26/07, Gustav Brock wrote: > > Hi all > > Anyone having the Action Pack? Finally, the above title arrived but it > won't install. > It keeps popping a message: > > Please insert the disk: Microsoft Visual Studio 2005 Standard Edition - > ENU Disk 2 > > but there is no disk 2. > This appears during the very first install item, "Microsoft Visual Studio > 2005", and the file ..\Common7\Tools\VDT\vdt80.dll > > I've browsed all over the net and can find some hints mostly related to > downloaded images burned/saved to cd/iso with wrong titles, but this is the > original cd which doesn't carry any info that it should be "Disk 1". > I've also tried to copy to cd to a folder and install from that, and also > to disable antivirus but to no avail. > > I had VB 2005 Express and Web Express installed (with no errors) but those > were uninstalled first. > > Any hints? > > /gustav From john at winhaven.net Thu Apr 26 12:25:23 2007 From: john at winhaven.net (John Bartow) Date: Thu, 26 Apr 2007 12:25:23 -0500 Subject: [AccessD] Visual Studio Standard 2005 won't install In-Reply-To: References: Message-ID: <037401c78827$e047c350$6402a8c0@ScuzzPaq> The first shipment of MSDN comes with everything and then gets updated afterwards. Seems odd that they wouldn't do the same with the Action Pack (but I don't know for sure as I don't get that). I'd advise you contact the MS rep and check on it. From jwcolby at colbyconsulting.com Thu Apr 26 21:51:19 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 26 Apr 2007 22:51:19 -0400 Subject: [AccessD] Deploying .net solutions Message-ID: <00bd01c78876$f00d7240$657aa8c0@m6805> I have a bunch of processes that are not particularly suited to Access for one reason or another. These include things like * doing what I call "directory watching" and performing some action when a file appears. * FTP transfers between local drives and FTP sites * Building complex data feeds between a database and a remote mainframe To take an example, I regularly build data feeds which look like: Header Rec Detail Rec Detail Rec Detail Rec . . Trailer Rec The header rec has some specific set of data in it such as who it is coming from, the date of the file etc. The detail recs have repetitive data such as payments to clients, payment dates, from/to dates that the payment is for, the amount, the check number etc. The footer rec has some specific data in it such as the number of checks, the bank account number that the checks are drawn against etc. I have built a report generator in VBA, inside of access, and it works, but it is really rather patchwork by nature. I have to reference specific libs, go outside of VBA to handle things like the file system and text streams (in an object oriented manner) and so forth. There are no threads so a single error can hang the system, and things that should happen in parallel have to happen sequentially. So, I would like to take one of these systems and move it to .Net. What I am trying to discover is how .Net systems are (reliably) deployed to the desktop. Often times these applets are used by more than one person, often at the same time. At the moment, because they are Access / vba based, I just do a copy down to the desktop (a single file) and open the mdb. A form opens and the user goes to work. These applets are under constant development, literally daily as I finish one report another is started. Bug fixes are done. I assume (but am not sure) that a VB.Net applet would be distributed as well, downloaded to the desktop and run from there. What is the vehicle for this distribution? John W. Colby Colby Consulting www.ColbyConsulting.com From michael at ddisolutions.com.au Thu Apr 26 22:02:43 2007 From: michael at ddisolutions.com.au (Michael Maddison) Date: Fri, 27 Apr 2007 13:02:43 +1000 Subject: [AccessD] Deploying .net solutions References: <00bd01c78876$f00d7240$657aa8c0@m6805> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0128968B@ddi-01.DDI.local> Hi John, ClickOnce sounds perfect for your situation. http://msdn2.microsoft.com/en-us/library/t71a733d(VS.80).aspx cheers Michael M I have a bunch of processes that are not particularly suited to Access for one reason or another. These include things like * doing what I call "directory watching" and performing some action when a file appears. * FTP transfers between local drives and FTP sites * Building complex data feeds between a database and a remote mainframe To take an example, I regularly build data feeds which look like: Header Rec Detail Rec Detail Rec Detail Rec . . Trailer Rec The header rec has some specific set of data in it such as who it is coming from, the date of the file etc. The detail recs have repetitive data such as payments to clients, payment dates, from/to dates that the payment is for, the amount, the check number etc. The footer rec has some specific data in it such as the number of checks, the bank account number that the checks are drawn against etc. I have built a report generator in VBA, inside of access, and it works, but it is really rather patchwork by nature. I have to reference specific libs, go outside of VBA to handle things like the file system and text streams (in an object oriented manner) and so forth. There are no threads so a single error can hang the system, and things that should happen in parallel have to happen sequentially. So, I would like to take one of these systems and move it to .Net. What I am trying to discover is how .Net systems are (reliably) deployed to the desktop. Often times these applets are used by more than one person, often at the same time. At the moment, because they are Access / vba based, I just do a copy down to the desktop (a single file) and open the mdb. A form opens and the user goes to work. These applets are under constant development, literally daily as I finish one report another is started. Bug fixes are done. I assume (but am not sure) that a VB.Net applet would be distributed as well, downloaded to the desktop and run from there. What is the vehicle for this distribution? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marklbreen at gmail.com Fri Apr 27 02:03:36 2007 From: marklbreen at gmail.com (Mark Breen) Date: Fri, 27 Apr 2007 08:03:36 +0100 Subject: [AccessD] (no subject) In-Reply-To: References: Message-ID: Hello Ed, I have seen this in an Oracle database on one accasion. Of course, it is not a relational database when you store lookup tables like this, or at least, it is no possible to enforce good referential integrity. But... in that company, once we got used to the little function that we used to retrieve values from the lookup, it worked a treat. And to make matters even better, when we wanted a new lookup table added, we could do it ourselves without having to go to a DBA. In that company, they have about one hundred look tables, so it was neater than if they were all stored in seperate tables. In summary, I would not do it, but I did see it working effectively. Mark On 24/04/07, Tesiny, Ed wrote: > > Hi All, > I'm not familiar enough with SQL Server but I have a question regarding > what I call Code Tables. I use them a lot when I develop an application > in Access, e.g., I'll have a table for counties i.e., county code and > county name or Providers, Provider code and Provider Name. I have them > as separate tables. I'm trying to make sense out of the tables and > relationships "my" programmer created. He has one code table period! > Below is a look as to how it is setup. > > CodeType CodeId CodeName OrderOnForm > Ethnicity 1 Puerto Rican 1 > Ethnicity 2 Mexican 2 > Ethnicity 3 Cuban 3 > Ethnicity 4 Other Hispanic 4 > Ethnicity 5 Hispanic, Not Specified/Known5 > Ethnicity 7 Not of Hispanic Origin 6 > Ethnicity 9 Don't Know/No Answer 7 > Gender 1 Male 10 > Gender 2 Female 20 > Health 1 Poor 5 > Health 2 Fair 10 > Health 3 Good 15 > Health 4 Very Good 20 > Health 5 Excellent 25 > Health 9 Don't Know/No Answer 80 > > > This is just a little bit of the table but I think you can see his > "logic" here. Is this a common convention that developers use? Hate to > see what else I'm going to find as I try to wade through this. > TIA > Ed > Edward P. Tesiny > Assistant Director for Evaluation > Bureau of Evaluation and Practice Improvement > New York State OASAS > 1450 Western Ave. > Albany, New York 12203-3526 > Phone: (518) 485-7189 > Fax: (518) 485-5769 > Email: EdTesiny at oasas.state.ny.us > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Fri Apr 27 03:52:17 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 27 Apr 2007 04:52:17 -0400 Subject: [AccessD] Deploying .net solutions In-Reply-To: <00bd01c78876$f00d7240$657aa8c0@m6805> References: <00bd01c78876$f00d7240$657aa8c0@m6805> Message-ID: <29f585dd0704270152y4c56c12ds3be5fc7a6d929c2@mail.gmail.com> One doesn't write applets in VB.NET, JC, but aside from that, the One-Click technology in .NET should please you immensely. While you explore that, I also suggest a terrific product called Total Commander, which is a Windows-based "clone" + extension of Norton Commander, and includes FTP facilities, so you could use it to get immediately to your goal, while you experiment with the One-Click .NET technology. A. On 4/26/07, JWColby wrote: > > I have a bunch of processes that are not particularly suited to Access for > one reason or another. These include things like > > * doing what I call "directory watching" and performing some action when a > file appears. > * FTP transfers between local drives and FTP sites > * Building complex data feeds between a database and a remote mainframe > > To take an example, I regularly build data feeds which look like: > > Header Rec > Detail Rec > Detail Rec > Detail Rec > . > . > Trailer Rec > > The header rec has some specific set of data in it such as who it is > coming > from, the date of the file etc. > > The detail recs have repetitive data such as payments to clients, payment > dates, from/to dates that the payment is for, the amount, the check number > etc. > > The footer rec has some specific data in it such as the number of checks, > the bank account number that the checks are drawn against etc. > > I have built a report generator in VBA, inside of access, and it works, > but > it is really rather patchwork by nature. I have to reference specific > libs, > go outside of VBA to handle things like the file system and text streams > (in > an object oriented manner) and so forth. There are no threads so a single > error can hang the system, and things that should happen in parallel have > to > happen sequentially. > > So, I would like to take one of these systems and move it to .Net. What I > am trying to discover is how .Net systems are (reliably) deployed to the > desktop. Often times these applets are used by more than one person, > often > at the same time. At the moment, because they are Access / vba based, I > just do a copy down to the desktop (a single file) and open the mdb. A > form > opens and the user goes to work. These applets are under constant > development, literally daily as I finish one report another is > started. Bug > fixes are done. > > I assume (but am not sure) that a VB.Net applet would be distributed as > well, downloaded to the desktop and run from there. What is the vehicle > for > this distribution? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Fri Apr 27 07:39:28 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 27 Apr 2007 08:39:28 -0400 Subject: [AccessD] Deploying .net solutions In-Reply-To: <29f585dd0704270152y4c56c12ds3be5fc7a6d929c2@mail.gmail.com> References: <00bd01c78876$f00d7240$657aa8c0@m6805> <29f585dd0704270152y4c56c12ds3be5fc7a6d929c2@mail.gmail.com> Message-ID: <00d501c788c9$1943db70$657aa8c0@m6805> >One doesn't write applets in VB.NET, JC, but aside from that LOL, so what, is that term reserved for Java now? Applet = little application to me. Java is so unimportant to me that I have no problem in borrowing the term to mean something actually useful. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, April 27, 2007 4:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deploying .net solutions One doesn't write applets in VB.NET, JC, but aside from that, the One-Click technology in .NET should please you immensely. While you explore that, I also suggest a terrific product called Total Commander, which is a Windows-based "clone" + extension of Norton Commander, and includes FTP facilities, so you could use it to get immediately to your goal, while you experiment with the One-Click .NET technology. A. On 4/26/07, JWColby wrote: > > I have a bunch of processes that are not particularly suited to Access > for one reason or another. These include things like > > * doing what I call "directory watching" and performing some action > when a file appears. > * FTP transfers between local drives and FTP sites > * Building complex data feeds between a database and a remote > mainframe > > To take an example, I regularly build data feeds which look like: > > Header Rec > Detail Rec > Detail Rec > Detail Rec > . > . > Trailer Rec > > The header rec has some specific set of data in it such as who it is > coming from, the date of the file etc. > > The detail recs have repetitive data such as payments to clients, > payment dates, from/to dates that the payment is for, the amount, the > check number etc. > > The footer rec has some specific data in it such as the number of > checks, the bank account number that the checks are drawn against etc. > > I have built a report generator in VBA, inside of access, and it > works, but it is really rather patchwork by nature. I have to > reference specific libs, go outside of VBA to handle things like the > file system and text streams (in an object oriented manner) and so > forth. There are no threads so a single error can hang the system, > and things that should happen in parallel have to happen sequentially. > > So, I would like to take one of these systems and move it to .Net. > What I am trying to discover is how .Net systems are (reliably) > deployed to the desktop. Often times these applets are used by more > than one person, often at the same time. At the moment, because they > are Access / vba based, I just do a copy down to the desktop (a single > file) and open the mdb. A form opens and the user goes to work. > These applets are under constant development, literally daily as I > finish one report another is started. Bug fixes are done. > > I assume (but am not sure) that a VB.Net applet would be distributed > as well, downloaded to the desktop and run from there. What is the > vehicle for this distribution? > > John W. Colby > Colby Consulting > www.ColbyConsulting.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 rockysmolin at bchacc.com Fri Apr 27 08:07:59 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 27 Apr 2007 06:07:59 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: <004201c786a1$0b4582f0$0501a8c0@HAL9005> Message-ID: <001d01c788cd$14c02b40$0501a8c0@HAL9005> Dear List: The code below is not being run when I send an email. The message I send is being delivered but not the Bcc. I inserted a MsgBox at the head of the code just to see if it would show up and it didn't. Does anyone see why it's not running that code when an email is sent? I'm running OL 2003. MTIA, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 24, 2007 11:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Making progress. The project window wasn't displayed by default. But I found how to display it, double-clicked ThisOutlookSession, and pasted into the code window: Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) Dim objMe As Recipient Set objMe = Item.Recipients.Add("bchacc at san.rr.com") objMe.Type = olBCC objMe.Resolve Set objMe = Nothing End Sub However, it's not sending a Bcc to bchacc at san.rr.com. Have I missed a step? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Tuesday, April 24, 2007 8:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC On the left, you should have a project window, a tree representation of your Outlook VBA project. Top item should be Project1, with Microsoft Outlook as a child, in turn ThisOutlookSession will be a child of that. Double click that to bring up it's code page. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 24, 2007 9:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC " go into the code window," using Alt-F11? "there is a 'ThisOutlookSession' object." I don't see that. The left combo box has only (General) in it. Where would I look for it? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 4:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC When you go into the code window, there is a 'ThisOutlookSession' object. Click that, and you should get a blank code page. Click the left drop down box in the code page and select Application. The right drop down will then have the ItemSend event. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 6:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Marty: You know I found that site. And the code makes sense. But I've never put any code behind Outlook. Don't know how to get that code attached to the Item_Send event (if there is such a thing). Any hints on how to? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 23, 2007 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC This site says you have to do through VBA code. or use third party add-in http://www.howto-outlook.com/faq/createbccrule.htm To automatically Bcc all outgoing messages. http://www.outlookcode.com/d/code/autobcc.htm Rocky Smolin at Beach Access Software wrote: >Yes, but she has to insert her AA's email address manually on every >email that goes to a client that she wants to copy the AA on. So she >was looking for a way to have the AA's email automatically entered in >the Bcc line on every email. > >Rocky > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Monday, April 23, 2007 10:54 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT: Default BCC > >Sorry if this is too simplistic, but she does have the View BCC option >ticked doesn't she? > >-- Andy Lacey >http://www.minstersystems.co.uk > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>Smolin at Beach Access Software >>Sent: 23 April 2007 17:51 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>Almost there. The user who asked me for this wants to Bcc. >>The rule wizard >>seems to only allow CC. It's a law office and this person >>wants to Bcc her >>admin assistant. Is there a way to do Bcc? >> >>Rocky >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 9:39 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Okay, step by step using Outlook 2003. >> >>Click Tools --> Rules and Alerts >> >>Click New Rule >> >>Select 'Start from a blank rule' (not default selection) >> >>Under Step1, select Check messages after sending, click next. >> >>Click next again (you will be prompted again, click Yes) >> >>(Side note, this rule now applies to ALL email you send. The last >>Next and Yes skipped past conditions you may want to choose) >> >>Select 'CC the message to people or distribution list'. >> >>In the step 2 window, click the underlines 'people or distribution >>list' to select the address you want the copy sent too. >> >>Click Next, then Next again (this one skips the exceptions that you >>can apply to your rule) >> >>Click Finish >> >>All done! >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Monday, April 23, 2007 11:02 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>That WOULD be easy. But I don't see a rule that governs outgoing >>addresses. Only sorting incoming mail. Am I missing it somewhere? >> >>Rocky >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 8:11 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Probably easier to use a rule. (There's a rule wizard to help out). >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Sunday, April 22, 2007 2:45 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] OT: Default BCC >> >> >> >> >>Dear List: >> >>Is there a way to default an email address into the BCC field in >>Outlook when you create a new message? >> >>TIA >> >>Rocky >> >> -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007 5:26 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007 5:26 PM From Gustav at cactus.dk Fri Apr 27 08:26:22 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 27 Apr 2007 15:26:22 +0200 Subject: [AccessD] Visual Studio Standard 2005 won't install Message-ID: Hi John Yes, but this package is an addendum - special for Small Business Partners - and it doesn't even contain the usual list of included and previously supplied cd/dvd roms. I've sent a notice to the MS distribution center hoping they will sort it out. /gustav >>> john at winhaven.net 26-04-2007 19:25 >>> The first shipment of MSDN comes with everything and then gets updated afterwards. Seems odd that they wouldn't do the same with the Action Pack (but I don't know for sure as I don't get that). I'd advise you contact the MS rep and check on it. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Fri Apr 27 08:34:03 2007 From: max.wanadoo at gmail.com (Gmail) Date: Fri, 27 Apr 2007 14:34:03 +0100 Subject: [AccessD] OT: Default BCC In-Reply-To: <001d01c788cd$14c02b40$0501a8c0@HAL9005> References: <004201c786a1$0b4582f0$0501a8c0@HAL9005> <001d01c788cd$14c02b40$0501a8c0@HAL9005> Message-ID: <000401c788d0$b9f0f560$5101a8c0@LT> You could try:- Dim objMe As Outlook.Recipient instead of just Recipient. I always do things like Dim objOutlook as outlook.application, etc. Expressly state what the object is. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, April 27, 2007 2:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Dear List: The code below is not being run when I send an email. The message I send is being delivered but not the Bcc. I inserted a MsgBox at the head of the code just to see if it would show up and it didn't. Does anyone see why it's not running that code when an email is sent? I'm running OL 2003. MTIA, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 24, 2007 11:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Making progress. The project window wasn't displayed by default. But I found how to display it, double-clicked ThisOutlookSession, and pasted into the code window: Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) Dim objMe As Recipient Set objMe = Item.Recipients.Add("bchacc at san.rr.com") objMe.Type = olBCC objMe.Resolve Set objMe = Nothing End Sub However, it's not sending a Bcc to bchacc at san.rr.com. Have I missed a step? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Tuesday, April 24, 2007 8:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC On the left, you should have a project window, a tree representation of your Outlook VBA project. Top item should be Project1, with Microsoft Outlook as a child, in turn ThisOutlookSession will be a child of that. Double click that to bring up it's code page. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 24, 2007 9:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC " go into the code window," using Alt-F11? "there is a 'ThisOutlookSession' object." I don't see that. The left combo box has only (General) in it. Where would I look for it? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 4:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC When you go into the code window, there is a 'ThisOutlookSession' object. Click that, and you should get a blank code page. Click the left drop down box in the code page and select Application. The right drop down will then have the ItemSend event. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 6:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Marty: You know I found that site. And the code makes sense. But I've never put any code behind Outlook. Don't know how to get that code attached to the Item_Send event (if there is such a thing). Any hints on how to? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 23, 2007 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC This site says you have to do through VBA code. or use third party add-in http://www.howto-outlook.com/faq/createbccrule.htm To automatically Bcc all outgoing messages. http://www.outlookcode.com/d/code/autobcc.htm Rocky Smolin at Beach Access Software wrote: >Yes, but she has to insert her AA's email address manually on every >email that goes to a client that she wants to copy the AA on. So she >was looking for a way to have the AA's email automatically entered in >the Bcc line on every email. > >Rocky > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Monday, April 23, 2007 10:54 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT: Default BCC > >Sorry if this is too simplistic, but she does have the View BCC option >ticked doesn't she? > >-- Andy Lacey >http://www.minstersystems.co.uk > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>Smolin at Beach Access Software >>Sent: 23 April 2007 17:51 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>Almost there. The user who asked me for this wants to Bcc. >>The rule wizard >>seems to only allow CC. It's a law office and this person >>wants to Bcc her >>admin assistant. Is there a way to do Bcc? >> >>Rocky >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 9:39 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Okay, step by step using Outlook 2003. >> >>Click Tools --> Rules and Alerts >> >>Click New Rule >> >>Select 'Start from a blank rule' (not default selection) >> >>Under Step1, select Check messages after sending, click next. >> >>Click next again (you will be prompted again, click Yes) >> >>(Side note, this rule now applies to ALL email you send. The last >>Next and Yes skipped past conditions you may want to choose) >> >>Select 'CC the message to people or distribution list'. >> >>In the step 2 window, click the underlines 'people or distribution >>list' to select the address you want the copy sent too. >> >>Click Next, then Next again (this one skips the exceptions that you >>can apply to your rule) >> >>Click Finish >> >>All done! >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Monday, April 23, 2007 11:02 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>That WOULD be easy. But I don't see a rule that governs outgoing >>addresses. Only sorting incoming mail. Am I missing it somewhere? >> >>Rocky >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 8:11 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Probably easier to use a rule. (There's a rule wizard to help out). >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Sunday, April 22, 2007 2:45 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] OT: Default BCC >> >> >> >> >>Dear List: >> >>Is there a way to default an email address into the BCC field in >>Outlook when you create a new message? >> >>TIA >> >>Rocky >> >> -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007 5:26 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007 5:26 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Apr 27 08:54:10 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 27 Apr 2007 06:54:10 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: <000401c788d0$b9f0f560$5101a8c0@LT> Message-ID: <003001c788d3$88684400$0501a8c0@HAL9005> Max: Then where would I reference outlook.application in the code? Or is the Dim all that's necessary? Wouldn't I need a Set statement as well and then a reference to it in the doe? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gmail Sent: Friday, April 27, 2007 6:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC You could try:- Dim objMe As Outlook.Recipient instead of just Recipient. I always do things like Dim objOutlook as outlook.application, etc. Expressly state what the object is. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, April 27, 2007 2:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Dear List: The code below is not being run when I send an email. The message I send is being delivered but not the Bcc. I inserted a MsgBox at the head of the code just to see if it would show up and it didn't. Does anyone see why it's not running that code when an email is sent? I'm running OL 2003. MTIA, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 24, 2007 11:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Making progress. The project window wasn't displayed by default. But I found how to display it, double-clicked ThisOutlookSession, and pasted into the code window: Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) Dim objMe As Recipient Set objMe = Item.Recipients.Add("bchacc at san.rr.com") objMe.Type = olBCC objMe.Resolve Set objMe = Nothing End Sub However, it's not sending a Bcc to bchacc at san.rr.com. Have I missed a step? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Tuesday, April 24, 2007 8:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC On the left, you should have a project window, a tree representation of your Outlook VBA project. Top item should be Project1, with Microsoft Outlook as a child, in turn ThisOutlookSession will be a child of that. Double click that to bring up it's code page. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 24, 2007 9:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC " go into the code window," using Alt-F11? "there is a 'ThisOutlookSession' object." I don't see that. The left combo box has only (General) in it. Where would I look for it? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 4:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC When you go into the code window, there is a 'ThisOutlookSession' object. Click that, and you should get a blank code page. Click the left drop down box in the code page and select Application. The right drop down will then have the ItemSend event. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 6:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Marty: You know I found that site. And the code makes sense. But I've never put any code behind Outlook. Don't know how to get that code attached to the Item_Send event (if there is such a thing). Any hints on how to? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 23, 2007 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC This site says you have to do through VBA code. or use third party add-in http://www.howto-outlook.com/faq/createbccrule.htm To automatically Bcc all outgoing messages. http://www.outlookcode.com/d/code/autobcc.htm Rocky Smolin at Beach Access Software wrote: >Yes, but she has to insert her AA's email address manually on every >email that goes to a client that she wants to copy the AA on. So she >was looking for a way to have the AA's email automatically entered in >the Bcc line on every email. > >Rocky > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Monday, April 23, 2007 10:54 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT: Default BCC > >Sorry if this is too simplistic, but she does have the View BCC option >ticked doesn't she? > >-- Andy Lacey >http://www.minstersystems.co.uk > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>Smolin at Beach Access Software >>Sent: 23 April 2007 17:51 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>Almost there. The user who asked me for this wants to Bcc. >>The rule wizard >>seems to only allow CC. It's a law office and this person >>wants to Bcc her >>admin assistant. Is there a way to do Bcc? >> >>Rocky >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 9:39 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Okay, step by step using Outlook 2003. >> >>Click Tools --> Rules and Alerts >> >>Click New Rule >> >>Select 'Start from a blank rule' (not default selection) >> >>Under Step1, select Check messages after sending, click next. >> >>Click next again (you will be prompted again, click Yes) >> >>(Side note, this rule now applies to ALL email you send. The last >>Next and Yes skipped past conditions you may want to choose) >> >>Select 'CC the message to people or distribution list'. >> >>In the step 2 window, click the underlines 'people or distribution >>list' to select the address you want the copy sent too. >> >>Click Next, then Next again (this one skips the exceptions that you >>can apply to your rule) >> >>Click Finish >> >>All done! >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Monday, April 23, 2007 11:02 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>That WOULD be easy. But I don't see a rule that governs outgoing >>addresses. Only sorting incoming mail. Am I missing it somewhere? >> >>Rocky >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 8:11 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Probably easier to use a rule. (There's a rule wizard to help out). >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Sunday, April 22, 2007 2:45 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] OT: Default BCC >> >> >> >> >>Dear List: >> >>Is there a way to default an email address into the BCC field in >>Outlook when you create a new message? >> >>TIA >> >>Rocky >> >> -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007 5:26 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007 5:26 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.6.1/777 - Release Date: 4/26/2007 3:23 PM From fuller.artful at gmail.com Fri Apr 27 09:01:48 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 27 Apr 2007 10:01:48 -0400 Subject: [AccessD] Deploying .net solutions In-Reply-To: <00d501c788c9$1943db70$657aa8c0@m6805> References: <00bd01c78876$f00d7240$657aa8c0@m6805> <29f585dd0704270152y4c56c12ds3be5fc7a6d929c2@mail.gmail.com> <00d501c788c9$1943db70$657aa8c0@m6805> Message-ID: <29f585dd0704270701i38d99d1cle20d9c712648c7a5@mail.gmail.com> Oh sorry, JC, it's only the most widely used programming language in the world, but when you're stepping on toes, why not step on the big toe? An applet is a chunk of Java code that runs inside a web page. Incidentally, that is not my statistic but Information Week's. That's why I'm learning it now. Actually, I'm on a crash course at the moment. I'm learning Java, Perl and C#/VB.NET (they are so similar they might as well be one language, but there is an objective difference -- you can charge more money for C#; c.f. Visual Studio magazine's stats). A. On 4/27/07, JWColby wrote: > > >One doesn't write applets in VB.NET, JC, but aside from that > > LOL, so what, is that term reserved for Java now? Applet = little > application to me. Java is so unimportant to me that I have no problem in > borrowing the term to mean something actually useful. > From Gustav at cactus.dk Fri Apr 27 09:10:08 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 27 Apr 2007 16:10:08 +0200 Subject: [AccessD] Dot Net, where to start? Message-ID: Hi all It seems to be the time for me to get into the Dot Net stuff. But where to start? The only books on Access I've ever had are the original references and handbooks for Access 1 and 2 and the Application Development book for Access 97 so I'm reluctant to buy books - I just don't have the patience ... In the Action Pack - which we subscribe to - I've noticed two discs for VS 2005 Express, "Corbis Image Disc" and "Getting Started". Are these tutorials worth the effort to study? I browsed our vb list archive, which I don't subsribe to, and traffic seems to be low, so where to discuss Dot Net matters at the same level as we discuss Access here? One thing I think I've understood is that report design in VS is poor and third party tools or Report Design Service of SQL Server 2005 are to be preferred if you need reports on a level that match that of Access. Of course, my main interest is anything related to databases - pure web development is second, and game development won't come into play. Any advice will be greatly appreciated. /gustav From jwcolby at colbyconsulting.com Fri Apr 27 09:11:00 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 27 Apr 2007 10:11:00 -0400 Subject: [AccessD] Deploying .net solutions In-Reply-To: <29f585dd0704270152y4c56c12ds3be5fc7a6d929c2@mail.gmail.com> References: <00bd01c78876$f00d7240$657aa8c0@m6805> <29f585dd0704270152y4c56c12ds3be5fc7a6d929c2@mail.gmail.com> Message-ID: <00ee01c788d5$e24e1c90$657aa8c0@m6805> >I also suggest a terrific product called Total Commander, which is a Windows-based "clone" + extension of Norton Commander, and includes FTP facilities, so you could use it to get immediately to your goal, while you experiment with the One-Click .NET technology. My goal isn't a file manager replacement. My goal is a program which ftps files down to the local hard drive, unzips them, unencrypts them, and loads them into a database. Each such file is specific to one particular client insurer (client of my client) and there are potentially dozens of them, a half dozen at the moment. Each from a different company, each coming from a different FTP site (obviously), each formatted differently (but with patterns which allow a generic solution). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, April 27, 2007 4:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deploying .net solutions One doesn't write applets in VB.NET, JC, but aside from that, the One-Click technology in .NET should please you immensely. While you explore that, I also suggest a terrific product called Total Commander, which is a Windows-based "clone" + extension of Norton Commander, and includes FTP facilities, so you could use it to get immediately to your goal, while you experiment with the One-Click .NET technology. A. On 4/26/07, JWColby wrote: > > I have a bunch of processes that are not particularly suited to Access > for one reason or another. These include things like > > * doing what I call "directory watching" and performing some action > when a file appears. > * FTP transfers between local drives and FTP sites > * Building complex data feeds between a database and a remote > mainframe > > To take an example, I regularly build data feeds which look like: > > Header Rec > Detail Rec > Detail Rec > Detail Rec > . > . > Trailer Rec > > The header rec has some specific set of data in it such as who it is > coming from, the date of the file etc. > > The detail recs have repetitive data such as payments to clients, > payment dates, from/to dates that the payment is for, the amount, the > check number etc. > > The footer rec has some specific data in it such as the number of > checks, the bank account number that the checks are drawn against etc. > > I have built a report generator in VBA, inside of access, and it > works, but it is really rather patchwork by nature. I have to > reference specific libs, go outside of VBA to handle things like the > file system and text streams (in an object oriented manner) and so > forth. There are no threads so a single error can hang the system, > and things that should happen in parallel have to happen sequentially. > > So, I would like to take one of these systems and move it to .Net. > What I am trying to discover is how .Net systems are (reliably) > deployed to the desktop. Often times these applets are used by more > than one person, often at the same time. At the moment, because they > are Access / vba based, I just do a copy down to the desktop (a single > file) and open the mdb. A form opens and the user goes to work. > These applets are under constant development, literally daily as I > finish one report another is started. Bug fixes are done. > > I assume (but am not sure) that a VB.Net applet would be distributed > as well, downloaded to the desktop and run from there. What is the > vehicle for this distribution? > > John W. Colby > Colby Consulting > www.ColbyConsulting.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 jwcolby at colbyconsulting.com Fri Apr 27 09:21:34 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 27 Apr 2007 10:21:34 -0400 Subject: [AccessD] Deploying .net solutions In-Reply-To: <29f585dd0704270701i38d99d1cle20d9c712648c7a5@mail.gmail.com> References: <00bd01c78876$f00d7240$657aa8c0@m6805><29f585dd0704270152y4c56c12ds3be5fc7a6d929c2@mail.gmail.com><00d501c788c9$1943db70$657aa8c0@m6805> <29f585dd0704270701i38d99d1cle20d9c712648c7a5@mail.gmail.com> Message-ID: <00ef01c788d7$5c7583e0$657aa8c0@m6805> ROTFL. If I actually ever gave a crap about stepping on toes it might, I suppose, matter (but very damned little as it turns out). If I stepped on yours, well... Given that soldiers are dying in Iraq, men, women and children are dying in civil wars all over Africa, opium is the largest cash crop in Afghanistan, children are used as sex slaves all over the world, the average factory worker in China makes just a few dollars a day... well... Hmmm... Just how important is this again? Java rates about 1 on a scale of 1^99 in the grander scheme of things and my borrowing a term from that rates somewhere about 1^9999999 in the scheme of things. If my borrowing the term bothers you, I would have to say go work on one of the problems above and then come back in a year and tell me how much it really matters. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, April 27, 2007 10:02 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deploying .net solutions Oh sorry, JC, it's only the most widely used programming language in the world, but when you're stepping on toes, why not step on the big toe? An applet is a chunk of Java code that runs inside a web page. Incidentally, that is not my statistic but Information Week's. That's why I'm learning it now. Actually, I'm on a crash course at the moment. I'm learning Java, Perl and C#/VB.NET (they are so similar they might as well be one language, but there is an objective difference -- you can charge more money for C#; c.f. Visual Studio magazine's stats). A. On 4/27/07, JWColby wrote: > > >One doesn't write applets in VB.NET, JC, but aside from that > > LOL, so what, is that term reserved for Java now? Applet = little > application to me. Java is so unimportant to me that I have no > problem in borrowing the term to mean something actually useful. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Fri Apr 27 09:24:50 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 27 Apr 2007 10:24:50 -0400 Subject: [AccessD] Deploying .net solutions In-Reply-To: <00ee01c788d5$e24e1c90$657aa8c0@m6805> References: <00bd01c78876$f00d7240$657aa8c0@m6805> <29f585dd0704270152y4c56c12ds3be5fc7a6d929c2@mail.gmail.com> <00ee01c788d5$e24e1c90$657aa8c0@m6805> Message-ID: <29f585dd0704270724g2e0614fdk6e6c7b5315a167@mail.gmail.com> You're not going to get this all in one package, I think. But for the SQL database creation/installation part, have a look at Red Gate's SQL Packager. It is amazing. Once you create said package, any number of FTP tools will do the rest for you. Virtually all FTP tools are scriptable, so you can make them do anything you want, assuming that the recipient has granted you the authority to do so. A. From fuller.artful at gmail.com Fri Apr 27 09:28:40 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 27 Apr 2007 10:28:40 -0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: References: Message-ID: <29f585dd0704270728n57536681x88d0bf1bc88180b3@mail.gmail.com> Go to GotDotNet and download all the samples. Do it relatively quickly since MS has decided to phase out this site. Also go to Visual Studio Magazine and CodePlex. There is a very good intro book called VB.NET JumpStart (google vbJumpStart and you should get to the downloadable code). I found this book so good that I am currently thinking that .NET is even easier than Access. Arthur On 4/27/07, Gustav Brock wrote: > > Hi all > > It seems to be the time for me to get into the Dot Net stuff. But where to > start? > The only books on Access I've ever had are the original references and > handbooks for Access 1 and 2 and the Application Development book for Access > 97 so I'm reluctant to buy books - I just don't have the patience ... > > In the Action Pack - which we subscribe to - I've noticed two discs for VS > 2005 Express, "Corbis Image Disc" and "Getting Started". Are these tutorials > worth the effort to study? > > I browsed our vb list archive, which I don't subsribe to, and traffic > seems to be low, so where to discuss Dot Net matters at the same level as we > discuss Access here? > > One thing I think I've understood is that report design in VS is poor and > third party tools or Report Design Service of SQL Server 2005 are to be > preferred if you need reports on a level that match that of Access. > > Of course, my main interest is anything related to databases - pure web > development is second, and game development won't come into play. > Any advice will be greatly appreciated. > > /gustav > From jwcolby at colbyconsulting.com Fri Apr 27 09:30:17 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 27 Apr 2007 10:30:17 -0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: References: Message-ID: <00f101c788d8$946eeec0$657aa8c0@m6805> Gustav, I am at the same place. I own a copy of VS2005 and SQL Server 2005 (got it at the coming out party) so I can go there if I wish. I have it installed and have played with it quite a bit over the last two years or so. I am actually considering working in the VB.Net express until I come up to speed on that, then make the move to VS2005. The express stuff is free and provides all the functionality that I can understand for the moment anyway. Once I get that down, then I will be ready to learn the stuff that the express versions do not provide. As for reporting, that is a show stopper, especially when you come from Access which is one of the better report generators out there. I am actually considering simply using automation to continue using Access as a report generator for the moment. Again, once I come up to speed on the .Net stuff, then I can re-examine my options. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 27, 2007 10:10 AM To: accessd at databaseadvisors.com Subject: [AccessD] Dot Net, where to start? Hi all It seems to be the time for me to get into the Dot Net stuff. But where to start? The only books on Access I've ever had are the original references and handbooks for Access 1 and 2 and the Application Development book for Access 97 so I'm reluctant to buy books - I just don't have the patience ... In the Action Pack - which we subscribe to - I've noticed two discs for VS 2005 Express, "Corbis Image Disc" and "Getting Started". Are these tutorials worth the effort to study? I browsed our vb list archive, which I don't subsribe to, and traffic seems to be low, so where to discuss Dot Net matters at the same level as we discuss Access here? One thing I think I've understood is that report design in VS is poor and third party tools or Report Design Service of SQL Server 2005 are to be preferred if you need reports on a level that match that of Access. Of course, my main interest is anything related to databases - pure web development is second, and game development won't come into play. Any advice will be greatly appreciated. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Apr 27 09:31:54 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 27 Apr 2007 10:31:54 -0400 Subject: [AccessD] Deploying .net solutions In-Reply-To: <29f585dd0704270724g2e0614fdk6e6c7b5315a167@mail.gmail.com> References: <00bd01c78876$f00d7240$657aa8c0@m6805><29f585dd0704270152y4c56c12ds3be5fc7a6d929c2@mail.gmail.com><00ee01c788d5$e24e1c90$657aa8c0@m6805> <29f585dd0704270724g2e0614fdk6e6c7b5315a167@mail.gmail.com> Message-ID: <00f201c788d8$cdd26660$657aa8c0@m6805> Yes, I use 3DFTP which is an amazing package and scriptable. It turns out that FTP is one of the things not native to the .Net framework (not sure why) so a third party tool is required. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, April 27, 2007 10:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deploying .net solutions You're not going to get this all in one package, I think. But for the SQL database creation/installation part, have a look at Red Gate's SQL Packager. It is amazing. Once you create said package, any number of FTP tools will do the rest for you. Virtually all FTP tools are scriptable, so you can make them do anything you want, assuming that the recipient has granted you the authority to do so. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ebarro at verizon.net Fri Apr 27 09:43:32 2007 From: ebarro at verizon.net (Eric Barro) Date: Fri, 27 Apr 2007 07:43:32 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: Message-ID: <0JH500LK8VKOP2S9@vms040.mailsrvcs.net> Gustav, The book that helped me transition my Access/VB skills to the .NET world was ASP.NET Tips, Tutorials, AND CODE (emphasis mine) http://www.amazon.com/ASP-NET-Tips-Tutorials-Scott-Mitchell/dp/0672321432/re f=sr_1_1/103-9789491-9429402?ie=UTF8&s=books&qid=1177683655&sr=8-1 1. The biggest advantage I found in this book over those that I looked into before buying this 2 yrs ago were the code snippets that clearly explained and helped me transition my VB knowledge into VB.NET. The main code samples that benefited me were on datasets, datagrids, arraylists and hashtables because I was looking for a quick way to understand how .NET handled the data access layer. I was already proficient in ADO and the examples that included ADO.NET were very helpful. 2. Majority of the code in the first few chapters were devoted to VB.NET. This was a big plus since I didn't need to or want to jump to .NET from my VBA/VB background. The writers of course have samples in C# and it doesn't take long to quickly transition to the C# version once you are comfortable in VB.NET. 3. I bought this book precisely for the good code samples. I don't have the time or patience either to wade through 50 pages of explanation when a few lines of code smattered with comments would suffice. The application development environment that helped me transition from VB to VB.NET was Web Matrix. This was the pre-cursor to Visual Studio. Best of all was that it was free. It worked great for coding but was very poor for page layout so I had to use Dreamweaver for that purpose. Today I develop web-based applications that interface with SQL Server 2000/2005 using C# as the programming language with VS.NET 2003 as the development environment. Since I am quite proficient in HTML and javascript (same syntax as C#), I no longer switch to Dreamweaver for page layout. Instead I switch to HTML view and modify HTML and javascript code manually. I have not transitioned from .NET ver 1.1 to 2.0. One of these days I will probably skip 2.0 and move to 3.0. For reporting I create custom reports using the regular .NET application development route. I have also used Crystal Reports (which closely resembles the Access band-type report generator) with SQL stored procedures. I've stayed away from SQL Reporting Services because the version prior to 2005 is limited in functionality although I've had to modify SQL Reporting Services 2000 code in VS.NET and also transitioned some of these reports to Crystal Reports. As far as I'm concerned the major advantages of these two reporting engines is the ease with which you can export the report data to any number of formats (Excel, PDF, Word, ASCII, etc...) without any coding other than knowing how to call those functions or utilize those classes to output the report. Today I have built my own data access layer, security layer and common/utility libraries which I use for every project I develop in C#. I have also built a couple of my own web controls that encapsulate functionality such as CRUD operations to speed up the development cycle. And I do agree...even if VB.NET and C# produce the same DLL, you can definitely charge more money and have more respect as a C# developer compared to a VB.NET developer. It's that same "Access is just a toy" mentality. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 27, 2007 7:10 AM To: accessd at databaseadvisors.com Subject: [AccessD] Dot Net, where to start? Hi all It seems to be the time for me to get into the Dot Net stuff. But where to start? The only books on Access I've ever had are the original references and handbooks for Access 1 and 2 and the Application Development book for Access 97 so I'm reluctant to buy books - I just don't have the patience ... In the Action Pack - which we subscribe to - I've noticed two discs for VS 2005 Express, "Corbis Image Disc" and "Getting Started". Are these tutorials worth the effort to study? I browsed our vb list archive, which I don't subsribe to, and traffic seems to be low, so where to discuss Dot Net matters at the same level as we discuss Access here? One thing I think I've understood is that report design in VS is poor and third party tools or Report Design Service of SQL Server 2005 are to be preferred if you need reports on a level that match that of Access. Of course, my main interest is anything related to databases - pure web development is second, and game development won't come into play. Any advice will be greatly appreciated. /gustav From max.wanadoo at gmail.com Fri Apr 27 09:49:37 2007 From: max.wanadoo at gmail.com (Gmail) Date: Fri, 27 Apr 2007 15:49:37 +0100 Subject: [AccessD] OT: Default BCC In-Reply-To: <003001c788d3$88684400$0501a8c0@HAL9005> References: <000401c788d0$b9f0f560$5101a8c0@LT> <003001c788d3$88684400$0501a8c0@HAL9005> Message-ID: <000b01c788db$49aeb430$5101a8c0@LT> Hi Rocky Try messing around with this. I think I have used this function before. No error handling in example Max Public Function pfSendEmail() Dim dbs As DAO.Database, rst As DAO.Recordset Dim strSubject As String Dim strText As String, bDisplayMsg As Boolean Set dbs = CurrentDb Set rst = dbs.OpenRecordset("QE_ActiveEmails") If rst.EOF Then GoTo exithere Else bDisplayMsg = False 'True Dim objOutlook As Outlook.Application Dim objOutlookMsg As Outlook.MailItem Dim objOutlookRecip As Outlook.Recipient Dim objOutlookAttach As Outlook.Attachment ' Create the Outlook session. Set objOutlook = CreateObject("Outlook.Application") ' Create the message. strSubject = "Newsletter" strText = "Dear Supporter," & vbCrLf & _ "Please note that the latest version of our Newsletters is now available on our main website at ....etc, etc" Call fStartClickYes(True) Set objOutlookMsg = objOutlook.CreateItem(olMailItem) 'Always send to MGX (dummy which is valid) ,and BC to recipient to prevent users seeing each others mail ' Add the To recipient(s) to the message. With objOutlookMsg Set objOutlookRecip = .Recipients.Add("mgx at abcdef.org") objOutlookRecip.Type = olTo ' Set the Subject, Body, and Importance of the message. .Subject = strSubject .Body = strText & vbCrLf & vbCrLf '.Importance = olImportanceHigh 'High importance ' Add attachments to the message. 'If Not IsMissing(AttachmentPath) Then ' Set objOutlookAttach = .Attachments.Add(AttachmentPath) 'End If ' Resolve each Recipient's name. 'For Each objOutlookRecip In .Recipients ' objOutlookRecip.Resolve 'Next rst.MoveFirst Do While Not rst.EOF If Len(rst!EmailUsed) > 0 and InStr(rst!EmailUsed, "@") > 0 Then ' Add the CC recipient(s) to the message. 'Set objOutlookRecip = .Recipients.Add("Name of person") 'objOutlookRecip.Type = olCC ' Add the BCC recipient(s) to the message. Set objOutlookRecip = .Recipients.Add(rst!EmailUsed) objOutlookRecip.Type = olBCC End If DoEvents ' give user time to cancel rst.MoveNext Loop ' add myself in as a BCC to see what it looks like. should not see anybody else's BCC address Set objOutlookRecip = .Recipients.Add("me at myemailaddress.org") objOutlookRecip.Type = olBCC ' Should we display the message before sending? If bDisplayMsg Then .Display Else .Save .Send End If End With Call fStartClickYes(False) End If exithere: 'MsgBox "Done" Set objOutlook = Nothing: Set dbs = Nothing: Set rst = Nothing Exit Function End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, April 27, 2007 2:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Max: Then where would I reference outlook.application in the code? Or is the Dim all that's necessary? Wouldn't I need a Set statement as well and then a reference to it in the doe? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gmail Sent: Friday, April 27, 2007 6:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC You could try:- Dim objMe As Outlook.Recipient instead of just Recipient. I always do things like Dim objOutlook as outlook.application, etc. Expressly state what the object is. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, April 27, 2007 2:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Dear List: The code below is not being run when I send an email. The message I send is being delivered but not the Bcc. I inserted a MsgBox at the head of the code just to see if it would show up and it didn't. Does anyone see why it's not running that code when an email is sent? I'm running OL 2003. MTIA, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 24, 2007 11:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Making progress. The project window wasn't displayed by default. But I found how to display it, double-clicked ThisOutlookSession, and pasted into the code window: Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) Dim objMe As Recipient Set objMe = Item.Recipients.Add("bchacc at san.rr.com") objMe.Type = olBCC objMe.Resolve Set objMe = Nothing End Sub However, it's not sending a Bcc to bchacc at san.rr.com. Have I missed a step? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Tuesday, April 24, 2007 8:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC On the left, you should have a project window, a tree representation of your Outlook VBA project. Top item should be Project1, with Microsoft Outlook as a child, in turn ThisOutlookSession will be a child of that. Double click that to bring up it's code page. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 24, 2007 9:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC " go into the code window," using Alt-F11? "there is a 'ThisOutlookSession' object." I don't see that. The left combo box has only (General) in it. Where would I look for it? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 4:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC When you go into the code window, there is a 'ThisOutlookSession' object. Click that, and you should get a blank code page. Click the left drop down box in the code page and select Application. The right drop down will then have the ItemSend event. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 6:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Marty: You know I found that site. And the code makes sense. But I've never put any code behind Outlook. Don't know how to get that code attached to the Item_Send event (if there is such a thing). Any hints on how to? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 23, 2007 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC This site says you have to do through VBA code. or use third party add-in http://www.howto-outlook.com/faq/createbccrule.htm To automatically Bcc all outgoing messages. http://www.outlookcode.com/d/code/autobcc.htm Rocky Smolin at Beach Access Software wrote: >Yes, but she has to insert her AA's email address manually on every >email that goes to a client that she wants to copy the AA on. So she >was looking for a way to have the AA's email automatically entered in >the Bcc line on every email. > >Rocky > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Monday, April 23, 2007 10:54 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT: Default BCC > >Sorry if this is too simplistic, but she does have the View BCC option >ticked doesn't she? > >-- Andy Lacey >http://www.minstersystems.co.uk > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>Smolin at Beach Access Software >>Sent: 23 April 2007 17:51 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>Almost there. The user who asked me for this wants to Bcc. >>The rule wizard >>seems to only allow CC. It's a law office and this person >>wants to Bcc her >>admin assistant. Is there a way to do Bcc? >> >>Rocky >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 9:39 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Okay, step by step using Outlook 2003. >> >>Click Tools --> Rules and Alerts >> >>Click New Rule >> >>Select 'Start from a blank rule' (not default selection) >> >>Under Step1, select Check messages after sending, click next. >> >>Click next again (you will be prompted again, click Yes) >> >>(Side note, this rule now applies to ALL email you send. The last >>Next and Yes skipped past conditions you may want to choose) >> >>Select 'CC the message to people or distribution list'. >> >>In the step 2 window, click the underlines 'people or distribution >>list' to select the address you want the copy sent too. >> >>Click Next, then Next again (this one skips the exceptions that you >>can apply to your rule) >> >>Click Finish >> >>All done! >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Monday, April 23, 2007 11:02 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>That WOULD be easy. But I don't see a rule that governs outgoing >>addresses. Only sorting incoming mail. Am I missing it somewhere? >> >>Rocky >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 8:11 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Probably easier to use a rule. (There's a rule wizard to help out). >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Sunday, April 22, 2007 2:45 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] OT: Default BCC >> >> >> >> >>Dear List: >> >>Is there a way to default an email address into the BCC field in >>Outlook when you create a new message? >> >>TIA >> >>Rocky >> >> -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007 5:26 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007 5:26 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.6.1/777 - Release Date: 4/26/2007 3:23 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Fri Apr 27 09:53:15 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 27 Apr 2007 18:53:15 +0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <00f101c788d8$946eeec0$657aa8c0@m6805> Message-ID: <000101c788db$c951dff0$6401a8c0@nant> <<< As for reporting, that is a show stopper, especially when you come from Access which is one of the better report generators out there. >>> John, VS2005 Professional has Crystal Reports - when one gets on speed with CR they can make very advanced reports with it - the reports, which can't be done with MS Access. IOW every report, which can be done in MS Access can be done in CR. But the opposite is not true. CR is (much) more powerful than MS Access Report Generator... Well, embedded in VS2005 CR IDE is limited comparing to professional version of CR, still it (VS2005 CR) is good enough to design reports but after MS Access report designer one usually feels that limited CR IDE as RPITA (There is no any functionality of CR engine limited - just IDE). And reports created with CR within VS2005 professional can be distributed with royalty free CR engine, which can be downloaded from Internet... What is also good with CR is that reports created for desktop applications can be relatively easy moved to use from Web Server (CR Server (not free) is needed for that) - there will be no need to do any redesign of these reports and CR Server is "smart" enough and handles large reports in small chunks, which can be quickly downloaded on client computer... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, April 27, 2007 6:30 PM To: 'Access Developers discussion and problem solving' Cc: dba-vb at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Gustav, I am at the same place. I own a copy of VS2005 and SQL Server 2005 (got it at the coming out party) so I can go there if I wish. I have it installed and have played with it quite a bit over the last two years or so. I am actually considering working in the VB.Net express until I come up to speed on that, then make the move to VS2005. The express stuff is free and provides all the functionality that I can understand for the moment anyway. Once I get that down, then I will be ready to learn the stuff that the express versions do not provide. As for reporting, that is a show stopper, especially when you come from Access which is one of the better report generators out there. I am actually considering simply using automation to continue using Access as a report generator for the moment. Again, once I come up to speed on the .Net stuff, then I can re-examine my options. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 27, 2007 10:10 AM To: accessd at databaseadvisors.com Subject: [AccessD] Dot Net, where to start? Hi all It seems to be the time for me to get into the Dot Net stuff. But where to start? The only books on Access I've ever had are the original references and handbooks for Access 1 and 2 and the Application Development book for Access 97 so I'm reluctant to buy books - I just don't have the patience ... In the Action Pack - which we subscribe to - I've noticed two discs for VS 2005 Express, "Corbis Image Disc" and "Getting Started". Are these tutorials worth the effort to study? I browsed our vb list archive, which I don't subsribe to, and traffic seems to be low, so where to discuss Dot Net matters at the same level as we discuss Access here? One thing I think I've understood is that report design in VS is poor and third party tools or Report Design Service of SQL Server 2005 are to be preferred if you need reports on a level that match that of Access. Of course, my main interest is anything related to databases - pure web development is second, and game development won't come into play. Any advice will be greatly appreciated. /gustav -- 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 fuller.artful at gmail.com Fri Apr 27 09:55:48 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 27 Apr 2007 10:55:48 -0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <00f101c788d8$946eeec0$657aa8c0@m6805> References: <00f101c788d8$946eeec0$657aa8c0@m6805> Message-ID: <29f585dd0704270755o1deb4eb6t71769f3a175f0efa@mail.gmail.com> Are you kidding? The report stuff in VS 2005 is killer technology! It blows Access and Crystal and various other contenders out of the water. IMO it is the definitive reporting technology extant. A. On 4/27/07, JWColby wrote: > > Gustav, > > I am at the same place. I own a copy of VS2005 and SQL Server 2005 (got > it > at the coming out party) so I can go there if I wish. I have it installed > and have played with it quite a bit over the last two years or so. > > I am actually considering working in the VB.Net express until I come up to > speed on that, then make the move to VS2005. The express stuff is free > and > provides all the functionality that I can understand for the moment > anyway. > Once I get that down, then I will be ready to learn the stuff that the > express versions do not provide. > > As for reporting, that is a show stopper, especially when you come from > Access which is one of the better report generators out there. I am > actually considering simply using automation to continue using Access as a > report generator for the moment. Again, once I come up to speed on the > .Net > stuff, then I can re-examine my options. > > From cfoust at infostatsystems.com Fri Apr 27 10:00:51 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 27 Apr 2007 08:00:51 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: References: Message-ID: Gustav, If someone else is paying for it, the AppDev CBT on .Net is an excellent starting point. We used them in my office to bring the VBA duffers (like me) up to speed in .Net. It doesn't teach you all you need to know, but it gets you firmly grounded in the basics. After that, it depends on your direction. Web is different from Windows is distinct from database apps, etc. The 3rd party report generators are all built on extensions to the .Net report generator, so it can't be that bad, but we use DataDynamics ActiveReports because it is fairly similar to the Access report generator and includes a conversion wizard, which is handy as a starting place when porting the reports over. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 27, 2007 7:10 AM To: accessd at databaseadvisors.com Subject: [AccessD] Dot Net, where to start? Hi all It seems to be the time for me to get into the Dot Net stuff. But where to start? The only books on Access I've ever had are the original references and handbooks for Access 1 and 2 and the Application Development book for Access 97 so I'm reluctant to buy books - I just don't have the patience ... In the Action Pack - which we subscribe to - I've noticed two discs for VS 2005 Express, "Corbis Image Disc" and "Getting Started". Are these tutorials worth the effort to study? I browsed our vb list archive, which I don't subsribe to, and traffic seems to be low, so where to discuss Dot Net matters at the same level as we discuss Access here? One thing I think I've understood is that report design in VS is poor and third party tools or Report Design Service of SQL Server 2005 are to be preferred if you need reports on a level that match that of Access. Of course, my main interest is anything related to databases - pure web development is second, and game development won't come into play. Any advice will be greatly appreciated. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Apr 27 10:05:07 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 27 Apr 2007 11:05:07 -0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <000101c788db$c951dff0$6401a8c0@nant> References: <00f101c788d8$946eeec0$657aa8c0@m6805> <000101c788db$c951dff0$6401a8c0@nant> Message-ID: <00f601c788dd$71c05ad0$657aa8c0@m6805> Shamil, Unfortunately what I have now is the standard version. Until such time as I am actually doing paying work in the package I will not be buying the professional version. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, April 27, 2007 10:53 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? <<< As for reporting, that is a show stopper, especially when you come from Access which is one of the better report generators out there. >>> John, VS2005 Professional has Crystal Reports - when one gets on speed with CR they can make very advanced reports with it - the reports, which can't be done with MS Access. IOW every report, which can be done in MS Access can be done in CR. But the opposite is not true. CR is (much) more powerful than MS Access Report Generator... Well, embedded in VS2005 CR IDE is limited comparing to professional version of CR, still it (VS2005 CR) is good enough to design reports but after MS Access report designer one usually feels that limited CR IDE as RPITA (There is no any functionality of CR engine limited - just IDE). And reports created with CR within VS2005 professional can be distributed with royalty free CR engine, which can be downloaded from Internet... What is also good with CR is that reports created for desktop applications can be relatively easy moved to use from Web Server (CR Server (not free) is needed for that) - there will be no need to do any redesign of these reports and CR Server is "smart" enough and handles large reports in small chunks, which can be quickly downloaded on client computer... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, April 27, 2007 6:30 PM To: 'Access Developers discussion and problem solving' Cc: dba-vb at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Gustav, I am at the same place. I own a copy of VS2005 and SQL Server 2005 (got it at the coming out party) so I can go there if I wish. I have it installed and have played with it quite a bit over the last two years or so. I am actually considering working in the VB.Net express until I come up to speed on that, then make the move to VS2005. The express stuff is free and provides all the functionality that I can understand for the moment anyway. Once I get that down, then I will be ready to learn the stuff that the express versions do not provide. As for reporting, that is a show stopper, especially when you come from Access which is one of the better report generators out there. I am actually considering simply using automation to continue using Access as a report generator for the moment. Again, once I come up to speed on the .Net stuff, then I can re-examine my options. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 27, 2007 10:10 AM To: accessd at databaseadvisors.com Subject: [AccessD] Dot Net, where to start? Hi all It seems to be the time for me to get into the Dot Net stuff. But where to start? The only books on Access I've ever had are the original references and handbooks for Access 1 and 2 and the Application Development book for Access 97 so I'm reluctant to buy books - I just don't have the patience ... In the Action Pack - which we subscribe to - I've noticed two discs for VS 2005 Express, "Corbis Image Disc" and "Getting Started". Are these tutorials worth the effort to study? I browsed our vb list archive, which I don't subsribe to, and traffic seems to be low, so where to discuss Dot Net matters at the same level as we discuss Access here? One thing I think I've understood is that report design in VS is poor and third party tools or Report Design Service of SQL Server 2005 are to be preferred if you need reports on a level that match that of Access. Of course, my main interest is anything related to databases - pure web development is second, and game development won't come into play. Any advice will be greatly appreciated. /gustav -- 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 From cfoust at infostatsystems.com Fri Apr 27 10:10:44 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 27 Apr 2007 08:10:44 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <29f585dd0704270728n57536681x88d0bf1bc88180b3@mail.gmail.com> References: <29f585dd0704270728n57536681x88d0bf1bc88180b3@mail.gmail.com> Message-ID: But courses like that don't focus on Gustav's main issue, databases. Rick Dobson has a couple of books out that can be helpful in that area: "Programming SQL Server 2000 with Visual Vasic .Net" and "Programming Microsoft Visual Basic .Net for Microsoft Access Databases". The big thing to get your head around is n-tier programming, which we didn't do in Access. The books tend to go straight to dataadapters and so forth and don't generally discuss the structure of a data tier. We created a data tier that is a code representation of the underlying data structure. We can then code to that abstraction regardless of whether we have access to the actual data at the time. Very handy. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, April 27, 2007 7:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Go to GotDotNet and download all the samples. Do it relatively quickly since MS has decided to phase out this site. Also go to Visual Studio Magazine and CodePlex. There is a very good intro book called VB.NET JumpStart (google vbJumpStart and you should get to the downloadable code). I found this book so good that I am currently thinking that .NET is even easier than Access. Arthur On 4/27/07, Gustav Brock wrote: > > Hi all > > It seems to be the time for me to get into the Dot Net stuff. But > where to start? > The only books on Access I've ever had are the original references and > handbooks for Access 1 and 2 and the Application Development book for > Access > 97 so I'm reluctant to buy books - I just don't have the patience ... > > In the Action Pack - which we subscribe to - I've noticed two discs > for VS > 2005 Express, "Corbis Image Disc" and "Getting Started". Are these > tutorials worth the effort to study? > > I browsed our vb list archive, which I don't subsribe to, and traffic > seems to be low, so where to discuss Dot Net matters at the same level > as we discuss Access here? > > One thing I think I've understood is that report design in VS is poor > and third party tools or Report Design Service of SQL Server 2005 are > to be preferred if you need reports on a level that match that of Access. > > Of course, my main interest is anything related to databases - pure > web development is second, and game development won't come into play. > Any advice will be greatly appreciated. > > /gustav > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Fri Apr 27 10:19:34 2007 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 27 Apr 2007 16:19:34 +0100 Subject: [AccessD] Dot Net, where to start? References: <29f585dd0704270728n57536681x88d0bf1bc88180b3@mail.gmail.com> Message-ID: www.asp.net www.4guysfromrolla.com Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974465 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Charlotte Foust Sent: Fri 27/04/2007 16:10 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? But courses like that don't focus on Gustav's main issue, databases. Rick Dobson has a couple of books out that can be helpful in that area: "Programming SQL Server 2000 with Visual Vasic .Net" and "Programming Microsoft Visual Basic .Net for Microsoft Access Databases". The big thing to get your head around is n-tier programming, which we didn't do in Access. The books tend to go straight to dataadapters and so forth and don't generally discuss the structure of a data tier. We created a data tier that is a code representation of the underlying data structure. We can then code to that abstraction regardless of whether we have access to the actual data at the time. Very handy. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, April 27, 2007 7:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Go to GotDotNet and download all the samples. Do it relatively quickly since MS has decided to phase out this site. Also go to Visual Studio Magazine and CodePlex. There is a very good intro book called VB.NET JumpStart (google vbJumpStart and you should get to the downloadable code). I found this book so good that I am currently thinking that .NET is even easier than Access. Arthur On 4/27/07, Gustav Brock wrote: > > Hi all > > It seems to be the time for me to get into the Dot Net stuff. But > where to start? > The only books on Access I've ever had are the original references and > handbooks for Access 1 and 2 and the Application Development book for > Access > 97 so I'm reluctant to buy books - I just don't have the patience ... > > In the Action Pack - which we subscribe to - I've noticed two discs > for VS > 2005 Express, "Corbis Image Disc" and "Getting Started". Are these > tutorials worth the effort to study? > > I browsed our vb list archive, which I don't subsribe to, and traffic > seems to be low, so where to discuss Dot Net matters at the same level > as we discuss Access here? > > One thing I think I've understood is that report design in VS is poor > and third party tools or Report Design Service of SQL Server 2005 are > to be preferred if you need reports on a level that match that of Access. > > Of course, my main interest is anything related to databases - pure > web development is second, and game development won't come into play. > Any advice will be greatly appreciated. > > /gustav > -- 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 rockysmolin at bchacc.com Fri Apr 27 10:39:40 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 27 Apr 2007 08:39:40 -0700 Subject: [AccessD] OT: Default BCC In-Reply-To: <000b01c788db$49aeb430$5101a8c0@LT> Message-ID: <003f01c788e2$45915f90$0501a8c0@HAL9005> Max: That would work EXCEPT. The problem is not part of an Access app. I've got some code like that and it works real good. But she wants to create, reply and/or forward emails in Outlook and have the Bcc automagically add when creating, forwarding, or replying. And she wants to see it before the mail is sent so she can delete the Bcc is it's not appropriate. Right now she's adding her assistant's email as a Bcc to about 80% of the messages she sends. TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gmail Sent: Friday, April 27, 2007 7:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Hi Rocky Try messing around with this. I think I have used this function before. No error handling in example Max Public Function pfSendEmail() Dim dbs As DAO.Database, rst As DAO.Recordset Dim strSubject As String Dim strText As String, bDisplayMsg As Boolean Set dbs = CurrentDb Set rst = dbs.OpenRecordset("QE_ActiveEmails") If rst.EOF Then GoTo exithere Else bDisplayMsg = False 'True Dim objOutlook As Outlook.Application Dim objOutlookMsg As Outlook.MailItem Dim objOutlookRecip As Outlook.Recipient Dim objOutlookAttach As Outlook.Attachment ' Create the Outlook session. Set objOutlook = CreateObject("Outlook.Application") ' Create the message. strSubject = "Newsletter" strText = "Dear Supporter," & vbCrLf & _ "Please note that the latest version of our Newsletters is now available on our main website at ....etc, etc" Call fStartClickYes(True) Set objOutlookMsg = objOutlook.CreateItem(olMailItem) 'Always send to MGX (dummy which is valid) ,and BC to recipient to prevent users seeing each others mail ' Add the To recipient(s) to the message. With objOutlookMsg Set objOutlookRecip = .Recipients.Add("mgx at abcdef.org") objOutlookRecip.Type = olTo ' Set the Subject, Body, and Importance of the message. .Subject = strSubject .Body = strText & vbCrLf & vbCrLf '.Importance = olImportanceHigh 'High importance ' Add attachments to the message. 'If Not IsMissing(AttachmentPath) Then ' Set objOutlookAttach = .Attachments.Add(AttachmentPath) 'End If ' Resolve each Recipient's name. 'For Each objOutlookRecip In .Recipients ' objOutlookRecip.Resolve 'Next rst.MoveFirst Do While Not rst.EOF If Len(rst!EmailUsed) > 0 and InStr(rst!EmailUsed, "@") > 0 Then ' Add the CC recipient(s) to the message. 'Set objOutlookRecip = .Recipients.Add("Name of person") 'objOutlookRecip.Type = olCC ' Add the BCC recipient(s) to the message. Set objOutlookRecip = .Recipients.Add(rst!EmailUsed) objOutlookRecip.Type = olBCC End If DoEvents ' give user time to cancel rst.MoveNext Loop ' add myself in as a BCC to see what it looks like. should not see anybody else's BCC address Set objOutlookRecip = .Recipients.Add("me at myemailaddress.org") objOutlookRecip.Type = olBCC ' Should we display the message before sending? If bDisplayMsg Then .Display Else .Save .Send End If End With Call fStartClickYes(False) End If exithere: 'MsgBox "Done" Set objOutlook = Nothing: Set dbs = Nothing: Set rst = Nothing Exit Function End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, April 27, 2007 2:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Max: Then where would I reference outlook.application in the code? Or is the Dim all that's necessary? Wouldn't I need a Set statement as well and then a reference to it in the doe? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gmail Sent: Friday, April 27, 2007 6:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC You could try:- Dim objMe As Outlook.Recipient instead of just Recipient. I always do things like Dim objOutlook as outlook.application, etc. Expressly state what the object is. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, April 27, 2007 2:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Dear List: The code below is not being run when I send an email. The message I send is being delivered but not the Bcc. I inserted a MsgBox at the head of the code just to see if it would show up and it didn't. Does anyone see why it's not running that code when an email is sent? I'm running OL 2003. MTIA, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 24, 2007 11:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Making progress. The project window wasn't displayed by default. But I found how to display it, double-clicked ThisOutlookSession, and pasted into the code window: Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) Dim objMe As Recipient Set objMe = Item.Recipients.Add("bchacc at san.rr.com") objMe.Type = olBCC objMe.Resolve Set objMe = Nothing End Sub However, it's not sending a Bcc to bchacc at san.rr.com. Have I missed a step? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Tuesday, April 24, 2007 8:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC On the left, you should have a project window, a tree representation of your Outlook VBA project. Top item should be Project1, with Microsoft Outlook as a child, in turn ThisOutlookSession will be a child of that. Double click that to bring up it's code page. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, April 24, 2007 9:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC " go into the code window," using Alt-F11? "there is a 'ThisOutlookSession' object." I don't see that. The left combo box has only (General) in it. Where would I look for it? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, April 23, 2007 4:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC When you go into the code window, there is a 'ThisOutlookSession' object. Click that, and you should get a blank code page. Click the left drop down box in the code page and select Application. The right drop down will then have the ItemSend event. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, April 23, 2007 6:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Default BCC Marty: You know I found that site. And the code makes sense. But I've never put any code behind Outlook. Don't know how to get that code attached to the Item_Send event (if there is such a thing). Any hints on how to? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 23, 2007 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Default BCC This site says you have to do through VBA code. or use third party add-in http://www.howto-outlook.com/faq/createbccrule.htm To automatically Bcc all outgoing messages. http://www.outlookcode.com/d/code/autobcc.htm Rocky Smolin at Beach Access Software wrote: >Yes, but she has to insert her AA's email address manually on every >email that goes to a client that she wants to copy the AA on. So she >was looking for a way to have the AA's email automatically entered in >the Bcc line on every email. > >Rocky > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Monday, April 23, 2007 10:54 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT: Default BCC > >Sorry if this is too simplistic, but she does have the View BCC option >ticked doesn't she? > >-- Andy Lacey >http://www.minstersystems.co.uk > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>Smolin at Beach Access Software >>Sent: 23 April 2007 17:51 >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>Almost there. The user who asked me for this wants to Bcc. >>The rule wizard >>seems to only allow CC. It's a law office and this person >>wants to Bcc her >>admin assistant. Is there a way to do Bcc? >> >>Rocky >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 9:39 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Okay, step by step using Outlook 2003. >> >>Click Tools --> Rules and Alerts >> >>Click New Rule >> >>Select 'Start from a blank rule' (not default selection) >> >>Under Step1, select Check messages after sending, click next. >> >>Click next again (you will be prompted again, click Yes) >> >>(Side note, this rule now applies to ALL email you send. The last >>Next and Yes skipped past conditions you may want to choose) >> >>Select 'CC the message to people or distribution list'. >> >>In the step 2 window, click the underlines 'people or distribution >>list' to select the address you want the copy sent too. >> >>Click Next, then Next again (this one skips the exceptions that you >>can apply to your rule) >> >>Click Finish >> >>All done! >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Monday, April 23, 2007 11:02 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] OT: Default BCC >> >> >>That WOULD be easy. But I don't see a rule that governs outgoing >>addresses. Only sorting incoming mail. Am I missing it somewhere? >> >>Rocky >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka >>Sent: Monday, April 23, 2007 8:11 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] OT: Default BCC >> >>Probably easier to use a rule. (There's a rule wizard to help out). >> >>Drew >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin >>at Beach Access Software >>Sent: Sunday, April 22, 2007 2:45 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] OT: Default BCC >> >> >> >> >>Dear List: >> >>Is there a way to default an email address into the BCC field in >>Outlook when you create a new message? >> >>TIA >> >>Rocky >> >> -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 4/22/2007 8:18 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007 5:26 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007 5:26 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.6.1/777 - Release Date: 4/26/2007 3:23 PM -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.6.1/777 - Release Date: 4/26/2007 3:23 PM From Gustav at cactus.dk Fri Apr 27 10:39:30 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 27 Apr 2007 17:39:30 +0200 Subject: [AccessD] Dot Net, where to start? Message-ID: Hi Arthur All samples? It lists 470 on Visual Studio alone! Found the JumpStart code download and the book: http://examples.oreilly.com/vbjumpstart/ http://www.oreilly.com/catalog/vbjumpstart/ Thanks! /gustav >>> fuller.artful at gmail.com 27-04-2007 16:28 >>> Go to GotDotNet and download all the samples. Do it relatively quickly since MS has decided to phase out this site. Also go to Visual Studio Magazine and CodePlex. There is a very good intro book called VB.NET JumpStart (google vbJumpStart and you should get to the downloadable code). I found this book so good that I am currently thinking that .NET is even easier than Access. Arthur From Gustav at cactus.dk Fri Apr 27 10:46:47 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 27 Apr 2007 17:46:47 +0200 Subject: [AccessD] Dot Net, where to start? Message-ID: Hi Eric Thanks, very useful. Are you joining a list like this, or do you manage on your own? /gustav >>> ebarro at verizon.net 27-04-2007 16:43 >>> Gustav, The book that helped me transition my Access/VB skills to the .NET world was ASP.NET Tips, Tutorials, AND CODE (emphasis mine) http://www.amazon.com/ASP-NET-Tips-Tutorials-Scott-Mitchell/dp/0672321432/re f=sr_1_1/103-9789491-9429402?ie=UTF8&s=books&qid=1177683655&sr=8-1 1. The biggest advantage I found in this book over those that I looked into before buying this 2 yrs ago were the code snippets that clearly explained and helped me transition my VB knowledge into VB.NET. The main code samples that benefited me were on datasets, datagrids, arraylists and hashtables because I was looking for a quick way to understand how .NET handled the data access layer. I was already proficient in ADO and the examples that included ADO.NET were very helpful. 2. Majority of the code in the first few chapters were devoted to VB.NET. This was a big plus since I didn't need to or want to jump to .NET from my VBA/VB background. The writers of course have samples in C# and it doesn't take long to quickly transition to the C# version once you are comfortable in VB.NET. 3. I bought this book precisely for the good code samples. I don't have the time or patience either to wade through 50 pages of explanation when a few lines of code smattered with comments would suffice. The application development environment that helped me transition from VB to VB.NET was Web Matrix. This was the pre-cursor to Visual Studio. Best of all was that it was free. It worked great for coding but was very poor for page layout so I had to use Dreamweaver for that purpose. Today I develop web-based applications that interface with SQL Server 2000/2005 using C# as the programming language with VS.NET 2003 as the development environment. Since I am quite proficient in HTML and javascript (same syntax as C#), I no longer switch to Dreamweaver for page layout. Instead I switch to HTML view and modify HTML and javascript code manually. I have not transitioned from .NET ver 1.1 to 2.0. One of these days I will probably skip 2.0 and move to 3.0. For reporting I create custom reports using the regular .NET application development route. I have also used Crystal Reports (which closely resembles the Access band-type report generator) with SQL stored procedures. I've stayed away from SQL Reporting Services because the version prior to 2005 is limited in functionality although I've had to modify SQL Reporting Services 2000 code in VS.NET and also transitioned some of these reports to Crystal Reports. As far as I'm concerned the major advantages of these two reporting engines is the ease with which you can export the report data to any number of formats (Excel, PDF, Word, ASCII, etc...) without any coding other than knowing how to call those functions or utilize those classes to output the report. Today I have built my own data access layer, security layer and common/utility libraries which I use for every project I develop in C#. I have also built a couple of my own web controls that encapsulate functionality such as CRUD operations to speed up the development cycle. And I do agree...even if VB.NET and C# produce the same DLL, you can definitely charge more money and have more respect as a C# developer compared to a VB.NET developer. It's that same "Access is just a toy" mentality. Eric From Gustav at cactus.dk Fri Apr 27 10:53:13 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 27 Apr 2007 17:53:13 +0200 Subject: [AccessD] Dot Net, where to start? Message-ID: Hi Arthur, Shamil, Charlotte and John Now I'm slightly confused. I would prefer to believe in Arthur's words as I like John don't have the VS 2005 Pro version, but I have to listen to Shamil and Charlotte in this matter. For most of the projects I may encounter, reporting will be an important part. Or are we talking about reporting "power" in different directions? /gustav >>> fuller.artful at gmail.com 27-04-2007 16:55 >>> Are you kidding? The report stuff in VS 2005 is killer technology! It blows Access and Crystal and various other contenders out of the water. IMO it is the definitive reporting technology extant. A. On 4/27/07, JWColby wrote: > > Gustav, > > I am at the same place. I own a copy of VS2005 and SQL Server 2005 (got it > at the coming out party) so I can go there if I wish. I have it installed > and have played with it quite a bit over the last two years or so. > > I am actually considering working in the VB.Net express until I come up to > speed on that, then make the move to VS2005. The express stuff is free and > provides all the functionality that I can understand for the moment anyway. > Once I get that down, then I will be ready to learn the stuff that the > express versions do not provide. > > As for reporting, that is a show stopper, especially when you come from > Access which is one of the better report generators out there. I am > actually considering simply using automation to continue using Access as a > report generator for the moment. Again, once I come up to speed on the .Net > stuff, then I can re-examine my options. From Gustav at cactus.dk Fri Apr 27 10:58:40 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 27 Apr 2007 17:58:40 +0200 Subject: [AccessD] Dot Net, where to start? Message-ID: Hi Charlotte That is so true; database handling is a key point. Also, I've seen so much poor code from web programmers that just know how to connect to a database and think that's it. That book, does it explain in depth of n-tier which I feel is very important and powerful? And is your data tier built on that code or did you create it from scratch? /gustav >>> cfoust at infostatsystems.com 27-04-2007 17:10 >>> But courses like that don't focus on Gustav's main issue, databases. Rick Dobson has a couple of books out that can be helpful in that area: "Programming SQL Server 2000 with Visual Vasic .Net" and "Programming Microsoft Visual Basic .Net for Microsoft Access Databases". The big thing to get your head around is n-tier programming, which we didn't do in Access. The books tend to go straight to dataadapters and so forth and don't generally discuss the structure of a data tier. We created a data tier that is a code representation of the underlying data structure. We can then code to that abstraction regardless of whether we have access to the actual data at the time. Very handy. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, April 27, 2007 7:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Go to GotDotNet and download all the samples. Do it relatively quickly since MS has decided to phase out this site. Also go to Visual Studio Magazine and CodePlex. There is a very good intro book called VB.NET JumpStart (google vbJumpStart and you should get to the downloadable code). I found this book so good that I am currently thinking that .NET is even easier than Access. Arthur From Gustav at cactus.dk Fri Apr 27 11:04:52 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 27 Apr 2007 18:04:52 +0200 Subject: [AccessD] Dot Net, where to start? Message-ID: Hi Martin Thanks. I do remember this sites now. I can see they can keep you busy for a weekend or two! A feature series of articles on databases is up right now: http://aspnet.4guysfromrolla.com/articles/041107-1.aspx /gustav >>> mwp.reid at qub.ac.uk 27-04-2007 17:19 >>> www.asp.net www.4guysfromrolla.com Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974465 From ebarro at verizon.net Fri Apr 27 11:12:23 2007 From: ebarro at verizon.net (Eric Barro) Date: Fri, 27 Apr 2007 09:12:23 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: Message-ID: <0JH500BOSZOMWCO3@vms044.mailsrvcs.net> Gustav, No, I haven't joined any .NET specific list. I find most of the snippets of code I need by googling them. AccessD is really the only list that offers any value since the discussions aren't limited to pure code. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 27, 2007 8:47 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Eric Thanks, very useful. Are you joining a list like this, or do you manage on your own? /gustav >>> ebarro at verizon.net 27-04-2007 16:43 >>> Gustav, The book that helped me transition my Access/VB skills to the .NET world was ASP.NET Tips, Tutorials, AND CODE (emphasis mine) http://www.amazon.com/ASP-NET-Tips-Tutorials-Scott-Mitchell/dp/0672321432/re f=sr_1_1/103-9789491-9429402?ie=UTF8&s=books&qid=1177683655&sr=8-1 1. The biggest advantage I found in this book over those that I looked into before buying this 2 yrs ago were the code snippets that clearly explained and helped me transition my VB knowledge into VB.NET. The main code samples that benefited me were on datasets, datagrids, arraylists and hashtables because I was looking for a quick way to understand how .NET handled the data access layer. I was already proficient in ADO and the examples that included ADO.NET were very helpful. 2. Majority of the code in the first few chapters were devoted to VB.NET. This was a big plus since I didn't need to or want to jump to .NET from my VBA/VB background. The writers of course have samples in C# and it doesn't take long to quickly transition to the C# version once you are comfortable in VB.NET. 3. I bought this book precisely for the good code samples. I don't have the time or patience either to wade through 50 pages of explanation when a few lines of code smattered with comments would suffice. The application development environment that helped me transition from VB to VB.NET was Web Matrix. This was the pre-cursor to Visual Studio. Best of all was that it was free. It worked great for coding but was very poor for page layout so I had to use Dreamweaver for that purpose. Today I develop web-based applications that interface with SQL Server 2000/2005 using C# as the programming language with VS.NET 2003 as the development environment. Since I am quite proficient in HTML and javascript (same syntax as C#), I no longer switch to Dreamweaver for page layout. Instead I switch to HTML view and modify HTML and javascript code manually. I have not transitioned from .NET ver 1.1 to 2.0. One of these days I will probably skip 2.0 and move to 3.0. For reporting I create custom reports using the regular .NET application development route. I have also used Crystal Reports (which closely resembles the Access band-type report generator) with SQL stored procedures. I've stayed away from SQL Reporting Services because the version prior to 2005 is limited in functionality although I've had to modify SQL Reporting Services 2000 code in VS.NET and also transitioned some of these reports to Crystal Reports. As far as I'm concerned the major advantages of these two reporting engines is the ease with which you can export the report data to any number of formats (Excel, PDF, Word, ASCII, etc...) without any coding other than knowing how to call those functions or utilize those classes to output the report. Today I have built my own data access layer, security layer and common/utility libraries which I use for every project I develop in C#. I have also built a couple of my own web controls that encapsulate functionality such as CRUD operations to speed up the development cycle. And I do agree...even if VB.NET and C# produce the same DLL, you can definitely charge more money and have more respect as a C# developer compared to a VB.NET developer. It's that same "Access is just a toy" mentality. Eric From shamil at users.mns.ru Fri Apr 27 11:15:52 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 27 Apr 2007 20:15:52 +0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: Message-ID: <000601c788e7$53bc70f0$6401a8c0@nant> Hi Gustav, AFAIU Arthur means MS SQL 2000 or 2005 Reporting Services - correct Arthur? The VS2005 IDE designer for report running via these services seems to be available in VS2005 Standard Edition: http://msdn2.microsoft.com/ru-ru/vstudio/aa700921.aspx I'd think Crystal Reports is more powerful (more feature rich I mean) than MS SQL Reporting Services but I must say I just played a little bit with MS SQL 2000 Reporting Services and I have never used this technology in real life development and therefore I can be wrong in what I'm telling here about it (Arthur please correct me) unlike CR, which I used in real life projects and yes, it was RPITA to get on speed with it after MS Access but as I noted already I think CR is more powerful and flexible report designer/engine than MS Access... Of course it all depends on task to be developed - in some cases MS Acecss reporting is all you need. But if you aim at many deployment scenarios of your reporting solutions then CR is one of the best. I have heard (and Charlotte approves that here) that Active Reports is also very good (I did "touch" it one time in the past - and it looked more easy to start with it than with CR but my customer was "CR-infected" therefore I was forced to work with CR)... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 27, 2007 7:53 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Arthur, Shamil, Charlotte and John Now I'm slightly confused. I would prefer to believe in Arthur's words as I like John don't have the VS 2005 Pro version, but I have to listen to Shamil and Charlotte in this matter. For most of the projects I may encounter, reporting will be an important part. Or are we talking about reporting "power" in different directions? /gustav >>> fuller.artful at gmail.com 27-04-2007 16:55 >>> Are you kidding? The report stuff in VS 2005 is killer technology! It blows Access and Crystal and various other contenders out of the water. IMO it is the definitive reporting technology extant. A. On 4/27/07, JWColby wrote: > > Gustav, > > I am at the same place. I own a copy of VS2005 and SQL Server 2005 (got it > at the coming out party) so I can go there if I wish. I have it installed > and have played with it quite a bit over the last two years or so. > > I am actually considering working in the VB.Net express until I come up to > speed on that, then make the move to VS2005. The express stuff is free and > provides all the functionality that I can understand for the moment anyway. > Once I get that down, then I will be ready to learn the stuff that the > express versions do not provide. > > As for reporting, that is a show stopper, especially when you come from > Access which is one of the better report generators out there. I am > actually considering simply using automation to continue using Access as a > report generator for the moment. Again, once I come up to speed on the .Net > stuff, then I can re-examine my options. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Apr 27 11:18:48 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 27 Apr 2007 09:18:48 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: References: Message-ID: The chapters on ADO.Net give a good overview of datasets, data providers and the actual relational objects (tables, views, etc.), and it also compares ADO.Net and ADO as well. But I haven't seen any books describing the data tier structures in the way we built them. Most of the books start with directly binding a form to a data adapter, and we work the other way around. We build data "entities" that implement typed datasets and expose the behaviors and methods we need. We can then drop one of those entities on a form or report to provide the data connections we need. The working code is actually in a dataprovider class with the entity containing calls to the dataprovider and even to other entities if need be. Our model has evolved as we developed the apps and figured out what worked, and we have "refactored" (a much overused work in our shop) the bits and pieces many times over the course of the past two years. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 27, 2007 8:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Charlotte That is so true; database handling is a key point. Also, I've seen so much poor code from web programmers that just know how to connect to a database and think that's it. That book, does it explain in depth of n-tier which I feel is very important and powerful? And is your data tier built on that code or did you create it from scratch? /gustav >>> cfoust at infostatsystems.com 27-04-2007 17:10 >>> But courses like that don't focus on Gustav's main issue, databases. Rick Dobson has a couple of books out that can be helpful in that area: "Programming SQL Server 2000 with Visual Vasic .Net" and "Programming Microsoft Visual Basic .Net for Microsoft Access Databases". The big thing to get your head around is n-tier programming, which we didn't do in Access. The books tend to go straight to dataadapters and so forth and don't generally discuss the structure of a data tier. We created a data tier that is a code representation of the underlying data structure. We can then code to that abstraction regardless of whether we have access to the actual data at the time. Very handy. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, April 27, 2007 7:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Go to GotDotNet and download all the samples. Do it relatively quickly since MS has decided to phase out this site. Also go to Visual Studio Magazine and CodePlex. There is a very good intro book called VB.NET JumpStart (google vbJumpStart and you should get to the downloadable code). I found this book so good that I am currently thinking that .NET is even easier than Access. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Apr 27 11:23:07 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 27 Apr 2007 12:23:07 -0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: References: Message-ID: <00ff01c788e8$57d84550$657aa8c0@m6805> I have no reason to doubt Arthur (or Shamil), it is simply that when it comes to actually doing something in .Net I am still so far under water that there is not even a glimmer of light. Once I can actually see the surface, then I will start looking at extraneous stuff like reporting. I have "played" with .Net, both VS2005 and VB.Net express. The IDE itself is so vast that just getting comfortable with that is a job in itself (which is why I recommend the Express for starters, it is more limited but similar). After you do that, becoming familiar with the framework and all of its classes is another major job. It is trivial to build a form and get a button to click. It is NOT TRIVIAL to (for example) understand how collections are used, what the various types of collections are and what they are used for and when to use them etc. I use collections EVERYWHERE in Access, but there is only one, and it only has only 4 methods. EVERYTHING is an object in .Net. Simple variables such as strings have methods for formatting, cutting, pattern recognition etc. All of the "string stuff" that are functions in VBA are methods of the string object in VB.Net. Classes can be static (don't need to be instantiated) or dynamic(?) have to be instantiated. Getting at data isn't just set "db = current db, set rst = db.open()". There are FOUR different objects and each of those objects have a ton of properties and methods. And that is kind of my point, it seems to put the cart before the horse to be worrying about reporting if you can't even use a collection correctly yet. There is a LOT to do to get comfortable here. Get a copy of VBA.Net Express and dig in. Once you can write code in it as easily as you can in VBA, then take a breath and worry about the other stuff. I have a very real problem that I simply have too much (ACCESS) work to do, I can't even look up during the day, and I now have two kids as well taking up my evenings. My time to "play around" in .Net has been pretty limited, and there is so much to know that it takes awhile to get familiar. But I am trying. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 27, 2007 11:53 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Arthur, Shamil, Charlotte and John Now I'm slightly confused. I would prefer to believe in Arthur's words as I like John don't have the VS 2005 Pro version, but I have to listen to Shamil and Charlotte in this matter. For most of the projects I may encounter, reporting will be an important part. Or are we talking about reporting "power" in different directions? /gustav From accessd at shaw.ca Fri Apr 27 11:29:05 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 27 Apr 2007 09:29:05 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: Message-ID: <0JH60012409R50D1@l-daemon> Hi All: Any great web resources, on .Net that anyone has please resend them to me, your friendly webmaster at webmaster at databaseadvisors.com and I will hopefully create the definitive list and then it can be posted, in a section on the DBA web site for all to reference. Regards Jim From cfoust at infostatsystems.com Fri Apr 27 11:29:21 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 27 Apr 2007 09:29:21 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <0JH60012409R50D1@l-daemon> References: <0JH60012409R50D1@l-daemon> Message-ID: Ooooh, you lovely man! That's one of the things I like best about this list, the scope of ideas and resources. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, April 27, 2007 9:29 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Dot Net, where to start? Hi All: Any great web resources, on .Net that anyone has please resend them to me, your friendly webmaster at webmaster at databaseadvisors.com and I will hopefully create the definitive list and then it can be posted, in a section on the DBA web site for all to reference. Regards Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Apr 27 11:34:50 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 27 Apr 2007 09:34:50 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <00ff01c788e8$57d84550$657aa8c0@m6805> References: <00ff01c788e8$57d84550$657aa8c0@m6805> Message-ID: You forgot to mention that there are umpteen ways to do a thing and NONE of them is always the right way! I haven't seen the need for collections in .Net that exists in Access/VBA. We do use them, but classes and structures fill most of the need. And by the way, classes can have methods available from a direct call to a class object as well as methods that can only be called through an instance ... In the same class. It's not all or nothing. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, April 27, 2007 9:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? I have no reason to doubt Arthur (or Shamil), it is simply that when it comes to actually doing something in .Net I am still so far under water that there is not even a glimmer of light. Once I can actually see the surface, then I will start looking at extraneous stuff like reporting. I have "played" with .Net, both VS2005 and VB.Net express. The IDE itself is so vast that just getting comfortable with that is a job in itself (which is why I recommend the Express for starters, it is more limited but similar). After you do that, becoming familiar with the framework and all of its classes is another major job. It is trivial to build a form and get a button to click. It is NOT TRIVIAL to (for example) understand how collections are used, what the various types of collections are and what they are used for and when to use them etc. I use collections EVERYWHERE in Access, but there is only one, and it only has only 4 methods. EVERYTHING is an object in .Net. Simple variables such as strings have methods for formatting, cutting, pattern recognition etc. All of the "string stuff" that are functions in VBA are methods of the string object in VB.Net. Classes can be static (don't need to be instantiated) or dynamic(?) have to be instantiated. Getting at data isn't just set "db = current db, set rst = db.open()". There are FOUR different objects and each of those objects have a ton of properties and methods. And that is kind of my point, it seems to put the cart before the horse to be worrying about reporting if you can't even use a collection correctly yet. There is a LOT to do to get comfortable here. Get a copy of VBA.Net Express and dig in. Once you can write code in it as easily as you can in VBA, then take a breath and worry about the other stuff. I have a very real problem that I simply have too much (ACCESS) work to do, I can't even look up during the day, and I now have two kids as well taking up my evenings. My time to "play around" in .Net has been pretty limited, and there is so much to know that it takes awhile to get familiar. But I am trying. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 27, 2007 11:53 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Arthur, Shamil, Charlotte and John Now I'm slightly confused. I would prefer to believe in Arthur's words as I like John don't have the VS 2005 Pro version, but I have to listen to Shamil and Charlotte in this matter. For most of the projects I may encounter, reporting will be an important part. Or are we talking about reporting "power" in different directions? /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Fri Apr 27 13:11:32 2007 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Fri, 27 Apr 2007 13:11:32 -0500 Subject: [AccessD] Dot Net, where to start? In-Reply-To: References: Message-ID: <200704271815.l3RIFCC1016699@databaseadvisors.com> All, There are excellent video tutorials available on the Microsoft site that you can download and go through at your own pace. Also, I would highly recommend getting a tool like Codesmith and using the .netTier template for it. This will essentially give you a database layer essentially the same as Access, but customized to your SQL Server database. I cannot vouch for how it works with anything else as a backend, because that is all I use any more. If you don't want to put out the $299 or $99 for Codesmith (.netTier is free), check out the Enterprise Library (also free) from Microsoft. It will give you an Access like object library that is much easier to program against. Codesmith is based on top of this. John, based on how you like to design with classes, you will also want to check out the Model-View- Presenter design pattern. Robert From Gustav at cactus.dk Fri Apr 27 13:25:12 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 27 Apr 2007 20:25:12 +0200 Subject: [AccessD] Dot Net, where to start? Message-ID: Hi Robert Thanks, this sounds as great tools! /gustav >>> rl_stewart at highstream.net 27-04-2007 20:11 >>> All, There are excellent video tutorials available on the Microsoft site that you can download and go through at your own pace. Also, I would highly recommend getting a tool like Codesmith and using the .netTier template for it. This will essentially give you a database layer essentially the same as Access, but customized to your SQL Server database. I cannot vouch for how it works with anything else as a backend, because that is all I use any more. If you don't want to put out the $299 or $99 for Codesmith (.netTier is free), check out the Enterprise Library (also free) from Microsoft. It will give you an Access like object library that is much easier to program against. Codesmith is based on top of this. John, based on how you like to design with classes, you will also want to check out the Model-View- Presenter design pattern. Robert From jwcolby at colbyconsulting.com Fri Apr 27 15:13:49 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 27 Apr 2007 16:13:49 -0400 Subject: [AccessD] DotNet - Sign up for our VB list - was Re: Dot Net, where to start? In-Reply-To: References: Message-ID: <011701c78908$921d83e0$657aa8c0@m6805> Everyone interested in VB and .Net please sign up for our VB list. I will be moving my questions and discussions over to that list. http://databaseadvisors.com/mailman/listinfo/dba-vb Thanks. John W. Colby Colby Consulting www.ColbyConsulting.com From cfoust at infostatsystems.com Fri Apr 27 15:22:17 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 27 Apr 2007 13:22:17 -0700 Subject: [AccessD] DotNet - Sign up for our VB list - was Re: Dot Net, where to start? In-Reply-To: <011701c78908$921d83e0$657aa8c0@m6805> References: <011701c78908$921d83e0$657aa8c0@m6805> Message-ID: The problem with that is that VB and VB.Net are vastly different. My impression has always been that the VB forum was more application oriented and not much database interest. I don't want .Net questions buried in a landslide of VB posts, and I'm not coming from VB but from Access to .Net. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, April 27, 2007 1:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DotNet - Sign up for our VB list - was Re: Dot Net,where to start? Everyone interested in VB and .Net please sign up for our VB list. I will be moving my questions and discussions over to that list. http://databaseadvisors.com/mailman/listinfo/dba-vb Thanks. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Apr 27 15:32:47 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 27 Apr 2007 16:32:47 -0400 Subject: [AccessD] DotNet - Sign up for our VB list - was Re: Dot Net, where to start? In-Reply-To: References: <011701c78908$921d83e0$657aa8c0@m6805> Message-ID: <011801c7890b$38635cf0$657aa8c0@m6805> LOL, if you have ever been over on the VB list, you will know that you will not be buried in a landslide of messages. If and when we have a thriving VB.NET community going there we can split the lists in two. I know the right people. The thought right now is that the VB list isn't used anyway so why split it into two unused lists. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, April 27, 2007 4:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DotNet - Sign up for our VB list - was Re: Dot Net,where to start? The problem with that is that VB and VB.Net are vastly different. My impression has always been that the VB forum was more application oriented and not much database interest. I don't want .Net questions buried in a landslide of VB posts, and I'm not coming from VB but from Access to .Net. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, April 27, 2007 1:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DotNet - Sign up for our VB list - was Re: Dot Net,where to start? Everyone interested in VB and .Net please sign up for our VB list. I will be moving my questions and discussions over to that list. http://databaseadvisors.com/mailman/listinfo/dba-vb Thanks. John W. Colby Colby Consulting www.ColbyConsulting.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 jwcolby at colbyconsulting.com Fri Apr 27 15:33:27 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 27 Apr 2007 16:33:27 -0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: References: Message-ID: <011901c7890b$504911c0$657aa8c0@m6805> In playing around with the VB Express I discovered that you can reference an Access FE in a dataset. Doing that allows you to see not only all linked tables, but also all of the queries in the FE. Theoretically this will allow me to build, save and use queries there where I am comfortable until such time as you guys teach me how to build queries inside of VB.Net One thing I am still struggling to figure out is how to move a table from an MDB to SQL Server Express. I have one specific table which is causing heartaches in Access. It uses memo fields and there are LOTS of "locking issues" when users are trying to edit / add these memos. This is a key table, where the user adds dated notes about the claim, so users are in there viewing old notes and adding new notes about phone conversations and other stuff. Microsoft's party line is that these locking issues are often caused by the way memos are stored in pages on the disk and how JET locks these pages during edits. Thus I believe (hope, pray) that if I move that table out to SQL Server the locking issues will go away since SQL Server handles such things entirely differently. A related benefit is that the BE will slim down considerably. These memos constitute well over 250 megabytes of data in a (consolidated) 700 mbyte BE. I could of course simply build the table by hand but I would really like to "just move it", data and all. John W. Colby Colby Consulting www.ColbyConsulting.com From ebarro at verizon.net Fri Apr 27 15:51:59 2007 From: ebarro at verizon.net (Eric Barro) Date: Fri, 27 Apr 2007 13:51:59 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <011901c7890b$504911c0$657aa8c0@m6805> Message-ID: <0JH600LNFCMY68YE@vms048.mailsrvcs.net> Using SQL Management Studio you connect to your SQL Express database where you want the tables to live and then right click the database name and select Tasks->Import Data from the drop down menu. After you select the data source (Microsoft Access) and the file location for the source and the SQL database for the destination, it will create the tables for you. You might have to check indexes and copy and paste your queries (views in SQL). -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, April 27, 2007 1:33 PM To: 'Access Developers discussion and problem solving' Cc: dba-vb at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? In playing around with the VB Express I discovered that you can reference an Access FE in a dataset. Doing that allows you to see not only all linked tables, but also all of the queries in the FE. Theoretically this will allow me to build, save and use queries there where I am comfortable until such time as you guys teach me how to build queries inside of VB.Net One thing I am still struggling to figure out is how to move a table from an MDB to SQL Server Express. I have one specific table which is causing heartaches in Access. It uses memo fields and there are LOTS of "locking issues" when users are trying to edit / add these memos. This is a key table, where the user adds dated notes about the claim, so users are in there viewing old notes and adding new notes about phone conversations and other stuff. Microsoft's party line is that these locking issues are often caused by the way memos are stored in pages on the disk and how JET locks these pages during edits. Thus I believe (hope, pray) that if I move that table out to SQL Server the locking issues will go away since SQL Server handles such things entirely differently. A related benefit is that the BE will slim down considerably. These memos constitute well over 250 megabytes of data in a (consolidated) 700 mbyte BE. I could of course simply build the table by hand but I would really like to "just move it", data and all. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.6.1/777 - Release Date: 4/26/2007 3:23 PM From jwcolby at colbyconsulting.com Fri Apr 27 18:45:34 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 27 Apr 2007 19:45:34 -0400 Subject: [AccessD] Moving your table to SQL Server In-Reply-To: <7d60f23a0704271348k215adach120403fbf818efef@mail.gmail.com> References: <7d60f23a0704271348k215adach120403fbf818efef@mail.gmail.com> Message-ID: <012301c78926$274def50$657aa8c0@m6805> Martin, Really it is just a matter of "how do you do it". I am the kind of person who needs to know the "how it is done" so that I can do it the next time. In SQL Server 2005 Standard Edition there is a wizard that I use but it pretty much sucks (at least how I have used it). Data types are lost, indexes are lost etc. HOLY SMOKE batman! I just ran the SQL Server Migration Assistant for Access and it WORKED! I imported my entire billing database into SQL Server Express. The wizard would not "find" the SQL Server Express database, but if I typed it in "m6805\SQLExpress" it found it. I went out there in advance and created the database itself (no tables). I am IMPRESSED!!! I am actually using my billing database hooked to SQL Server expressed now! WOW! John W. Colby Colby Consulting www.ColbyConsulting.com From carbonnb at gmail.com Fri Apr 27 18:51:30 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 27 Apr 2007 19:51:30 -0400 Subject: [AccessD] DotNet - Sign up for our VB list - was Re: Dot Net, where to start? In-Reply-To: <011801c7890b$38635cf0$657aa8c0@m6805> References: <011701c78908$921d83e0$657aa8c0@m6805> <011801c7890b$38635cf0$657aa8c0@m6805> Message-ID: On 4/27/07, JWColby wrote: > LOL, if you have ever been over on the VB list, you will know that you will > not be buried in a landslide of messages. If and when we have a thriving > VB.NET community going there we can split the lists in two. I know the > right people. The thought right now is that the VB list isn't used Ah, you may KNOW the right people, but can you AFFORD them? :-) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From dwaters at usinternet.com Fri Apr 27 19:16:19 2007 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 27 Apr 2007 19:16:19 -0500 Subject: [AccessD] Moving your table to SQL Server In-Reply-To: <012301c78926$274def50$657aa8c0@m6805> References: <7d60f23a0704271348k215adach120403fbf818efef@mail.gmail.com> <012301c78926$274def50$657aa8c0@m6805> Message-ID: <000301c7892a$72990090$0200a8c0@danwaters> Hi John, SSMA for Access is supposed to require 1 Gb of RAM to work. Does your PC have that much? Did this take an appropriate amount of time? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, April 27, 2007 6:46 PM To: 'Martin' Cc: dba-vb at databaseadvisors.com; 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Moving your table to SQL Server Martin, Really it is just a matter of "how do you do it". I am the kind of person who needs to know the "how it is done" so that I can do it the next time. In SQL Server 2005 Standard Edition there is a wizard that I use but it pretty much sucks (at least how I have used it). Data types are lost, indexes are lost etc. HOLY SMOKE batman! I just ran the SQL Server Migration Assistant for Access and it WORKED! I imported my entire billing database into SQL Server Express. The wizard would not "find" the SQL Server Express database, but if I typed it in "m6805\SQLExpress" it found it. I went out there in advance and created the database itself (no tables). I am IMPRESSED!!! I am actually using my billing database hooked to SQL Server expressed now! WOW! John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Apr 27 19:18:52 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 27 Apr 2007 20:18:52 -0400 Subject: [AccessD] DotNet - Sign up for our VB list - was Re: Dot Net, where to start? In-Reply-To: References: <011701c78908$921d83e0$657aa8c0@m6805><011801c7890b$38635cf0$657aa8c0@m6805> Message-ID: <012401c7892a$d0d748b0$657aa8c0@m6805> >Ah, you may KNOW the right people, but can you AFFORD them? :-) ROTFL. You can't even let me dream that I am important. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, April 27, 2007 7:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DotNet - Sign up for our VB list - was Re: Dot Net,where to start? On 4/27/07, JWColby wrote: > LOL, if you have ever been over on the VB list, you will know that you > will not be buried in a landslide of messages. If and when we have a > thriving VB.NET community going there we can split the lists in two. > I know the right people. The thought right now is that the VB > list isn't used Ah, you may KNOW the right people, but can you AFFORD them? :-) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Fri Apr 27 19:27:52 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 27 Apr 2007 20:27:52 -0400 Subject: [AccessD] DotNet - Sign up for our VB list - was Re: Dot Net, where to start? In-Reply-To: <012401c7892a$d0d748b0$657aa8c0@m6805> References: <011701c78908$921d83e0$657aa8c0@m6805> <011801c7890b$38635cf0$657aa8c0@m6805> <012401c7892a$d0d748b0$657aa8c0@m6805> Message-ID: On 4/27/07, JWColby wrote: > >Ah, you may KNOW the right people, but can you AFFORD them? :-) > > ROTFL. You can't even let me dream that I am important. ;-) Dreams are free John. So dream away...... Actions aren't :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From jwcolby at colbyconsulting.com Fri Apr 27 19:28:39 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Fri, 27 Apr 2007 20:28:39 -0400 Subject: [AccessD] Moving your table to SQL Server In-Reply-To: <000301c7892a$72990090$0200a8c0@danwaters> References: <7d60f23a0704271348k215adach120403fbf818efef@mail.gmail.com><012301c78926$274def50$657aa8c0@m6805> <000301c7892a$72990090$0200a8c0@danwaters> Message-ID: <012501c7892c$2b141050$657aa8c0@m6805> This is my development laptop. It is a 3 year old 3ghz AMD 64 (single core) with 2 gb of ram. The speed was reasonably fast although of course this is not a huge database, either in terms of number of tables, or number of records. I would say it took perhaps 30-60 seconds to do the whole database. Pretty fast IMHO. I will be trying it out on a big database at a client. One table that I really need to move has 250gb of data in a memo field. I'll keep you informed. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, April 27, 2007 8:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Moving your table to SQL Server Hi John, SSMA for Access is supposed to require 1 Gb of RAM to work. Does your PC have that much? Did this take an appropriate amount of time? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Friday, April 27, 2007 6:46 PM To: 'Martin' Cc: dba-vb at databaseadvisors.com; 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Moving your table to SQL Server Martin, Really it is just a matter of "how do you do it". I am the kind of person who needs to know the "how it is done" so that I can do it the next time. In SQL Server 2005 Standard Edition there is a wizard that I use but it pretty much sucks (at least how I have used it). Data types are lost, indexes are lost etc. HOLY SMOKE batman! I just ran the SQL Server Migration Assistant for Access and it WORKED! I imported my entire billing database into SQL Server Express. The wizard would not "find" the SQL Server Express database, but if I typed it in "m6805\SQLExpress" it found it. I went out there in advance and created the database itself (no tables). I am IMPRESSED!!! I am actually using my billing database hooked to SQL Server expressed now! WOW! John W. Colby Colby Consulting www.ColbyConsulting.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 prodevmg at yahoo.com Sat Apr 28 07:34:03 2007 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Sat, 28 Apr 2007 05:34:03 -0700 (PDT) Subject: [AccessD] Printing an Access Report from ASP.Net solution Message-ID: <748602.65677.qm@web33105.mail.mud.yahoo.com> Is there a way to use an Access database report in an asp.net solution? I have a report that is pretty complicated, I want to be able to use some type of automation and send the report object to the user's printer from an asp.net 2.0 application. Thanks in advance. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From Gustav at cactus.dk Sun Apr 29 06:26:39 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 29 Apr 2007 13:26:39 +0200 Subject: [AccessD] Visual Studio Standard 2005 won't install Message-ID: Hi all I found out that if on cd-rom, it _is_ a two-disk set. A friend provided the missing disk 2, so now I have VS2005 installed and running. /gustav >>> Gustav at cactus.dk 26-04-2007 16:28 >>> Hi all Anyone having the Action Pack? Finally, the above title arrived but it won't install. It keeps popping a message: Please insert the disk: Microsoft Visual Studio 2005 Standard Edition - ENU Disk 2 but there is no disk 2. This appears during the very first install item, "Microsoft Visual Studio 2005", and the file ..\Common7\Tools\VDT\vdt80.dll I've browsed all over the net and can find some hints mostly related to downloaded images burned/saved to cd/iso with wrong titles, but this is the original cd which doesn't carry any info that it should be "Disk 1". I've also tried to copy to cd to a folder and install from that, and also to disable antivirus but to no avail. I had VB 2005 Express and Web Express installed (with no errors) but those were uninstalled first. Any hints? /gustav From Gustav at cactus.dk Sun Apr 29 06:32:00 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 29 Apr 2007 13:32:00 +0200 Subject: [AccessD] Dot Net, where to start? Message-ID: Hi Arthur Is that so, Arthur? You have 2005 Reporting Services in mind? /gustav >>> shamil at users.mns.ru 27-04-2007 18:15 >>> Hi Gustav, AFAIU Arthur means MS SQL 2000 or 2005 Reporting Services - correct Arthur? The VS2005 IDE designer for report running via these services seems to be available in VS2005 Standard Edition: http://msdn2.microsoft.com/ru-ru/vstudio/aa700921.aspx I'd think Crystal Reports is more powerful (more feature rich I mean) than MS SQL Reporting Services but I must say I just played a little bit with MS SQL 2000 Reporting Services and I have never used this technology in real life development and therefore I can be wrong in what I'm telling here about it (Arthur please correct me) unlike CR, which I used in real life projects and yes, it was RPITA to get on speed with it after MS Access but as I noted already I think CR is more powerful and flexible report designer/engine than MS Access... Of course it all depends on task to be developed - in some cases MS Acecss reporting is all you need. But if you aim at many deployment scenarios of your reporting solutions then CR is one of the best. I have heard (and Charlotte approves that here) that Active Reports is also very good (I did "touch" it one time in the past - and it looked more easy to start with it than with CR but my customer was "CR-infected" therefore I was forced to work with CR)... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 27, 2007 7:53 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Arthur, Shamil, Charlotte and John Now I'm slightly confused. I would prefer to believe in Arthur's words as I like John don't have the VS 2005 Pro version, but I have to listen to Shamil and Charlotte in this matter. For most of the projects I may encounter, reporting will be an important part. Or are we talking about reporting "power" in different directions? /gustav >>> fuller.artful at gmail.com 27-04-2007 16:55 >>> Are you kidding? The report stuff in VS 2005 is killer technology! It blows Access and Crystal and various other contenders out of the water. IMO it is the definitive reporting technology extant. A. On 4/27/07, JWColby wrote: > > Gustav, > > I am at the same place. I own a copy of VS2005 and SQL Server 2005 (got it > at the coming out party) so I can go there if I wish. I have it installed > and have played with it quite a bit over the last two years or so. > > I am actually considering working in the VB.Net express until I come up to > speed on that, then make the move to VS2005. The express stuff is free and > provides all the functionality that I can understand for the moment anyway. > Once I get that down, then I will be ready to learn the stuff that the > express versions do not provide. > > As for reporting, that is a show stopper, especially when you come from > Access which is one of the better report generators out there. I am > actually considering simply using automation to continue using Access as a > report generator for the moment. Again, once I come up to speed on the .Net > stuff, then I can re-examine my options. From fuller.artful at gmail.com Sun Apr 29 09:23:09 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 29 Apr 2007 10:23:09 -0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: References: Message-ID: <29f585dd0704290723g5d6c2560v3022ec5f33b33c33@mail.gmail.com> Yes, RS is what I had in mind. There is an interesting shift in paradigm, if you're used to working with Access and including all your reports inside the app itself. Although you could kludge up some method of calling the reports from within your app, typically that's not what you'd do. You'd deploy them to a target server and send a link to the users, and they could use any browser to display/print the reports. Now that I'm more used to the idea, I like it a lot better. Back in the days when I worked at that travel agency, there must have been a couple of hundred reports. It got so ridiculous I sometimes had to ask the users how to navigate to the place from which you could print some report. The killer feature in RS, from my point of view, aside from the neat wizards and the very nice crosstab designer, is the drill-down. Over the years, I have been asked for that ability a hundred times, and had little to respond except to say, "I can't do it in Access." To be sure, this capability is a teensy bit counter-intuitive, but a few trial runs and a willingness to experiment will convince you, I think. Arthur On 4/29/07, Gustav Brock wrote: > > Hi Arthur > > Is that so, Arthur? You have 2005 Reporting Services in mind? > > /gustav > > >>> shamil at users.mns.ru 27-04-2007 18:15 >>> > Hi Gustav, > > AFAIU Arthur means MS SQL 2000 or 2005 Reporting Services - correct > Arthur? > The VS2005 IDE designer for report running via these services seems to be > available in VS2005 Standard Edition: > http://msdn2.microsoft.com/ru-ru/vstudio/aa700921.aspx > > I'd think Crystal Reports is more powerful (more feature rich I mean) than > MS SQL Reporting Services but I must say I just played a little bit with > MS > SQL 2000 Reporting Services and I have never used this technology in real > life development and therefore I can be wrong in what I'm telling here > about > it (Arthur please correct me) unlike CR, which I used in real life > projects > and yes, it was RPITA to get on speed with it after MS Access but as I > noted > already I think CR is more powerful and flexible report designer/engine > than > MS Access... > From fuller.artful at gmail.com Sun Apr 29 10:48:00 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 29 Apr 2007 11:48:00 -0400 Subject: [AccessD] Access 2007 Navigation bar Message-ID: <29f585dd0704290848l15f8b55aoc6648d9a0768efe1@mail.gmail.com> Can anyone point me at a tutorial or sample code or something that illustrates how to customize the navigation bar? I don't find the list of tables and forms and reports particularly useful, except in terms of development. I have more in mind a sort of hierarchical series, vaguely like the classic switchboard technology but much more useful. Something along the lines of: Customers Browse Customers New Customer Print Customer Labels Top Ten Customers Email selected Customers Products ... ... etc. TIA, Arthur From Gustav at cactus.dk Sun Apr 29 11:33:22 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 29 Apr 2007 18:33:22 +0200 Subject: [AccessD] Dot Net, where to start? Message-ID: Hi Arthur et al Yes, this is indeed another paradigm. However, users more and more often request reports as files, and having a server engine to unload your report generation is certainly not a bad thing. I located these pages on Reporting Services: How to install RS for SQL Server 2005 Express: http://msdn2.microsoft.com/en-us/library/ms365250.aspx http://msdn2.microsoft.com/en-us/library/ms365166.aspx Download the toolkit to install RS: http://msdn.microsoft.com/vstudio/express/sql/download/ Some elaborate examples: http://msdn2.microsoft.com/en-us/library/aa964128.aspx Note that Reporting Services for Express is somewhat crippled compared to the standard version - mostly regarding connection to remote databases and options for file export. /gustav >>> fuller.artful at gmail.com 29-04-2007 16:23 >>> Yes, RS is what I had in mind. There is an interesting shift in paradigm, if you're used to working with Access and including all your reports inside the app itself. Although you could kludge up some method of calling the reports from within your app, typically that's not what you'd do. You'd deploy them to a target server and send a link to the users, and they could use any browser to display/print the reports. Now that I'm more used to the idea, I like it a lot better. Back in the days when I worked at that travel agency, there must have been a couple of hundred reports. It got so ridiculous I sometimes had to ask the users how to navigate to the place from which you could print some report. The killer feature in RS, from my point of view, aside from the neat wizards and the very nice crosstab designer, is the drill-down. Over the years, I have been asked for that ability a hundred times, and had little to respond except to say, "I can't do it in Access." To be sure, this capability is a teensy bit counter-intuitive, but a few trial runs and a willingness to experiment will convince you, I think. Arthur On 4/29/07, Gustav Brock wrote: > > Hi Arthur > > Is that so, Arthur? You have 2005 Reporting Services in mind? > > /gustav > > >>> shamil at users.mns.ru 27-04-2007 18:15 >>> > Hi Gustav, > > AFAIU Arthur means MS SQL 2000 or 2005 Reporting Services - correct > Arthur? > The VS2005 IDE designer for report running via these services seems to be > available in VS2005 Standard Edition: > http://msdn2.microsoft.com/ru-ru/vstudio/aa700921.aspx > > I'd think Crystal Reports is more powerful (more feature rich I mean) than > MS SQL Reporting Services but I must say I just played a little bit with MS > SQL 2000 Reporting Services and I have never used this technology in real > life development and therefore I can be wrong in what I'm telling here about > it (Arthur please correct me) unlike CR, which I used in real life projects > and yes, it was RPITA to get on speed with it after MS Access but as I noted > already I think CR is more powerful and flexible report designer/engine than > MS Access... From mwp.reid at qub.ac.uk Sun Apr 29 11:42:23 2007 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sun, 29 Apr 2007 17:42:23 +0100 Subject: [AccessD] Access 2007 Navigation bar References: <29f585dd0704290848l15f8b55aoc6648d9a0768efe1@mail.gmail.com> Message-ID: Arthur Look up RibbonX there is a lot of stuff on the web. This site is great and Patrick has a lovely developer tool available to customise the ribbon for you. http://pschmid.net/blog/category/office-2007/ribbonx/ Basically you create a system table used to hold the XML files used to create the menus or now Ribbons. http://msdn2.microsoft.com/en-us/library/aa338202.aspx This site is great http://www.accessribbon.de/en/?Access_-_Ribbons Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974465 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Arthur Fuller Sent: Sun 29/04/2007 16:48 To: Access Developers discussion and problem solving Subject: [AccessD] Access 2007 Navigation bar Can anyone point me at a tutorial or sample code or something that illustrates how to customize the navigation bar? I don't find the list of tables and forms and reports particularly useful, except in terms of development. I have more in mind a sort of hierarchical series, vaguely like the classic switchboard technology but much more useful. Something along the lines of: Customers Browse Customers New Customer Print Customer Labels Top Ten Customers Email selected Customers Products ... ... etc. TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Sun Apr 29 12:06:23 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 29 Apr 2007 13:06:23 -0400 Subject: [AccessD] Access 2007 Navigation bar In-Reply-To: References: <29f585dd0704290848l15f8b55aoc6648d9a0768efe1@mail.gmail.com> Message-ID: <29f585dd0704291006m6bd3fb99qfd98a0a797de918e@mail.gmail.com> Thanks, Martin! I'll check all these sites out. Incidentally, it's been a while since I did anything in Access. Lately I've been doing a lot of tech-docs and learning UML 2.1 and Java and Perl and Python. (When deciding it's time to learn a new language, I always choose several rather than just one.) Anyway, what is the current state of Access 2007 and ADP file format? (I could look it up but hey, you're here. If the ADP is still supported, how does it react to SQL 2005 databases and the new features available, such as the revamped schema definition -- one of my favourite features! I totally love this feature. I have a single database in which I store all the code for my SQL Tips column, and whenever I start a new subject, I create a schema for it, which subdivides the tables etc. in a most beautiful way. I haven't tried to connect to a SQL2005 db with Access 2007 yet, but I am most interested in how it will respond to schemas. Unfortunately, that exercise will have to wait. I have other fish to fry (about to post a message to dba-Tech hoping for insight on said larger fish). Arthur On 4/29/07, Martin Reid wrote: > > Arthur > > Look up RibbonX there is a lot of stuff on the web. This site is great and > Patrick has a lovely developer tool available to customise the ribbon for > you. > > http://pschmid.net/blog/category/office-2007/ribbonx/ > > Basically you create a system table used to hold the XML files used to > create the menus or now Ribbons. > > > http://msdn2.microsoft.com/en-us/library/aa338202.aspx > > This site is great > > http://www.accessribbon.de/en/?Access_-_Ribbons > > Martin > > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974465 > > > ________________________________ > > From: accessd-bounces at databaseadvisors.com on behalf of Arthur Fuller > Sent: Sun 29/04/2007 16:48 > To: Access Developers discussion and problem solving > Subject: [AccessD] Access 2007 Navigation bar > > > > Can anyone point me at a tutorial or sample code or something that > illustrates how to customize the navigation bar? I don't find the list of > tables and forms and reports particularly useful, except in terms of > development. I have more in mind a sort of hierarchical series, vaguely > like > the classic switchboard technology but much more useful. Something along > the > lines of: > > Customers > Browse Customers > New Customer > Print Customer Labels > Top Ten Customers > Email selected Customers > > Products > ... > ... > > etc. > > TIA, > Arthur > -- > 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 mwp.reid at qub.ac.uk Sun Apr 29 13:08:25 2007 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sun, 29 Apr 2007 19:08:25 +0100 Subject: [AccessD] Access 2007 Navigation bar References: <29f585dd0704290848l15f8b55aoc6648d9a0768efe1@mail.gmail.com> <29f585dd0704291006m6bd3fb99qfd98a0a797de918e@mail.gmail.com> Message-ID: Arthur Still supported unless you use any of the new SQLS erver 2005 data types. MS is making a huge push towards the world using linked tables. Fromwhat I see they are also making a huge push towards Access being used to work ofline with SharePoint list data. Both areas will I would guess receive more focus than ADPs as Acecss moves forward towards .NET and SharePoint. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974465 ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Arthur Fuller Sent: Sun 29/04/2007 18:06 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 Navigation bar Thanks, Martin! I'll check all these sites out. Incidentally, it's been a while since I did anything in Access. Lately I've been doing a lot of tech-docs and learning UML 2.1 and Java and Perl and Python. (When deciding it's time to learn a new language, I always choose several rather than just one.) Anyway, what is the current state of Access 2007 and ADP file format? (I could look it up but hey, you're here. If the ADP is still supported, how does it react to SQL 2005 databases and the new features available, such as the revamped schema definition -- one of my favourite features! I totally love this feature. I have a single database in which I store all the code for my SQL Tips column, and whenever I start a new subject, I create a schema for it, which subdivides the tables etc. in a most beautiful way. I haven't tried to connect to a SQL2005 db with Access 2007 yet, but I am most interested in how it will respond to schemas. Unfortunately, that exercise will have to wait. I have other fish to fry (about to post a message to dba-Tech hoping for insight on said larger fish). Arthur On 4/29/07, Martin Reid wrote: > > Arthur > > Look up RibbonX there is a lot of stuff on the web. This site is great and > Patrick has a lovely developer tool available to customise the ribbon for > you. > > http://pschmid.net/blog/category/office-2007/ribbonx/ > > Basically you create a system table used to hold the XML files used to > create the menus or now Ribbons. > > > http://msdn2.microsoft.com/en-us/library/aa338202.aspx > > This site is great > > http://www.accessribbon.de/en/?Access_-_Ribbons > > Martin > > > Martin WP Reid > Training and Assessment Unit > Riddle Hall > Belfast > > tel: 02890 974465 > > > ________________________________ > > From: accessd-bounces at databaseadvisors.com on behalf of Arthur Fuller > Sent: Sun 29/04/2007 16:48 > To: Access Developers discussion and problem solving > Subject: [AccessD] Access 2007 Navigation bar > > > > Can anyone point me at a tutorial or sample code or something that > illustrates how to customize the navigation bar? I don't find the list of > tables and forms and reports particularly useful, except in terms of > development. I have more in mind a sort of hierarchical series, vaguely > like > the classic switchboard technology but much more useful. Something along > the > lines of: > > Customers > Browse Customers > New Customer > Print Customer Labels > Top Ten Customers > Email selected Customers > > Products > ... > ... > > etc. > > TIA, > Arthur > -- > 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 From shamil at users.mns.ru Sun Apr 29 13:57:07 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 29 Apr 2007 22:57:07 +0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <29f585dd0704290723g5d6c2560v3022ec5f33b33c33@mail.gmail.com> Message-ID: <001101c78a90$34fe1920$6401a8c0@nant> <<< The killer feature in RS, from my point of view, aside from the neat wizards and the very nice crosstab designer, is the drill-down. >>> Hi Arthur, Drill-down is one of the very often used feature of Crystal Reports reports too - my guess MS RS "borrowed: this feature from CR... BTW, MS Access 2007 Reports are more like forms now (one can program click and other events processing - right Martin?) therefore my guess is that one may try to simulate drill-down with MS Access 2007 reports and maybe next MS Access version will have native drill-down feature... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, April 29, 2007 6:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Yes, RS is what I had in mind. There is an interesting shift in paradigm, if you're used to working with Access and including all your reports inside the app itself. Although you could kludge up some method of calling the reports from within your app, typically that's not what you'd do. You'd deploy them to a target server and send a link to the users, and they could use any browser to display/print the reports. Now that I'm more used to the idea, I like it a lot better. Back in the days when I worked at that travel agency, there must have been a couple of hundred reports. It got so ridiculous I sometimes had to ask the users how to navigate to the place from which you could print some report. The killer feature in RS, from my point of view, aside from the neat wizards and the very nice crosstab designer, is the drill-down. Over the years, I have been asked for that ability a hundred times, and had little to respond except to say, "I can't do it in Access." To be sure, this capability is a teensy bit counter-intuitive, but a few trial runs and a willingness to experiment will convince you, I think. Arthur On 4/29/07, Gustav Brock wrote: > > Hi Arthur > > Is that so, Arthur? You have 2005 Reporting Services in mind? > > /gustav > > >>> shamil at users.mns.ru 27-04-2007 18:15 >>> > Hi Gustav, > > AFAIU Arthur means MS SQL 2000 or 2005 Reporting Services - correct > Arthur? > The VS2005 IDE designer for report running via these services seems to be > available in VS2005 Standard Edition: > http://msdn2.microsoft.com/ru-ru/vstudio/aa700921.aspx > > I'd think Crystal Reports is more powerful (more feature rich I mean) than > MS SQL Reporting Services but I must say I just played a little bit with > MS > SQL 2000 Reporting Services and I have never used this technology in real > life development and therefore I can be wrong in what I'm telling here > about > it (Arthur please correct me) unlike CR, which I used in real life > projects > and yes, it was RPITA to get on speed with it after MS Access but as I > noted > already I think CR is more powerful and flexible report designer/engine > than > MS Access... > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Apr 29 14:10:08 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 29 Apr 2007 14:10:08 -0500 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <001101c78a90$34fe1920$6401a8c0@nant> References: <29f585dd0704290723g5d6c2560v3022ec5f33b33c33@mail.gmail.com> <001101c78a90$34fe1920$6401a8c0@nant> Message-ID: <001101c78a92$026796b0$0200a8c0@danwaters> In Access, I once made a drill-down chart using Web Components. I think it was actually a form instead of a report, but that didn't matter. It was a few years ago and I don't remember the details anymore. Has anyone else done this? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, April 29, 2007 1:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? <<< The killer feature in RS, from my point of view, aside from the neat wizards and the very nice crosstab designer, is the drill-down. >>> Hi Arthur, Drill-down is one of the very often used feature of Crystal Reports reports too - my guess MS RS "borrowed: this feature from CR... BTW, MS Access 2007 Reports are more like forms now (one can program click and other events processing - right Martin?) therefore my guess is that one may try to simulate drill-down with MS Access 2007 reports and maybe next MS Access version will have native drill-down feature... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, April 29, 2007 6:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Yes, RS is what I had in mind. There is an interesting shift in paradigm, if you're used to working with Access and including all your reports inside the app itself. Although you could kludge up some method of calling the reports from within your app, typically that's not what you'd do. You'd deploy them to a target server and send a link to the users, and they could use any browser to display/print the reports. Now that I'm more used to the idea, I like it a lot better. Back in the days when I worked at that travel agency, there must have been a couple of hundred reports. It got so ridiculous I sometimes had to ask the users how to navigate to the place from which you could print some report. The killer feature in RS, from my point of view, aside from the neat wizards and the very nice crosstab designer, is the drill-down. Over the years, I have been asked for that ability a hundred times, and had little to respond except to say, "I can't do it in Access." To be sure, this capability is a teensy bit counter-intuitive, but a few trial runs and a willingness to experiment will convince you, I think. Arthur On 4/29/07, Gustav Brock wrote: > > Hi Arthur > > Is that so, Arthur? You have 2005 Reporting Services in mind? > > /gustav > > >>> shamil at users.mns.ru 27-04-2007 18:15 >>> > Hi Gustav, > > AFAIU Arthur means MS SQL 2000 or 2005 Reporting Services - correct > Arthur? > The VS2005 IDE designer for report running via these services seems to be > available in VS2005 Standard Edition: > http://msdn2.microsoft.com/ru-ru/vstudio/aa700921.aspx > > I'd think Crystal Reports is more powerful (more feature rich I mean) than > MS SQL Reporting Services but I must say I just played a little bit with > MS > SQL 2000 Reporting Services and I have never used this technology in real > life development and therefore I can be wrong in what I'm telling here > about > it (Arthur please correct me) unlike CR, which I used in real life > projects > and yes, it was RPITA to get on speed with it after MS Access but as I > noted > already I think CR is more powerful and flexible report designer/engine > than > MS Access... > -- 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 kp at sdsonline.net Sun Apr 29 21:31:55 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Mon, 30 Apr 2007 12:31:55 +1000 Subject: [AccessD] Dot Net, where to start? References: Message-ID: <00aa01c78acf$b96d7450$6501a8c0@office> Charlotte - any chance of stepping us dot net newbies thru an example of what you mean? Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Saturday, April 28, 2007 2:18 AM Subject: Re: [AccessD] Dot Net, where to start? The chapters on ADO.Net give a good overview of datasets, data providers and the actual relational objects (tables, views, etc.), and it also compares ADO.Net and ADO as well. But I haven't seen any books describing the data tier structures in the way we built them. Most of the books start with directly binding a form to a data adapter, and we work the other way around. We build data "entities" that implement typed datasets and expose the behaviors and methods we need. We can then drop one of those entities on a form or report to provide the data connections we need. The working code is actually in a dataprovider class with the entity containing calls to the dataprovider and even to other entities if need be. Our model has evolved as we developed the apps and figured out what worked, and we have "refactored" (a much overused work in our shop) the bits and pieces many times over the course of the past two years. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 27, 2007 8:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Charlotte That is so true; database handling is a key point. Also, I've seen so much poor code from web programmers that just know how to connect to a database and think that's it. That book, does it explain in depth of n-tier which I feel is very important and powerful? And is your data tier built on that code or did you create it from scratch? /gustav >>> cfoust at infostatsystems.com 27-04-2007 17:10 >>> But courses like that don't focus on Gustav's main issue, databases. Rick Dobson has a couple of books out that can be helpful in that area: "Programming SQL Server 2000 with Visual Vasic .Net" and "Programming Microsoft Visual Basic .Net for Microsoft Access Databases". The big thing to get your head around is n-tier programming, which we didn't do in Access. The books tend to go straight to dataadapters and so forth and don't generally discuss the structure of a data tier. We created a data tier that is a code representation of the underlying data structure. We can then code to that abstraction regardless of whether we have access to the actual data at the time. Very handy. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, April 27, 2007 7:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Go to GotDotNet and download all the samples. Do it relatively quickly since MS has decided to phase out this site. Also go to Visual Studio Magazine and CodePlex. There is a very good intro book called VB.NET JumpStart (google vbJumpStart and you should get to the downloadable code). I found this book so good that I am currently thinking that .NET is even easier than Access. Arthur -- 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 michael at ddisolutions.com.au Mon Apr 30 02:20:55 2007 From: michael at ddisolutions.com.au (Michael Maddison) Date: Mon, 30 Apr 2007 17:20:55 +1000 Subject: [AccessD] Printing an Access Report from ASP.Net solution References: <748602.65677.qm@web33105.mail.mud.yahoo.com> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D012896A7@ddi-01.DDI.local> Hi Lonnie, No one seems to have responded so I'll give you my inexpert opinion... The easy part is using Automation to fire up Access and run the report, this is a server side function. The hard part is printing to the users printer. This is fundamentally not a server side operation. How many web sites actually print to your printer? Short answer... None. Not without downloading and installing an active-x control or similar. So, I would recommend using Crystal Rpts for the report. Use the CR viewer control and let them print it if they want. BTW I dislike CR but in the .net world it is the most straightforward solution sometimes. If you must use Access them maybe output as a snapshot and let the user download and print. Messy. Also if you have a lot of traffic I doubt you'd want a whole bunch of Access instances clogging up the works on your web server ;-) HTH cheers Michael M Subject: [AccessD] Printing an Access Report from ASP.Net solution Is there a way to use an Access database report in an asp.net solution? I have a report that is pretty complicated, I want to be able to use some type of automation and send the report object to the user's printer from an asp.net 2.0 application. Thanks in advance. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Apr 30 07:00:44 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 30 Apr 2007 14:00:44 +0200 Subject: [AccessD] Dot Net, where to start? Message-ID: Hi Charlotte Yes, that sounds like a learning experience. /gustav >>> kp at sdsonline.net 30-04-2007 04:31 >>> Charlotte - any chance of stepping us dot net newbies thru an example of what you mean? Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Saturday, April 28, 2007 2:18 AM Subject: Re: [AccessD] Dot Net, where to start? The chapters on ADO.Net give a good overview of datasets, data providers and the actual relational objects (tables, views, etc.), and it also compares ADO.Net and ADO as well. But I haven't seen any books describing the data tier structures in the way we built them. Most of the books start with directly binding a form to a data adapter, and we work the other way around. We build data "entities" that implement typed datasets and expose the behaviors and methods we need. We can then drop one of those entities on a form or report to provide the data connections we need. The working code is actually in a dataprovider class with the entity containing calls to the dataprovider and even to other entities if need be. Our model has evolved as we developed the apps and figured out what worked, and we have "refactored" (a much overused work in our shop) the bits and pieces many times over the course of the past two years. Charlotte Foust From markamatte at hotmail.com Mon Apr 30 10:30:24 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 30 Apr 2007 15:30:24 +0000 Subject: [AccessD] Reports to Excel In-Reply-To: <00aa01c78acf$b96d7450$6501a8c0@office> Message-ID: Hello All, I have an A97 db. Is there a way to export to excel and control what color the header row is in excel? Thanks, Mark A. Matte _________________________________________________________________ Interest Rates NEAR 39yr LOWS! $430,000 Mortgage for $1,299/mo - Calculate new payment http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9632-19132&moid=14888 From jwcolby at colbyconsulting.com Mon Apr 30 10:48:17 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 30 Apr 2007 11:48:17 -0400 Subject: [AccessD] Reports to Excel In-Reply-To: References: <00aa01c78acf$b96d7450$6501a8c0@office> Message-ID: <005501c78b3e$f8df85a0$657aa8c0@m6805> Automation. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Monday, April 30, 2007 11:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Reports to Excel Hello All, I have an A97 db. Is there a way to export to excel and control what color the header row is in excel? Thanks, Mark A. Matte _________________________________________________________________ Interest Rates NEAR 39yr LOWS! $430,000 Mortgage for $1,299/mo - Calculate new payment http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9632-19132&moid=14888 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Apr 30 12:54:51 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 30 Apr 2007 10:54:51 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: References: Message-ID: Does it belong in this list? Also, there are differences between VS 2003 and VS 2005 when it comes to creating typed datasets. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 30, 2007 5:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Charlotte Yes, that sounds like a learning experience. /gustav >>> kp at sdsonline.net 30-04-2007 04:31 >>> Charlotte - any chance of stepping us dot net newbies thru an example of what you mean? Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Saturday, April 28, 2007 2:18 AM Subject: Re: [AccessD] Dot Net, where to start? The chapters on ADO.Net give a good overview of datasets, data providers and the actual relational objects (tables, views, etc.), and it also compares ADO.Net and ADO as well. But I haven't seen any books describing the data tier structures in the way we built them. Most of the books start with directly binding a form to a data adapter, and we work the other way around. We build data "entities" that implement typed datasets and expose the behaviors and methods we need. We can then drop one of those entities on a form or report to provide the data connections we need. The working code is actually in a dataprovider class with the entity containing calls to the dataprovider and even to other entities if need be. Our model has evolved as we developed the apps and figured out what worked, and we have "refactored" (a much overused work in our shop) the bits and pieces many times over the course of the past two years. Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Mon Apr 30 13:14:16 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 30 Apr 2007 18:14:16 +0000 Subject: [AccessD] Reports to Excel In-Reply-To: <005501c78b3e$f8df85a0$657aa8c0@m6805> Message-ID: Thanks John, Got it all 'pretty' and stuff. The only thing left...I need to a put border around each cell??? Any hints? Thanks, Mark A. Matte >From: "JWColby" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Reports to Excel >Date: Mon, 30 Apr 2007 11:48:17 -0400 > >Automation. > > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Monday, April 30, 2007 11:30 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Reports to Excel > >Hello All, > >I have an A97 db. Is there a way to export to excel and control what color >the header row is in excel? > >Thanks, > >Mark A. Matte > >_________________________________________________________________ >Interest Rates NEAR 39yr LOWS! $430,000 Mortgage for $1,299/mo - Calculate >new payment >http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9632-19132&moid=14888 > >-- >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 _________________________________________________________________ Mortgage rates near historic lows. Refinance $200,000 loan for as low as $771/month* https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h27f8&disc=y&vers=689&s=4056&p=5117 From Jim.Hale at FleetPride.com Mon Apr 30 14:00:59 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 30 Apr 2007 14:00:59 -0500 Subject: [AccessD] Reports to Excel Message-ID: . Use the macro recorder in Excel to create the code. You can transfer the resulting code to Access, add an Excel application object, clean up the code if necessary and you are good to go. The macro recorder doesn't generate the prettiest code but it is great at pointing you in the right direction by telling you which objects to use. HTH Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Monday, April 30, 2007 1:14 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Reports to Excel Thanks John, Got it all 'pretty' and stuff. The only thing left...I need to a put border around each cell??? Any hints? Thanks, Mark A. Matte >From: "JWColby" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Reports to Excel >Date: Mon, 30 Apr 2007 11:48:17 -0400 > >Automation. > > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Monday, April 30, 2007 11:30 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Reports to Excel > >Hello All, > >I have an A97 db. Is there a way to export to excel and control what >color the header row is in excel? > >Thanks, > >Mark A. Matte > >_________________________________________________________________ *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From accessd at shaw.ca Mon Apr 30 14:51:06 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 30 Apr 2007 12:51:06 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: Message-ID: <0JHB006MNTMD9X70@l-daemon> Hi All: My 2 cents on this is that most if not all developers on the Access List are working on or/and will be moving towards Dot Net at one point. I see the progress more as a migration process something like a 90 degree turn not as a 180. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 30, 2007 10:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Does it belong in this list? Also, there are differences between VS 2003 and VS 2005 when it comes to creating typed datasets. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 30, 2007 5:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Charlotte Yes, that sounds like a learning experience. /gustav >>> kp at sdsonline.net 30-04-2007 04:31 >>> Charlotte - any chance of stepping us dot net newbies thru an example of what you mean? Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Saturday, April 28, 2007 2:18 AM Subject: Re: [AccessD] Dot Net, where to start? The chapters on ADO.Net give a good overview of datasets, data providers and the actual relational objects (tables, views, etc.), and it also compares ADO.Net and ADO as well. But I haven't seen any books describing the data tier structures in the way we built them. Most of the books start with directly binding a form to a data adapter, and we work the other way around. We build data "entities" that implement typed datasets and expose the behaviors and methods we need. We can then drop one of those entities on a form or report to provide the data connections we need. The working code is actually in a dataprovider class with the entity containing calls to the dataprovider and even to other entities if need be. Our model has evolved as we developed the apps and figured out what worked, and we have "refactored" (a much overused work in our shop) the bits and pieces many times over the course of the past two years. Charlotte Foust -- 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 jwcolby at colbyconsulting.com Mon Apr 30 15:21:08 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 30 Apr 2007 16:21:08 -0400 Subject: [AccessD] Reports to Excel In-Reply-To: References: Message-ID: <006a01c78b65$16aa5d50$657aa8c0@m6805> EXACTLY how I do it. Turn on the macro recorder, do the action (border / background / whatever) turn off the macro recorder, view the code. After that what you do depends on how you want to do the automation. The easiest way is to create a "template" workbook and create the macro in it, then just call the macro (really a sub IIRC) when you are ready to execute that code. As Jim mentioned, you might want to clean up the code, but you don't have to. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, April 30, 2007 3:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Reports to Excel . Use the macro recorder in Excel to create the code. You can transfer the resulting code to Access, add an Excel application object, clean up the code if necessary and you are good to go. The macro recorder doesn't generate the prettiest code but it is great at pointing you in the right direction by telling you which objects to use. HTH Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Monday, April 30, 2007 1:14 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Reports to Excel Thanks John, Got it all 'pretty' and stuff. The only thing left...I need to a put border around each cell??? Any hints? Thanks, Mark A. Matte >From: "JWColby" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Reports to Excel >Date: Mon, 30 Apr 2007 11:48:17 -0400 > >Automation. > > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Monday, April 30, 2007 11:30 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Reports to Excel > >Hello All, > >I have an A97 db. Is there a way to export to excel and control what >color the header row is in excel? > >Thanks, > >Mark A. Matte > >_________________________________________________________________ *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Apr 30 15:42:06 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 30 Apr 2007 16:42:06 -0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <0JHB006MNTMD9X70@l-daemon> References: <0JHB006MNTMD9X70@l-daemon> Message-ID: <006b01c78b68$04a684f0$657aa8c0@m6805> >I see the progress more as a migration process something like a 90 degree turn not as a 180. And of course that depends on how much programming you do in VBA. The more you do, the harder it is in one sense and the easier in another. It is harder because you already get so much accomplished so quickly in VBA and can't believe how tough it is to get anything done in VB.Net (at first anyway). The easier it is in the sense that you are already an accomplished programmer and "only" have to come up to speed on the differences. If only there weren't so many damned differences!!! I am trying to take the contents of a text box and place it into a single variable. Uhh-Uhhhh! In VBA you would get an automatic conversion but in VBA it (apparently) tries to stuff a control type into a single type and complains vigorously. Now ya'd think that if there is a textbox.ToString method there would be a ToSingle method right? I'm back to screaming "just do what I WANT, NOT what I SAY!!!". My computer yells back, and it isn't something I can repeat in public. And of course, in X thousands of hours all that will be behind me and I will type VB.NET code the way I type VBA code now. Forgetting all the pain (that is the human mind for ya) I will wonder why I didn't convert years ago. In the meantime I have ordered massive quantities of painkillers from my favorite internet pharmacy using those spam emails I receive so many of every week. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, April 30, 2007 3:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? Hi All: My 2 cents on this is that most if not all developers on the Access List are working on or/and will be moving towards Dot Net at one point. I see the progress more as a migration process something like a 90 degree turn not as a 180. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 30, 2007 10:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Does it belong in this list? Also, there are differences between VS 2003 and VS 2005 when it comes to creating typed datasets. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 30, 2007 5:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Charlotte Yes, that sounds like a learning experience. /gustav >>> kp at sdsonline.net 30-04-2007 04:31 >>> Charlotte - any chance of stepping us dot net newbies thru an example of what you mean? Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Saturday, April 28, 2007 2:18 AM Subject: Re: [AccessD] Dot Net, where to start? The chapters on ADO.Net give a good overview of datasets, data providers and the actual relational objects (tables, views, etc.), and it also compares ADO.Net and ADO as well. But I haven't seen any books describing the data tier structures in the way we built them. Most of the books start with directly binding a form to a data adapter, and we work the other way around. We build data "entities" that implement typed datasets and expose the behaviors and methods we need. We can then drop one of those entities on a form or report to provide the data connections we need. The working code is actually in a dataprovider class with the entity containing calls to the dataprovider and even to other entities if need be. Our model has evolved as we developed the apps and figured out what worked, and we have "refactored" (a much overused work in our shop) the bits and pieces many times over the course of the past two years. Charlotte Foust -- 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 From markamatte at hotmail.com Mon Apr 30 15:44:51 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 30 Apr 2007 20:44:51 +0000 Subject: [AccessD] Reports to Excel In-Reply-To: <006a01c78b65$16aa5d50$657aa8c0@m6805> Message-ID: Thanks Jim and John, I used... ".Columns.Borders.Color = vbBlack" ...and this seemed to do the trick... The export will have a different number of columns and rows each time. The above method puts a border around every cell in the worksheet...not just the data. If I could isolate just the cells with data...it might look better...but this will get me by. The 'macro recording' gave me a longer approach...but it was dependant on a range...which I'm not sure how to get. Any ideas? Thanks, Mark A. Matte >From: "JWColby" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Reports to Excel >Date: Mon, 30 Apr 2007 16:21:08 -0400 > >EXACTLY how I do it. Turn on the macro recorder, do the action (border / >background / whatever) turn off the macro recorder, view the code. After >that what you do depends on how you want to do the automation. The easiest >way is to create a "template" workbook and create the macro in it, then >just >call the macro (really a sub IIRC) when you are ready to execute that code. > >As Jim mentioned, you might want to clean up the code, but you don't have >to. > > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim >Sent: Monday, April 30, 2007 3:01 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Reports to Excel > >. Use the macro recorder in Excel to create the >code. >You can transfer the resulting code to Access, add an Excel application >object, clean up the code if necessary and you are good to go. The macro >recorder doesn't generate the prettiest code but it is great at pointing >you >in the right direction by telling you which objects to use. HTH Jim Hale > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Monday, April 30, 2007 1:14 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Reports to Excel > > > >Thanks John, > >Got it all 'pretty' and stuff. The only thing left...I need to a put >border > >around each cell??? Any hints? > >Thanks, > >Mark A. Matte > > >From: "JWColby" > >Reply-To: Access Developers discussion and problem > >solving > >To: "'Access Developers discussion and problem > >solving'" > >Subject: Re: [AccessD] Reports to Excel > >Date: Mon, 30 Apr 2007 11:48:17 -0400 > > > >Automation. > > > > > >John W. Colby > >Colby Consulting > >www.ColbyConsulting.com > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > >Sent: Monday, April 30, 2007 11:30 AM > >To: accessd at databaseadvisors.com > >Subject: [AccessD] Reports to Excel > > > >Hello All, > > > >I have an A97 db. Is there a way to export to excel and control what > >color the header row is in excel? > > > >Thanks, > > > >Mark A. Matte > > > >_________________________________________________________________ > >*********************************************************************** >The information transmitted is intended solely for the individual or entity >to which it is addressed and may contain confidential and/or privileged >material. Any review, retransmission, dissemination or other use of or >taking action in reliance upon this information by persons or entities >other >than the intended recipient is prohibited. >If you have received this email in error please contact the sender and >delete the material from any computer. As a recipient of this email, you >are >responsible for screening its contents and the contents of any attachments >for the presence of viruses. No liability is accepted for any damages >caused >by any virus transmitted by this email. >-- >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 _________________________________________________________________ Download Messenger. Join the i?m Initiative. Help make a difference today. http://im.live.com/messenger/im/home/?source=TAGHM_APR07 From fuller.artful at gmail.com Mon Apr 30 15:54:24 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 30 Apr 2007 16:54:24 -0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <006b01c78b68$04a684f0$657aa8c0@m6805> References: <0JHB006MNTMD9X70@l-daemon> <006b01c78b68$04a684f0$657aa8c0@m6805> Message-ID: <29f585dd0704301354u14a34c5bj230a528a3cd990e9@mail.gmail.com> Everything is an object, JC. You of all people ought to be most receptive to that concept. When migrating code from .NET 2003 to .NET 2005, and it crashed, I just jumped in and added ".ToString()" to the offending variable. It worked almost all the time. E.g. An array is an object not a structure. Easy to get over once you realize it. For those just diving in, my friend and colleague Joe and I both heartily recommend vbJumpStart, which is a very Hands-On, step by step guide that doesn't waste time with 100 inanities that in all likelihood I will never use. In Chapter 3 of vbJumpStart you are already building master-detail-detail forms. That's the sort of thing that appeals to Access developers, I ween. Arthur On 4/30/07, JWColby wrote: > > >I see the progress more as a migration process something like a 90 degree > turn not as a 180. > > And of course that depends on how much programming you do in VBA. The > more > you do, the harder it is in one sense and the easier in another. It is > harder because you already get so much accomplished so quickly in VBA and > can't believe how tough it is to get anything done in VB.Net (at first > anyway). The easier it is in the sense that you are already an > accomplished > programmer and "only" have to come up to speed on the differences. > > If only there weren't so many damned differences!!! I am trying to take > the > contents of a text box and place it into a single > variable. Uhh-Uhhhh! In > VBA you would get an automatic conversion but in VBA it (apparently) tries > to stuff a control type into a single type and complains vigorously. Now > ya'd think that if there is a textbox.ToString method there would be a > ToSingle method right? > > I'm back to screaming "just do what I WANT, NOT what I SAY!!!". My > computer > yells back, and it isn't something I can repeat in public. > > And of course, in X thousands of hours all that will be behind me and I > will > type VB.NET code the way I type VBA code now. Forgetting all the pain > (that > is the human mind for ya) I will wonder why I didn't convert years ago. > > In the meantime I have ordered massive quantities of painkillers from my > favorite internet pharmacy using those spam emails I receive so many of > every week. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Monday, April 30, 2007 3:51 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Dot Net, where to start? > > Hi All: > > My 2 cents on this is that most if not all developers on the Access List > are > working on or/and will be moving towards Dot Net at one point. I see the > progress more as a migration process something like a 90 degree turn not > as > a 180. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, April 30, 2007 10:55 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Dot Net, where to start? > > Does it belong in this list? Also, there are differences between VS > 2003 and VS 2005 when it comes to creating typed datasets. > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Monday, April 30, 2007 5:01 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Dot Net, where to start? > > Hi Charlotte > > Yes, that sounds like a learning experience. > > /gustav > > >>> kp at sdsonline.net 30-04-2007 04:31 >>> > Charlotte - any chance of stepping us dot net newbies thru an example of > what you mean? > > Kath > ----- Original Message ----- > From: Charlotte Foust > To: Access Developers discussion and problem solving > Sent: Saturday, April 28, 2007 2:18 AM > Subject: Re: [AccessD] Dot Net, where to start? > > > The chapters on ADO.Net give a good overview of datasets, data providers > and the actual relational objects (tables, views, etc.), and it also > compares ADO.Net and ADO as well. But I haven't seen any books > describing the data tier structures in the way we built them. Most of > the books start with directly binding a form to a data adapter, and we > work the other way around. We build data "entities" that implement > typed datasets and expose the behaviors and methods we need. We can > then drop one of those entities on a form or report to provide the data > connections we need. The working code is actually in a dataprovider > class with the entity containing calls to the dataprovider and even to > other entities if need be. > > Our model has evolved as we developed the apps and figured out what > worked, and we have "refactored" (a much overused work in our shop) the > bits and pieces many times over the course of the past two years. > > Charlotte Foust > > > > -- > 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 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dwaters at usinternet.com Mon Apr 30 15:55:56 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 30 Apr 2007 15:55:56 -0500 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <006b01c78b68$04a684f0$657aa8c0@m6805> References: <0JHB006MNTMD9X70@l-daemon> <006b01c78b68$04a684f0$657aa8c0@m6805> Message-ID: <002801c78b69$f348a600$0200a8c0@danwaters> Ya know, Since about the time VB.Net was published, I get a lot more spam emails. Hmmmmm . . . Dan ;-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 30, 2007 3:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? >I see the progress more as a migration process something like a 90 degree turn not as a 180. And of course that depends on how much programming you do in VBA. The more you do, the harder it is in one sense and the easier in another. It is harder because you already get so much accomplished so quickly in VBA and can't believe how tough it is to get anything done in VB.Net (at first anyway). The easier it is in the sense that you are already an accomplished programmer and "only" have to come up to speed on the differences. If only there weren't so many damned differences!!! I am trying to take the contents of a text box and place it into a single variable. Uhh-Uhhhh! In VBA you would get an automatic conversion but in VBA it (apparently) tries to stuff a control type into a single type and complains vigorously. Now ya'd think that if there is a textbox.ToString method there would be a ToSingle method right? I'm back to screaming "just do what I WANT, NOT what I SAY!!!". My computer yells back, and it isn't something I can repeat in public. And of course, in X thousands of hours all that will be behind me and I will type VB.NET code the way I type VBA code now. Forgetting all the pain (that is the human mind for ya) I will wonder why I didn't convert years ago. In the meantime I have ordered massive quantities of painkillers from my favorite internet pharmacy using those spam emails I receive so many of every week. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, April 30, 2007 3:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? Hi All: My 2 cents on this is that most if not all developers on the Access List are working on or/and will be moving towards Dot Net at one point. I see the progress more as a migration process something like a 90 degree turn not as a 180. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 30, 2007 10:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Does it belong in this list? Also, there are differences between VS 2003 and VS 2005 when it comes to creating typed datasets. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 30, 2007 5:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Charlotte Yes, that sounds like a learning experience. /gustav >>> kp at sdsonline.net 30-04-2007 04:31 >>> Charlotte - any chance of stepping us dot net newbies thru an example of what you mean? Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Saturday, April 28, 2007 2:18 AM Subject: Re: [AccessD] Dot Net, where to start? The chapters on ADO.Net give a good overview of datasets, data providers and the actual relational objects (tables, views, etc.), and it also compares ADO.Net and ADO as well. But I haven't seen any books describing the data tier structures in the way we built them. Most of the books start with directly binding a form to a data adapter, and we work the other way around. We build data "entities" that implement typed datasets and expose the behaviors and methods we need. We can then drop one of those entities on a form or report to provide the data connections we need. The working code is actually in a dataprovider class with the entity containing calls to the dataprovider and even to other entities if need be. Our model has evolved as we developed the apps and figured out what worked, and we have "refactored" (a much overused work in our shop) the bits and pieces many times over the course of the past two years. Charlotte Foust -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Apr 30 15:54:31 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 30 Apr 2007 13:54:31 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <006b01c78b68$04a684f0$657aa8c0@m6805> References: <0JHB006MNTMD9X70@l-daemon> <006b01c78b68$04a684f0$657aa8c0@m6805> Message-ID: In .Net, you ALWAYS have to think about what you're instructing the language to do. You can't rely on the default methods or properties the way we could in Access, so if you want to populate a textbox, you use the Value property. I've worked in it long enough so that I find it easier than Access in almost every way and when I go back to Access, I keep looking for things I can't find there! It never becomes as effortless as Access code because the object model is much vaster, and you don't have the advantage of DAO being optimized for the UI to save time and effort. We (like a lot of shops) use some 3rd party tools instead of the basic Windows controls and reports. The 3rd party tools are heavily enhanced versions of the built in stuff with far more control available to the programmer. If you think .Net looks intimidating, take a look at Infragistics controls and the levels of properties you have to work with! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 30, 2007 1:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? >I see the progress more as a migration process something like a 90 >degree turn not as a 180. And of course that depends on how much programming you do in VBA. The more you do, the harder it is in one sense and the easier in another. It is harder because you already get so much accomplished so quickly in VBA and can't believe how tough it is to get anything done in VB.Net (at first anyway). The easier it is in the sense that you are already an accomplished programmer and "only" have to come up to speed on the differences. If only there weren't so many damned differences!!! I am trying to take the contents of a text box and place it into a single variable. Uhh-Uhhhh! In VBA you would get an automatic conversion but in VBA it (apparently) tries to stuff a control type into a single type and complains vigorously. Now ya'd think that if there is a textbox.ToString method there would be a ToSingle method right? I'm back to screaming "just do what I WANT, NOT what I SAY!!!". My computer yells back, and it isn't something I can repeat in public. And of course, in X thousands of hours all that will be behind me and I will type VB.NET code the way I type VBA code now. Forgetting all the pain (that is the human mind for ya) I will wonder why I didn't convert years ago. In the meantime I have ordered massive quantities of painkillers from my favorite internet pharmacy using those spam emails I receive so many of every week. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, April 30, 2007 3:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? Hi All: My 2 cents on this is that most if not all developers on the Access List are working on or/and will be moving towards Dot Net at one point. I see the progress more as a migration process something like a 90 degree turn not as a 180. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 30, 2007 10:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Does it belong in this list? Also, there are differences between VS 2003 and VS 2005 when it comes to creating typed datasets. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 30, 2007 5:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Charlotte Yes, that sounds like a learning experience. /gustav >>> kp at sdsonline.net 30-04-2007 04:31 >>> Charlotte - any chance of stepping us dot net newbies thru an example of what you mean? Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Saturday, April 28, 2007 2:18 AM Subject: Re: [AccessD] Dot Net, where to start? The chapters on ADO.Net give a good overview of datasets, data providers and the actual relational objects (tables, views, etc.), and it also compares ADO.Net and ADO as well. But I haven't seen any books describing the data tier structures in the way we built them. Most of the books start with directly binding a form to a data adapter, and we work the other way around. We build data "entities" that implement typed datasets and expose the behaviors and methods we need. We can then drop one of those entities on a form or report to provide the data connections we need. The working code is actually in a dataprovider class with the entity containing calls to the dataprovider and even to other entities if need be. Our model has evolved as we developed the apps and figured out what worked, and we have "refactored" (a much overused work in our shop) the bits and pieces many times over the course of the past two years. Charlotte Foust -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Apr 30 16:00:02 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 30 Apr 2007 17:00:02 -0400 Subject: [AccessD] Reports to Excel In-Reply-To: References: <006a01c78b65$16aa5d50$657aa8c0@m6805> Message-ID: <007201c78b6a$85cf5460$657aa8c0@m6805> When I was exporting data to a range, and the rows/columns varied, I looked at the source recordset which can tell me the rowcount and (using dao anyway) the number of fields in the fields collection of the recordset object which is the width. I then built the range on-the-fly using a starting position and the row/columns info. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Monday, April 30, 2007 4:45 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Reports to Excel Thanks Jim and John, I used... ".Columns.Borders.Color = vbBlack" ...and this seemed to do the trick... The export will have a different number of columns and rows each time. The above method puts a border around every cell in the worksheet...not just the data. If I could isolate just the cells with data...it might look better...but this will get me by. The 'macro recording' gave me a longer approach...but it was dependant on a range...which I'm not sure how to get. Any ideas? Thanks, Mark A. Matte >From: "JWColby" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Reports to Excel >Date: Mon, 30 Apr 2007 16:21:08 -0400 > >EXACTLY how I do it. Turn on the macro recorder, do the action (border >/ background / whatever) turn off the macro recorder, view the code. >After that what you do depends on how you want to do the automation. >The easiest way is to create a "template" workbook and create the macro >in it, then just call the macro (really a sub IIRC) when you are ready >to execute that code. > >As Jim mentioned, you might want to clean up the code, but you don't >have to. > > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim >Sent: Monday, April 30, 2007 3:01 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Reports to Excel > >. Use the macro recorder in Excel to create the >code. >You can transfer the resulting code to Access, add an Excel application >object, clean up the code if necessary and you are good to go. The >macro recorder doesn't generate the prettiest code but it is great at >pointing you in the right direction by telling you which objects to >use. HTH Jim Hale > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Monday, April 30, 2007 1:14 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Reports to Excel > > > >Thanks John, > >Got it all 'pretty' and stuff. The only thing left...I need to a put >border > >around each cell??? Any hints? > >Thanks, > >Mark A. Matte > > >From: "JWColby" > >Reply-To: Access Developers discussion and problem > >solving > >To: "'Access Developers discussion and problem > >solving'" > >Subject: Re: [AccessD] Reports to Excel > >Date: Mon, 30 Apr 2007 11:48:17 -0400 > > > >Automation. > > > > > >John W. Colby > >Colby Consulting > >www.ColbyConsulting.com > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A > >Matte > >Sent: Monday, April 30, 2007 11:30 AM > >To: accessd at databaseadvisors.com > >Subject: [AccessD] Reports to Excel > > > >Hello All, > > > >I have an A97 db. Is there a way to export to excel and control what > >color the header row is in excel? > > > >Thanks, > > > >Mark A. Matte > > > >_________________________________________________________________ > >*********************************************************************** >The information transmitted is intended solely for the individual or >entity to which it is addressed and may contain confidential and/or >privileged material. Any review, retransmission, dissemination or other >use of or taking action in reliance upon this information by persons or >entities other than the intended recipient is prohibited. >If you have received this email in error please contact the sender and >delete the material from any computer. As a recipient of this email, >you are responsible for screening its contents and the contents of any >attachments for the presence of viruses. No liability is accepted for >any damages caused by any virus transmitted by this email. >-- >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 _________________________________________________________________ Download Messenger. Join the im Initiative. Help make a difference today. http://im.live.com/messenger/im/home/?source=TAGHM_APR07 From jwcolby at colbyconsulting.com Mon Apr 30 16:06:27 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 30 Apr 2007 17:06:27 -0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <29f585dd0704301354u14a34c5bj230a528a3cd990e9@mail.gmail.com> References: <0JHB006MNTMD9X70@l-daemon> <006b01c78b68$04a684f0$657aa8c0@m6805> <29f585dd0704301354u14a34c5bj230a528a3cd990e9@mail.gmail.com> Message-ID: <007301c78b6b$6b55b8d0$657aa8c0@m6805> >...heartily recommend vbJumpStart Hey, I already have that book. I guess it's time to read it eh? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, April 30, 2007 4:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Everything is an object, JC. You of all people ought to be most receptive to that concept. When migrating code from .NET 2003 to .NET 2005, and it crashed, I just jumped in and added ".ToString()" to the offending variable. It worked almost all the time. E.g. An array is an object not a structure. Easy to get over once you realize it. For those just diving in, my friend and colleague Joe and I both heartily recommend vbJumpStart, which is a very Hands-On, step by step guide that doesn't waste time with 100 inanities that in all likelihood I will never use. In Chapter 3 of vbJumpStart you are already building master-detail-detail forms. That's the sort of thing that appeals to Access developers, I ween. Arthur On 4/30/07, JWColby wrote: > > >I see the progress more as a migration process something like a 90 > >degree > turn not as a 180. > > And of course that depends on how much programming you do in VBA. The > more you do, the harder it is in one sense and the easier in another. > It is harder because you already get so much accomplished so quickly > in VBA and can't believe how tough it is to get anything done in > VB.Net (at first anyway). The easier it is in the sense that you are > already an accomplished programmer and "only" have to come up to speed > on the differences. > > If only there weren't so many damned differences!!! I am trying to > take the contents of a text box and place it into a single variable. > Uhh-Uhhhh! In VBA you would get an automatic conversion but in VBA it > (apparently) tries to stuff a control type into a single type and > complains vigorously. Now ya'd think that if there is a > textbox.ToString method there would be a ToSingle method right? > > I'm back to screaming "just do what I WANT, NOT what I SAY!!!". My > computer yells back, and it isn't something I can repeat in public. > > And of course, in X thousands of hours all that will be behind me and > I will type VB.NET code the way I type VBA code now. Forgetting all > the pain (that is the human mind for ya) I will wonder why I didn't > convert years ago. > > In the meantime I have ordered massive quantities of painkillers from > my favorite internet pharmacy using those spam emails I receive so > many of every week. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim > Lawrence > Sent: Monday, April 30, 2007 3:51 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Dot Net, where to start? > > Hi All: > > My 2 cents on this is that most if not all developers on the Access > List are working on or/and will be moving towards Dot Net at one > point. I see the progress more as a migration process something like a > 90 degree turn not as a 180. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Monday, April 30, 2007 10:55 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Dot Net, where to start? > > Does it belong in this list? Also, there are differences between VS > 2003 and VS 2005 when it comes to creating typed datasets. > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock > Sent: Monday, April 30, 2007 5:01 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Dot Net, where to start? > > Hi Charlotte > > Yes, that sounds like a learning experience. > > /gustav > > >>> kp at sdsonline.net 30-04-2007 04:31 >>> > Charlotte - any chance of stepping us dot net newbies thru an example > of what you mean? > > Kath > ----- Original Message ----- > From: Charlotte Foust > To: Access Developers discussion and problem solving > Sent: Saturday, April 28, 2007 2:18 AM > Subject: Re: [AccessD] Dot Net, where to start? > > > The chapters on ADO.Net give a good overview of datasets, data > providers and the actual relational objects (tables, views, etc.), and > it also compares ADO.Net and ADO as well. But I haven't seen any > books describing the data tier structures in the way we built them. > Most of the books start with directly binding a form to a data > adapter, and we work the other way around. We build data "entities" > that implement typed datasets and expose the behaviors and methods we > need. We can then drop one of those entities on a form or report to > provide the data connections we need. The working code is actually in > a dataprovider class with the entity containing calls to the > dataprovider and even to other entities if need be. > > Our model has evolved as we developed the apps and figured out what > worked, and we have "refactored" (a much overused work in our shop) > the bits and pieces many times over the course of the past two years. > > Charlotte Foust > > > > -- > 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 > > -- > 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 jwcolby at colbyconsulting.com Mon Apr 30 16:08:25 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 30 Apr 2007 17:08:25 -0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: References: <0JHB006MNTMD9X70@l-daemon><006b01c78b68$04a684f0$657aa8c0@m6805> Message-ID: <007401c78b6b$b1fc1e00$657aa8c0@m6805> >It never becomes as effortless as Access code because ... So you are dooming me to a life of screaming and internet pain killers? 8~( John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 30, 2007 4:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? In .Net, you ALWAYS have to think about what you're instructing the language to do. You can't rely on the default methods or properties the way we could in Access, so if you want to populate a textbox, you use the Value property. I've worked in it long enough so that I find it easier than Access in almost every way and when I go back to Access, I keep looking for things I can't find there! It never becomes as effortless as Access code because the object model is much vaster, and you don't have the advantage of DAO being optimized for the UI to save time and effort. We (like a lot of shops) use some 3rd party tools instead of the basic Windows controls and reports. The 3rd party tools are heavily enhanced versions of the built in stuff with far more control available to the programmer. If you think .Net looks intimidating, take a look at Infragistics controls and the levels of properties you have to work with! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 30, 2007 1:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? >I see the progress more as a migration process something like a 90 >degree turn not as a 180. And of course that depends on how much programming you do in VBA. The more you do, the harder it is in one sense and the easier in another. It is harder because you already get so much accomplished so quickly in VBA and can't believe how tough it is to get anything done in VB.Net (at first anyway). The easier it is in the sense that you are already an accomplished programmer and "only" have to come up to speed on the differences. If only there weren't so many damned differences!!! I am trying to take the contents of a text box and place it into a single variable. Uhh-Uhhhh! In VBA you would get an automatic conversion but in VBA it (apparently) tries to stuff a control type into a single type and complains vigorously. Now ya'd think that if there is a textbox.ToString method there would be a ToSingle method right? I'm back to screaming "just do what I WANT, NOT what I SAY!!!". My computer yells back, and it isn't something I can repeat in public. And of course, in X thousands of hours all that will be behind me and I will type VB.NET code the way I type VBA code now. Forgetting all the pain (that is the human mind for ya) I will wonder why I didn't convert years ago. In the meantime I have ordered massive quantities of painkillers from my favorite internet pharmacy using those spam emails I receive so many of every week. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, April 30, 2007 3:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? Hi All: My 2 cents on this is that most if not all developers on the Access List are working on or/and will be moving towards Dot Net at one point. I see the progress more as a migration process something like a 90 degree turn not as a 180. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 30, 2007 10:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Does it belong in this list? Also, there are differences between VS 2003 and VS 2005 when it comes to creating typed datasets. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 30, 2007 5:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Charlotte Yes, that sounds like a learning experience. /gustav >>> kp at sdsonline.net 30-04-2007 04:31 >>> Charlotte - any chance of stepping us dot net newbies thru an example of what you mean? Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Saturday, April 28, 2007 2:18 AM Subject: Re: [AccessD] Dot Net, where to start? The chapters on ADO.Net give a good overview of datasets, data providers and the actual relational objects (tables, views, etc.), and it also compares ADO.Net and ADO as well. But I haven't seen any books describing the data tier structures in the way we built them. Most of the books start with directly binding a form to a data adapter, and we work the other way around. We build data "entities" that implement typed datasets and expose the behaviors and methods we need. We can then drop one of those entities on a form or report to provide the data connections we need. The working code is actually in a dataprovider class with the entity containing calls to the dataprovider and even to other entities if need be. Our model has evolved as we developed the apps and figured out what worked, and we have "refactored" (a much overused work in our shop) the bits and pieces many times over the course of the past two years. Charlotte Foust -- 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 -- 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 cfoust at infostatsystems.com Mon Apr 30 16:24:30 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 30 Apr 2007 14:24:30 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <007401c78b6b$b1fc1e00$657aa8c0@m6805> References: <0JHB006MNTMD9X70@l-daemon><006b01c78b68$04a684f0$657aa8c0@m6805> <007401c78b6b$b1fc1e00$657aa8c0@m6805> Message-ID: Hey, *I* didn't force you to become a programmer!! LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 30, 2007 2:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? >It never becomes as effortless as Access code because ... So you are dooming me to a life of screaming and internet pain killers? 8~( John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 30, 2007 4:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? In .Net, you ALWAYS have to think about what you're instructing the language to do. You can't rely on the default methods or properties the way we could in Access, so if you want to populate a textbox, you use the Value property. I've worked in it long enough so that I find it easier than Access in almost every way and when I go back to Access, I keep looking for things I can't find there! It never becomes as effortless as Access code because the object model is much vaster, and you don't have the advantage of DAO being optimized for the UI to save time and effort. We (like a lot of shops) use some 3rd party tools instead of the basic Windows controls and reports. The 3rd party tools are heavily enhanced versions of the built in stuff with far more control available to the programmer. If you think .Net looks intimidating, take a look at Infragistics controls and the levels of properties you have to work with! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 30, 2007 1:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? >I see the progress more as a migration process something like a 90 >degree turn not as a 180. And of course that depends on how much programming you do in VBA. The more you do, the harder it is in one sense and the easier in another. It is harder because you already get so much accomplished so quickly in VBA and can't believe how tough it is to get anything done in VB.Net (at first anyway). The easier it is in the sense that you are already an accomplished programmer and "only" have to come up to speed on the differences. If only there weren't so many damned differences!!! I am trying to take the contents of a text box and place it into a single variable. Uhh-Uhhhh! In VBA you would get an automatic conversion but in VBA it (apparently) tries to stuff a control type into a single type and complains vigorously. Now ya'd think that if there is a textbox.ToString method there would be a ToSingle method right? I'm back to screaming "just do what I WANT, NOT what I SAY!!!". My computer yells back, and it isn't something I can repeat in public. And of course, in X thousands of hours all that will be behind me and I will type VB.NET code the way I type VBA code now. Forgetting all the pain (that is the human mind for ya) I will wonder why I didn't convert years ago. In the meantime I have ordered massive quantities of painkillers from my favorite internet pharmacy using those spam emails I receive so many of every week. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, April 30, 2007 3:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? Hi All: My 2 cents on this is that most if not all developers on the Access List are working on or/and will be moving towards Dot Net at one point. I see the progress more as a migration process something like a 90 degree turn not as a 180. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 30, 2007 10:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Does it belong in this list? Also, there are differences between VS 2003 and VS 2005 when it comes to creating typed datasets. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 30, 2007 5:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Charlotte Yes, that sounds like a learning experience. /gustav >>> kp at sdsonline.net 30-04-2007 04:31 >>> Charlotte - any chance of stepping us dot net newbies thru an example of what you mean? Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Saturday, April 28, 2007 2:18 AM Subject: Re: [AccessD] Dot Net, where to start? The chapters on ADO.Net give a good overview of datasets, data providers and the actual relational objects (tables, views, etc.), and it also compares ADO.Net and ADO as well. But I haven't seen any books describing the data tier structures in the way we built them. Most of the books start with directly binding a form to a data adapter, and we work the other way around. We build data "entities" that implement typed datasets and expose the behaviors and methods we need. We can then drop one of those entities on a form or report to provide the data connections we need. The working code is actually in a dataprovider class with the entity containing calls to the dataprovider and even to other entities if need be. Our model has evolved as we developed the apps and figured out what worked, and we have "refactored" (a much overused work in our shop) the bits and pieces many times over the course of the past two years. Charlotte Foust -- 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 -- 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 From jwcolby at colbyconsulting.com Mon Apr 30 16:35:58 2007 From: jwcolby at colbyconsulting.com (JWColby) Date: Mon, 30 Apr 2007 17:35:58 -0400 Subject: [AccessD] Dot Net, where to start? In-Reply-To: References: <0JHB006MNTMD9X70@l-daemon><006b01c78b68$04a684f0$657aa8c0@m6805> Message-ID: <007501c78b6f$8bb4a150$657aa8c0@m6805> One of my problems with all of the database books is that all assume that you are going to bind to a form. Yea, that is important but once you get past the data input / display, you still have data manipulations to do. I converted the code to find the population within a radius of a zip code. Other than the fact that it took me a dozen hours to cut/paste/fix code that was already written, it appears that something is just slightly off in the calcs. It looks to me like rounding errors across a dozen calcs is causing the numbers to come out slightly larger. Math.sin (for example) has a few decimal points more accuracy (waaay out there to the right) than the VBA cousins and I suspect that it is causing slightly larger values multiplied by slightly larger values ^ slightly larger values to ripple out to significantly larger values. We'll see. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 30, 2007 4:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? In .Net, you ALWAYS have to think about what you're instructing the language to do. You can't rely on the default methods or properties the way we could in Access, so if you want to populate a textbox, you use the Value property. I've worked in it long enough so that I find it easier than Access in almost every way and when I go back to Access, I keep looking for things I can't find there! It never becomes as effortless as Access code because the object model is much vaster, and you don't have the advantage of DAO being optimized for the UI to save time and effort. We (like a lot of shops) use some 3rd party tools instead of the basic Windows controls and reports. The 3rd party tools are heavily enhanced versions of the built in stuff with far more control available to the programmer. If you think .Net looks intimidating, take a look at Infragistics controls and the levels of properties you have to work with! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Monday, April 30, 2007 1:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? >I see the progress more as a migration process something like a 90 >degree turn not as a 180. And of course that depends on how much programming you do in VBA. The more you do, the harder it is in one sense and the easier in another. It is harder because you already get so much accomplished so quickly in VBA and can't believe how tough it is to get anything done in VB.Net (at first anyway). The easier it is in the sense that you are already an accomplished programmer and "only" have to come up to speed on the differences. If only there weren't so many damned differences!!! I am trying to take the contents of a text box and place it into a single variable. Uhh-Uhhhh! In VBA you would get an automatic conversion but in VBA it (apparently) tries to stuff a control type into a single type and complains vigorously. Now ya'd think that if there is a textbox.ToString method there would be a ToSingle method right? I'm back to screaming "just do what I WANT, NOT what I SAY!!!". My computer yells back, and it isn't something I can repeat in public. And of course, in X thousands of hours all that will be behind me and I will type VB.NET code the way I type VBA code now. Forgetting all the pain (that is the human mind for ya) I will wonder why I didn't convert years ago. In the meantime I have ordered massive quantities of painkillers from my favorite internet pharmacy using those spam emails I receive so many of every week. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, April 30, 2007 3:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? Hi All: My 2 cents on this is that most if not all developers on the Access List are working on or/and will be moving towards Dot Net at one point. I see the progress more as a migration process something like a 90 degree turn not as a 180. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 30, 2007 10:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Does it belong in this list? Also, there are differences between VS 2003 and VS 2005 when it comes to creating typed datasets. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 30, 2007 5:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Charlotte Yes, that sounds like a learning experience. /gustav >>> kp at sdsonline.net 30-04-2007 04:31 >>> Charlotte - any chance of stepping us dot net newbies thru an example of what you mean? Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Saturday, April 28, 2007 2:18 AM Subject: Re: [AccessD] Dot Net, where to start? The chapters on ADO.Net give a good overview of datasets, data providers and the actual relational objects (tables, views, etc.), and it also compares ADO.Net and ADO as well. But I haven't seen any books describing the data tier structures in the way we built them. Most of the books start with directly binding a form to a data adapter, and we work the other way around. We build data "entities" that implement typed datasets and expose the behaviors and methods we need. We can then drop one of those entities on a form or report to provide the data connections we need. The working code is actually in a dataprovider class with the entity containing calls to the dataprovider and even to other entities if need be. Our model has evolved as we developed the apps and figured out what worked, and we have "refactored" (a much overused work in our shop) the bits and pieces many times over the course of the past two years. Charlotte Foust -- 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 -- 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 Jim.Hale at FleetPride.com Mon Apr 30 16:44:42 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 30 Apr 2007 16:44:42 -0500 Subject: [AccessD] Dot Net, where to start? Message-ID: "Migration" always brings to mind the thundering herd of wildebeest running hell bent for leather across the savanna- and the crocodiles are just floating in the river waiting, knowing lunch is about to be served. Well, I'm crocodile food, too old and tired to learn new tricks- no way I'm going to burn good hours learning dotnet when I could be using the time more productively to hone my Tx hold'em skills instead. Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, April 30, 2007 2:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dot Net, where to start? Hi All: My 2 cents on this is that most if not all developers on the Access List are working on or/and will be moving towards Dot Net at one point. I see the progress more as a migration process something like a 90 degree turn not as a 180. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, April 30, 2007 10:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? Does it belong in this list? Also, there are differences between VS 2003 and VS 2005 when it comes to creating typed datasets. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 30, 2007 5:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Charlotte Yes, that sounds like a learning experience. /gustav >>> kp at sdsonline.net 30-04-2007 04:31 >>> Charlotte - any chance of stepping us dot net newbies thru an example of what you mean? Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Saturday, April 28, 2007 2:18 AM Subject: Re: [AccessD] Dot Net, where to start? The chapters on ADO.Net give a good overview of datasets, data providers and the actual relational objects (tables, views, etc.), and it also compares ADO.Net and ADO as well. But I haven't seen any books describing the data tier structures in the way we built them. Most of the books start with directly binding a form to a data adapter, and we work the other way around. We build data "entities" that implement typed datasets and expose the behaviors and methods we need. We can then drop one of those entities on a form or report to provide the data connections we need. The working code is actually in a dataprovider class with the entity containing calls to the dataprovider and even to other entities if need be. Our model has evolved as we developed the apps and figured out what worked, and we have "refactored" (a much overused work in our shop) the bits and pieces many times over the course of the past two years. Charlotte Foust -- 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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From galeper at gmail.com Mon Apr 30 17:10:12 2007 From: galeper at gmail.com (Gale Perez) Date: Mon, 30 Apr 2007 15:10:12 -0700 Subject: [AccessD] (1) Text Box Formatted as " >" and (2) function to get user name for Windows Message-ID: <5b2621db0704301510o68d4e9aeu35b66872155cd2dd@mail.gmail.com> Hi! It has been a while since I have developed in Access, and I'm reviewing my old databases (I am very indebted to this group for assistance in developing them). I cannot remember what the ">" character in the Format property of a text box does and hoped someone can tell me. I also had been given a function to get the Novell User Name of a user in order to set user permissions, etc. without having an actual login box (it gets the Novell user name automatically and compares that to the one stored in the table to see if the user is in the database). It works beautifully but now I am working in Windows, and I wondered whether a similar function exists for Windows (XP and other versions). Thank you! Gale From rockysmolin at bchacc.com Mon Apr 30 17:10:21 2007 From: rockysmolin at bchacc.com (rockysmolin at bchacc.com) Date: Mon, 30 Apr 2007 18:10:21 -0400 Subject: [AccessD] Reports to Excel Message-ID: <380-220074130221021550@M2W019.mail2web.com> Mark: My approach is always to start Excel, turn on the macro recorder, do what I want in Excel, turn off the macro recorder, and then crib the code out of Excel and paste into Access. Works every time and I don't have to acutally learn anything. Rocky Original Message: ----------------- From: Mark A Matte markamatte at hotmail.com Date: Mon, 30 Apr 2007 18:14:16 +0000 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Reports to Excel Thanks John, Got it all 'pretty' and stuff. The only thing left...I need to a put border around each cell??? Any hints? Thanks, Mark A. Matte >From: "JWColby" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Reports to Excel >Date: Mon, 30 Apr 2007 11:48:17 -0400 > >Automation. > > >John W. Colby >Colby Consulting >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Monday, April 30, 2007 11:30 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Reports to Excel > >Hello All, > >I have an A97 db. Is there a way to export to excel and control what color >the header row is in excel? > >Thanks, > >Mark A. Matte > >_________________________________________________________________ >Interest Rates NEAR 39yr LOWS! $430,000 Mortgage for $1,299/mo - Calculate >new payment >http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9632-19132&moid=1488 8 > >-- >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 _________________________________________________________________ Mortgage rates near historic lows. Refinance $200,000 loan for as low as $771/month* https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search =mortgage_text_links_88_h27f8&disc=y&vers=689&s=4056&p=5117 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- mail2web.com ? What can On Demand Business Solutions do for you? http://link.mail2web.com/Business/SharePoint From stuart at lexacorp.com.pg Mon Apr 30 17:23:14 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 01 May 2007 08:23:14 +1000 Subject: [AccessD] (1) Text Box Formatted as " >" and (2) function to get user name for Windows In-Reply-To: <5b2621db0704301510o68d4e9aeu35b66872155cd2dd@mail.gmail.com> References: <5b2621db0704301510o68d4e9aeu35b66872155cd2dd@mail.gmail.com> Message-ID: <46366C52.25936.38E67B78@stuart.lexacorp.com.pg> On 30 Apr 2007 at 15:10, Gale Perez wrote: > Hi! > > It has been a while since I have developed in Access, and I'm reviewing my > old databases (I am very indebted to this group for assistance in developing > them). I cannot remember what the ">" character in the Format property of a > text box does and hoped someone can tell me. > Displays characters as upper case. > I also had been given a function to get the Novell User Name of a user in > order to set user permissions, etc. without having an actual login box (it > gets the Novell user name automatically and compares that to the one stored > in the table to see if the user is in the database). It works beautifully > but now I am working in Windows, and I wondered whether a similar function > exists for Windows (XP and other versions). Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long Function UserName() As String Dim strUName As String Dim lngRetVal As Long strUName = Space$(16) lngRetVal = GetUserName(strUName, 16) strUName = Trim$(strUName) 'strip Chr$(0) from end of name UserName = Left$(strUName, Len(strUName) - 1) End Function -- Stuart From martyconnelly at shaw.ca Mon Apr 30 17:48:24 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 30 Apr 2007 15:48:24 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <0JHB006MNTMD9X70@l-daemon> References: <0JHB006MNTMD9X70@l-daemon> Message-ID: <46367238.6060600@shaw.ca> I would suggest, it is somewhere between 90 and 180 degrees, just so it could be an obtuse angle. Jim Lawrence wrote: >Hi All: > >My 2 cents on this is that most if not all developers on the Access List are >working on or/and will be moving towards Dot Net at one point. I see the >progress more as a migration process something like a 90 degree turn not as >a 180. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >Sent: Monday, April 30, 2007 10:55 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Dot Net, where to start? > >Does it belong in this list? Also, there are differences between VS >2003 and VS 2005 when it comes to creating typed datasets. > >Charlotte > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: Monday, April 30, 2007 5:01 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Dot Net, where to start? > >Hi Charlotte > >Yes, that sounds like a learning experience. > >/gustav > > > >>>>kp at sdsonline.net 30-04-2007 04:31 >>> >>>> >>>> >Charlotte - any chance of stepping us dot net newbies thru an example of >what you mean? > >Kath > ----- Original Message ----- > From: Charlotte Foust > To: Access Developers discussion and problem solving > Sent: Saturday, April 28, 2007 2:18 AM > Subject: Re: [AccessD] Dot Net, where to start? > > > The chapters on ADO.Net give a good overview of datasets, data >providers > and the actual relational objects (tables, views, etc.), and it also > compares ADO.Net and ADO as well. But I haven't seen any books > describing the data tier structures in the way we built them. Most of > the books start with directly binding a form to a data adapter, and we > work the other way around. We build data "entities" that implement > typed datasets and expose the behaviors and methods we need. We can > then drop one of those entities on a form or report to provide the >data > connections we need. The working code is actually in a dataprovider > class with the entity containing calls to the dataprovider and even to > other entities if need be. > > Our model has evolved as we developed the apps and figured out what > worked, and we have "refactored" (a much overused work in our shop) >the > bits and pieces many times over the course of the past two years. > > Charlotte Foust > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From mmattys at rochester.rr.com Mon Apr 30 18:25:07 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Mon, 30 Apr 2007 19:25:07 -0400 Subject: [AccessD] Dot Net, where to start? References: <0JHB006MNTMD9X70@l-daemon> <46367238.6060600@shaw.ca> Message-ID: <00e301c78b7e$cb246a50$0302a8c0@Laptop> Good one, Marty! Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Monday, April 30, 2007 6:48 PM Subject: Re: [AccessD] Dot Net, where to start? >I would suggest, it is somewhere between 90 and 180 degrees, > just so it could be an obtuse angle. > > Jim Lawrence wrote: > >>Hi All: >> >>My 2 cents on this is that most if not all developers on the Access List >>are >>working on or/and will be moving towards Dot Net at one point. I see the >>progress more as a migration process something like a 90 degree turn not >>as >>a 180. From ebarro at verizon.net Mon Apr 30 18:31:07 2007 From: ebarro at verizon.net (Eric Barro) Date: Mon, 30 Apr 2007 16:31:07 -0700 Subject: [AccessD] using a saved SSIS with VB.Net In-Reply-To: <004301c7868a$9e6cd590$657aa8c0@m6805> Message-ID: <0JHC007TC404LIX4@vms048.mailsrvcs.net> Have you looked into BULK INSERT in SQL? This is supposed to be a faster data import method. Using T-SQL you can do something like this... CREATE TABLE #tmpEmployees () BULK INSERT #tmpEmployees FROM 'c:\temp\import.csv' WITH (FORMATFILE = 'c:\temp\importCSV.fmt' importCSV.fmt would contain the file format...in this example it's fixed width 8.0 18 1 SQLCHAR 0 5 "" 1 suffix SQL_Latin1_General_CP1_CI_AS 2 SQLCHAR 0 30 "" 2 last_name SQL_Latin1_General_CP1_CI_AS 3 SQLCHAR 0 20 "" 3 first_name SQL_Latin1_General_CP1_CI_AS -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Tuesday, April 24, 2007 9:07 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] using a saved SSIS with VB.Net The CSV file is on the same machine. It appears that the clause that pulls the source table (csv file) into memory is taking a ton of time. These are large files, the smallest are a little under 200 million bytes and the largest are up in the 3 gigabyte range. It appears that SQL Server does not read a few records and append them, but rather reads the whole CSV and then starts appending all of the assembled records. If I were a SQL Server pro I could probably speed this up considerably. Alas, I am not. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Tuesday, April 24, 2007 11:53 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] using a saved SSIS with VB.Net John, One of the keys to getting it into SQL Server faster is to have the CSV file on the server and not on a different machine. Network traffic can kill the process and slow it down significantly. Robert At 10:22 AM 4/24/2007, you wrote: >Date: Tue, 24 Apr 2007 10:32:44 -0400 >From: "JWColby" >Subject: Re: [AccessD] using a saved SSIS with VB.Net >To: "'Access Developers discussion and problem solving'" > >Message-ID: <003101c7867d$6cce93a0$657aa8c0 at m6805> >Content-Type: text/plain; charset="us-ascii" > >Gustav, > >My bigger issue here is that there 56 of these files to import into SQL >Server, supposedly ~100 million records. I have done about 8 million >records so far. I really must get this thing automated such that it >just chunks through these CSV files without my having to be around to >start the next one. I am working now on setting up the append query >using that syntax below into a stored procedure so that I can then just replace the file name. >After that I will need to write something in VB.Net or whatever to >execute the stored procedure feeding in all of the file names from a >specific directory, deleting the file once the stored procedure >finishes the import for a given file. > >I have never written a stored procedure. >Obviously, given the above, I have never called a stored procedure from >code. > >So much to learn, so little time. > >Once this is imported I have to turn right around and export a subset >of fields from the table back out as 1 - 2 million record chunks for >CAS / DPV / NCOA processing, then I have to import THOSE back in to a >new table. > >And when this set of data is finished, I have another set of about the >same size on the way, to which I have to perform the same processes. I >soooooo need to get this process automated. > >John W. Colby -- 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007 5:26 PM From cfoust at infostatsystems.com Mon Apr 30 18:30:43 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 30 Apr 2007 16:30:43 -0700 Subject: [AccessD] Dot Net, where to start? In-Reply-To: <46367238.6060600@shaw.ca> References: <0JHB006MNTMD9X70@l-daemon> <46367238.6060600@shaw.ca> Message-ID: ROTFL Well said! Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, April 30, 2007 3:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dot Net, where to start? I would suggest, it is somewhere between 90 and 180 degrees, just so it could be an obtuse angle. Jim Lawrence wrote: >Hi All: > >My 2 cents on this is that most if not all developers on the Access >List are working on or/and will be moving towards Dot Net at one point. >I see the progress more as a migration process something like a 90 >degree turn not as a 180. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: Monday, April 30, 2007 10:55 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Dot Net, where to start? > >Does it belong in this list? Also, there are differences between VS >2003 and VS 2005 when it comes to creating typed datasets. > >Charlotte > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: Monday, April 30, 2007 5:01 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Dot Net, where to start? > >Hi Charlotte > >Yes, that sounds like a learning experience. > >/gustav > > > >>>>kp at sdsonline.net 30-04-2007 04:31 >>> >>>> >>>> >Charlotte - any chance of stepping us dot net newbies thru an example >of what you mean? > >Kath > ----- Original Message ----- > From: Charlotte Foust > To: Access Developers discussion and problem solving > Sent: Saturday, April 28, 2007 2:18 AM > Subject: Re: [AccessD] Dot Net, where to start? > > > The chapters on ADO.Net give a good overview of datasets, data >providers > and the actual relational objects (tables, views, etc.), and it also > compares ADO.Net and ADO as well. But I haven't seen any books > describing the data tier structures in the way we built them. Most >of > the books start with directly binding a form to a data adapter, and >we > work the other way around. We build data "entities" that implement > typed datasets and expose the behaviors and methods we need. We can > then drop one of those entities on a form or report to provide the >data > connections we need. The working code is actually in a dataprovider > class with the entity containing calls to the dataprovider and even >to > other entities if need be. > > Our model has evolved as we developed the apps and figured out what > worked, and we have "refactored" (a much overused work in our shop) >the > bits and pieces many times over the course of the past two years. > > Charlotte Foust > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kp at sdsonline.net Mon Apr 30 19:33:15 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 1 May 2007 10:33:15 +1000 Subject: [AccessD] Dot Net, where to start? References: Message-ID: <006201c78b88$4f9e3550$6501a8c0@office> Well (she says selfishly) - I would start with 2005. And surely it would be OK if we discussed it on the vb list? That way pure Access could stay on AccessD? Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Tuesday, May 01, 2007 3:54 AM Subject: Re: [AccessD] Dot Net, where to start? Does it belong in this list? Also, there are differences between VS 2003 and VS 2005 when it comes to creating typed datasets. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, April 30, 2007 5:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Dot Net, where to start? Hi Charlotte Yes, that sounds like a learning experience. /gustav >>> kp at sdsonline.net 30-04-2007 04:31 >>> Charlotte - any chance of stepping us dot net newbies thru an example of what you mean? Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Saturday, April 28, 2007 2:18 AM Subject: Re: [AccessD] Dot Net, where to start? The chapters on ADO.Net give a good overview of datasets, data providers and the actual relational objects (tables, views, etc.), and it also compares ADO.Net and ADO as well. But I haven't seen any books describing the data tier structures in the way we built them. Most of the books start with directly binding a form to a data adapter, and we work the other way around. We build data "entities" that implement typed datasets and expose the behaviors and methods we need. We can then drop one of those entities on a form or report to provide the data connections we need. The working code is actually in a dataprovider class with the entity containing calls to the dataprovider and even to other entities if need be. Our model has evolved as we developed the apps and figured out what worked, and we have "refactored" (a much overused work in our shop) the bits and pieces many times over the course of the past two years. Charlotte Foust -- 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 wdhindman at dejpolsystems.com Mon Apr 30 21:21:00 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 30 Apr 2007 22:21:00 -0400 Subject: [AccessD] Dot Net, where to start? References: <0JHB006MNTMD9X70@l-daemon> <46367238.6060600@shaw.ca> Message-ID: <001a01c78b97$5d2e33a0$7d7d6c4c@jisshowsbs.local> ...obtuse, eh ...no wonder JC is so enamored of it :) William Hindman ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Monday, April 30, 2007 6:48 PM Subject: Re: [AccessD] Dot Net, where to start? >I would suggest, it is somewhere between 90 and 180 degrees, > just so it could be an obtuse angle. > > Jim Lawrence wrote: > >>Hi All: >> >>My 2 cents on this is that most if not all developers on the Access List >>are >>working on or/and will be moving towards Dot Net at one point. I see the >>progress more as a migration process something like a 90 degree turn not >>as >>a 180. >> >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >>Sent: Monday, April 30, 2007 10:55 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] Dot Net, where to start? >> >>Does it belong in this list? Also, there are differences between VS >>2003 and VS 2005 when it comes to creating typed datasets. >> >>Charlotte >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >>Sent: Monday, April 30, 2007 5:01 AM >>To: accessd at databaseadvisors.com >>Subject: Re: [AccessD] Dot Net, where to start? >> >>Hi Charlotte >> >>Yes, that sounds like a learning experience. >> >>/gustav >> >> >> >>>>>kp at sdsonline.net 30-04-2007 04:31 >>> >>>>> >>>>> >>Charlotte - any chance of stepping us dot net newbies thru an example of >>what you mean? >> >>Kath >> ----- Original Message ----- >> From: Charlotte Foust >> To: Access Developers discussion and problem solving >> Sent: Saturday, April 28, 2007 2:18 AM >> Subject: Re: [AccessD] Dot Net, where to start? >> >> >> The chapters on ADO.Net give a good overview of datasets, data >>providers >> and the actual relational objects (tables, views, etc.), and it also >> compares ADO.Net and ADO as well. But I haven't seen any books >> describing the data tier structures in the way we built them. Most of >> the books start with directly binding a form to a data adapter, and we >> work the other way around. We build data "entities" that implement >> typed datasets and expose the behaviors and methods we need. We can >> then drop one of those entities on a form or report to provide the >>data >> connections we need. The working code is actually in a dataprovider >> class with the entity containing calls to the dataprovider and even to >> other entities if need be. >> >> Our model has evolved as we developed the apps and figured out what >> worked, and we have "refactored" (a much overused work in our shop) >>the >> bits and pieces many times over the course of the past two years. >> >> Charlotte Foust >> >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > > -- > Marty Connelly > Victoria, B.C. > Canada > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com >