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 4945
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: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
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: 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...
|
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,...
|
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,...
| |