Viewing 15 posts - 106 through 120 (of 197 total)
Here are the relations:
Table ptChemoOrders:
-------------------------------
OrderID -- PK
DateOfService
MRN
Table ptChemoMedicareBilling:
-------------------------------
ID --...
September 12, 2008 at 8:41 am
Thanks, Jack, but the DOS comes from the ptChemoOrders table not from the
ptChemoMedicalBilling table that the trigger is on. The ptChemoMedicalBilling record is based on the OrderID in ptChemoOrders....
September 12, 2008 at 8:28 am
Nevermind, I figured it out myself and have 6 sets of working insert and update triggers.
September 11, 2008 at 11:37 am
How would I use ColumnsUpdated() to access the columns that were updated in
the ptChemoOrderDetails table? I intend to write a separate UPDATE trigger.
These are the 9 columns that could affect...
September 11, 2008 at 7:36 am
Yes,using your technique, and Yes, 10-fold!
September 11, 2008 at 6:14 am
I had to test for a certain value to do each of the inserts and now have it working with
no errors.
However, I am at a loss as to how...
September 10, 2008 at 4:14 pm
I just tweaked your last post to work for our data.
I also wrote triggers for all the tables involved to do the inserts.
The procedure created from your post is...
September 10, 2008 at 4:12 pm
Ok, got it working just like we need. Thanks to everyone that helped.
September 10, 2008 at 1:09 pm
Since I didn't know, I was very careful about how I said what I did in my last post. 😉
September 8, 2008 at 9:03 pm
I *know* what was meant concerning that part of the reply.
What I was referring to was to show me how to do it without the cursor,
September 8, 2008 at 2:41 pm
Can you show me what you mean, Lynn?
September 8, 2008 at 2:02 pm
Lynn Pettis (9/8/2008)
Also, I think this can be done without using a cursor.
😎
It's because we have MRN/DOS combinations that we have to do this for.
It is to populate an...
September 8, 2008 at 12:22 pm
GSquared,
Looks good except I need to filter by the o.MRN and o.DateOfService.
Also many records come over with Comments and several others have NULL Comments.
The particular DOS that I am querying...
September 8, 2008 at 12:13 pm
Nah, still doesn't work because it seems to be running the select ON master.
September 5, 2008 at 10:08 am
Kind of wondering how you would catch any errors when moving the file.
I make a copy to a tempfilename passed into the procedure and then if there is an error...
August 26, 2008 at 8:28 am
Viewing 15 posts - 106 through 120 (of 197 total)