Re: How to populate Unbound controls in a dialog?
Thanks Selwyn, but I'm not getting where I need to go.
I've re-attached the components.
1. CompanyNameUnbound: Yes, I had found that error after sending you the component
2. onDialogInitialize
OK - I understand that I was confusing Variable vs Control
Your video shows how to pre-specify an OrderID and have the fields populate; nice, but not convenient to type each OrderID.
Your video shows that I can add a control for WhatID, add a PopulateNow button, and have the fields fill in; nice, but not convenient to type in each orderID and click Populate
3. Open a Dialog Component to Edit Current Record in Grid or Add New Record: Video 24
a. OpenDialogForEditing - I have this working, altho I don't seem to be doing what you suggest
the dialog's onDialogInitialize is set to SpecifyNow, and Primary key Value is null/blank
when I click from the grid, the appropriate dialog opens
I can alter the data and saving is done correctly
It's lovely.
b. OpenDialogforNewRecord -
I do not have this working; I did have it working, but have lost functionality
c. Dialog Component does not come up via Working Preview;
4. Trying to have Unbound control populated: This is where I started this thread
When the dialog opens for editing, I would like the unbound control, CompanyName, pre-populated.
A5LearnLookupV2.zip
Thanks Selwyn, but I'm not getting where I need to go.
I've re-attached the components.
1. CompanyNameUnbound: Yes, I had found that error after sending you the component
2. onDialogInitialize
OK - I understand that I was confusing Variable vs Control
Your video shows how to pre-specify an OrderID and have the fields populate; nice, but not convenient to type each OrderID.
Your video shows that I can add a control for WhatID, add a PopulateNow button, and have the fields fill in; nice, but not convenient to type in each orderID and click Populate
3. Open a Dialog Component to Edit Current Record in Grid or Add New Record: Video 24
a. OpenDialogForEditing - I have this working, altho I don't seem to be doing what you suggest
the dialog's onDialogInitialize is set to SpecifyNow, and Primary key Value is null/blank
when I click from the grid, the appropriate dialog opens
I can alter the data and saving is done correctly
It's lovely.
b. OpenDialogforNewRecord -
I do not have this working; I did have it working, but have lost functionality
c. Dialog Component does not come up via Working Preview;
4. Trying to have Unbound control populated: This is where I started this thread
When the dialog opens for editing, I would like the unbound control, CompanyName, pre-populated.
A5LearnLookupV2.zip
Comment