Michael Riley
Working with Date data can be very tricky. I recently encountered an “Invalid argument to date encode”, error while trying to update a SQLite database table.This placed a value of 0000-00-00 into the date field… … Read more
4 months ago in Delphi, SQLite, tip-of-the-day0
Michael Riley
I’m in the process of converting an old Delphi 5 VCL application to Delphi 11 FMX. Yeah, I have Delphi 12 but I’m waiting for the first bug release before I start using it. Well,… … Read more
4 months ago in Delphi, Source Code, tip-of-the-day0
Michael Riley
I am a big fan of Harry Stahl’s book “Cross-Platform Development with Delphi 10.2 & FireMonkey for Windows, MAC OS X (macOS) & Linux”. I purchased this book in May 2021 and it has helped… … Read more
6 months ago in tip-of-the-day0
Michael Riley
Just finished working out the logic for handling file logic:File OpenFile NewFile SaveFile Save AsThis assumes you are keeping track of the following:Current FilenameChanges to file dataI’ve been wrestling with this one for a few… … Read more
12 months ago in Delphi, tip-of-the-day0
Michael Riley
I wanted a quick, down-and-dirty, reference to only those variables used by the Delphi IDE. Inside the IDE you can navigate to Tools > Options > IDE > Environment Variables. This will list all the… … Read more
2 years ago in tip-of-the-day0
Michael Riley
I was reading Andrea Magni’s book Delphi GUI Programming with FireMonkey and realized I am missing pages 105-156. Packt Publishing is having a new print copied sent to me. Anyway, the PDF copy of the book is 100%… … Read more
2 years ago in tip-of-the-day0
Michael Riley
I’m porting over one of my Delphi 5 VCL, desktop applications to FMX. The target audience are Windows and macOS users. I’m not focused on mobile at this juncture. I’m spending quite a bit of… … Read more
3 years ago in FMX, tip-of-the-day0
Michael Riley
I’ve made a commitment to learn FireMonkey. My flagship software product, Zilch Standard, turned 30 years old in 2021 and I still don’t have a macOS version. I’ve got macOS consumers who buy my Windows® software… … Read more
3 years ago in Delphi, tip-of-the-day0
Michael Riley
This weekend I had a bunch of data inside a FireDAC FDMemtable and I wanted to play around with that data in Excel. So, the first thing I did was review which data formats Excel… … Read more
4 years ago in csv, dataset, firedac, tip-of-the-day0
Michael Riley
I’m in the process of upgrading a very old Delphi program that I wrote with my Turbo Pascal, top-down, structured-programming, mindset. One of the major updates I want is for the data to be in… … Read more
4 years ago in datamodule, tip-of-the-day0
Michael Riley
I was watching an excellent video on how to use the batch move capabilities within Delphi to import text data into a database and had one of those “What the heck just happened” moments. The… … Read more
4 years ago in tip-of-the-day0
Michael Riley
I’m creating a simple database program to explore how SQLite works within Delphi. I want to be able to switch between three databases: Album, Test, and World. So I added a TComboBox and populated the… … Read more
4 years ago in Source Code, tip-of-the-day0
Michael Riley
I am not a full-time Delphi guy. So, when I’m learning Delphi by reading OPC (other people’s code) I want to make the best of my time. I was studying some code from Cary Jensen… … Read more
4 years ago in tip-of-the-day0
Michael Riley
I’m working on updating my old flagship product and I ran into an issue where a file kept getting deleted on startup. I could not for the life of me figure out where this was… … Read more
5 years ago in tip-of-the-day0
Michael Riley
It’s been over 7 years since I dove into the mystical world of rounding numbers within Delphi. It’s amazing how much code actually gets written in support of the main stuff an application does. I… … Read more
5 years ago in tip-of-the-day0