473,322 Members | 1,703 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Search Result in Userform 2 from Search button on Userform 1

Hello All,

I by no means am a coder, but I can make things work with direction. :) I am hoping the experts here can help me.

I have created a userform (with the help of pieces of code here and there that I have found on the web) but i need some tweaks that I cant seem to make happen...

On UserForm 1 you can search for existing ticket, or enter a new one.
on UserForm 2 you can search for existing checklist to support your ticket (from UF1) or if a checklist is not started, you can create a new one.

Currently, you have to input your search # in the combox box and hit search, all result display on the UF1... from here, there is a CHecklist search box. it ONLY OPENS UF2.
I would like for it to OPEN UF2 and return search results based on the search # in the combox box of UF1...

if no checklist is found - then msg box "Checklist not found, Create a new one" ... if checklist is found i would like the details of the checklist to show on the UF2.

I have tried to upload the file, however, i am receiving an error.

i hope you all have suggestions without the file available.

thanks
S
Jun 23 '16 #1
1 1102
prw1
2
One way to accomplish what you want is with a module. Try this:

1) RIGHT click on your project name, in the Solution Explorer.
2) Click Add.
3) Click on Module
4) Name your module. Module is added to your project.
5) Open the module by RIGHT clicking, then Open.
6) Add the needed variables to this module. Instead of using
Dim, use public, so they can be seen everywhere in your
project.

You now have access to data from either form. Use the syntax: ModuleName.VariableName.

OR you can learn to program with classes and do basically the same thing.
Jun 23 '16 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Sharif T. Karim | last post by:
I am trying to do the following with my search script that looks for records in a mysql table. The following is an example of what I am trying to do. Text being searched: -- The brown fox...
3
by: mark | r | last post by:
we have a MSAccess database of products with titles, short descriptions, long descriotions, bulletpoints etc contained for each product. we currently search the database looking for the target...
1
by: Richard | last post by:
I have an on line search which produces a result, two lines of which appear in the results table so: mailto:UserId12345@mysite.com and http://www.mysite.com/image1.gif This looks totally...
3
by: DC | last post by:
I need help. I've confused myself with all of the things I've tried. I'm trying to modify the exiting Contacts template in Access 2000 to include a search option. To the Contact Entry form I've...
5
by: MD | last post by:
my database return the search result in the xml. I have about 100 fields with 10 records if i use the dom to parse in the browser with javascript takes about 30 seconds to generate the table with...
3
by: Raj G | last post by:
Hello I have got a search function on database. People can search and once they got what they want they can edit the results to what they want but i want to do is when they finished editing i want...
0
by: lotpower | last post by:
Hello all. I am a begginer in asp.net C# I have a griedview that produces a table from sql db. on the left side i have option to delete individually with confirm. On the right side i want to a...
1
by: Bbjean | last post by:
How can i create a search button in Microsoft Access 2007 with this corresponding information for the employee Details. IDNO Position Description Unit Description Cluster Description Rank...
1
by: mdshakilahmmed | last post by:
i have a simple access from where i am create simple search button to find record. search button works good, here is may question is,i want to create search button where i am just click the button &...
1
by: ahmad641 | last post by:
***> here is the code***. > when i search single word like GOOGLE then the result is appear > if i search two or more word search then the result is not appear. <?php ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.