Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
3 errors with FIreDAC
#2
Hi,

Do you create a separate datamodule? You should not do that.

All FD components should be in UserSession form. A unique UserSession is created for each user.

unit UserSessionUnit;

{
  This is a DataModule where you can add components or declare fields that are specific to
  ONE user. Instead of creating global variables, it is better to use this datamodule. You can then
  access it using UserSession.
}
Reply


Messages In This Thread
3 errors with FIreDAC - by raulevm - 03-16-2023, 01:42 PM
RE: 3 errors with FIreDAC - by Mikael Nilsson - 03-16-2023, 02:02 PM
RE: 3 errors with FIreDAC - by raulevm - 03-16-2023, 02:17 PM
RE: 3 errors with FIreDAC - by DanBarclay - 03-18-2023, 03:35 AM
RE: 3 errors with FIreDAC - by Mikael Nilsson - 03-18-2023, 12:52 PM
RE: 3 errors with FIreDAC - by DanBarclay - 03-20-2023, 02:24 AM
RE: 3 errors with FIreDAC - by Alexandre Machado - 03-21-2023, 06:31 AM
RE: 3 errors with FIreDAC - by raulevm - 03-26-2023, 07:05 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)