Adding in the add a lamb stuff. Working on geting the code to determine
probable sire based on breeding recrods, fill in scrapie codons based on
genotypes of sire and dam and get ready to collect data on each new
lamb. Issues include how to display the tags you are adding to the new
lamb and the actual database update. Just want to save the work I've
done so far today
Adding more info on the breeding records. Still needs a lot of work
Working on AddLamb Starting to build the SQL inserts to add the lamb
data after getting it. Lots more to do, just need to backup what I have
done so far.
Slowly getting data to insert into the sheep_table and
lambing_history_table based on this new lamb. However, Still haven't
figured out hwo to create a cursor with the tag data before I write tot
he databse so saving before I head off attempting to make the tag
display a table not a cursorAdaptor
Got adding lamb tags to update. Also got clear of addLamb working but
still need to finish the updating of the lamb records properly including
updating the ID-Info_table with all the new tags.
Got the addaLamb to update the sheep table properly, currently debugging
the add a lamb Insert a lambing_history record section. Still need to
write the on Resume for the ewe record after add a lamb to get the new
lambing_history record and new lamb in the display.
Working on getting multiple lamb births to update properly. Still buggy
Still working on addLamb. Also put latest lambtracker.db into assets so
the latest DB design is up here.
Removed the automatic go to LookUpSheep from scan from top main activity
screen. Still closing in on add a Lamb bugs with updating the lambing
History table and sheep table properly.
Getting closer, the sheep tabe is updating properly but Add a Lamb is
always executing the triplet section when you add the second lamb and
putting the new lamb_id in the lamb03_id section.
Got the add a lamb to properly update the sheep tabe and lambing history
table. Still need to fix/update tags and sheep name.
More fixes to AddLamb. New database structure. Still some issues. No
lamb tags yet.
Got the add a lamb to work properly. Also got the ewe record updated
with the newest lambs and lambing history record. Still need to get the
rest of the lamb tags, currently only updating the id_info_table with
the first tag but getting there. Also need testing more cases. Not
verified to handle all types of id tags data.
Got the lambing module done. Now ready to do more extensive bench
testing to verify it's all working. One niggling issue. If the ewe has 3
lambs the display scrolls the bottom set of buttons off the screen. No
way to have a scroll within a scroll so not sure how to fix it.
Working on adding error testing for inappropirate inputs to add a lamb.
Having a problem with missing lambease not stopping the update and
return to ewe screen.
Odd intermittent error with requery a closed cursor when I add a
secondlamb but not consistent.
Still can't clear out lambs but everything else seems to be working.
Backed up now so I can continue testing.
Still trying to debug the crashing during update of adding lambs.
Got adding lamb working again but back to the problem of I can't clear
out the lamb tags on return from addLamb.
Have a new way to clear the lamb ID info so testing this version.