Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 1 to 5 of 5 total |
I don't understand.. |
Mon, Nov 5 2018 6:59 PM | Permanent Link |
Ian Branch | Hi Team,
in my app I have the following code.. {code} DBS1.Execute('Update JobTickets set CreditNumb = ' + sJobNumber + ' where JobNo = ' + IntToStr(iCurrentJobNo)); {code} DBS1 being the TEDBSession. When this gets to run in the AfterPost event for JobTickets, I get the following error.. "ElevateDB Error #700 An error was found in the statement at line 1 column 8 (ElevateDB Error #401. The table or view JobTickets does not exist in the schema Default)" How can this be? Regards, Ian |
Mon, Nov 5 2018 9:35 PM | Permanent Link |
Ian Branch | I have implemented an EDBScript for now but I am still curious as to why it doesn't work.
|
Tue, Nov 6 2018 4:21 AM | Permanent Link |
Matthew Jones | Ian Branch wrote:
> DBS1 being the TEDBSession. A while since I did this stuff, but it should be against the database, not the session surely? -- Matthew Jones |
Wed, Nov 7 2018 1:44 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Ian,
<< How can this be? >> The default database context for the TEDBSession.Execute method is the Configuration database. So, you need to preface any table names in your DML SQL statements with the database name in order for them to work correctly. Tim Young Elevate Software www.elevatesoft.com |
Wed, Nov 7 2018 3:06 PM | Permanent Link |
Ian Branch | Tim Young [Elevate Software] wrote:
> Ian, > > << How can this be? >> > > The default database context for the TEDBSession.Execute method is the Configuration database. So, you need to > preface any table names in your DML SQL statements with the database name in order for them to work correctly. > > Tim Young > Elevate Software > www.elevatesoft.com Ah Ha! Thanks Tim. |
This web page was last updated on Monday, May 6, 2024 at 03:23 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |