Help w/query that includes user-defined field

For users or potential users.
Post Reply
sparkly
Posts: 149
Joined: Tue Jun 26, 2007 8:13 pm
Location: IL

Help w/query that includes user-defined field

Post by sparkly » Mon Aug 25, 2008 3:32 pm

Can someone please help me with a query? I’m trying to pull a report of patient info, like name, address , etc but I need to include values from a specific USER-DEFINED Patient Field. How would that be written? (Patfielddef and fieldname in there somewhere?)
Thanks!

sparkly
Posts: 149
Joined: Tue Jun 26, 2007 8:13 pm
Location: IL

Re: Help w/query that includes user-defined field

Post by sparkly » Wed Aug 27, 2008 7:40 pm

can anyone give me the values so i can plug them into my query??
thanks!

User avatar
Jorgebon
Posts: 502
Joined: Mon Jun 18, 2007 2:25 pm
Location: Mayaguez, PR
Contact:

Re: Help w/query that includes user-defined field

Post by Jorgebon » Thu Aug 28, 2008 3:36 pm

The patfield table contains all the info you need to add to the patient table for the report you want. The fields that you may need are patfield.FieldName, patfield.FieldValue and you can use patfield.PatNum as a link to the patient table. If you have more than one patient field defined, then you will need patfield.PatFieldNum.
Jorge Bonilla, DMD
Jorge Bonilla DMD
Open Dental user since May 2005

sparkly
Posts: 149
Joined: Tue Jun 26, 2007 8:13 pm
Location: IL

Re: Help w/query that includes user-defined field

Post by sparkly » Thu Aug 28, 2008 4:42 pm

thanks, that's the missing link for me to try to cobble this thing together. as always, thanks jorge!!!!!!!!!!!

Post Reply