I have a textbox which is attached to a table field underneath. I want the user to have 4 fixed options. I have tried everyway but cannot get the textbox to show a dropdown box with the desired values in it. The textbox connects back to a a field that is of type text ( it's not of type option).
0
Comments
It's a bit of a waste of a table ID though.
Why can't you change the field to type Option?
<edit>
Much better even:
Change the data type of your field to option, and enter the option values there. Then it's just a matter of dragging the field from the field list onto your form.
</edit>
RIS Plus, LLC
The form connects to a temporary record type underneath. One of the fields in the table can have only four values . I want the user to have the option of selecting the values from a dropdown rather than remembering them.
If I link the source expresion property to the option field then I wont be able to save the record back to the table ( with minimum code).
Also can I have an option field where I can fill the options at runtime.
If you go the way you explained, with temporary records, then you will have to program the form or report or whatever to populate the temporary table.
RIS Plus, LLC
RIS Plus, LLC
What about options at runtime. I have to show an option for all the locations of the company. The locations table does not include the company address, it just shows alternate ones. How do I combine the locations into one dropdown. Right now my dropdown only shows values from the Location table ( ie I am missing the company address )
RIS Plus, LLC
My form has three Textboxes on it.
1. One which has static choices ( I converted the field to option and it works fine)
2. The second and the third textboxes can take any location code for the company. The problem is that the location code comes from two different tables ( Locations & Company Address ) and can change if the user adds or deletes any address.
My question is how to create a dropdown in the second and the third textbox.
What is going to happen with your on hand quantities? How are you going to do the replenishment? There are many other questions when you try to make these types of changes.
I don't mean to dismiss the issue, maybe I misunderstand it, but there are very easy solutions for the issues that you seem to have.
RIS Plus, LLC
I still don't understand what you need to do, but here are some general tips:
Before you can display the temp record on any form, you need to fill the temporary Rec variable with information from wherever you want to get the information from.
Then you open the form for the temp variable. If you use the table's lookup form, and you set the lookupmode property to TRUE, then you will see the OK button, and you can do the RUNMODAL and the ACTION::OK thing, and consequently capture the code of the "location" and program the rest of it.
RIS Plus, LLC