>Hi,
>
>I was wondering if, when getting a cursor from SQL Server into VFP app (via SPT call), it is possible to determine if a field/column has a FOREIGN KEY constraint set? I am looking at the AFIELDS() function which populates 18 elements for each field but I don't seem to see any that would indicate FK constraint. Is it possible?
>
>TIA.
No, it does not. You need to bring this info from the SQL Server in a separate call.
If it's not broken, fix it until it is.
My Blog