L
LP in TX
Access 2000- I have a query with in Access that has multiple tables linked
(4) with a compound if statement in a criteria feild. Acess will run the
query. When i try to add an additional iif() statement to this criterion
feild and then save (via Save As, Save Icon, or close window and then
warnings message pops up to save) the entire Access aplication crashes. It
will run this query though. Can anyone tell me what i am doing wrong or is
this a known issue (with work arounds?)?
Compound If statement-
Answer: IIf(([REVIEW ACCTS]![CE%]+[REVIEW ACCTS]![EQT%]+[REVIEW
ACCTS]![FI%]+[REVIEW ACCTS]![ALT%]+[REVIEW ACCTS]![RE%])=0,"0",IIf(([REVIEW
ACCTS]![EQT%]/([REVIEW ACCTS]![CE%]+[REVIEW ACCTS]![EQT%]+[REVIEW
ACCTS]![FI%]+[REVIEW ACCTS]![ALT%]+[REVIEW ACCTS]![RE%]))<[Code - Investment
Objective]![EQTRANGEHI],"When specialty (alternative) asset is removed from
allocation, account meets asset allocation criteria and guidlines",IIf([Code
- Investment Objective]![INVESTMENT OBJECTIVE] Like "*clos*","Account is
coded as Closing","x")))
Trying to add in an additional iif() statement for "x" at the end of
this string crashes upon save. Furthermore, trying to save the existing
query with this compound if statement crashes the entire application.
Please help...
(4) with a compound if statement in a criteria feild. Acess will run the
query. When i try to add an additional iif() statement to this criterion
feild and then save (via Save As, Save Icon, or close window and then
warnings message pops up to save) the entire Access aplication crashes. It
will run this query though. Can anyone tell me what i am doing wrong or is
this a known issue (with work arounds?)?
Compound If statement-
Answer: IIf(([REVIEW ACCTS]![CE%]+[REVIEW ACCTS]![EQT%]+[REVIEW
ACCTS]![FI%]+[REVIEW ACCTS]![ALT%]+[REVIEW ACCTS]![RE%])=0,"0",IIf(([REVIEW
ACCTS]![EQT%]/([REVIEW ACCTS]![CE%]+[REVIEW ACCTS]![EQT%]+[REVIEW
ACCTS]![FI%]+[REVIEW ACCTS]![ALT%]+[REVIEW ACCTS]![RE%]))<[Code - Investment
Objective]![EQTRANGEHI],"When specialty (alternative) asset is removed from
allocation, account meets asset allocation criteria and guidlines",IIf([Code
- Investment Objective]![INVESTMENT OBJECTIVE] Like "*clos*","Account is
coded as Closing","x")))
Trying to add in an additional iif() statement for "x" at the end of
this string crashes upon save. Furthermore, trying to save the existing
query with this compound if statement crashes the entire application.
Please help...