Member Login

Username
Password
Forget Password
New Sign Up
Search Forum

Buy Support
Incidents

If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:

Click Here
If you can't login and post questions or you are having trouble viewing forum posts:
Click Here
Callback
Support

If you live in USA, UK, Canada, Australia or New Zealand, you can leave us details on your question and request us to call you back and discuss them with you personally  (charges apply).

Click Here
 
Buy Support
Incidents
If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:
Click Here

Forum : SP_LASTINSERTID from SybaseSearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC Frequently Asked Questions

 New Topic 
 
 Post Reply 
[1]  
 SP_LASTINSERTID from Sybase 
 Author   Message 
  Joanna 
  
 Group: Members 
 Posts: 25 
 Joined: 2006-12-07 
 Profile
 Posted : 2007-01-30 09:47:04
Is calling the SP_LASTINSERTID currently supported if calling it through Sybase?  I have QODBC as a remote server, and I've been trying to create a remote procedure that calls the SP_LASTINSERTID function but I have been unsuccessfull.  What is the type of input parameter that SP_LASTINSERTID accepts, and what kind does it output? 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-01-30 10:05:22
You need to specify the tablename and the procedure needs to be run immediately after the last insert without closing the connection. See: How do I create a new Customer, invoice them and mark the invoice as paid? for a complete example. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to