Difference between revisions of "Talk:SqlDBHowto"

From Free Pascal wiki
Jump to navigationJump to search
m
Line 1: Line 1:
Following the example here (specifically) (Variable):= TSQLTransaction.Create; doesn't work for me - I get a compile error "Wrong number of parameters". Unfortunately I can't at the moment find any other documentation to check the syntax, which is frustrating.
+
Following the example here - specifically (Variable):= TSQLTransaction.Create; - doesn't work for me. I get a compile error "Wrong number of parameters". Unfortunately I can't at the moment find any other documentation to check the syntax, which is frustrating.
  
 
Edit: it seems we need to add the parameter (Nil) to TSQLTransaction.Create and TSQLQuery.Create.
 
Edit: it seems we need to add the parameter (Nil) to TSQLTransaction.Create and TSQLQuery.Create.

Revision as of 15:53, 6 April 2013

Following the example here - specifically (Variable):= TSQLTransaction.Create; - doesn't work for me. I get a compile error "Wrong number of parameters". Unfortunately I can't at the moment find any other documentation to check the syntax, which is frustrating.

Edit: it seems we need to add the parameter (Nil) to TSQLTransaction.Create and TSQLQuery.Create.