Jump to content

bazzer747

Members
  • Content Count

    195
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by bazzer747


  1. Arrgghh! Found it.

     

    It was on a form which contained two Ace Reports, the one I wanted was minimised on the form, the other was maximised so hid the report I was after when I opened the form. The .pas name equated to the maximised report so when I was looking before that one came up in searches. It would pay me to put one report per form to avoid this confusion in the future.

     

    I had followed many of your suggestions, so thankyou all very much for helping through this. 

    • Like 1

  2. Roger,

    Have tried the debugger route, after I press F7 on the "sctRepCustList.run" the report is created and the IDE just goes to the next line. Here is the code for the button that runs the report: So it doesn't step into the form where the report has been created.

     

    procedure TfCompetitions.btnReportClick(Sender: TObject);
    var
      bRec: TBookMark;
    begin
    //First save the record we are on in the dbgGrid dbgrid
    bRec:= dm.qCompetitions.GetBookmark;
    dm.qvCompEnrolments.Open('SELECT * FROM vPGCCompEnrolments ORDER BY Yes DESC, Maybe DESC');
    dm.qvCompEnrolments.DisableControls;
    //Run the report
    fRepCompEnrolment.sctRepCustListt.Run;
    dm.qvCompEnrolments.Open('SELECT * FROM vPGCCompEnrolments ORDER BY CompDate, Yes DESC, Maybe DESC, DateBooked DESC, SName');

    //Now restore the record we were on in dbgGrid ...
    dm.qCompetitions.GotoBookmark( bRec );
    dm.qvCompEnrolments.EnableControls;
    end;

     

    I have also emailed the creator of Ace Report who is very good at responding to support queries. If/when he answers I'll post it here.

     

    I'll maybe try some of the other suggestions, many thanks for helping.


  3. Uwe,

     

    OK, more clarity :-). When I run my project, one of the buttons runs an Ace Report with a "sctRepCustList.Run" command. This runs the report which is on a form. I don't get to see the form, just the report output. It isn't like I have the report form open in the IDE where I would know know exactly what it is called and what name I save it with.

     

    Mark,

     

    A global search in all files doesn't show anything other than the form where I run the Ace Report from. 

    • Confused 1

  4. Is there a simple way to find out what .pas file a form uses? 

     

    I use ACE Reporter for my reporting and usually name my .pas file in a format like uRepCustomerList.pas so I can easily see all the report forms and what they do. I have a lot of .pas files in my project and for some reason when I created a certain report I didn't follow the usual system. So it could be named anything. I don't really want to open up every .pas file until the one I want pops up, so I'm thinking is there an easier way.

     

    I might not be seeing the woods for the trees here, so apologies if this is a silly question.


  5. Well I'm wondering where the £1,475 cost comes from in the first instance as they say the 'normal' cost is £3.299 for Delphi Enterprise. Yes, £1.475 + £999 x 20% VAT is £2,968 (mind who want to pay £999 for maintenance, surely a 'hidden' cost as you can't not have it.


  6. Just had (another) offer for upgrading to the latest version. However, I can't quite make out what they are actually offering.

     

    The headline (in the email)  is 'up to 30% off' - as I have Enterprise Delphi, this is  only 25% off. Hmmm, I wondered what that eventually came to.  So I followed the link, clicked on the upgrade for Enterprise which says '25% OFF' - which also shows a full price of £3,299, and in much larger red figures '£1,475 perpetual licence + £999 Year one Maintenance'. Which is £2,474. 

     

    OK, 25% off £3299 is £2,474.25 - so £1,475 + £99 x 25%.

     

    Anyway, I 'Add to Cart' and on the next page it says the price is now £2,969.10 (with £3,950.00 crossed out - where did that come from?) So now they want £2,969.10 from me for the upgrade. My working out says it should be £2,474.25 - some £494.35 less.

     

    Have I missed something?


  7. That's cracked it. I changed the driver to v17 (from 11) and it connects with no issues. I think the hosting company has uprated the server I couldn't connect to so it didn't allow driver v11 to connect, whilst the other two servers I had no trouble with still allowed v11 to connect OK.

     

    Many thanks for your help, I can now continue with my development/text work!


  8. I have ODBC Driver 11 for SQL Server and ODBC Driver 17 for SQL Server on my local PC. As this message seems to relate to the 11 version, does that mean Firedac somewhere is told to use the 11 version rather than the 17 version? 

     

    Could I remove the 11 version and Firedac would automatically revert to using the 17 version?


  9. I run many Windows applications connecting to MSSQL Servers via Firedac, and have done for many years. My 'Live' connectivity to the tables and views work OK, but in the last 2 weeks my connectivity to a 'test' Server is throwing up the error shown in the attached screenshot "An existing connection was forcibly closed by the remote host." 

    In reporting this to the hosting company they are saying the 'test' Server should have no issues connecting to it, and I'm saying why, then, can I connect all my applications to the 'Live' Server with no problems, but none of these applications now connect to the 'Test' Server (when they did connect a couple of weeks ago?) 

     

    They have come back with suggestions that seem to indicate using TLS1.2 may solve the issue.

     

    It seems TLS1.2 and TLS1.3 are enabled by default in Windows 11 (my local PC is Windows 11 Professional), but I'm finding it difficult to verify that. And I'm thinking this is a red herring anyway.

     

    My question her6e, really, is has Firedac any involvement in what version of TLS is used &/or is this something Firedac has an answer to that error?

    Snap_23 June 2024_10h18m38s_005_.jpg


  10. Granted, but having used Delphi for probably over 20 years now, there is no 'upgrade' price that acknowledges the amount of money spent on versions over the years. It seems you are treated as a 'new' customer regardless of your 'loyalty' to the product.

     

    With other products, existing users normally get upgrade prices that are significantly better than a new customer would pay. Also, when I buy a product I would expect to get any bug fixes for that product free with an apology, rather than having to pay for it. 

     

    Embarcadero seem to be like the Carpet shops, there's always a 'sale' on. I can't believe anyone, company or individual, ever pays the advertised price. Why don't they have some integrity and show a normal price! Whatever 'special deal' is running the actual amount they want is always around the same (which in my opinion is way too much).

    • Like 6

  11. These 'offers' are nothing like helpful. Why they 'force' a years maintenance into the price makes me wonder - I've used Delphi (now on 10.4) since Delphi 4 - and never required a maintenance contract. Never had to call Emarcardo to help fix a problem. Why would I nee6d one now!

    My biggest gripe, though, is that whilst I have Enterprise (that was a 'con' years ago getting a decent price for an upgrade) when I only needed Professional), now I'm stuck with Enterprise because I can't get Firedac with Professional.

    • Like 1

  12. Hmmm, surprises me it uses a local paserver at all. I'll check this out next time I get the error, but looking in Task Manager now, with Delphi running, there is no paserver  in any other processes or services running. 


  13. My application is for Windows 64 bit. The application starts with Firedac connectivity to a remote SQL Server (not paserver) hosted on an internet provider. Normally the connectivity is good and reliable, and also when I run in non-debug mode the connection is made with no problem.

     

    I rebooted my PC this morning and set the initial database connections to an SQL Server on my local PC (rather than the remote server) and I don't get the disconnected session error. 

     

    As I mentioned I've been getting this issue maybe once or twice a month for quite a while now. Normally I end Delphi with Task Manager and fire it up again and it's OK. Only yesterday it continued to fail.


  14. Just recently, I've been getting 'disconnected session' error messages. See attached snapshot of the message.

     

    It occurs when I am in debug mode but not when I'm not in debug mode.

     

    To 'close' Delphi I have to open Task Manager and end the session from there, I can't get to the application to close it or use it any other way. I've no idea what is causing this, as it isn't consistant - I can operate in debug mode with no issues most of the time, but occasionally have this problem. If anyone can read the details on the error shown and give me a cluse as to where to look I'd appreciate it.

     

    I run Delphi 10.2 Enterprise.

    DisconnectedSession.jpg


  15. OK, limited access to local connections. What possible use is that when developing for clients when most will require access to Server databases. More a 'marketing taster' of what FireDac can do to encourage an upgrade to Enterprise. I'd willingly go for Professional if full FireDac was available rather than sticking with Enterprise 10.3 as I can never see myself being able to justify the extremely costly upgrade to the latest Enterprise versions.

    • Sad 1

  16. As I understand it Firedac is not available in Professional. You need Enterprise for Firedac (or Architect)

     

    I've asked many times for Firedac to be available, even at extra cost, to add to Professional and it isn't happening. I moved to Enterprise some years ago on a really good deal (at that time FireDac WAS available in Professional) but find I don't really need all the functionality in Enterprise and because of the cost of keeping at the latest versions I can't afford an upgrade. I'd prefer to go back to Professional but with so many of my projects using Firedac it would be a mighty task to re-write all the data access elements in them. 

     

    So I'm never going to upgrade until something changes.


  17. I've opened the data module outside Delphi in Notepad++ and there's no reference to 'AccessLevel'. So I'm now confused why I'm getting and error message for a field that doesn't exist in the project (that I can find!)


  18. Hi,

     

    I use MSSQL for my database and Firedac as an access method. I have a field called 'AccessLevel' in a table which is now redundant so I'm trying to remove it. I don't use this field anywhere in my project and a search in 'Find in Files' show's that it isn't referenced in any of the code.

     

    Also, in the query I use to select all fields from the table it is in I have deleted the field from the Fields Editor.

     

    I've renamed the field to 'AccessLevelX' in MSSQL Server (just in case!)

     

    When I run the project I get an Exception EDatabseError in module .... Field 'AccessLevel' not found. I can only think there's a reference in the database module where the query exists, but if in the database module I try to 'View as Text' I get a message: 'Module 'nameof module.pas' has open descendants or linked modules. Cannot close'.

     

    I'm not sure where I can go now, if someone has a thought as to a 'correct' procedure for removing unwanted/unused fields I'd appreciate some guidance.

     


  19. No, still no Submit or other button after checking I don't have any ad blockers (disabled other anti-virus extension add-ons whilst trying).

     

    Why would a Submit button ever be classified as an Ad anyway?

     

    Tried in Chrome as well. Giving up,, I've never had this issue with any Embarcadero registration process before. It's a new design as well, and they've clearly not tested it properly. Sign of the times, I guess.


  20. Hi

     

    I received email from Embarcadero the other day, inviting me to register for the above 2 day session on Dec 20-21.

     

    However, when I click the 'Register' button and fill out their registration form, there is no button to submit the details to them. I've tried in Edge and Firefox, same issue.

     

    I've tried emailing them to tell them, but no response.

     

    Anyone else having this trouble?

    Ashampoo_Snap_19 December 2022_18h12m00s_003_.jpg


  21. Hi

    On the subject of not skimping on names, I see too many code examples where the length of variables are unnecessarily way to long. I always create my variables to as short as possible, making sure they tell me something about what type they are and what they are used for. Makes code easier to read and understand. Most I use are local to the procedure, and any unit wide or global (very few and resisted) are named appropriately.

×