Populating a text box

siamsunset

New Member
Joined
Jan 25, 2005
Messages
29
On my form i want to populate a text box with a value from another table. For example. I have presscosts.tbl and i want to pull the value from the "kimoleccost" feild. Should i use Dlookup or ??
sorry i know its a noob question but im not sure how to do it
Ben
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Yes, use the DLookup function. Have a look at the help files for syntax and usage.
 
Upvote 0
Ben

Is there any relationship between the two tables?

If there is why not base the form on a query which in turn you can base on the 2 tables?
 
Upvote 0
There is no relationship between the 2 tables, so if i run a query , how do i pull the info i need into a text box?
cheers
Ben
 
Upvote 0

Forum statistics

Threads
1,221,904
Messages
6,162,744
Members
451,785
Latest member
DanielCorn

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top