I want to be able to populate a form field using a query.
The fields on the form are: Part Number, Quantity, and Vendor ID. My form, on click, will check to see if I have multiple vendors available for the specified part number. If there is only one, I want the field to be populated with the...
I have a query that produces the desired results, but I need to be able to edit the results. So, the query is form resource.
SELECT Parts.Part_Number, Parts.Component, Part_Detail.Manufacture_From, Part_Detail.Manufacturer, Part_Detail.Vendor_Part_Number, Parts.[Tracked?], Part_Detail.Vendor...
The problem I am having is that when one query does not return any results...it does just that - not return any results. That means that it does not provide my drawing-specific information (drawing_number, _title, _description, additional_info). So, this results in one "side" of the report...
When I do my unmatched queries, I need these fields...
[BOM Query].
Drawing_Number, Drawing_Title, Drawing_Description, Additional_Description, Part_Number, Component, Quantity.
Currently, if the number I am comparing against contains all the parts listed in the main number, I get zero...
I have a report with two subforms that have distinct ID numbers. I want to seperate the ID numbers from the subform and place them in the main form. The ID numbers exist in seperate tables. Is there a way to either do this, or use a query to populate the text box/label?
so, GingerR, you are saying to have two unmatched queries?
about outer join - im kind of lost on the whole query. can you give me an example of what you are talking about?
I need to be able to compare two bills of material against each other and only view the differences between the two. I'd like to have a report setup with drawing_info_a on the left and drawing_info_b on the right.
pertinent applicable information:
Tables:
BOM Query - this holds Part_Number and...
You can add a new table lastQuantity. Everytime an item is used, either update the quantity or add the item into it. Its difficult to know what needs to be done without any additional information though.
Cool - thanks GingerR. Is there a way to override this if ever need be? I am thinking of a worst case scenario in which I have only allowed administrators access to the design view of forms and queries - I don't want to lock myself out of my own house. Is there any way I can leave a key under...
hmm - well, I know I try to get around these problems by trying to spread out the code a bit. Put the combo_Orgs_and_Accounts.Visible = False code into a public function. When you go back to set your flag variable on exit, then change the focus or visibility of Orgs_and_Accounts.
sorry for posting in fragments.
the code will look similar to this
if (flag = false) then
somethingThatIsntDropDown.Setfocus
menu.visible = false
else
dropDown.setfocus
menu.visible = true
end if
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.