I used your Concat query in one of my application,with a lil change.I
am trying to concatenate a text field using a number field as the key
field.
Application:
fConcatFld("BaseSelection_tbl"*,"EventID","Applica tionName","*long",[EventID]).
The code bombs at the line, Case "Long", "Integer", "Double":
'AutoNumber is Type Long
loSQL = loSQL & "[" & stForFld & "] = " & vForFldVal
The error is # 3061,missing parameter.Expected 1.I tried several ways
,but in vain.
I need help.
Thanks,
Roy 3 1875
The most likely cause is that you've mistyped one (or more) of
"BaseSelection_tbl"*, "EventID", or "ApplicationName": you've left out
spaces, underscores, or something like that.
--
Doug Steele, Microsoft Access MVP http://I.Am/DougSteele
(no e-mails, please!)
"Roy" <pr********@yahoo.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
I used your Concat query in one of my application,with a lil change.I
am trying to concatenate a text field using a number field as the key
field.
Application:
fConcatFld("BaseSelection_tbl"*,"EventID","Applica tionName","*long",[EventID]).
The code bombs at the line, Case "Long", "Integer", "Double":
'AutoNumber is Type Long
loSQL = loSQL & "[" & stForFld & "] = " & vForFldVal
The error is # 3061,missing parameter.Expected 1.I tried several ways
,but in vain.
I need help.
Thanks,
Roy
Doug,
Thanks for the reply.Infact i went through the typos,spaces and
other things before i posted here.Infact i changed the table name to
just "BaseSelection" too.
Thanks,
Roy
Douglas J. Steele wrote: The most likely cause is that you've mistyped one (or more) of "BaseSelection_tbl"*, "EventID", or "ApplicationName": you've left out spaces, underscores, or something like that.
-- Doug Steele, Microsoft Access MVP http://I.Am/DougSteele (no e-mails, please!) "Roy" <pr********@yahoo.com> wrote in message news:11**********************@o13g2000cwo.googlegr oups.com... I used your Concat query in one of my application,with a lil change.I am trying to concatenate a text field using a number field as the key field.
Application: fConcatFld("BaseSelection_tbl"*,"EventID","Applica tionName","*long",[EventID]). The code bombs at the line, Case "Long", "Integer", "Double": 'AutoNumber is Type Long loSQL = loSQL & "[" & stForFld & "] = " & vForFldVal
The error is # 3061,missing parameter.Expected 1.I tried several ways ,but in vain. I need help. Thanks, Roy
What "lil change" did you make to the code?
Also, set a breakpoint at the OpenRecordset line, and do a Print on the
SQL string being used. This will give you something to work with, and
no doubt show where the "missing parameter" is. (Probably a mistyped
field name.)
Roy wrote: I used your Concat query in one of my application,with a lil change.I am trying to concatenate a text field using a number field as the key field. Application: fConcatFld("BaseSelection_tbl"*,"EventID","Applica tionName","*long",[EventID]). The code bombs at the line, Case "Long", "Integer", "Double": 'AutoNumber is Type Long loSQL = loSQL & "[" & stForFld & "] = " & vForFldVal The error is # 3061,missing parameter.Expected 1.I tried several ways ,but in vain. I need help. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: May |
last post by:
Hi,
My question is: How to concat values from several lines (the same
column) to only one value. For example:
We have table SGMENT with one column: NAME (varchar2(50)). We would
like to have...
|
by: Stephan Bour |
last post by:
I repost this since I know how much some list people hate html posts ;-)
Hi,
I have a query page were users can check previous orders according to a
number of parameters. The query results are...
|
by: Lincoln Yeoh |
last post by:
Sorry for the repost. Just wondering if anyone has a workaround for 7.4?
At 11:25 AM 1/27/2004 -0500, Tom Lane wrote:
>Martijn van Oosterhout <kleptog@svana.org> writes:
> > I'm afraid I'll have...
|
by: nickdevx |
last post by:
Damn it this "illegal mix of collashit" messages are driving me nuts!!
What's wrong with the following statement?
SELECT userid, CONCAT(username,' / ',firstname,' ',lastname,' / ',
email,...
|
by: Martin Evans |
last post by:
Hi,
I'm getting:
DBD::DB2::db do failed: SQL0440N No
authorized routine named "CONCAT" of type "FUNCTION" having compatible
arguments was found. SQLSTATE=42884
for some SQL like this:
|
by: ramadu |
last post by:
I know its a sin to use strings, lets skip that part...
Which of these is faster and uses less memory?
String.Format("SomeValue='{0}'", m_Value);
or
String.Concat("SomeValue='", m_Value,...
|
by: cubix |
last post by:
I'm trying to run a query in MySQL Query Browser that will concat 3 fields together to form a single date format. This part I don't have a problem with:
SELECT CONCAT(`Field12`, '/', `Field13`,...
|
by: waqasahmed996 |
last post by:
hi to all
i have three fields of name in database named as fnam,mname,lname. fname and lname is mandatory field and mname is optional.
i want to make a search query on name
...
|
by: shanmugamit |
last post by:
HI,
i need solution for dynamic query in stored procedure without concat. How to create dynamic query like pagination passing limit value.
IF category='artist' THEN
IF lim=0 THEN
SET...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
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: 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: 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: 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...
|
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,...
|
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...
| |