Update Access query

Posted on 2006-11-16
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.
Question by:ca1358
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 29

Expert Comment

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

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

Expert Comment

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

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

Accepted Solution

Nightman earned 500 total points
ID: 17958693
You missed the closing paranthesis on IsNumeric
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 29

Expert Comment

ID: 17958698
Hiya Jimhorn ;)

Author Comment

ID: 17958836
Thank you!
LVL 65

Expert Comment

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

Hi Nightman...

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
message box in access 4 55
How to measure sizes and angles in scanned images ? 3 100
Automatic Email Reminder 4 94
VB6 Enviroment 3 38
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

710 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