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 SkipVought 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

    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...
  2. 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...
  3. 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)...
  4. 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...
  5. 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??
  6. 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
  7. 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
  8. 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...
  9. 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
  10. 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") =...
  11. 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...
  12. 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...
  13. Moss100

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

    I can't really link the tables as there are thousands of them. I came across the code below - is there any downside to using this? CurrentDb.Execute "INSERT INTO GemAcTable SELECT * FROM 1250 IN 'C:\Gem\Gem.mdb'" MsgBox "Done"
  14. Moss100

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

    Can i put the fields into a variable and use this? Thanks i.e. strfields = "[Date],[Type],[Amount in],[Amount out],[Adjustment],[No],[Tenant balance],[Current balance],[Deposit balance],[Repair balance],[Landlord balance]"
  15. Moss100

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

    Boom! so i also has to put DATE into brackets - as you said - poor name choice. Is there a way to copy all fields from the source table to the desitination table, or must I reference each field (the structure of the source and destination tables are the same. Anyway the below at least works...
  16. Moss100

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

    The database which holds the data has thousands of tables so i can't link tables (not normalised, but a paid for application!)
  17. Moss100

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

    I have this - no red INSERT INTO local_GemAcTable (date, type) VALUES (#25/04/2005 14:59:40#, Rent Paid); INSERT INTO local_GemAcTable (date, type) VALUES (#25/04/2005 13:11:01#, Rent Due); INSERT INTO local_GemAcTable (date, type) VALUES (#18/04/2005 14:22:01#, Rent Due);
  18. Moss100

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

    I need the data in the database so it can be viewed and manipulated, but does not impact the original data
  19. Moss100

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

    The debug print shows records, but they are not in the table

Part and Inventory Search

Back
Top