I have created the query for my table and save it as cursor as its output settings. Then I assigned sql as rowsourcetype of my combo box and the name of the cursor as rowsource. When I run the form, Im getting an eror message like this:Unrecognized command...
Could help me the proper way of setting up this combo box
with sql as source.
Thank you very much.
You get 'Unrecognized command...' because SQL statement should be assigned to RowSource property when you yse 'SQL' for RowSourceType. When form loaded, VFP tries to run such SQL. You assigned alias there, when VFP expect SQL statement. So, what VFP can tell in such case?
Use 'alias' source type, when you already have an alias (no matter that it is made by SQL).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.