Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by cupboy2013

  1. cupboy2013

    Undeclared identifier ToString

    Yes, that will be the way to do it to avoid the syntax error message so have switched to that.
  2. cupboy2013

    Undeclared identifier ToString

    uses Data.Win.ADODB, System.SysUtils, ActiveX; It's already there.
  3. cupboy2013

    Undeclared identifier ToString

    Writeln('rows affected: ' + ADODataset1.Recordset.RecordCount.ToString()); // undeclared identifier ToString If I leave out ToString() I get a compile error and if I leave it in ToString is underlined in red and says undeclared identifier ToString The program compiles and runs ok, so what is...
  4. cupboy2013

    Does SQL Server work with dbExpress

    Both of these work the same: ADOConnection1.Connected := true; ADOConnection1.Open();
  5. cupboy2013

    Does SQL Server work with dbExpress

    The connection string was bad. The correct one: ADOConnection1.ConnectionString := 'Provider=SQLNCLI10.1;Integrated Security=SSPI;Persist Security Info=False;User ID="";Initial Catalog=rec1;Data Source=localhost;Initial File Name="";Server SPN=localhost'; And it works!
  6. cupboy2013

    Does SQL Server work with dbExpress

    Get the same exact error doing it that way. Yea, finding any useful relevant documentation on Delphi anymore is extremely difficult.
  7. cupboy2013

    TADO missing from component tool bar

    Woops. I found this on the dbGo tab. I may check into renaming this.
  8. cupboy2013

    TADO missing from component tool bar

    How can I add this? If I click add all it does it ask me for new component palette name. Not too useful. And why is TADO missing in the first place?
  9. cupboy2013

    Screen layout doesn't stay put

    Seems to work. Thanks!
  10. cupboy2013

    Does SQL Server work with dbExpress

    Thanks. That did get me a little bit farther. function TestConnection:string; begin try Writeln('Debug Line 1'); ADOConnection1 := Data.Win.ADODB.TADOConnection.Create(nil); Writeln('Debug Line 2'); ADOConnection1.ConnectionString := 'Data...
  11. cupboy2013

    Does SQL Server work with dbExpress

    Here's something else that doesn't work: function TestConnection:string; begin CoInitialize(nil); // undeclared identifier: 'CoInitialize' try Writeln('Debug Line 1');
  12. cupboy2013

    Screen layout doesn't stay put

    This is the IDE screen layout that I am talking about.
  13. cupboy2013

    Screen layout doesn't stay put

    Everything I lock the computer or the screen saver comes on Delphi maximizes itself and redisplays windows that I had previously closed. How can I change this unwanted behavior?
  14. cupboy2013

    Does SQL Server work with dbExpress

    I am trying to put it in the .dpr file (I would edit the above post but don't see how to do it).
  15. cupboy2013

    Does SQL Server work with dbExpress

    Well, with this program anything that can go wrong will go wrong. Although I've used the Initialization section in the past, and have samples, even if I do it the same way I get this error: expected END but received INITIALIZATION

Part and Inventory Search

Back
Top