# Automatically filling in fields on a form

**URL:** <https://www.dynamicsuser.net/t/automatically-filling-in-fields-on-a-form/6177>\
**Category:** Developers Forum\
**Created:** [August 1, 2002, 9:21pm UTC](https://www.dynamicsuser.net/t/automatically-filling-in-fields-on-a-form/6177 "2002-08-01T21:21:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DebbiC](https://avatars.discourse-cdn.com/v4/letter/d/a9adbd/32.png) [@DebbiC](https://www.dynamicsuser.net/u/DebbiC)\
**Post date:** [August 1, 2002, 9:21pm UTC](https://www.dynamicsuser.net/t/automatically-filling-in-fields-on-a-form/6177/1 "2002-08-01T21:21:35Z")

</div>

I have a customer who wants the shipping addresses on the Purchase Order to autofill. They do not want these addresses to be part of the customer card. I created a simple table with the information they need. I added a code field to the Purchase Order Form - Shipping tab. By clicking on this field, I am able to get to the table from the form, but I can’t get the fields on the table I created to automatically populate into the address fields on the Form. What needs to be done to have fields in a table automatically populate?

---

<div class="post-metadata">

**Author:** ![lars\_westman](https://avatars.discourse-cdn.com/v4/letter/l/e47774/32.png) [@lars\_westman](https://www.dynamicsuser.net/u/lars_westman)\
**Post date:** [August 1, 2002, 10:21pm UTC](https://www.dynamicsuser.net/t/automatically-filling-in-fields-on-a-form/6177/2 "2002-08-01T22:21:07Z")

</div>

First of all: Shouldn’t You use Drop Shipment? Anyway. If You wan’t to autofill the shipping fields on the purchase order do like this: NewTable.GET(NewFieldOnPurchOrder); Ship-to name := NewTable.Name; Ship-to Adress := NewTable.Adress; …and so on Good luck //Lars

---

<div class="post-metadata">

**Author:** ![stryk](https://avatars.discourse-cdn.com/v4/letter/s/ee59a6/32.png) [@stryk](https://www.dynamicsuser.net/u/stryk)\
**Post date:** [August 2, 2002, 9:09am UTC](https://www.dynamicsuser.net/t/automatically-filling-in-fields-on-a-form/6177/3 "2002-08-02T09:09:02Z")

</div>

> quote:
> 
> * * *
> 
> I have a customer who wants the shipping addresses on the **Purchase Order** to autofill. They do not want these addresses to be part of the **customer card**.
> 
> * * *

As far as I understand you, the _Ship-to-Address_ of a Purchase Order depends on the Sale-Customer!? Your Vendor shall ship directly to your customer? So, we are talking about a **“Direct-Delivery”**? In that case, you can connect the **Purchase Order** with your **Sales Order** and the _Ship-To-Address_ should be updated automatically! Regards, Jörg Joerg A. Stryk Apollo-Optik, IT/ERP Edited by - stryk on 2002 Aug 02 10:09:45
