Hello all,
I am trying some experimenting with forms to take the place of a long pile of code that executes in a specific sequence.
I have an extravagant choose command that has a few fields and a few calculations that is based on a view.
I can easily run this in an eep, but I want to display this in a box on the form, that can change based on the value of a variable. Tried some of the variable list boxes and even a variable edit with _expression_. Nothing seems to give me the desired result.
Here is the spaghetti....
IF .VPROCTYPE = "PAIN MANAGEMENT" OR .VPROCTYPE = "WOUND MANAGEMENT" THEN
CHOOSE VPROCDATE2 FROM #VALUES FOR +
((LJS(DOCTOR,16))+(LJS(OFFDAY,12))+(CTXT(PROCDATE))+" "+(CTXT(PROCOUNT))),PROCDATE +
FROM COFFVIEW WHERE PROCTYPE = .VPROCTYPE AND DOCTOR = .VDOCTOR +
ORDER BY DOCTOR PROCDATE +
TITLE "Choose Schedule Date, [ESC] for New Date" +
CAPTION "Scheduled days" +
LINES 20 FORMATTED OPTION TITLE_FONT_COLOR BLUE|TITLE_BOLD ON
Any suggetions for the experts out ther???
TIA
Bob C.
BTW, I see Razzak is busy tonight with RC2. Heck of a way to spend Friday night!
- [RBG7-L] - What form object to use? Bob Castanaro
- [RBG7-L] - Re: What form object to use? A. Razzak Memon
- [RBG7-L] - Re: What form object to use? Bob Castanaro
- [RBG7-L] - Re: What form object to use? Albert Berry
- [RBG7-L] - Re: What form object to use? Bob Castanaro
- [RBG7-L] - Re: What form object to use? Albert Berry
- [RBG7-L] - Re: What form object to use? Bob Castanaro
- [RBG7-L] - Re: What form object to use? Lawrence Lustig
- [RBG7-L] - Re: What form object to use? Bob Castanaro
- [RBG7-L] - Re: What form object to u... Lawrence Lustig
- [RBG7-L] - Re: What form object to use? A. Razzak Memon
