473,395 Members | 1,440 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,395 software developers and data experts.

User Forms to Search, Display and result

Hello Everyone.
I have a question and i would appreciate if any one can help....
Attached is a user form with 3 Search critira. I would like it to seach the worksheet display result in text box and on update that filtered list add a number(From the userForm)into in a column that says ppo #. any guidance in this will help.
Attached Files
File Type: zip New USer form.zip (17.7 KB, 227 views)
Oct 21 '11 #1
25 3142
can anyone help? did i not explain it right????
Oct 22 '11 #2
Guido Geurs
767 Expert 512MB
Attached demo will:
- load all the existing values from the sheet into the Combo lists.
- Search according to the lists selection.
- Add in the text box some values from the found records.

Question: for each found record, must ppo# be automatically added in a column or must the user decide for it and add it yes or no?
Attached Files
File Type: zip New user form_v1.zip (21.8 KB, 177 views)
Oct 26 '11 #3
Wow thanks Guido for this i really appreciate this once again your the best.... I would like to have the user add a PPO# to the column after each record found is it possible to keep adding PPO#'s to that same column then seperate with a comma everytime a new one is add then time stamp in the next coloumn everytime a new one is add
Oct 26 '11 #4
Guido Geurs
767 Expert 512MB
Attached is a demo how it can be done.
I have added a Msgbox for the user to add PPO# ? YES - NO
Attached Files
File Type: zip New user form_v2.zip (23.5 KB, 137 views)
Oct 26 '11 #5
Omg!!!! wow Ur the BEST!!! How do I change it to autmatically add the ppo number to the records found?? Would this great I think it would be easier that way..
THanks so much
Oct 26 '11 #6
Guido, I have one more question, i need your option on which way would be the best way to handle this... If i want to date stamp after everytime a ppo# was entered how do i keep keep that date and time even though a new ppo was added with a new date and time what im trying to say is there a better way of keep track of ppo# and there date beside the way that im doing it.
Oct 26 '11 #7
Guido How do i change vba code to run search even if there is nothing selected in Sub Specialty. Only run on 2 options Specailty and State
Oct 26 '11 #8
Guido Geurs
767 Expert 512MB
Just add checkboxes and select the one which you want to use. (see attachment)

PS:
- I have added a menu button in stead of a command button.
- are there much lines (records) in the sheets?
Because if so, it's better to use arrays: much, much faster !!!
Attached Files
File Type: zip New user form_v4.zip (17.0 KB, 129 views)
Oct 29 '11 #9
Yes I could have over 20,000 records in the sheet at once. Thanks for help me with this I have recived the best advice from you. Sorry for the late response
Nov 1 '11 #10
How do i get it to automatically put the ppo# i do not want to have the users accidentally add the ppo# twice, thanks for always answering my questions...
Nov 1 '11 #11
Guido Geurs
767 Expert 512MB
This is a demo how to add the PPO automatically and how to use arrays (tables in the memory) when you have to many records.
Attached Files
File Type: zip New user form_v2.1.zip (22.5 KB, 113 views)
Nov 2 '11 #12
Thanks GUido That works Awesome!!!!!! I Can I transfer that user form to this datebase
Attached Files
File Type: zip Physician Database.zip (2.17 MB, 126 views)
Nov 2 '11 #13
Guido Geurs
767 Expert 512MB
Sandy,
There is a major problem in the workbook: the data in the columns to search on are not standard !
What I mean: there is 2x "Emergency Medicine", 2 x "Pulmonology", "NY" ,... once ending with 1 space, once with 2 spaces, ....
If you want to search on these data, they must be have a standard value like "NY" and not " NY" or "N Y " or "NY "...
The only way is to write a macro for standardization the data in the sheet.
Nov 5 '11 #14
Hey Guido Im sorry for the late respone. But thanks for looking at this for me. I understand there is no standards with the states or specailties. This data was collected from 3 different sites by mulitiple people. What i was trying to do is every time a college of my does emails blast using word mail merge she can track who she sent to and the date with the number of ppo# I thought creating a user form would be easier the trying to do some hard coding since iam very new to VBA. I really apprecaite your guidance and expertise so much Thank you...
Nov 7 '11 #15
Guido Geurs
767 Expert 512MB
Would it help when I write a form for standardizing the data in the 3 columns?
Nov 7 '11 #16
Guido Geurs
767 Expert 512MB
Hello Sandy,
I'm back on this call and working on a tool for standardizing the data.
Do You still want it?
Nov 18 '11 #17
Yea that would be awesome!!! thanks SO much!!
Nov 18 '11 #18
I would love that... Thanks Guido that awesome...
Nov 18 '11 #19
Hey Guido I am going to Uplaod a search user form that im using Can i use that same one that you helped me with but with some modifiations and changes to fit this porpose or do i need to create something from scatch.
Attached Files
File Type: zip BYtes.zip (23.6 KB, 103 views)
Nov 18 '11 #20
Guido Geurs
767 Expert 512MB
As promised, attached is a tool to standardize the data in the sheet.

