Solved

Update Access query

Posted on 2006-11-16
6
160 Views
Last Modified: 2010-04-30
This is a Access query.

Field CompanyID
table jcSRP
Update To: [SRP Schedle ID]

IIf(IsNumeric([SRP Schedule ID],[SRP Schedule ID],0)

The expression you entered has a function containing the wrong number of agruments.
0
Comment
Question by:ca1358
  • 3
  • 2
6 Comments
 
LVL 29

Expert Comment

by:Nightman
ID: 17958684
Field CompanyID
table jcSRP
Update To: [SRP Schedle ID]

IIf(IsNumeric([SRP Schedule ID]),[SRP Schedule ID],0)
0
 
LVL 65

Expert Comment

by:Jim Horn
ID: 17958687
Make a backup first, then....

UPDATE jcSRP
SET CompanyID = IIf(IsNumeric([SRP Schedule ID]),[SRP Schedule ID],0)
0
 
LVL 29

Accepted Solution

by:
Nightman earned 500 total points
ID: 17958693
You missed the closing paranthesis on IsNumeric
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 29

Expert Comment

by:Nightman
ID: 17958698
Hiya Jimhorn ;)
0
 

Author Comment

by:ca1358
ID: 17958836
Thank you!
0
 
LVL 65

Expert Comment

by:Jim Horn
ID: 17958877
Rats.  I even posted the SQL too.  

Hi Nightman...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Help in WHSCRIPT 9 47
Run code from text file in vb 1 57
MS Access 03, TransferText, decimal places 8 46
IF ELSE Statement in Excel Macro VBA 16 34
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now