Topic: Importing comma seperated text from MEMO to Grid

Does anyone have an idea on how to accomplish this??

I want the reults from a com-port operation imported into a table or grid...

I'm stuck aon how to do this

Thank you

Re: Importing comma seperated text from MEMO to Grid

You should use function SQLExecute to add/update/delete data in a database.

Example, how to add record to database

var
  s: string;
begin
  s := '"'+Form1.Memo1.Text+'"';
  SQLExecute('INSERT INTO tablename (fieldname) VALUES('+s+')');

Also you can attach your project, I'll try to help you.

Dmitry.

Re: Importing comma seperated text from MEMO to Grid

Thank you Dimitry...

now its clear...

But i have also a Problem usimg the com-port...

I tried your example but the results of the communication are not shown in the MEMO...

I have connected a Modem and wan't to read the results of the sent AT-Commands..

They don't show up...

and by the way is there a docu for the TComport with all available parameters somewhere ??

Thank
you

Maik

Re: Importing comma seperated text from MEMO to Grid

Found the Problem...