Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Refference Unbound Text Box
I have an unbound text box on a form. The text box has a controll
source as follows: =IIf(DateDiff("d",[DateSent],[DateReceived])<=5,"On Time",IIf(DateDiff("d",[DateSent],[DateReceived])5,"Overdue","Not Submitted")) I have named the TextBox "PPSub". My question is; can I now refference this text box in another unbound text box somthing like this =Dcount("*","frmPPTrax","PPSub='On Time'") The frmPPTrax is the name of the form where said unbound text box "PPSub" is located. I just don't want to have to create a Dcount with that IIF statement in it. Thanks Everyone Hope this was clear... |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Refference Unbound Text Box
Dcount wouldn't even work with those arguments - it is totally based on
values in cells. Textboxes can be bound to cells or filled with code. -- Regards, Tom Ogilvy wrote in message ups.com... I have an unbound text box on a form. The text box has a controll source as follows: =IIf(DateDiff("d",[DateSent],[DateReceived])<=5,"On Time",IIf(DateDiff("d",[DateSent],[DateReceived])5,"Overdue","Not Submitted")) I have named the TextBox "PPSub". My question is; can I now refference this text box in another unbound text box somthing like this =Dcount("*","frmPPTrax","PPSub='On Time'") The frmPPTrax is the name of the form where said unbound text box "PPSub" is located. I just don't want to have to create a Dcount with that IIF statement in it. Thanks Everyone Hope this was clear... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
copying formulas forward and have the column refference move backw | Excel Worksheet Functions | |||
Odd "circular refference" error | Excel Discussion (Misc queries) | |||
i want to find a value in a refference array | Excel Worksheet Functions | |||
unbound pastespecial in Access | Excel Programming | |||
Visual Basic to Excel Refference / Tutorial | Excel Programming |