JScript Optional recset.Open optional args error ( few args ) 
Author Message
 JScript Optional recset.Open optional args error ( few args )

Hi there,

I use JScript as my server-side scripting language.

Whenever I try to open a recordset:
rs.Open( SqlStr, connection );

I get a "Too few arguments" error. I found that it only works when I specify the locktype, cursortype, ...etc

Shouldn''t optional parameters be *optional*?

Thanks in advance

-----------------------------
This message is posted by http://www.*-*-*.com/



Sun, 26 Jun 2005 16:34:03 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. how to do VBScript optional args in JScript?

2. Optional Args in function

3. optional args to a class.Init method

4. Optional args

5. Optional parameter in jscript. (Variant optional - DISP_E_PARAMNOTFOUND)

6. using optional parameters from JScript

7. how to omit optional parameter in jscript function?

8. Newbie: Compile error: Argument (ShellExecute) not optional

9. Error -2147217887 [Microsoft][ODBC SQL Server Driver]Optional feature not implemented ,

10. optional x as variant = null ... error 458

11. Error -2147217887 [Microsoft][ODBC SQL Server Driver]Optional feature not implemented ,

12. Error -2147217887 [Microsoft][ODBC SQL Server Driver]Optional feature not implemented ,

 

 
Powered by phpBB® Forum Software