I have several variabls that are strings.
How can I put them on one line.
I remember that if you do that, only the last one is the string and the ones
before it are not
like
dim a, b, c as string
the c will only be declared correctly.
Is this the case with access 2002?
Thanks in advance
Dan 4 4946
Am Tue, 13 Apr 2004 15:51:21 +0000 schrieb Danny: I have several variabls that are strings. How can I put them on one line. dim a, b, c as string
the c will only be declared correctly.
Is this the case with access 2002?
Thanks in advance Dan
Hello,
you have to declare the type of each variable explicit.
You have to type:
Dim a as string, b as string, c as string
HTH
Karpi
<fluctuat nec mergitur>
Danny wrote: I have several variabls that are strings. How can I put them on one line. I remember that if you do that, only the last one is the string and the ones before it are not
like dim a, b, c as string
the c will only be declared correctly.
Is this the case with access 2002?
Thanks in advance Dan
dim a as string, b as string, c as string
I don't code like this,so I'm not sure you need the commas.
Ron
--
Ronald W. Roberts
Roberts Communication rw*******************@robcom.com
To reply remove "_at_robcom_dot_com"
Thanks
is there any other option?
Do you guys use the option explicit to force correct syntax?
Thanks
"Danny" <da********@hotmail.com> wrote in message
news:Z%*********************@news4.srv.hcvlny.cv.n et... I have several variabls that are strings. How can I put them on one line. I remember that if you do that, only the last one is the string and the
ones before it are not
like dim a, b, c as string
the c will only be declared correctly.
Is this the case with access 2002?
Thanks in advance Dan
You should always use option explicit imo, cant do any harm to prevent
any extra errors in your code
dim a as string, b as string, c as string
or
dim a as string
dim b as string
dim c as string
what other options are you looking for?
"Danny" <da********@hotmail.com> wrote in message news:<4J*********************@news4.srv.hcvlny.cv. net>... Thanks
is there any other option? Do you guys use the option explicit to force correct syntax?
Thanks
"Danny" <da********@hotmail.com> wrote in message news:Z%*********************@news4.srv.hcvlny.cv.n et... I have several variabls that are strings. How can I put them on one line. I remember that if you do that, only the last one is the string and the ones before it are not
like dim a, b, c as string
the c will only be declared correctly.
Is this the case with access 2002?
Thanks in advance Dan
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: David T. Ashley |
last post by:
Hi,
In my project, I typically declare and define variables in the .H
file, i.e.
DECMOD_MAIN UINT8 can_message_201_status_global
#ifdef MODULE_MAIN
= HAS_NEVER_BEEN_RECEIVED
#endif
;
|
by: rick |
last post by:
Noob problem. I prefer to keep all my scripts in an external '.js' file.
I am currently loading the external '.js' file from the header. Problem is I
would like to declare
a global variable in the...
|
by: Jeff Higgins |
last post by:
I would like to use a string variable to declare a variable.
How would I accomplish this goal?
string nameMainMenu = "mnuMain";
string nameMenuItem = "mnuFile";
MainMenu {nameMainMenu} = new...
|
by: **Developer** |
last post by:
Notice below I sometimes used the "A" version. I found by cut-and-try that
only the "A" version would work correctly. Anyone have a suggestion of why
the "W" version would not work correctly?
...
|
by: redefined.horizons |
last post by:
I would like to have an array declaration where the size of the array
is dependent on a variable. Something like this:
/* Store the desired size of the array in a variable named
"array_size". */...
|
by: Manuel |
last post by:
hi,
I have a problem, a stupid problem. I can't declare a variable of type
byte.
The g++ said that i have syntactic error in this line. The code is
this: byte * variable;
well, i think...
|
by: Ron |
last post by:
I want to decalre and fill an array with some numbers, 5, 7, 8, 9, 0
do I just do this:
Dim myarray as int = (5,7,8,9,0)
if not how would i do this?
thanks.
|
by: ares.lagae |
last post by:
- I have a typelist and I want to declare a member variable for each
of the types. How can I do that?
E.g. I have the typelist "typedef boost::mpl::vector<int, float>
types;" and I want to declare...
|
by: roamnet |
last post by:
hi
i created database file with .mdf extention ,sql server as a source
and use grid view to display data
there're no problem in data retrieve and display,but i want to edit it
or insert new...
|
by: FLANDERS |
last post by:
Hi all,
Is it possible to declare a SQL type of result set or similar? I want to do use the IN predicate like you can in a non-procedural SQL like this:
UPDATE TABLE1 SET COL1 = 123 WHERE COL2 IN...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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...
|
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,...
| |