Advertisement
Guest User

Untitled

a guest
Apr 25th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. int SQLFetch()
  2. {
  3. string sRow;
  4. object oModule = GetModule();
  5.  
  6. SetLocalString(oModule, "NWNX!ODBC!FETCH", GetLocalString(oModule, "NWNX!ODBC!SPACER"));
  7. sRow = GetLocalString(oModule, "NWNX!ODBC!FETCH");
  8. if (GetStringLength(sRow) > 0)
  9. {
  10. SetLocalString(oModule, "NWNX_ODBC_CurrentRow", sRow);
  11. return SQL_SUCCESS;
  12. }
  13. else
  14. {
  15. SetLocalString(oModule, "NWNX_ODBC_CurrentRow", "");
  16. return SQL_ERROR;
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement