[SOLVED] How to get _id of a recently inserted record so you can use it as your Primary Field.

@jonatandor35 I finally did it! I updated my post and included the working code. Thanks!