![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 1 to 4 of 4 total |
![]() |
Sat, Jan 15 2011 6:16 PM | Permanent Link |
Oliver METTRIX | Seems this should work. what am I doing wrong? I just need to know if my session is stLocal or stRemote:
if DataModule1.EDBSession1.SessionType = stLocal then begin ... end; But the delphi compiler complains that stLocal is an undefined identifier. I have no problems using other datamodule1 componens such as an EDBQuery so I know I have access to DataModule1. Any ideas? Thanks Oliver |
Sun, Jan 16 2011 5:16 AM | Permanent Link |
Roy Lambert NLH Associates ![]() | Oliver
slLocal is defined in edbcomps so you need that in the unit where you're carrying out the test. Roy Lambert |
Sun, Jan 16 2011 11:32 AM | Permanent Link |
Oliver METTRIX | Thanks Roy, this is so obvious that I am ashamed to admit it.
Oliver Oliver wrote: Seems this should work. what am I doing wrong? I just need to know if my session is stLocal or stRemote: if DataModule1.EDBSession1.SessionType = stLocal then begin ... end; But the delphi compiler complains that stLocal is an undefined identifier. I have no problems using other datamodule1 componens such as an EDBQuery so I know I have access to DataModule1. Any ideas? Thanks Oliver |
Mon, Jan 17 2011 4:07 AM | Permanent Link |
Roy Lambert NLH Associates ![]() | Oliver
If I admitted to the number of times I've been bitten by something similar.... Roy Lambert |
This web page was last updated on Tuesday, July 1, 2025 at 07:22 PM | Privacy Policy![]() © 2025 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |