Click here to Skip to main content
15,922,015 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHiding Columns in Crystal Pin
tom836-Feb-06 3:31
tom836-Feb-06 3:31 
I'm working on a report which allows the user to select which columns they want to be displayed. For the weight column, the user can select if they want the weight displayed in LBS, ST, or MT (they can choose however many they want). In order to do this, I wrote a simple case statement in my select clause that references three bits that are passed from my form (@ShowWeightLBS, @ShowWeightST, @ShowWeightMT). So if @ShowWeightLBS = 1 Then <weight conversion="" fn.=""> & ' LBS' Else ' ' and so on. For the rest of the columns I thought I would use the same concept (in order to hide the entire column), but I then realized what a mess it would turn into in terms of the column headings matching up with the actual data. I realize I can just "hide" the column by basing the fields suppress value on a formula, but I want the columns to be flush and not have large amounts of empty space between them. Is there a simpler way to hide (and suppress) columns?

Thanks,
Tom Big Grin | :-D


-- modified at 9:31 Monday 6th February, 2006
QuestionInvoke a Excel Macro within VB.Net Pin
directred6-Feb-06 1:00
directred6-Feb-06 1:00 
QuestionWin32 Application without Forms Pin
AjaySuri6-Feb-06 0:57
AjaySuri6-Feb-06 0:57 
AnswerRe: Win32 Application without Forms Pin
Dave Kreskowiak6-Feb-06 4:05
mveDave Kreskowiak6-Feb-06 4:05 
QuestionDeploying VB.Net / MS Access Application Pin
mayhem_rules6-Feb-06 0:54
mayhem_rules6-Feb-06 0:54 
AnswerRe: Deploying VB.Net / MS Access Application Pin
RichardBerry6-Feb-06 3:38
RichardBerry6-Feb-06 3:38 
GeneralRe: Deploying VB.Net / MS Access Application Pin
mayhem_rules6-Feb-06 16:59
mayhem_rules6-Feb-06 16:59 
GeneralRe: Deploying VB.Net / MS Access Application Pin
RichardBerry6-Feb-06 22:13
RichardBerry6-Feb-06 22:13 
GeneralRe: Deploying VB.Net / MS Access Application Pin
mayhem_rules7-Feb-06 1:09
mayhem_rules7-Feb-06 1:09 
QuestionControl License problem in VB project Pin
QuickDeveloper6-Feb-06 0:33
QuickDeveloper6-Feb-06 0:33 
AnswerRe: Control License problem in VB project Pin
Dave Kreskowiak6-Feb-06 4:02
mveDave Kreskowiak6-Feb-06 4:02 
QuestionProblem with OLE-Communication Pin
Meb565-Feb-06 23:56
Meb565-Feb-06 23:56 
Questionoutllook addin Pin
ankitpatial5-Feb-06 20:40
ankitpatial5-Feb-06 20:40 
AnswerRe: outllook addin Pin
progload6-Feb-06 11:03
progload6-Feb-06 11:03 
Questioncreate a website and put it on web Pin
Savitha_GN5-Feb-06 20:37
Savitha_GN5-Feb-06 20:37 
AnswerRe: create a website and put it on web Pin
Dave Kreskowiak6-Feb-06 4:00
mveDave Kreskowiak6-Feb-06 4:00 
QuestionScrolling Text in Windows Form. Pin
meetaqadir5-Feb-06 20:10
meetaqadir5-Feb-06 20:10 
AnswerRe: Scrolling Text in Windows Form. Pin
progload6-Feb-06 10:57
progload6-Feb-06 10:57 
QuestionHow to make a Connection to a Password protected Access Database in VB.NET? Pin
Iftikhar Ali5-Feb-06 19:23
Iftikhar Ali5-Feb-06 19:23 
AnswerRe: How to make a Connection to a Password protected Access Database in VB.NET? Pin
Chatura Dilan6-Feb-06 0:37
Chatura Dilan6-Feb-06 0:37 
GeneralRe: How to make a Connection to a Password protected Access Database in VB.NET? Pin
Iftikhar Ali6-Feb-06 4:13
Iftikhar Ali6-Feb-06 4:13 
GeneralRe: How to make a Connection to a Password protected Access Database in VB.NET? Pin
Chatura Dilan7-Feb-06 1:24
Chatura Dilan7-Feb-06 1:24 
AnswerRe: How to make a Connection to a Password protected Access Database in VB.NET? Pin
Iftikhar Ali9-Feb-06 4:35
Iftikhar Ali9-Feb-06 4:35 
AnswerRe: How to make a Connection to a Password protected Access Database in VB.NET? Pin
kostasdiktia26-Feb-06 13:12
kostasdiktia26-Feb-06 13:12 
GeneralRe: How to make a Connection to a Password protected Access Database in VB.NET? Pin
Iftikhar Ali9-Feb-06 4:42
Iftikhar Ali9-Feb-06 4:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.