473,503 Members | 9,912 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Copy and use the same Search text box command on one form to another form

37 New Member
I created Form "Inquiry Record" containing a Text box search to search for a record and copied the Form and saved it as another Form named "Update Record". In additional I created embedded marco in the "Inquiry Form" to find a display only the record. I wrote similar coding using VBA that in addition to the search, also limits the display to the record searched for and all duplicate records and not the rest of the records in the table. Immediately after I enter the search requirement in the UPDATE RECORD form, I receive a parameter query popup screen requesting the search requirement that would normally be entered in the INQUIRY RECORD form. It is like the UPDATE RECORD is running two different set of instructions. Is it because I copied the INQUIRY SCREEN and all of it's coding and instructions and named it "UPDATE RECORS", that I am getting the paramenter query popup box from the INQUIRY RECORD on the UPDATE RECORD form?
May 22 '18 #1
1 940
NeoPa
32,557 Recognized Expert Moderator MVP
You know I'm no expert in Macro work M, but it seems to me that the macro may be written to work specifically with the original Form.

If that's true, and I'd be reasonably confident it is, then you either need to create a new macro which is similar but refers to the new Form instead, or throw it away and do it using VBA.

Personally I'd advise the latter. There's no place in professional Access databases for the old macros (IMHO).
May 22 '18 #2

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

Similar topics

14
4647
by: simonmarkjones | last post by:
Hi, I'm having a bit of trouble editing an old database that was created quite a while ago by someone else. There is a form that lets the user select a member of staff and show details about the...
3
7525
by: fh1996 | last post by:
Form.Owner and Form.Parent, what's the difference between them? Form.ShowDialog() and Form.Show(), when to use which? Form.Activated(), what does it mean when saying a Form is "activated"? ...
1
3421
by: John Davis | last post by:
I am writing a program that allows user to select the date in a calendar, and it will update the text fields automatically. I created 2 forms. The first form has 2 text fields (start date and...
4
1053
by: Michael Murschell | last post by:
If I have Form1 with a text field called Text1 on it, and I want to put information into that field from a second Form (Form2) how would I do it? I would have thought there would have been a way...
3
2655
by: Mike Johnson | last post by:
I'm new to VB.Net and programming. I just brought VB.Net Standard I'm working on a small program for work. I've created two forms the first is named Forms1 and the second is named SettingsForm on...
0
1565
by: Ron | last post by:
Hi All, If utilized as a sub-form, the ControlTip Texts of all the labels (you know...you can hover the mouse over either the control itself, or the label for that control) flickers like crazy. ...
9
2787
by: AMBLY | last post by:
Hello ! Hope someone might be able to help me with this one. I run Access2000 on XP. I have a form : frmONE- which contains a txt field: ctrCTN from my table/database. The values in ctrCTN are...
0
1661
by: cheekangteh | last post by:
currently i am doing sms function by using window mobile standard 6. i have multiple form, up to 4 window form. and at the last form, i wish to collect all the data that already key in in previous...
1
1209
by: djohn | last post by:
On my membership form I would like to create a search text box that would allow me to search for members by last name, first name and company and bring up that particular record by either of those...
0
796
by: MCarli | last post by:
I have a search form with a search text and I want to add a search buttom to open another form on that especific record. I also will need to display a message box if the record is not available or...
0
7207
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7361
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...
1
7015
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
7470
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...
0
5602
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5026
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3183
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3173
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
403
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.