<div dir="ltr">I can do that Matthias, probably wont be until around noon AST.<div>Tyler</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 20, 2016 at 8:26 AM, Matthias Kuhn <span dir="ltr"><<a href="mailto:matthias@opengis.ch" target="_blank">matthias@opengis.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Tyler,<br>
<br>
The message is not related to virtual fields.<br>
<br>
Can you open an issue report and specify exactly how to reproduce the issue?<br>
<br>
Thank you<br>
Matthias<br>
<span class=""><br>
On 09/20/2016 01:13 PM, Tyler Veinot wrote:<br>
> I don't know what I am doing wrong here, I set this up multiple times<br>
> using every different relationship I have. I even rebuilt the design<br>
> using simpler tables. The drop down doesn't populate and when I try to<br>
> use the green "plus" button all I get is a mini dump and a crash. The<br>
> log file says in the exception "The thread tried to read from or write<br>
> to a virtual address for which it does not have the appropriate access".<br>
> I do have a virtual field but I am not writing to it, it is just there<br>
> to display the table data in a more appealing way, and I am not writing<br>
> or using it in the relationship so I cannot see it being an issue. I can<br>
> also write data from within QGIS directly to the tables so I must have<br>
> permission.<br>
> Any thoughts?<br>
> Tyler<br>
><br>
> On Fri, Sep 16, 2016 at 7:44 AM, Tyler Veinot <<a href="mailto:tylerkveinot@gmail.com">tylerkveinot@gmail.com</a><br>
</span><span class="">> <mailto:<a href="mailto:tylerkveinot@gmail.com">tylerkveinot@gmail.com</a><wbr>>> wrote:<br>
><br>
>     Andrew;<br>
>     Well that was simple, thank you. I didn't even think to look there;<br>
>     I was trying to add a standard push button and associate it with save.<br>
>     Now I just have to solve everything else.<br>
>     Thanks again.<br>
>     Tyler<br>
><br>
>     On Thu, Sep 15, 2016 at 4:22 PM, Andrew <<a href="mailto:amcaninch@gmail.com">amcaninch@gmail.com</a><br>
</span><span class="">>     <mailto:<a href="mailto:amcaninch@gmail.com">amcaninch@gmail.com</a>>> wrote:<br>
><br>
>         Regarding your second question, in QTDesigner you can change the<br>
>         default buttonBox properties to include a "Save" or "Apply" button.<br>
><br>
><br>
>         On Thu, Sep 15, 2016 at 8:17 AM, Tyler Veinot<br>
</span><span class="">>         <<a href="mailto:tylerkveinot@gmail.com">tylerkveinot@gmail.com</a> <mailto:<a href="mailto:tylerkveinot@gmail.com">tylerkveinot@gmail.com</a><wbr>>> wrote:<br>
><br>
>             Not having much luck with this, I managed to get the<br>
>             qgsRelationReferenceWidget to show me a list of addresses<br>
>             but I cannot get it to write the wo_id and unique_id to my<br>
>             table.<br>
>             On a different note, is there an ability to create a "save"?<br>
>             the "ok" button closes the form completely. I just want to<br>
>             "save" my work order to write its values to the wo_table and<br>
>             continue editing.<br>
>             Tyler<br>
><br>
>             On Tue, Sep 13, 2016 at 9:35 AM, Tyler Veinot<br>
</span><span class="">>             <<a href="mailto:tylerkveinot@gmail.com">tylerkveinot@gmail.com</a> <mailto:<a href="mailto:tylerkveinot@gmail.com">tylerkveinot@gmail.com</a><wbr>>> wrote:<br>
><br>
>                 Matthias;<br>
>                 Ooop's I forgot to add that I was building the form in<br>
>                 Qt Designer and not from within QGIS, although with this<br>
>                 information is really good and is showing me things I<br>
>                 didn't quite understand before. I am a very visual<br>
>                 person I find it hard to understand things without<br>
>                 seeing it in a diagram or some other example. Took me<br>
>                 forever to figure out dog gears and differential gears<br>
>                 until I tore apart my first bicycle and rear end; as<br>
>                 soon as I seen it I got it.<br>
>                 This is my relationship defined in QGIS thus far....<br>
><br>
</span><span class="">>                 When I add an address to the work order I need to write<br>
>                 the wo_id of my work order and my unique_id of my<br>
>                 address to my jtbl_cwo table. So when I, or someone,<br>
>                 opens a work order it will show them a list of address<br>
>                 associated to that one work order. Also need to do the<br>
>                 same thing with primary assets, so the form will look<br>
>                 something like this in QGIS;<br>
><br>
</span><span class="">>                 ​Of course the unique_id will be referencing a value<br>
>                 from the civic_points "address" but that is that I am<br>
>                 trying to accomplish. I did it in LibreOffice and Access<br>
>                 but I would like to consolidate it all into one database<br>
>                 with one interface, i.e. QGIS. That way I can edit<br>
>                 features, add assets, and do most of my daily tasks in<br>
>                 one application.<br>
>                 Is there an example of this being done in QGIS anywhere?<br>
>                 Tyler<br>
><br>
><br>
><br>
>                 On Tue, Sep 13, 2016 at 8:37 AM, Tyler Veinot<br>
</span>>                 <<a href="mailto:tylerkveinot@gmail.com">tylerkveinot@gmail.com</a> <mailto:<a href="mailto:tylerkveinot@gmail.com">tylerkveinot@gmail.com</a><wbr>>><br>
<span class="">>                 wrote:<br>
><br>
>                     Matthias;<br>
>                     Thanks, I don't know what I would do without you!<br>
>                     Coding isn't normally an issue but that tutorial<br>
>                     didn't quite explain where to put the coding. When I<br>
>                     opened the UI file in IDLE it looked like XML, and<br>
>                     there were no other files associated with the form.<br>
>                     I also opened the "see code" option and it was the<br>
>                     same looked like XML; it might have been C++ but I<br>
>                     have no training or experience with C++ so I<br>
>                     wouldn't know if it looked similar to XML from the<br>
>                     "untrained eye" point of view.<br>
>                     Going to be doing some testing on the versioning bit<br>
>                     here this week, hope to have something a little more<br>
>                     concrete to say about it soon.<br>
>                     Tyler<br>
><br>
>                     On Tue, Sep 13, 2016 at 2:58 AM, Matthias Kuhn<br>
</span>>                     <<a href="mailto:matthias@opengis.ch">matthias@opengis.ch</a> <mailto:<a href="mailto:matthias@opengis.ch">matthias@opengis.ch</a>>><br>
<span class="">>                     wrote:<br>
><br>
>                         Hi Tyler,<br>
><br>
>                         Here is the blog post I wrote for this feature:<br>
><br>
>                         <a href="http://blog.vitu.ch/10112013-1201/qgis-relations" rel="noreferrer" target="_blank">http://blog.vitu.ch/10112013-<wbr>1201/qgis-relations</a><br>
>                         <<a href="http://blog.vitu.ch/10112013-1201/qgis-relations" rel="noreferrer" target="_blank">http://blog.vitu.ch/10112013-<wbr>1201/qgis-relations</a>><br>
><br>
>                         Just configuration, no coding, I hope that helps.<br>
><br>
>                         Cheers<br>
>                         Matthias<br>
><br>
><br>
>                         On 12/09/16 22:56, Tyler Veinot wrote:<br>
>>                         All;<br>
>>                         Trying to make a form for QGIS that has a form<br>
>>                         within a form so that I can link and display<br>
>>                         entries from another table similar to this<br>
>>                         tuorial;<br>
>>                         <a href="https://medspx.fr/blog/Qgis/better_qgis_forms_part_three/" rel="noreferrer" target="_blank">https://medspx.fr/blog/Qgis/<wbr>better_qgis_forms_part_three/</a><br>
>>                         <<a href="https://medspx.fr/blog/Qgis/better_qgis_forms_part_three/" rel="noreferrer" target="_blank">https://medspx.fr/blog/Qgis/<wbr>better_qgis_forms_part_three/</a>><br>
>>                         I think I need to use<br>
>>                         qgsValueRelationRefernceWidget but I cannot<br>
>>                         find any tutorials on it.<br>
>>                         Thanks;<br>
>>                         Tyler<br>
>><br>
>><br>
>>                         ______________________________<wbr>_________________<br>
>>                         Qgis-user mailing list<br>
>>                         <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
</span>>>                         <mailto:<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.<wbr>org</a>><br>
<span class="">>>                         List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br>
>>                         <<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a>><br>
>>                         Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br>
>>                         <<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a>><br>
><br>
><br>
>                         ______________________________<wbr>_________________<br>
>                         Qgis-user mailing list<br>
>                         <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
</span>>                         <mailto:<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.<wbr>org</a>><br>
>                         List info:<br>
>                         <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a> <<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a>><br>
>                         Unsubscribe:<br>
>                         <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a> <<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a>><br>
><br>
><br>
><br>
><br>
><br>
>             ______________________________<wbr>_________________<br>
>             Qgis-user mailing list<br>
>             <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a> <mailto:<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.<wbr>org</a>><br>
<span class="">>             List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br>
>             <<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a>><br>
>             Unsubscribe:<br>
>             <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br>
</span>>             <<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a>><br>
><br>
><br>
><br>
><br>
</blockquote></div><br></div>