inserting text via code 
Author Message
 inserting text via code

has any one got any code or a pointer to how i would insert text into a
particular feild and colume.

i have created a new record with insert but i need to insert data into the
feild[integer] value by code.

So i need to no how to say insert test in feild[1]; that is open for edit or
selected;

any ideas ???

ade

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ( http://www.***.com/ ).
Version: 6.0.313 / Virus Database: 174 - Release Date: 02/01/2002



Mon, 28 Jun 2004 10:09:30 GMT
 inserting text via code

In my code I refer to fields by name.
For example:

table1.fieldvalues['City']:='Quebec';

Cheers,

John Bleau



Quote:
> has any one got any code or a pointer to how i would insert text into a
> particular feild and colume.

> i have created a new record with insert but i need to insert data into the
> feild[integer] value by code.

> So i need to no how to say insert test in feild[1]; that is open for edit
or
> selected;

> any ideas ???

> ade

> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.313 / Virus Database: 174 - Release Date: 02/01/2002



Mon, 28 Jun 2004 03:08:33 GMT
 inserting text via code

Quote:

> In my code I refer to fields by name.
> For example:
> table1.fieldvalues['City']:='Quebec';

Shouldn't that be 'Qubec'?

8-)

Paul...

Quote:
> John Bleau

--
Paul Linehan

plinehan at yahoo dot com/linehanp at tcd dot ie

I drink to keep body and
soul apart - O. Wilde.

"Mens sana in campari soda" - anon.



Tue, 29 Jun 2004 03:32:10 GMT
 inserting text via code
Yup!
(The province, however, can remain Quebec.)
Capricious languages!

Cheers,

JB



Quote:


> > In my code I refer to fields by name.
> > For example:

> > table1.fieldvalues['City']:='Quebec';

> Shouldn't that be 'Qubec'?

> 8-)

> Paul...

> > John Bleau

> --
> Paul Linehan

> plinehan at yahoo dot com/linehanp at tcd dot ie

> I drink to keep body and
> soul apart - O. Wilde.

> "Mens sana in campari soda" - anon.



Tue, 29 Jun 2004 03:50:05 GMT
 inserting text via code

Quote:

> Shouldn't that be 'Qubec'?

Depends on the language, doesn't it?


Tue, 29 Jun 2004 04:50:49 GMT
 inserting text via code
It'd also depend on the font, whether the database accepts unicode for the
field, and if you know what the ascii code for that E is. <grin>


Quote:


> > Shouldn't that be 'Qubec'?

> Depends on the language, doesn't it?



Tue, 29 Jun 2004 23:58:44 GMT
 
 [ 6 post ] 

 Relevant Pages 

1. insert text via ado/sql6.5

2. Insert in a text-datatype column via php

3. insert text via asp/ado

4. Importing a Text File via DTS and adding the File Name as a column via DTS

5. CODE QUESTION (code inserted)

6. Text formatting: insert fields into text and resizing...

7. Pbm when I insert Text + Text

8. Need to Insert 128k of Text in a SQL7 TEXT field

9. How to insert text into an existing text field

10. Maximum size of text inserted into a table of type text,ntext

11. Inserting some text after each row in a text file

12. BULK INSERT of Fixed Width Text - With Missing Data in Text File


 
Powered by phpBB® Forum Software