SandorHajdu
Wed Dec 01 10:33:09 CST 2004
Stefan,
I think I need more help.
The short program is part of a form. If I run the form for the first time no
problem, everything is OK. If I chage the parameter and run again /I do not
release the form/
I got the following error:
Driver is probably out of resources.
Could you tell me why I get this message? What's wrong in my program?
/I tried to close the connection and database and open again - what I do
when I start the form - but I have the same message./
Sandor
"Stefan Wuebbe" wrote:
> BOL / "SQLServer Books Online"
>
http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp
> These groups are full of examples too
>
http://groups.google.com/advanced_group_search
>
>
> hth
> -Stefan
>
> "Sandor Hajdu" <SandorHajdu@discussions.microsoft.com> schrieb im Newsbeitrag
> news:09381EC6-3B37-4B1E-9782-E424D1647480@microsoft.com...
> > Could you tell me where can I find the other MS SQL query sysntaxs?
> > Sandor
> > "Stefan Wuebbe" wrote:
> >
> >>
> >> With MS SQLServer and other RDBMS, a question mark would make
> >> Vfp read and submit variable content:
> >> ... WHERE cust_code = ?one_cust
> >>
> >>
> >> Does that help?
> >> -Stefan
> >>
> >> "Sandor Hajdu" <SandorHajdu@discussions.microsoft.com> schrieb im Newsbeitrag
> >> news:A8034A6D-91F3-4B9D-B72F-F59E993E14D2@microsoft.com...
> >> >I have the following short VFP8 program:
> >> >
> >> > one_cust = '1234'
> >> > CREATE SQL VIEW cust_view Remote CONNECTION AS400 AS ;
> >> > SELECT cust_code,cust_name;
> >> > FROM customer;
> >> > WHERE cust_code =one_cust
> >> > /Memo: customer is an IBM AS400 file/
> >> > If I run this program I get an error message: "ONE_CUST" is not part of the
> >> > table.
> >> > If I use a constans /....WHERE cust_code = '1234' the program works well.
> >> > My question is : Is it possible to use a variable or not? Where did I make a
> >> > mistake?
> >> > Another question: How can I create a LOGICAL calculated field in this SELECT
> >> > command?
> >> > Could anyone help me?
> >> > Thanks in advance.
> >> > --
> >> > Sandor
> >>
> >>
>
>