Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Property value is invalid in grid recordsource
Message
From
18/08/2004 03:01:01
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Property value is invalid in grid recordsource
Miscellaneous
Thread ID:
00933994
Message ID:
00933994
Views:
54
in grid.recordsource i have
select io.status, io.empno, proper(alltrim(emp.lastname)+", "+alltrim(emp.firstname)+iif(!empty(emp.mid)," "+emp.mid+".","")), io.signdate, io.signout, io.signin, io.comments from inout io, employee emp where emp.empno=io.empno into cursor sys(2015)
form is running with no error. but when i try to modify the recordsource of my grid with this,
select io.status, io.empno, proper(alltrim(emp.lastname)+", "+alltrim(emp.firstname)+iif(!empty(emp.mid)," "+emp.mid+".","")), io.signdate, io.signout, io.signin, cm.comments from inout io, employee emp, comments cm where emp.empno=io.empno and cm.comid=io.comid into cursor sys(2015)
i changed the field comments in table inout to comid, then create another table comment with fields comid and comments.
when i run this SQL in the command window, i get the correct records in the cursor. but when i put this in the recordsource of grid, i get the error property value is invalid

what should i do? pls help. TIA.
Next
Reply
Map
View

Click here to load this message in the networking platform