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

How to fix "has a function containing the wrong number of arguments" error?

iif( [POSITION]= "ADD NEW POSITION","OR","DELETE POSITION"=NO.OF POSITIONS INCREASE,"OR","NO.OF POSITIONS AT LEAST"

HELP ME PLEASE
Feb 18 '16 #1

✓ answered by jimatqsi

This call is malformed. Where is the closing parenthesis? It's hard to tell what you're trying to say or do here.

The correct format of that call is
iif(test,true result,false result)
so
Expand|Select|Wrap|Line Numbers
  1. iif([Position]="Add New Position" or [Position]="Delete Position",[No Of Positions Increase],[No of Positions at least])
  2.  
something like that. You give so little information that it's nearly impossible help you.

2 2406
jimatqsi
1,271 Expert 1GB
This call is malformed. Where is the closing parenthesis? It's hard to tell what you're trying to say or do here.

The correct format of that call is
iif(test,true result,false result)
so
Expand|Select|Wrap|Line Numbers
  1. iif([Position]="Add New Position" or [Position]="Delete Position",[No Of Positions Increase],[No of Positions at least])
  2.  
something like that. You give so little information that it's nearly impossible help you.
Feb 18 '16 #2
thanks jimatqsi

i have 2 tables

first table :
1- name
2- position
3-nationality
4-visa No.

second table :
1-position
2- No of visas .
3- No of used visas .
4- No of remaining visas .

but I want to use iif function when add new position in first table increases the no of used visas in the second table automatically
pls help me .
Feb 20 '16 #3

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

Similar topics

2
by: News Central | last post by:
To all! I use the DateDiff function using VB6 and get this error 'Wrong number of argument or invalid property assignment' ... have anyone seen this problem? thanks ....
2
by: Pial | last post by:
Hi : I am using Asp.Net, C#, Oracle . I am trying to execute this Stored Procedure, and it gives me an error "Error Message: ORA-06550: line 1, column 7: PLS-00306: wrong number or types of...
1
by: Java Guy | last post by:
I'm trying to view a web page. IE tells me there are (Java?) errors on the page. Here they are: Line: 15 Char: 7 Error: Wrong number of arguments or invalid propert assignment Code: 0 URL:...
2
dmjpro
by: dmjpro | last post by:
this is my funciton block in oracle ....... Function PIM_TEST ( param1 IN DATE DEFAULT SYSDATE, param2 IN OUT DATE) RETURN DATE IS -- -- To modify this template, edit file...
1
by: emorrison | last post by:
I hope this isn't too vague, but I have a large XML file and when I try to use a count function in an XSL file to get the number of nodes, it returns 0 for a particular node. I can correctly count...
6
by: tinareed | last post by:
Please help out a newbie. I've copied a complicated query and am trying to modify it for mailing labels. First, last name and primary address are the fields. Primary address would be either a home...
3
by: vunet | last post by:
Hello, I've just installed ASPXMLRPC library and testing their main function: xmlRPC ("URL", "command_name", params) The function converts all parameters to XML, sends a request to third-...
6
by: sachin | last post by:
Hi, I am facing some strange issue in DB2 UDB 9.5.1 I have created a database on DPF implemented environment and I tried to execute following commands Db2 create table test ( name char(10)...
2
by: Dave Smith | last post by:
Hi everyone again. I’m working on making my database roll with each month that changes. Below is what I have so far, and was hoping someone could help me with the rest. The error message I’m...
7
by: mdkarkowsky | last post by:
Hi, Newbie here, still learning the basics. Thanks in advance for any help. I am working in VBA Access and feeding my code through a macro. I am getting the error message “The expression you...
0
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,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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$) { } ...
0
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...
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
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,...

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.