Jump to content

bazzer747

Members
  • Content Count

    184
  • Joined

  • Last visited

Community Reputation

18 Good

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Why not look at Alistair Christies' web site Welcome to LearnDelphi.tv I found the articles 'Free Content' very useful and the 'Premium' content extremely useful in weaning my way into Delphi.
  2. bazzer747

    Disconnected Session

    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.
  3. bazzer747

    Disconnected Session

    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.
  4. bazzer747

    Disconnected Session

    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.
  5. bazzer747

    Good book about FireDAC

    I found Cary Jensen's book very deep and informative, with many examples. Always a go to when I'm not sure about something.
  6. bazzer747

    Delphi Professional Database Connectivity

    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.
  7. bazzer747

    Delphi Professional Database Connectivity

    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.
  8. bazzer747

    Deleting a Field Problem

    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!)
  9. bazzer747

    Deleting a Field Problem

    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.
  10. bazzer747

    Enterprise Coderage 2022

    Same thing happening again. Delphicom 2023. After I press the Submit I get this url at the top: f2 (1×1) (eloqua.com) But a blank screen!
  11. bazzer747

    Enterprise Coderage 2022

    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.
  12. bazzer747

    Enterprise Coderage 2022

    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?
  13. bazzer747

    Naming FireDac Connection Weird

    Whichever tells me enough about it's purpose (or the teams, if a team is involved). I often will write copious comments explaining what might be complex code.
  14. bazzer747

    Naming FireDac Connection Weird

    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.
  15. bazzer747

    Naming FireDac Connection Weird

    self.fdc.connected works! Got it! The procedure I use for this code is called procedure ConnectLiveTest( fdc: String ); So that is the 'local variable'! I renamed it to procedure ConnectLiveTest( svr: String ); And can now use fdc.connected:= True; as I want to. Thanks for the info.
×