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 strongm 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: *

  1. Moss100

    Find unique rent amount and date this was first charged

    Hello I have a table (Accounts) with the following fields DateDue RentAmount This stores rent charged each month. Every so often the rent will be changed (usuually increased). I need to look at the table and record each unique rent value and the date of its FIRST occurance. For example: I...
  2. Moss100

    Open filtered for and set cursor at particular record

    I solved it by adding: Forms("frm_Repair").Form.Recordset.FindFirst "[Repair_ID] = " & _ Forms("frm_Landlord_Properties_Repair").[txt_Repair_ID] & ""
  3. Moss100

    Open filtered for and set cursor at particular record

    Hello, I have a form which shows repairs for properties. I currently open the form from a button and filter results to a particular property using the code below - which works fine. DoCmd.OpenForm "frm_Repair", WhereCondition:="[Prop_ID]= " & Me.Prop_ID The repairs also have a primary key...
  4. Moss100

    Access send email attachments - problem when null or empty

    Thank you all for your input - greatly appreciated - all working now :)
  5. Moss100

    Access send email attachments - problem when null or empty

    Hello I have a Vba module which works fine for sending emails (through outlook). I have the option to attach 2 files in my form. Basically I have textboxs txtattach1 and txtattach2 which hold the file path for each attachment. If both attachements contain a file path then it works no...
  6. Moss100

    Concatenation problem

    Thank you all very much for your help - spot on 👍
  7. Moss100

    Concatenation problem

    Hello, I have added to the end of this concatenation, but can not get it working. I think I have an error after the last AND statement - can anyone help? Thank you Mark Me.Filter = "[Inv_Invoice_Dated] BETWEEN #" & DatStart & "# AND #" & DatEnd & "# AND [Number_Value]<> true AND...
  8. Moss100

    Filter vba problem

    Hello I am trying to make a filter that filters the current form on click of a button. I need it to filter the form by the following criteria LL_Select - is an autonumber which is selected by cbo_LL_Select DateStart - is the start date which is held in textbox txt_DateStart DateEnd - is the...
  9. Moss100

    Remove everything including the comma from the last comma of a string.

    Hello, I need to remove everything from the last comma of a string (including the last comma) So for example I have an address 20 Bright Street, Walsham, England, CH41 0AD And I need: 20 Bright Street, Walsham, England If anyone is able to help me with this it would be great. AND If...
  10. Moss100

    Open New Access Database and Maximise the Application Window

    Hello, I use a database to launch other applications and databases. I call this 'Launcher' The Launcher app has a small window size. When I launch a new database, it then opens in a small application window. It uses the following code: Public Sub fnc_FS_OpenApp(ByRef strDocPath As String)...
  11. Moss100

    Stop user changing size of Access Application (not form)

    Hello, I want to make my database appear floating and compact. I use the following code to prevent the user from using the Maximize Access Application button. Option Compare Database Private Const GWL_STYLE = (-16) Private Const WS_MAXIMIZEBOX = &H10000 Private Declare Function...
  12. Moss100

    Upgrading from Access 2013 - whats the best option

    Thank you for your input. There seems to be little difference between 2019 and 2021 from what I can see. Unless others have a view, I suppose 2021 is worth going for as you would think it would be more debugged??
  13. Moss100

    Upgrading from Access 2013 - whats the best option

    As title, we run a small company on Office 2013 (Access, Outlook and Word mainly) As support has gone, I would apprciate thoughts on whether to upgrade to 2019, 2021 or wait for the next release? We do not want office 365 at this point. Many thanks Mark
  14. Moss100

    Vba adding record to table when field is integer

    Hello Andy - so after tearing my hair out, i imported all objects into a new database and it works fine??????? Sorry to lead you on a wild goose chase - as always I much appreciate your help. Mark
  15. Moss100

    Vba adding record to table when field is integer

    So the text box values are set from a combo box which has several columns. So for example. Txtbox1 = me.cbodata.column(0) Txtbox2 = me.cbodata.column(1) Etc……… If say column 2 contains no number then txtbox2 gets set as an empty string I think. I think then the empty string (or perhaps...
  16. Moss100

    Vba adding record to table when field is integer

    Its just "RS("Arc_SA_Purchaser_Link_ID") = Me.[txt_Arc_SA_Purchaser_Link_ID]" that causes the problem. The field is set as long integer - I dont think there is an option to allow or dis-allow nulls in a number field. Thank you Mark
  17. Moss100

    Vba adding record to table when field is integer

    Thank you as always - here is the code Dim RS As DAO.Recordset Set RS = CurrentDb.OpenRecordset("tbl_Archive", dbOpenDynaset) RS.AddNew RS("Arc_Date_Added") = Me.txt_Arc_Date_Added RS("Arc_Date_Updated") = Me.txt_Arc_Date_Added RS("Arc_SA_Purchaser_Link_ID") =...
  18. Moss100

    Vba adding record to table when field is integer

    Hello, I have a form which has several textboxee which are set by user interaction. When adding the record some of these text boxes will hold numeric keys for linking to other tables. The fields in the table receiving these values is set to integer. I notice that is no value is held in...
  19. Moss100

    Transfer data from external table to identical local table - urgent please

    Hello Duane, I hope you are well. Yes the database which I am linking to sets up a new table for each new account. There are around 4000 of them. It’s an odd approach, but it is what it is. I’ll tweak the code as you suggest. Is the method ok, it seems a very simple approach. Do...

Part and Inventory Search

Back
Top