Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 9th, 2014, 11:34 AM
Registered User
 
Join Date: Dec 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Opening form on click to filter two sets of data

Hello there everybody. This is my first post to P2P so please forgive me if my formatting is not what is commonly used around here.

I have been tasked at work to make quite a simple sheet however i have come to a bump in the road, I have a query with a lot of data on so to refine this i have made a few select forms allowing key points to be seen without as many eye straining cells.

On the first form " TimeSheet_Table_1_Query_Form_Front " Please let me know if that name is to long :)!, I show some job information IE Job name, Job description, Job number.

There are two in particular interest to us.

Jobnumber(Text80) and partnumber(Text82) I can rename these also if needed.

I will be adding a search box on the header to filter this in those two parts, probably a text box to type in the job number and a drop down to find the part number.

What i would like however is a button, that dependant on what is displayed in Text80 and Text82, to open up a second form "Timesheet_Table_1_Query_Form_AddData" where the job number and part number automatically filter to what was on the previous form. So our staff can just add the new data that is required and close it again.

I hope this makes sense i struggle to explain things on my mind to people so please let me know if something needs explaining differently.

Kind regards

FloppyPoppy

EDIT : Sorry i missed this off, on the second sheet that we would like to pop up when the button is pressed, there are two boxes that contain the same job/part number info. Job number (Jobnumber1) Part number : (Partnumber1). If they can match up here when pressing the button through VBA that would be a very good leap for the project.

Last edited by FloppyPoppy; December 9th, 2014 at 11:39 AM..





Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening a new form, carrying a data element from the previous form JustSteve100 Access VBA 1 December 31st, 2013 12:35 AM
validate multiple sets of data on a form smys123 Javascript How-To 1 October 30th, 2009 07:28 AM
Union of Two data Sets tusharnarayan SQL Language 7 November 4th, 2008 05:23 PM
issue with data sets kaliaparijat ASP.NET 2.0 Professional 1 June 22nd, 2008 11:14 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.