dantheinfoman
Programmer
Hi All,
I have a rowsource that used to work in vfp 7 and now in vfp 9 several things have gone wrong. Originally I had an issue with the GROUP BY error, so I removed the group by items from the statement (it was making it more than 255 characters when I was trying to fix).
Now the rowsource SQL statement will load into the combobox, but it says 'field' phrase is not found
The RowSourceType is SQL, the code is this:
I read somewhere online that you can't have references to multiple tables, but it works in vfp 7, so I question why they'd downgrade a combobox to only using data from one table in 9.0?
Thanks for any advice as my brain is mush from all the converting I've been doing and upgrades.
Yours,
Dan
I have a rowsource that used to work in vfp 7 and now in vfp 9 several things have gone wrong. Originally I had an issue with the GROUP BY error, so I removed the group by items from the statement (it was making it more than 255 characters when I was trying to fix).
Now the rowsource SQL statement will load into the combobox, but it says 'field' phrase is not found
The RowSourceType is SQL, the code is this:
Code:
m.abc ="select allt(name)+', '+allt(first_name) as NM,py_emplo.employee,training,date_taken from py_emplo,petrhist"+" where py_emplo.employee=petrhist.employee and py_emplo.classific<>'Term' order by NM,py_emplo.employee into cursor cEmp1"
*temp
*!* SELECT (abc)
*!* BROWSE
*WAIT WINDOW m.abc
this.rowsource = (abc)
I read somewhere online that you can't have references to multiple tables, but it works in vfp 7, so I question why they'd downgrade a combobox to only using data from one table in 9.0?
Thanks for any advice as my brain is mush from all the converting I've been doing and upgrades.
Yours,
Dan