dynamic sentence creation 
Author Message
 dynamic sentence creation

any idea if there is a good strategy to allow a user
to dynamically create a sentence based on the
returned value of certain controls?

A grid may be one way, with a different sentence based on the
value being editable.

but what happens with a list - where

dim sentence
if x=true then sentence=sentence + x  + ","
if y=true then sentence=sentence + y + ","
if z=true then sentence=sentence + z + ","
return sentence

this is something that can be put in a function - but how could it be
exposed to a user
so that they could have more control of the final sentence?

x,y and z are database values.

tia,
dk



Sat, 01 Oct 2005 10:09:48 GMT  
 dynamic sentence creation
Hi Dmitrik,

Could you please provide slightly more information about the process you're
doing?

Thanks,

Felix Wu
=============
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------

Quote:

>Newsgroups: microsoft.public.dotnet.languages.vb
>Subject: dynamic sentence creation
>Date: Mon, 14 Apr 2003 22:09:48 -0400
>Organization: MindSpring Enterprises
>Lines: 26


>NNTP-Posting-Host: 45.03.a8.0c
>X-Server-Date: 15 Apr 2003 02:15:01 GMT
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
>Path:

cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed1.newsreader.com!ne
wsreader.com!beamish.news.atl.earthlink.net!guinness.news.atl.earthlink.net!
news.atl.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlin
k.net!not-for-mail
Quote:
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:101913
>X-Tomcat-NG: microsoft.public.dotnet.languages.vb

>any idea if there is a good strategy to allow a user
>to dynamically create a sentence based on the
>returned value of certain controls?

>A grid may be one way, with a different sentence based on the
>value being editable.

>but what happens with a list - where

>dim sentence
>if x=true then sentence=sentence + x  + ","
>if y=true then sentence=sentence + y + ","
>if z=true then sentence=sentence + z + ","
>return sentence

>this is something that can be put in a function - but how could it be
>exposed to a user
>so that they could have more control of the final sentence?

>x,y and z are database values.

>tia,
>dk



Sat, 01 Oct 2005 23:01:33 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Dynamic creation of variable names

2. Runtime Creation of Dynamic Forms

3. Dynamic creation of web controls in VB.NET

4. Dynamic Menu Creation

5. DAO - Dynamic Database Creation

6. Dynamic Control Creation - Expand Form?

7. Dynamic Creation of Controls

8. Dynamic control creation

9. dynamic object creation in VB4

10. Dynamic Creation of Object Names - Forms

11. Dynamic control creation and calling DOS programs from VB.

12. Dynamic Menu Creation

 

 
Powered by phpBB® Forum Software