I am trying to gather information from a SQL Database using SQL pass thru. Here is the code that I am attempting to run using VFP 9.....
SQLEXEC(lnHandle,"SELECT dbffenderEvent.PersonId, dbo_EventInfo.Comment, dbo_EventInfo.StartDate,;
dbo_EventInfo.TypeDescription;
FROM dbffenderEvent INNER JOIN dbo_EventInfo ON dbffenderEvent.EventId = dbo_EventInfo.Id WHERE dbffenderEvent.PersonId=?180197","Results")
SELECT results
browse
I get a message that reults can not be found. What am I doing wrong? Thanks in advance.
SQLEXEC(lnHandle,"SELECT dbffenderEvent.PersonId, dbo_EventInfo.Comment, dbo_EventInfo.StartDate,;
dbo_EventInfo.TypeDescription;
FROM dbffenderEvent INNER JOIN dbo_EventInfo ON dbffenderEvent.EventId = dbo_EventInfo.Id WHERE dbffenderEvent.PersonId=?180197","Results")
SELECT results
browse
I get a message that reults can not be found. What am I doing wrong? Thanks in advance.