Pkl

Member since: Thursday, 11 September 2014
Last login: 3 weeks ago
Profile viewed: 1,909 views

Your Rank: 62
Points: 32

Pkl replied to the topic 'I need to change the system date time in code' in the forum. 3 weeks ago

It sounds like you need to see System.SysUtils.TFormatSettings in the help system. You can change date format globally for your app without changing the OS locale setting itself.

Read More...

Pkl replied to the topic 'FireDAC: How to Locate() a null value' in the forum. 2 months ago

I finally found the solution and it's simple. Use Null() to create a Variant with a value of Null.

Variant values[2];
values[0] = Variant(LastName);
if (!FirstName.IsEmpty())
values[1] = Variant(FirstName);
else
values[1] = Null();

if (TblObservers->Locate("LastName;FirstName", VarArrayOf(values, 1), Data::Db::TLocateOptions())) {
...
}

Read More...

Pkl created a new topic ' FireDAC: How to Locate() a null value' in the forum. 2 months ago

Using CB 10.2.3, targeting Android

Does anyone know how to Locate() a NULL field value using FireDAC and a SQLite table? I am testing with a NULL value in FirstName and this doesn't work.

Variant values[2];
values[0] = Variant(LastName);
if (!FirstName.IsEmpty())
values[1] = Variant(FirstName);
else
values[1] = varNull;

if (TblObservers->Locate("LastName;FirstName", VarArrayOf(values, 1), Data::Db::TLocateOptions())) {
...
}

Read More...

I had this problem too. I posted a solution at community.embarcadero.com/answers/ios-mo...-using-delphi-10-2-3

I have been using this environment for about 2 weeks without problems.
- Phyllis

Read More...

Pkl has a new avatar. 12 months ago

Just found it! No changes from Berlin to Tokyo release. Item 30492 under registered user downloads.

DavidI is friends with Pkl

Roger Cigol is friends with Pkl

Pkl replied to the topic 'App Analytics - Bug, votes + reproduce please' in the forum. 3 years ago

Christopher,

I should clarify that I'm running CBXE8 on Windows 7 Professional, 64-bit.

- Phyllis

Read More...

Pkl replied to the topic 'App Analytics - Bug, votes + reproduce please' in the forum. 3 years ago

Christopher,

I tried to reproduce the crash but could NOT.

I'm using C++ Builder Pro XE8, Subscription Update 1. I have GExperts 1.37, Developer Express Quantum Grid 2015.1.3.0 and ZipForge 6.60 installed in the XE8 IDE.

I saved the project and reopened - no bad behavior. I built and ran the project - no bad behavior. I don't know that this tells you much, but I can't duplicate your problem on the latest release of C++ Builder.

- Phyllis

Read More...

Pkl replied to the topic 'any way to "reload" templates without re-starting' in the forum. 3 years ago

Hi Frederick,


I have run into this problem with previous versions of C++ Builder (probably XE). I found the only way to reload templates was to restart the IDE.


I think this has been fixed though, at least in C++ Builder XE8 Update 1. I edited a template outside the IDE with Notepad++ while the IDE was running. When I saved it, my new template appeared in the View | Templates window. I saved the template in the correct folder for C++ code (C:\Users\<user>\Documents\Embarcadero\Studio\code_templates\C) and there were no errors in it. I'm glad to see that this seems to be fixed.


I hope you can get this working too.


 



Read More...

Pkl replied to the topic 'Error after installing Delphi XE8 Update 1' in the forum. 3 years ago

I hadn't been using XE7 since upgrading to XE8, but I still had it installed. I opened XE7 and got 3 or 4 messages related to missing CodeSiteExpressPkg_Design210.bpl. Indeed it is not on my hard drive, but I may have uninstalled this myself - I'm not sure.

Your messages are all related to FastReports which I don't use. If you don't use FastReports in your projects, you can probably answer No and continue working. If you do use FastReports, I think you'll need to recover these libraries. I would backup my project before opening it and answering No. I think this modifies the project, so be careful.

I guess your main concern is whether installing XE8 Update 1 deleted some third-party libraries used by XE7. I can't prove that in my case. If you prove it in your case, I would contact support. These products are supposed to work when installed side by side.
Read More...

Pkl replied to the topic 'Error after installing Delphi XE8 Update 1' in the forum. 3 years ago

I've already found a solution. The error message is not a problem after all. See support.embarcadero.com/article/44491
Read More...

Pkl replied to the topic 'Error after installing Delphi XE8 Update 1' in the forum. 3 years ago

Peter,
I am having the same problem with C++ Builder XE8 Pro. I intend to use DUnitX so I really need a solution. Did you find one?

- Phyllis
Read More...

Pkl replied to the topic '[CBXE7] [IOS] Debugger ignores breakpoints - criti' in the forum. 4 years ago

For others researching this issue:

A solution has been found after 2 weeks research on my own and another 2 weeks working with Embarcadero support. It appears that my test device, an iPad 4 running iOS 7.1.2, was supplying a bad symbol table to the Mac for debugging with C++ Builder which ran on the PC. I tested with a different i-device running iOS 8.0.2 and that worked.

How the symbol table was corrupted on the iPad is unknown. Reloading iOS on the iPad in order to refresh the symbol table was not an option since Apple has locked down iOS 7. This makes using this iPad for development useless. This iPad runs the app so it is useful for some testing.
Read More...