PS:
There is a note of Bytes in which they ask to close a call once an answer is accepted as a solution for the call.
If you have an other question (even in the same project), please open an other call.

For this call: I must still look at your last question for the modification of the "search User form".
But if there is a problem with the "Standard" tool, please open an other call.
Attached Files
File Type: zip New user form_v8.11.zip (1.41 MB, 131 views)
Nov 22 '11 #21
Guido Geurs
767 Expert 512MB
For your last question with the file "Bytes.zip": there is no Userform2 in the VBA environment !?

Please if this is a new search form, place it in a new call (see previous answer)
Nov 22 '11 #22
Wow thanks Guido!!!! this is a great tool that we can use to Standardize new data. this is perfect!!!!!! thanks guido i really thank ful you could help me with this I knew we were going to run into troble if we didnt have everything standardize.
Nov 22 '11 #23
Guido Geurs
767 Expert 512MB
This is a new version of the tool.
- Easy to use
- The possibility to change more than one wrong data at once. (like: "#NY", "NY##", "Ny", "ny", ... to "NY")
- Save standards to file for later use.
-....
Attached Files
File Type: zip New User Form v9.9.zip (1.43 MB, 160 views)
Dec 1 '11 #24
Hello, GUido thanks for this tool I was trying to use the user form that is used to add the PPO# but i keep getting an error on
ARRDUMP = Range("G2").Resize(ROWlastREC, 2)- this line
But this is sooo cool Im in love with this! thanks soo much
Dec 5 '11 #25
Guido Geurs
767 Expert 512MB
I think we have to pick up the user-form "Search" again because I have seen that the code is NOT OK.
We have stopped to develop it because we had first to standardize the data and develop the tool for it = user form "standardize".
Now that we have standard data, we can continue with the user form "search".
I will pick it up as a next project.
Dec 6 '11 #26

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

Similar topics

1
by: Greg Brady | last post by:
How to display result set in random order? Thanks.
1
by: devccon | last post by:
Hi all, I'm quite stuck with this problem here. I have a search form (search.aspx) and I want the results to be displayed in another form (result.aspx). So far so good, I've implemented a...
1
by: paavani krama via .NET 247 | last post by:
(Type your message here) I am using two forms.From the first form i need to getinformatiom.After performing necessary calculations,the resultshould be displayed in the 2nd form.i am storing the...
2
by: Dursun | last post by:
Collegues, is it possible to do the foloowing: Let end user draw specific shapes (a circle that has a number within it and a connector that points to a specific area on the background image)...
6
by: johntarr | last post by:
I hope I am not asking about something that has been done before, but I have searched and cannot find an answer. What I am trying to do is to run a query, and then perform some logic on the...
1
by: Terry Olsen | last post by:
I have an ASP.NET web page that can display about 25 columns of data from an SQL database. I have it right now using a CheckedListBox to allow the user select the columns for display in the...
6
by: gunanallasamy | last post by:
hi Folks, i came across a situation for which still i couldn't get a solution. i have table like below(some other columns are also there) option value -------...
0
by: =?Utf-8?B?QW5pdGhh?= | last post by:
Hi, Currently for Announcement library a custom column "publish start date" is added and under the search result webpart changed the xslt by filtering the result based on the publish start date...
2
by: metparker | last post by:
Hi everyone. I am trying to create a web form that will let search for records. the form will display the results on a screen that will enable the viewer to edit the record and then re-save it or...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.