Hopefully this one is easy...
I created a ListBox and would like to set the RowSource to a query. I set the RowSourceType property to Query .QPR, and the RowSource property has the full path to the .qpr file. When I try to run the form, I get the following error:
File '<file name>' does not exist
I've tried different variations (using 8.3 compliant path, encapsalating in quotes, etc...) but nothing seems to work (actually, putting the path in quotes *sometimes* works, but sometimes it trashes my form and I have to delete it and start again--I'm getting pretty darn good at creating a listbox on the form).
Other pieces of info that might be useful:
VFP 6.0 SP5
Query is an inner-join with 2 tables and outputting to a cursor
VFP Experience of developer--N/A
Thanks,
Jeff
I created a ListBox and would like to set the RowSource to a query. I set the RowSourceType property to Query .QPR, and the RowSource property has the full path to the .qpr file. When I try to run the form, I get the following error:
File '<file name>' does not exist
I've tried different variations (using 8.3 compliant path, encapsalating in quotes, etc...) but nothing seems to work (actually, putting the path in quotes *sometimes* works, but sometimes it trashes my form and I have to delete it and start again--I'm getting pretty darn good at creating a listbox on the form).
Other pieces of info that might be useful:
VFP 6.0 SP5
Query is an inner-join with 2 tables and outputting to a cursor
VFP Experience of developer--N/A
Thanks,
Jeff