Re: RE : RE : [fpc-pascal] Re: How to insert a record and get the primarykeywith sqldb?

2011-10-23 Thread Felipe Monteiro de Carvalho
Hello, 3On Sun, Oct 23, 2011 at 11:12 AM, Ludo Brands ludo.bra...@free.fr wrote: Other than the superfluous ';', I don't see anything that could cause this problem. What is your fcl-db version? Removing the ; also didn't help ... I'm starting to think that it really must be my fpc version, I

Re: RE : RE : [fpc-pascal] Re: How to insert a record and get the primarykeywith sqldb?

2011-10-23 Thread Felipe Monteiro de Carvalho
Hello, Ok, I figured it out =D The cannot open non-select error was not for that line! It was for something else afterwards =D I can get the next primary key correctly now =D I am writing a CGI WebServer, so I haven't yet managed to get Lazarus step-by-step debugging to work (not sure if it is

Re: RE : RE : [fpc-pascal] Re: How to insert a record and get the primarykeywith sqldb?

2011-10-23 Thread Michael Van Canneyt
On Sun, 23 Oct 2011, Felipe Monteiro de Carvalho wrote: Hello, Ok, I figured it out =D The cannot open non-select error was not for that line! It was for something else afterwards =D I can get the next primary key correctly now =D I am writing a CGI WebServer, so I haven't yet managed to

Re: RE : RE : [fpc-pascal] Re: How to insert a record and get the primarykeywith sqldb?

2011-10-23 Thread Graeme Geldenhuys
On 23/10/2011, Felipe Monteiro de Carvalho wrote: I am writing a CGI WebServer, so I haven't yet managed to get Lazarus step-by-step debugging to work (not sure if it is possible with CGI), so that's what caused so much confusion for me You can't do that. You have to use an embedded web