Hi Rob,
>
> filtervalue=hk.thisform.get_pyvisible(NameInputField).value()
> sqlstring = "INSERT INTO" + str(People) + ("Name") VALUES + (" +
> filtervalue")
I don't know much about mysql (I'm using postgresql) but I think your 
sql-string is lacking some blanks and there are some quotation marks that 
don't match with others, e.g. the "Name"

why don't you use a simpler sintax:

sqlstring = "INSERT INTO People (Name) VALUES (" + filtervalue + ");"

Regards,
Michael

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Hk-classes-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hk-classes-discuss

Reply via email to