hersly
30th October 2001, 20:37
Hi All,

Can someone tell in which table the session description name is store !

The form description is in the table ttadv300 and the report description is in the table ttadv330 but where is the session description ?

Thanks for your help !

Sly

Chandra
30th October 2001, 21:16
The form and menu descriptions of the session is stored in the table ttadv130

hersly
30th October 2001, 21:23
Hi Chandra,

Thanks you ... finaly I got it ... it was an good hiding-place

Sly

NPRao
7th November 2001, 03:33
Hi,

You can use the function,

void tt.session.desc( string session(13), ref string desc() mb )

instead of looking into the tools tables. with the latest baan releases the label description tables are changing.

srivinayak
3rd October 2013, 12:02
I tried below code in a 3GL.
tt.session.desc ("tiapl3510m000",sessdesc)
and through debugger I am getting the value of variable sessdesc as
"^ZProduct Variant Structures" instead of "Product Variant Structures". Not sure why this special characters are coming.

JaapJD
3rd October 2013, 15:33
Can be that your label resource files (in $BSE/lib/labels) are corrupt. Run ttadv1243m000 to compile your labels.

mark_h
3rd October 2013, 15:34
Works just fine on my 4c4 system. How do you declare sessdesc? And check out table ttadv300 (at least that is what it is in 4c4) make sure nothing is hiding in the field. Other than that not sure what it might be.

JaapJD
3rd October 2013, 15:48
Mark, LN has a completely different handling of session/table/report... descriptions!

mark_h
3rd October 2013, 16:02
I figured that after I read your post. One of these days I will learn not to post too quickly in an LN thread - my lack of knowledge on LN really shows. :)

srivinayak
4th October 2013, 02:05
Hi All,
If any one keep the code in debug mode and click the variable, you can see that junk character. I have attached screen shot.

bhushanchanda
4th October 2013, 07:04
Hi,

Is that happening for every session?

I would also suggest the same as Jaap said, to Compile your labels using ttadv1243m000. Else, if you have installed any new solutions you may have missed to run session ttadv5213m000.

Also, try running session ttadv5214m000 for the form/session you are trying to get the description.

Its always better to try it on the Test Server if you have one. I have used it and it works fine for me.

srivinayak
5th October 2013, 09:15
Today I tried compile label options...after trying 3 to 4 compilations, now labels are correctly working... Other words, there are no issues with this function...

bhushanchanda
5th October 2013, 09:26
Hi,

You might have forgot to log out after compiling once.

Anyway, good to know that worked