S
Swagener
Any responses, references and help would be really appreciated as I
can't find any material to help myself.
I will have these types of SQL text in a memo field, which will be
added through a form.
Now the challenge is this that I need to split the text starting after
SELECT and stop before FROM as well as I need to leave out the first
two letters (like a.) and need to populate records.
Then I need to pass the Logno. which will be in a int field on the
current form.
For example based on the SQL text the records will be like this with
the autonumber and Logno.
LogNo.| ID | FieldNames
02254 001 Formno
02254 002 dateraised
02254 003 raisedby
Thanks in advance.
````````````````````````SQL```````````````````````
``````````````````````````
SELECT
a.formno,
a.dateraised,
a.raisedby,
a.description,
a.priority1,
a.formstatus,
a.formstat1,
a.statdate,
a.formtype1,
a.issuedto,
a.issuedate
FROM
Adam.schangedoc a
can't find any material to help myself.
I will have these types of SQL text in a memo field, which will be
added through a form.
Now the challenge is this that I need to split the text starting after
SELECT and stop before FROM as well as I need to leave out the first
two letters (like a.) and need to populate records.
Then I need to pass the Logno. which will be in a int field on the
current form.
For example based on the SQL text the records will be like this with
the autonumber and Logno.
LogNo.| ID | FieldNames
02254 001 Formno
02254 002 dateraised
02254 003 raisedby
Thanks in advance.
````````````````````````SQL```````````````````````
``````````````````````````
SELECT
a.formno,
a.dateraised,
a.raisedby,
a.description,
a.priority1,
a.formstatus,
a.formstat1,
a.statdate,
a.formtype1,
a.issuedto,
a.issuedate
FROM
Adam.schangedoc a