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

OpenArgs format question

Abhean
32
I am using openargs to transfer 2 variables to a form. However I am missing something when I sent the request through.
The second variable goes through without problem, but the first one is not. The system is seeing the Var name and sending that. Im sure it is just a formatting problem.

Code in Parent I Need it to pull the variable Accessionz and ClientNumz. The Bar is the separator.

Expand|Select|Wrap|Line Numbers
  1. DoCmd.OpenForm "FollowUpFrm", , , , , , "Accessionz|" & ClientNumz
Jun 25 '20 #1

✓ answered by NeoPa

Abhean.
You're passing the name of the variable as a string. Why would you expect anything other than that name to be received by the Form. If you pass the value instead then you'll get the value that I assume you want.

3 2520
NeoPa
32,556 Expert Mod 16PB
Abhean.
You're passing the name of the variable as a string. Why would you expect anything other than that name to be received by the Form. If you pass the value instead then you'll get the value that I assume you want.
Jun 25 '20 #2
Abhean
32
and I hate parenthesis!
Move one and it works.
Expand|Select|Wrap|Line Numbers
  1. DoCmd.OpenForm "FollowUpFrm", , , , , , Accessionz & "|" & ClientNumz
Jun 25 '20 #3
NeoPa
32,556 Expert Mod 16PB
I'm not sure I follow the bit about parentheses. There is none in your code. However, you have moved the word Accessionz such that it is no longer within the quotes ("), just as I advised, so I'm glad to hear it works. Within quotes means it is a literal text string whereas outside of them means it's used to point to some object or variable as a reference. It certainly should work like that.
Jun 26 '20 #4

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

Similar topics

4
by: chris | last post by:
hi, i am looking for a way to structure the text in XML comments to produce a XHTML doc format for the XMLs (in this case XSLT). so is was thinking about using a wiki like text format. e.g....
3
by: Lin Ma | last post by:
In my asp page, I have a date value from SQL database and I would like to be formatted like: yyyy,mm,dd. Such as 1/22/2005 to be 2005,1,22 Is there a simple command I can use? Thanks,
7
by: Roger Helliwell | last post by:
Hello Everyone, Has anyone found a quick reference for the many string formatting options for string.Format() ? I'm spending a ridiculous amount of time trying to write one line of code that...
2
by: Akeel | last post by:
Hi I have the following code char splitter={','}; string fields=row.ToString().Split(splitter) string serviceDefintion="" // row.ToString().Split(splitter // conatins the followin...
2
by: pmclinn | last post by:
I have a textbox named "mydate" and I want to add an "onblur" event to it that will format the text in this format: dd-MMM-yy the data entry people use this format in the text box: dd/mm/yy...
4
by: Fred Nelson | last post by:
Hi: I'm very new to vb.net and I apologize if this question should have been found in the documentation however I don't understand the documentation. I have a textbox on a vb.net web form that...
13
by: Roy | last post by:
Hi all, I'm creating a project that should always use this date format when displays the dates or create dates. The back end database is a SQL Server and I like to know what is the logical way...
1
by: scott | last post by:
Hi Everyone, I don't know if this is the correct forum but I thought i'd ask. I have an access DB with a function to automatically safe a table with fields i'm mail merging into MS Word. Word...
5
by: phhonl | last post by:
Dim x As String x = Format$("50", "00000000") in vb6 x returns "00000050" in vb.net 2005 x returns "0000000" How do I get the vb6 result in vb.net 2005?
9
by: Mark G. | last post by:
Good afternoon. I have a "Fixed/2" format applied to a textbox on its property sheet. When I type data in the textbox, it is formatted correctly. But when I update the value programatically by...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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.