Expression Clairification

W

Woody Splawn

I posted two questions yesterday with regard to expressions titled
"Expressions and their limitations" and "Regenerate the dataset and
expressions"

I must appologize. It has been some time since I visited the subject of
Expressions and it appears I have my facts wrong. Let me start again.

I don't understand what's going on. Perhaps my notes are incorrect or
perhaps there has been a change from VS 2002 to VS 2003. I am trying to add
a field called "Name" to a table in .xsd dataset. This field should
contain an expression. The expression should concotenate the first name
field and the last name field of this table into one field called Name. My
notes indicate that I should be able to add a row to the table. When I do,
this row contains three fields or columns in it. The first field is to have
a value in it of element, the second to have a value of name and the third
to have a value of string.

Then my notes say something I can't explain. Maybe someone else reading
this can. They say, "In the properties field of the new element there will
be a property called expression". It is here, my notes say, that I am to
write the expression. I see no such place to write an expression. Can
anyone tell or can anyone explain here what I am missing?
 
M

Miha Markic [MVP C#]

Hi Woody,

If you take a look at xsd schema, select table, and then select a field
(Name) you'll see properties in Property Window.
One of them is Expression.
 
W

Woody Splawn

Well, I finally figured out what you mean but wow, talk about hidden. I
could not for the life of me get a properties window to show up. I was
looking at the .xsd in the Solution Explorer, right clicking and selecting
properties. This obviously did not get me what I wanted.

If finally occurred to me to select the View menu, then properties and the
Expression property of the properties window was exposed.

Is there something fundamental I am missing? Maybe I have my setup setup
wrong. It seems rather obsucre?

Thank you for your help.


Miha Markic said:
Hi Woody,

If you take a look at xsd schema, select table, and then select a field
(Name) you'll see properties in Property Window.
One of them is Expression.

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

Woody Splawn said:
I posted two questions yesterday with regard to expressions titled
"Expressions and their limitations" and "Regenerate the dataset and
expressions"

I must appologize. It has been some time since I visited the subject of
Expressions and it appears I have my facts wrong. Let me start again.

I don't understand what's going on. Perhaps my notes are incorrect or
perhaps there has been a change from VS 2002 to VS 2003. I am trying to add
a field called "Name" to a table in .xsd dataset. This field should
contain an expression. The expression should concotenate the first name
field and the last name field of this table into one field called Name. My
notes indicate that I should be able to add a row to the table. When I do,
this row contains three fields or columns in it. The first field is to have
a value in it of element, the second to have a value of name and the third
to have a value of string.

Then my notes say something I can't explain. Maybe someone else reading
this can. They say, "In the properties field of the new element there will
be a property called expression". It is here, my notes say, that I am to
write the expression. I see no such place to write an expression. Can
anyone tell or can anyone explain here what I am missing?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top