Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: GummowN
  • Content: Threads
  • Order by date
  1. GummowN

    Multiple 1-N Relationships in a Report

    Our universe consists of 1 header table and 4 joined tables (with 1-N relationships to header). When I try to validate the universe - in terms of being sufficiently user friendly for non-technical staff - I find there are problems in adding columns from 2 of the N tables. It is possible if I...
  2. GummowN

    Count from one Table, Sum from another

    Or in other words a left outer join! I have a table where I want the count of the records and another where I want the sum. However not all records in table 1 have records in table 2. The universe has an outer join set-up. But when I create the report the count results are as a inner join...
  3. GummowN

    Access 2003 Bookmark ??

    I am using Access 2003 References VBA Access 11 OLE Automation DAO 3.6 ADO 2.1 Background I have a form from which I kick off another form - which then requeries the original form. I want to store the bookmark and then return to it when the kicked form closes So when the form opens I store...
  4. GummowN

    Error 3709 - Opening ADO Recordset

    See the below code The Msboxes do kick up 3709 and the usual error description Set mcnn = CreateObject("ADODB.Connection") Set pkg = DTSGlobalVariables.Parent Set tsk = pkg.Tasks("DTSTask_DTSExecuteSQLTask_11").CustomTask Set fso = CreateObject("Scripting.FileSystemObject") Set wsh =...
  5. GummowN

    Open Mail with Date in Subject Line

    I know next to nothing about JS but would love a bit of help to overcome a small problem Currently mailto:thursday_footy@footylist.info?subject=Footy: Thursday dd-mmm-yyyy&body=Update dd-mmm-yyyy above and send this with a short message, if you wish. Note: if you're not already...
  6. GummowN

    Selected Text in a Form Textbox

    I want to know whether it is possible to pass a highlighted part of a text box as a variable eg This is a textbox with some text in it. Lets say "textbox with" is highlighted, you right click and select "Custom Action" a Msgbox popups with "textbox with" Any suggestions outside of using the...
  7. GummowN

    Launch Code from Double Click in Word

    I am writing a document that links back to a lot of data in a database - instead of having it all displayed (cumbersomely) in the document I want the user to launch the data from the word document. The code to get the data and display it (in excel) is done - all I want is someway of launching...
  8. GummowN

    Linked Tables - Who is linked to Me???

    I have adopted a number of undocumented databases - all of whom serve multiple purposes. Strange behaviour has been noted in a data table which none of the queries seem capable of achieving. I have checked the code in the databases I know that use the data table and no luck. I know in a Front...
  9. GummowN

    Date Format Not Working as I want

    As I want started off as properly but it is probably something I have missed. I have the following code, but if the date is before the 12th day of the month it swaps to US format dtmMax, so doesnt work. Public Function fncGetMaxStatus(intRequest As Integer) As Integer Dim dtmMax As Date...
  10. GummowN

    Opening Recordset Causes Access to Crash

    I have some code as follows: Set dbs = CurrentDb strSQL = "SELECT tbl_Request.RequestID, tbl_Request.PriorityMIS, " & _ "tbl_MIS.Name, tbl_Request.DateDelivery, tbl_Request.Time " & _ "FROM tbl_MIS INNER JOIN tbl_Request ON tbl_MIS.MISID =...
  11. GummowN

    Using $ in String

    This is another good one for you all to think about. To make my life easier I have a public const in a database that is a network or local path. I use this as the root for all files for the database. All I have to do is change the public const to move the database from dev to live. However...
  12. GummowN

    Closing Another Database using VBA

    When a database is opened it launches another database which performs some timer based tasks which I would rather have running from another database. Come the end of the day the user will close the main database, from here I want the database to also close the other database. IE Look through...
  13. GummowN

    Finding Other Databases

    The powers that be have decided that the method in which a number is calculated should be changed. We have many hundreds of reports generated from a large number of databases. I have written code that scans the SQL of each query in a database and tells me the query and the string it contains...
  14. GummowN

    Updating Local Database Copies

    We have a number of large databases that are used by a few number of users. When I have updated a development copy of a database I copy it into the "live" directory. When the user opens their local copy of the database it runs through the queries, reports, and forms and copies over any...
  15. GummowN

    Error 2455 when tabbing to new record

    This may just me being a complete arse but the following code works fine if you navigate through the records but when you tab from the final field of the form to a the next record you get 2455 invalid reference to the property form/report. Any ideas welcome and thanks in advance Private Sub...
  16. GummowN

    Bookmarks in subform

    I have a form which is used as a cosmetic surround for a datasheet subform. When I double click on a record a popup form is loaded where I can perform various tasks. On closing of this form the subform recalculates and takes me to the top of the list. Is there anyway of preventing this and...
  17. GummowN

    Sorting by Month and Year Date Only

    I am formatting a date column using format(date,"mmm yyyy") and then sorting on the column. Unfortunately it is returning April first. I would like January to still appear first. Any suggestions on this one.
  18. GummowN

    Excel Graphs and Null Values

    This is a fun one for you all. I am exporting data into excel from Access, some of these values are null. I pass this information to management who being management find it difficult to review numbers so instead want pretty pictures. They simply click the Graph Wizard and get confused. They...
  19. GummowN

    Date Formatting Wrong In Query

    Another strange one here. My machine has UK settings for dates. I create a parameter based on a date, I append that into a string which I then use as the string for a query. The string is correct but when the query runs it changes the date to US format. Any ideas. Below is the code intDwn = 6...
  20. GummowN

    Error 3219 - Invalid Operation

    I have the following query: SELECT tblToday.AgRef, tblStatuses.Status, tblStatusGroups.StatusGroup, IIf([OldStatus] Is Null,[NewStatus],[OldStatus]) AS Old_Status, IIf([OldStatusGroup] Is Null,[tblStatusGroups]![StatusGroup],[OldStatusGroup]) AS OldStatusGrp, tblToday.PytsDown...

Part and Inventory Search

Back
Top