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

Passing a parameter as a form control (or not!)

Just looking through some of my code and wondering if there is any
benefit or not to rewriting this:

Forms!frmName.InputParameters = "@parameter1 =
[Forms]![frmSomeFormName].[IDControlName]"

into:

Forms!frmName.InputParameters = "@parameter1 = " &
Forms!frmSomeFormName.IDControlName

where in the second example I'm passing the actual value...

Thanks, lq

Nov 13 '05 #1
1 1469
Br
lauren quantrell <la*************@hotmail.com> wrote:
Just looking through some of my code and wondering if there is any
benefit or not to rewriting this:

Forms!frmName.InputParameters = "@parameter1 =
[Forms]![frmSomeFormName].[IDControlName]"

into:

Forms!frmName.InputParameters = "@parameter1 = " &
Forms!frmSomeFormName.IDControlName

where in the second example I'm passing the actual value...

Thanks, lq


Not sure.... I'd pass the value but it all depends on how Access
interprets it. If you were opening a SP in code you'd have to pass the
value....
--
regards,

Bradley

A Christian Response
http://www.pastornet.net.au/response
Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Nancy Li | last post by:
Hi, There, Could someone help me please about hosting a window form control on my web page? I know I can use <object> tag on my page to reference my window form control. But my problem is how...
1
by: Amjad | last post by:
Hi, I created a new ASP.NET Web Form application and added to the project a Web Form Button control and a Web Form Label control. Now when I try to view the (.aspx) file in Browser, I could see...
2
by: Khamal | last post by:
need to passing parameter from 1st page to 2nd page... try to use public static void user_param(string namaku ,string umurku ) but still cannot why?? please help... -- :: KHAMAL ::
2
by: Amjad | last post by:
Hi, I created a new ASP.NET Web Form application and added to the project a Web Form Button control and a Web Form Label control. Now when I try to view the (.aspx) file in Browser, I could see...
1
by: Joe Smith | last post by:
How to pass parameter to a Vb.Net application? ..Net Framework 1.1. Thanks, Joe
1
by: anushree1631 | last post by:
hi I am working in C#.Net 2005. I want the whole code for Passing Parameter in Crystal report Please send it fast It's very urgent with regards, Anushree
1
by: Mike Thompson | last post by:
I have an event handler defined within a class. It has the following signature: static void XYZ_EventHandler (object sender, XYZEventArgs e) From within this event handler, I want to access...
2
by: Harmony504 | last post by:
I am passing a form field in JavaScript to a PHP function. The problem is when the parameter gets inside the PHP function the value is set to 1 when it should be a relative path to a file. ...
2
by: robtyketto | last post by:
Greetings, I have a form where a combo box is used to select a name and Id. Theses values are passed into a subform. However the query now returns 0 results. So I edited the query and hard...
7
by: AmiMitra | last post by:
i am having problem with passing parameter through navigateUrl property of a hyperlink. in the page where i am using the hyperlink , i am getting the data thorugh commonutility. i want to pass this...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
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,...

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.