Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old September 5th, 2002, 08:46 AM
Snapper Snapper is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Posts: 3 Snapper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Nz IIf Standard SQL, is there such a thing?

I have written a database as part of a project and it works fine so far. It's in Access 2000 and I need to make it web based and so have opted for Java for various reasons. I know I can link to Access (or any database) through Java, but I would like users (this will be freeware) to be able to use whatever database they wish. Also Access seems pretty limited.

I have a form where by options are selected from previously entered data, i.e. picked from a list, using a combo box and the ID no's they pick up are picked up by the following SQL

WHERE (((Job.ObjectID)=Nz([Form]![JoBQueryID]![Object], [ObjectID]))

Data from Form/Combo Box
Data from Query Field

(There is more code, but you get the idea)

I have also tried =(IIf(IsNull([Forms], but this requires the([Forms]! after the ObjectID (Query field) again!

Can anyone advise some simple SQL that will work with most databases?

Also, creating average time, cost, etc. fields in an SQL Query? Any tips?

Thanks

NB - I am a newbie, allthough I've been battling with this for around two years on and off now!

I can upload a copy of a database I am working on for analysis if required.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Nz IIf Standard SQL, is there such a thing?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway