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!

Recent content by Triacona

  1. Triacona

    Genericise buttons and list calls

    Dear All, Thanks for a great forum. I want to make my buttons generic for all lists in my report forms. I have several buttons and each list has their own, Appeals reports, DC reports ect. The buttons do the exact same thing for all lists. So I have a Run Report button, a Run Query button...
  2. Triacona

    how to make access open in read-only mode using vb to stop the .laccdb file

    Thanks so much Duane [bigsmile] see this link : Works brilliantly https://docs.microsoft.com/en-us/office/vba/access/concepts/miscellaneous/detect-user-idle-time-or-inactivity also I added code to quit Access if idle time over 5 min! Thanks again you're a star! Thank you, Kind regards Triacona
  3. Triacona

    how to make access open in read-only mode using vb to stop the .laccdb file

    Thanks Duane for your reply. Unfortunately the folder permissions are centrally managed, so I can't do anything there. You mentioned other ways of bumping users, please could you let me know those options. As previously mentioned, it is a simple reporting program, so no users log in, they...
  4. Triacona

    how to make access open in read-only mode using vb to stop the .laccdb file

    Dear All, I have an issue where I need to stop the .laccdb file from appearing when opening access. The reason is that the users open it and leave it open and don't logoff properly leaving that file running. This is a problem as when I need to update the file with the new version, it will...
  5. Triacona

    Why can't I display the index in this task array

    Hi all, [smile] I'm a bit stuck here in terms of how to display the index number for debugging... I want to display the value of each i ( index ) so I can see what the index value is at any point in the loop. It seems to work for the first value each time, but then gives 0 for all others...
  6. Triacona

    How to broadcast data from a SQL server to an IP an Port

    Hi Olaf, Thanks for answering [smile] Basically this is a very old system, using radio towers to transmit to a central location, as the car parks are far from each other. The system is legacy and was implemented 20 years ago. I have been tasked with getting that information onto a web page. The...
  7. Triacona

    Issues With my SQL Having statement in my VBA code

    Thanks for all your help on this [bigsmile][2thumbsup] I think I have solved it, also removing the GROUPBY and adding the Between dates in the for loop as such: SQL = "SELECT " & _ "UNI7LIVE_DCAPPL.REFVAL AS Reference, UNI7LIVE_DCAPPL.DTYPNUMBCO AS PsCode, " & _...
  8. Triacona

    How to broadcast data from a SQL server to an IP an Port

    Hi all, Thanks for a great forum. I hope this is the right topic for this query? I have the following issue. I have a server, which has SQL server and a database, for car parking data ( spaces total and spaces left ). I want to broadcast each car parks spaces left to the Server IP and...
  9. Triacona

    Issues With my SQL Having statement in my VBA code

    Dear Andy, The return is thus: 01/01/2019 31/01/2019 Is it to do with the formatting? Thanks again for all your help [smile] Thank you, Kind regards Triacona
  10. Triacona

    Issues With my SQL Having statement in my VBA code

    Dear Andy, Thanks for your help on this, your code gives me the Expected: end of statement error again. Just to note the: [Forms]![MainScreen].[txtStartDate] [Forms]![MainScreen].[txtEndDate]) are date controls on my MainScreen form, so they may not behave like a string...I think, I'm not sure...
  11. Triacona

    Issues With my SQL Having statement in my VBA code

    This saves : "((UNI7LIVE_DCAPPL.DATEAPVAL) Between # & [Forms]![MainScreen].[txtStartDate] & # AND # & [Forms]![MainScreen].[txtEndDate]) & #" But gives the following error when the event runs: Thanks again for all your help [smile] Thank you, Kind regards Triacona
  12. Triacona

    Issues With my SQL Having statement in my VBA code

    Thanks for your help [smile] I get an I tried the below, but it still gives the Error: "HAVING " & _ "((UNI7LIVE_DCAPPL.DATEAPVAL) Between "#" & [Forms]![MainScreen].[txtStartDate] & "#" AND "#" & [Forms]![MainScreen].[txtEndDate] & "#" )" Any more help would be greatly appreciated...
  13. Triacona

    Issues With my SQL Having statement in my VBA code

    Hi Andrzejek, Thanks for replying [smile] I have stepped through the code and the between dates runs... see the output SQL and intermediate window SQL here: SELECT UNI7LIVE_DCAPPL.REFVAL AS Reference, UNI7LIVE_DCAPPL.DTYPNUMBCO AS PsCode, UNI7LIVE_DCAPPL.DCAPPTYP AS ApplicationType...
  14. Triacona

    Issues With my SQL Having statement in my VBA code

    Hi all, Thanks for a great forum! [smile] I am hitting my head against a wall here, staring at the code, I need a fresh set of eyes. I have the following code: '------------------DC RUN QUERY BEGIN--------------------------------------------------------- '------------------DC RUN QUERY...
  15. Triacona

    How to broadcast data from a SQL server to an IP an Port

    Hi all, Thanks for a great forum. I hope this is the right topic for this query? I have the following issue. I have a server, which has SQL server and a database, for car parking data ( spaces total and spaces left ). I want to broadcast each car parks spaces left to the Server IP and ports...

Part and Inventory Search

Back
Top