NEWS From Valentina Team

william humphrey bill at bluewatermaritime.com
Tue Nov 26 14:19:51 CST 2013


This is an attempt to get a .png graphic out of the database

function agentsSignature pAgentRef

   put "select s_agents_signature from shadow_agents where s_agents_ID
= '" & pAgentRef & "'" into tSQL

   put VDatabase_SqlSelect( gDatabase, tSQL ) into CursorRef

   put VCursor_RecordCount(CursorRef) into recNum

   if recNum > 0 then

              put VCursor_Field(CursorRef, "s_agents_signature_pic")
into tAgentSignature

   else

      answer "This was the tAgentSignature code in script of port
receipt card and it shouldn't have returned zero"

   end if

   return tAgentSignature

    put VCursor_Destructor(CursorRef) into CursorRef

end agentsSignature

It doesn't work.


More information about the Valentina mailing list