>Hi....
>
>Could someone help out an extremely inexperienced VFP user with coding? I'm an obstetrician and have put our patient visit data into a database. I would like to be able to switch to a pageframe that automatically plots the patient's weight on a y axis against date on the x axis. I realize that the Graph Wizard can do this, but is there any sample code out there that will let me do this automatically?
>
>Chris
Hi Chris,
For sample MSGraph code check Message #
499398However for graphs like weight, percentile it's much much faster to use VFP native objects like line, shape or line, box methods. Of course if you would print a case record then this approach is troublesome.
I suggest if you wouldn't print it, never save the graph in a general field. Bind it to a cursor gen field and refresh changing data.
Good luck
Cetin (MD)