Ask a Question related to Microsoft Access, Design and Development.
-
Sandra Daigle #1
Re: Auto populate a field in a form from another table
Hi Julie,
If you are using a combo or listbox to select the RFQ number you can simply
add the item number field to the Rowsource query of the combo/listbox and
then set the controlsource of the ItemNumber control to refer to the column
in the combo/listbox control. For example: if the item number field is in
the 3rd column of the combo, then your control source for the ItemNumber
control would be:
= [RFQ Number].column(2)
The column property is indexed starting with 0.
Another way is by using an AutoLookup query as the form's recordsource.
Basically this just means that in your query, you include the table that has
the related value that you want to display on your form. To do this you
simply add the table that has the Item numbers to the query, joined on RFQ
Number. Then make sure that the RFQ field is from the *many* side of the
join and then item number field from the one side. Now when sufficient
information is entered into the join fields, the value in the item number
field will be *looked up* for you. You might want to set the locked property
of this field to prevent inadvertant edits from this form since the field
will be editable.
--
Sandra Daigle
[Microsoft Access MVP]
For the benefit of others please post all replies to this newsgroup.
Julie Bedford wrote:> I would like to setup a form that when a field is on this
> particular form it will auto populate the next field in
> the form. For example: When the RFQ number is entered
> automatically enter the item number. The item number is
> in the same table as the rfq number. Does anyone know how
> this can be done?Sandra Daigle Guest
-
Binding form field to table field.
I have a form and a table to which I've added a new field. The form field is currently unbounded. When I try to bind the field using the data... -
does form field auto-recognition really work in Acrobat 8?
Has anyone used this feature successfully? I tried it on a very straightforward pdf document consisting of a series of questions with several blank... -
Flash Forms: Auto-pop second form field based on choicefrom first
I'm trying to create a flash form (tabbed) that allows the user to pick multiple items from a listbox and another listbox/textarea/something is then... -
copy and paste form RTF document into field in asp form cause it to bypass field length and javascript validation - how to overcome?
I have a web form with several fields. If I copy & paste from a RTF document into a field, the javascript validation and field length are bypassed... -
Access auto fill/populate field with list of different values
I am creating a database with the following fields in the table ID - ID Number for person LAB - Lab Name LABDT - Lab date LABVAL - Value of the...



Reply With Quote

