<div dir="ltr">Hey Ryan I would like to thank you for your help with my code. I played around with the function you filled out for me and got it working  just had to change the -1 to a 0 and worked perfectly. I have then been able to use it for multiple line edits and get it mapped to the correct columns in the db. Again I just want to say thank you for your help and being patient with me.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 10, 2013 at 1:32 PM, Ryan Hanson <span dir="ltr"><<a href="mailto:crossrocker@gmail.com" target="_blank">crossrocker@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I will reply to you on stackoverflow</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Mon, Jun 10, 2013 at 1:21 PM, Josh Flinner <span dir="ltr"><<a href="mailto:joshfokis@gmail.com" target="_blank">joshfokis@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Unfortunately There isn't anything listed under the section for that. I still cannot get that with the right code to update that row.  this is my post on StackOverflow and it is just the base code I have started with. <a href="http://stackoverflow.com/questions/16974379/use-qlineedit-to-udpate-sqlite-database-in-pyqt" target="_blank">http://stackoverflow.com/questions/16974379/use-qlineedit-to-udpate-sqlite-database-in-pyqt</a><br>



</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 10, 2013 at 11:11 AM, Ryan Hanson <span dir="ltr"><<a href="mailto:crossrocker@gmail.com" target="_blank">crossrocker@gmail.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Look at the documentation for qlineedit.text() that should be what you need.</p><div><div>

<div class="gmail_quote">On Jun 10, 2013 11:09 AM, "Josh Flinner" <<a href="mailto:joshfokis@gmail.com" target="_blank">joshfokis@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">I am able to write to the database but I cannot get the text from my lineEdit. My edit Strategy is on manual submit and then I call the submitAll. <br></div><div class="gmail_extra"><br><br><div class="gmail_quote">





On Mon, Jun 10, 2013 at 10:55 AM, Ryan Hanson <span dir="ltr"><<a href="mailto:crossrocker@gmail.com" target="_blank">crossrocker@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div dir="ltr">Are you having trouble getting the text from your lineEdit or are you having trouble submitting that text to your database? <div><br></div><div>For the latter you might try looking at setEditStrategy from here <a href="http://pyqt.sourceforge.net/Docs/PyQt4/qsqltablemodel.html" target="_blank">http://pyqt.sourceforge.net/Docs/PyQt4/qsqltablemodel.html</a></div>







</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div>On Mon, Jun 10, 2013 at 9:04 AM, Josh Flinner <span dir="ltr"><<a href="mailto:joshfokis@gmail.com" target="_blank">joshfokis@gmail.com</a>></span> wrote:<br>







</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr">I am new to both python and PyQt so forgive my ignorance if it is an obvious solution. I have been trying to link a couple of line edits to update a new row in a SQLite database when a push button is clicked. I can create the new row but cannot submit the data from the line edits to the row. I am also using a table model view to display the database. I have searched over documents and example codes for the past week or so. Again I do apologize if it is an easy fix I just cannot seem to figure it out. <br>








</div>
<br></div>_______________________________________________<br>
PyQt mailing list    <a href="mailto:PyQt@riverbankcomputing.com" target="_blank">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br></blockquote></div><br></div>
</blockquote></div><br></div>
</blockquote></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>