Valentina Digest, Vol 111, Issue 28

Barry G. Sumpter barrysum at bigpond.net.au
Sat Mar 24 02:42:41 CDT 2012


Hi all,
I'm using LC Server to access a Valentina DB Server with a LC stack that has
NO controls on it.
i.e. start using stack

The stack is running properly updating/adding records.

But when I use vTable_SelectAllRecord
I get this error:
livecode-server exited due to fatal signal 11

any help would be greatly appreciated.


---
on SelectData2, pUsername
   
   Put cr & "--Starting - SelectData222222222222222" & cr
   
   -- set the cursor to watch
   get showError()

   Put cr & "---- b4 - VTable_SelectAllRecords - mDatabase:" && mDatabase &
cr
   put VTable_SelectAllRecords( mdatabase ) into allRecs   -- ERRORS HERE

   get showError()
   
   Put cr & "---- aftr - VTable_SelectAllRecords - mDatabase:" && mDatabase
& cr
   
   Put cr & "---- VTable_SelectAllRecords"
   put VTable_Sort( mdatabase, allRecs, fld_long ) into SortedSet
   Put cr & "---- VTable_Sort"
   
   put VSet_Destructor( allRecs )into allRecs
   Put cr & "---- VSet_Destructor"
   
   
   -- Now we want show records:
   -- go stack "ShowTable"
   --get value("ShowSet(" & mPerson & ", " & SortedSet & ")",card 1 of stack
"ShowTable")
   
   
   get ShowSet mdatabase, SortedSet
   
   put gReturnData
   
   -- set the cursor to arrow
   
   -- Put SortedSet
   
   Put cr & "--Ending - SelectData" & cr
   
end SelectData2
---


--Starting - SelectData222222222222222
---- b4 - VTable_SelectAllRecords - mDatabase: 14296144
livecode-server exited due to fatal signal 11
------------------------END--------------------------------------




More information about the Valentina mailing list