‎2008 Nov 04 9:05 AM
Hi experts,
I created table and I need to store some comment in the table. What is the most adequate type to store the comments. The length of the comment could be from few words to few sentences. I tried to create the type with string type but it is not allowed to create with that type.
‎2008 Nov 04 9:07 AM
‎2008 Nov 04 9:07 AM
‎2008 Nov 04 9:08 AM
Hi,
You could use a variable length field like LCHR, this requires a INT2 field before it to declare the length and it must be the last field in the table. Have a look at the last two field in EDIDD.
Darren
‎2008 Nov 04 9:09 AM
Hello,
Better add a field in the table with datatype TDOBNAME.
Create a standard text with the comment u want to show for the entry.
Hope this will helps you.
Cheers.
Vasanth
‎2008 Nov 04 9:09 AM
U can use the data element CHAR255. There are many other data elements that you can use just write CHAR* and press F4. You will get list of character data elemnts.
‎2008 Nov 04 9:09 AM
‎2008 Nov 04 9:11 AM
‎2008 Nov 04 9:11 AM
hi,
i guess u can give upto 255 characters .... for one field , if u want to store more than create other fields with same length and try to store the data...
while retriving take the fields which u added and concatenate them and then put it into one variable and then u can show...
Regards,
Nagaraj
‎2008 Nov 04 9:13 AM
‎2008 Nov 04 9:15 AM
Hi ,
STRING is he type you have to use while defining dont specify the length it is variable length.
It is working.
Regards.