Input of first prompt used for generate LOV second prompt

Post Author: [email protected]
CA Forum: WebIntelligence Reporting
Hi,
I'm looking for a solution for the following problem:
I want to create a report with two prompts where the value of the first prompt is used to generate the LOV of the second prompt. For example: with the first prompt the user selects a country, with the second prompt he selects a city of that country (and not all the city's of all country's).
Is this possible?
Thanks,
Gerard

Post Author: James MacDonald
CA Forum: WebIntelligence Reporting
There are two ways you can try this.
1)  In the universe setup a hierarchy for State to City.  Then build a cascading LOV (Tools;Lost of Values;Create Cascading List of Values) and select State then City as the two objects.  Then create a condition for @Select(Store\City) = @Prompt('Select City:', 'A', 'Store\City', Mono, Constrained).
Save and export the universe and create a new Webi report selecting State, City and including the condition.  The prompt should list all the states with a plus sign that can be opened and the cities will show.
This works ok if there are not too many states and cities; but there is no search so if you don't know what state a city is in you have to look in each one.  Also; this type of prompt will be used anytime the 'City' is used as an lov - so if you sometimes want to just list the cities you may need a second LOV.
2)  Another way is to build a City LOV with an embedded prompt for State.
In the universe setup a new object 'City Lov' pointing to the City DB column; then use properties to define the List of Values.  In the Conditions panel of the List of Values definition add a 'State in list Prompt ... ' condition which will prompt for one or more States for the City.  Press Run and it should prompt first for a state then when you pick it the city(s) will be listed.  Select the 'Automatic Refresh before use' and 'Export with Universe' options.
Next create a new condition to prompt for City but using the new 'City LOV' you just created.
Save and export the universe and create a new Webi report selecting State, City and including the condition.  The prompt should now show City with a second prompt below and indented for state.  You pick the state first then the city will show.  The 'In List' allows you top pick one or more or all States and the search will search for the Cities listed.
Try this and if you have trouble let me know and I can send you a sample of both.

Similar Messages

  • My iphone 5in use for about 35 seconds,becomes  very hot.Why?

    My  IPHONE 5,when  in  use,for insytance, in facebook,for about 35 seconds it  heats and becomes very,very hot.... why ? It's not because of the light,çause  my son's iphone 4 daes'nt happen this....

    User Tip:  How to deal with MacBook Pro and MacBook heat? 

  • Jcombobox used for both LOV as well as navigating row set

    Hello,
    I'm trying to achieve the functionality where a JCombobox can have both JULOVClientBinding and JUNaviationBinding... If I set both the combobox with both the models I get a BC4J JBO-34004 exception.
    The tried just setting up the combox with just the JUNavigationBinding and listen to listenselection events.
    to perform the lov functinality.
    But it turn out I get the event before the JUNavigation binding has had a chance to move the cursor...so I get the wrong row's data in the view object.
    Any ideas on how I may go about achieving this functinality?

    These bindings are designed to work independently and not in conjunction in one control!
    You may want to provide more details on your usecase so that we may provide suggestions.
    One could be to bind using Lov binding and then use the list itemChanged event to also perform navigation.

  • Hi kids, my first day using apple, anyway, is a Power Book 4.1 , bought from someone else,and i dont have the password for the key chain, and no chances of getting it, the screen, for the password keeps on coming up, any ideas?

    my  first day using apple, i love it, is a power 4.1, older, but is ok to learn it, however, i bought it from someone , and i was not
    given the password for key chain, so, this screen keeps on coming up, and i dont know the password, so i keep on canceling out
    of it, ..... any ideas on how to fix this problem, is the key chain, that you can access through utilities, but i dont have the old password, that is my first
    problem
    my second problem is that the key board, closer to the screen, is coming out, as it needs to be put in place, you would imagine you can
    put it back in place, but, not sure i should mess with it, any input would be greatly appreciated it
    thank you
    lisa

    Hi, Lisa. Now I see what you're desperate about.
    Does it allow you to go ahead and use the iBook after you cancel the Keychain login? If so, it's not a big deal.
    Are you able to go to System Preferences > Accounts and create a new account for yourself? That should eliminate Keychain password problems.
    Check out these instructions on replacing the keyboard:
    http://docs.info.apple.com/article.html?artnum=111917
    Maybe they will help you get it seated better. It's considered a customer-installable part, so it should be easy enough for you to handle without worrying about goofing anything up.
    What CDs (if any) came with the iBook?
    Which version of the operating system is it running?
    How big is the hard drive and how much space remains available on it? If it's the original hard drive, it's getting very old and could fail at any time. The identifier "PowerBook 4,1" tells me that the iBook is ten years old, and is either a 500 or 600 MHz PowerPC G3 (Dual USB) iBook. As such, you can't expect a whole lot from it.
    The optical drive on this iBook could be a CD-ROM (reads CDs only), CD-RW (reads and writes CDs; no DVD capability), DVD (reads CDs and DVDs), or Combo (reads and writes CDs; reads DVDs) drive.
    Good luck with it.

  • X230 - Setup Is Preparing Your Computer For First Time Use

    Dear all, 
    I just received my X230 bought on Ebay and as I first turned on the computer, Windows was frozen and showed "Setup Is Preparing Your Computer For First Time Use" for hours (I guess its a whole day). Since I do not have any recovery media provided, does anyone has alternative solution? 
    Thanks in advance!

    Thanks! It took me a whole day to figure out what happened and I ended up format the whole drive and reinstall the windows. Yes, you are right, X230 is a good machine and acutally I was thinking to puchase X240 since there is kind of back to school program that you can purchase X240 at a deep discount price. After so many bad comments I chose X230 instead for: 
    1. Physical Trackpad button (which is extremely important as I ONLY use trackpoint) 
    2. 2 ram slots 
    3. normal voltage CPU
    I am surfing the net with X230 and I am so happy I bought this.

  • APiI for generating Quote report as Pdf  in oracle iStore

    hi,
    Any one help me on which API is used for generating quote report in oracle istore...

    Are u sure about  the report version.
    Please do upgrade  while  even in oracle  they almost stopped for new version -Developer suite

  • Must use Step Input Keyboard prior to using midi controller? When I attempt to use my midi keyboard conteoller for step input, it won't work unless I input the first note in each track via the Step Input Keyboard. This doesn't seem right...

    When I try to use my midi controller keyboard for step input, it won't work unless I input the first note in each track via the Step Input Keyboard.. What am I doing wrong?
    Logic Studio 9.1.7, OS X 10.7.5

    Hi
    Playhead in the right place?
    CCT

  • SQL based prompt using value of first prompt

    Hi Experts,
    Is there any way by which we can use the value selected in first prompt to generate the values in second prompt.
    I actually want to write a sql for second prompt using the value selected in first prompt.
    Is it possible.
    I am aware of the constraint option but it will not be helpful for my requirement.
    Regards,
    Anurag

    hi,
    1) Declare a presentation variable in first prompt V1
    2) Take a dummy colum in fx section CASE WHEN 1=0 THEN 'Dim - Area" ELSE '@{V1}' END
    Save the prompt select value in first prompt and click go it will pass the same value to second prompt
    If this is not the requirement let me know
    thanks,
    saichand.v

  • Unable to search for first record using the Preview tree

    Post Author: TheBig1980s
    CA Forum: General
    Hello:
    Users are unable to search for the first record in the Preview tab's tree.  The reason for this is because the first record is within the first page header of the report.  My guess is that, by design, Crystal takes the end user to whatever the first instance of the record iseven if that first record is in a page header.  That's not "good".  I want the user to be taken to the first record within the details of the reportnot within the page header.
    I have suppressed the page header to not print on the first record by using OnFirstRecord.  But, I still get the same issue where end users cannot select the first record in the tree without being taken to the page header.  Very strange.
    Can anybody think of any other ideas?
    Thanks!
    TheBig1980s

    Thank you Dave Merchant and try67 for your responses. As per my previous post, I contacted the company re the catalogue and they have responded favourably. I'll include their response because it gives the reason for the search failure as document compression which you might find interesting. I'll await their new catalogue and see if they have fixed the problem.
    Company response:
    Thank you very much for your input.  And yes, you are correct, the compression we used for the current catalogue's PDF format does strip out text included in the catalogue.  We used the compression settings we did with the intention of minimising download time, however I take your point about including text for search purposes (which I also utilise when I'm scanning through PDFs).
    We will actually be posting out our new catalogue next week and we'll release the new PDF version on the website at the same time.  I've asked our graphic designer to ensure that the PDF we use for the new catalogue includes searchable text.

  • How to use MRP for generate PO? any samlpe?

    I want to know how to using the MRP for generate purchase order.
    have any documents for showing the steps by using MRP?
    Thanks.
    On

    MRP will generate Order Recommendation only, not actual PO.  You may need to learn general knowledge about MRP first before actually run the MRP Wizard.  Actually, if you have clear knowledge about what MRP covers, many steps have self explained well on the online help.
    Thanks,
    Gordon

  • Problem using WSDL from SAP in IBM's RAD for generating web service client

    When importing a WSDL from the ABAP stack on a SAP 6.40 system into IBM's RAD tool for generating a web service client there are errors with the soap fault classes that get generated.  The WSDL declares the types for the faults with WebServiceName.RfcException and these have elements of name, text, and message.  When the tools see this in the WSDL they generate classes that extend the Java exeception class and this causes an error because the "message" name conflicts with the standard java exception message.  Has anyone else ran into this problem?  It seems like a basic problem many java tools for generating web service client proxies would have because the soap faults get turned into java exceptions.  This name conflict of the java exception with the WSDL fault definition means that code always needs to be adjusted and cannot simply use the classes that are generated from the WSDL.  Anyone run across this or a similar problem in the java environment using the SAP WSDL?
    Aaron

    Hi,
    Hello again .
    Have you tried your service using soapui ?
    You can use your WSDL as input .
    In order to eliminate eclipse problem try this service:(I just did)
    http://www.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?WSDL
    Regards.
    package main;
    import java.io.FileInputStream;
    import java.rmi.RemoteException;
    import java.util.Properties;
    import org.oorsprong.www.websamples_countryinfo.CountryInfoServiceSoapType;
    import org.oorsprong.www.websamples_countryinfo.CountryInfoServiceSoapTypeProxy;
    import org.oorsprong.www.websamples_countryinfo.TCountryCodeAndName;
    public class Main {
    public static void main(String[] args) {
      try {
       final Properties properties = new Properties();
       properties.load(new FileInputStream("properties.ini"));
       System.getProperties().putAll(properties);
      } catch (final Exception exception) {
       exception.printStackTrace();
      new Main();
    public Main() {
      try {
       final CountryInfoServiceSoapType infoServiceSoapType = new CountryInfoServiceSoapTypeProxy();
       final TCountryCodeAndName[] tCountryCodeAndNames = infoServiceSoapType.listOfCountryNamesByName();
       for (final TCountryCodeAndName tCountryCodeAndName : tCountryCodeAndNames) {
        System.out.println(tCountryCodeAndName.getSName());
      } catch (final RemoteException exception) {
       exception.printStackTrace();

  • Error JBO-36000 in JDEV 11 TP3 when trying to use an ADF LOV Input Text

    Hi,
    I'm using JDEV 11 TP3 ( 11.1.1.0.0) and i'm trying to use an ADF LOV Input Text on a JSF Page.
    In The Business Components Browser, It works perfectly.
    If I drop my Data Control on my JSF Page as an ADF Form, it works fine, too.
    But if I drop the same Data Control as an ADF Table when I run the JSF Page and when I click on the "magnifier" icon, I've got the folliwng message :
    ERROR JBO-36000 : unexpected expression token found... Server Exception during PPR.
    Can anyone explain me this message ?
    Thanks for adavance,
    Laurent

    Hi Frank, Thanks for trying to help me,
    I tried to do the same test on JDEV 11g TP2 (I've both TP2 and TP3 installed).
    It doesn't work either on TP2 : the LOV window appears, but it appears empty, with the "Fetching Data..." message.
    And in the OC4J Server Log, I've got the following complete Error Message :
    oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator handleError
    GRAVE: Server Exception during PPR, #2
    java.lang.NullPointerException
         at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.<init>(JUCtrlHierNodeBinding.java:160)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierNodeBinding.<init>(FacesCtrlHierNodeBinding.java:62)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding.createNodeBinding(FacesCtrlHierBinding.java:80)
         at oracle.jbo.uicli.binding.JUCtrlHierBinding.createRootBinding(JUCtrlHierBinding.java:341)
         at oracle.jbo.uicli.binding.JUCtrlHierBinding.getRootNodeBinding(JUCtrlHierBinding.java:76)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel$2.getRowIterator(FacesCtrlHierBinding.java:769)
         at oracle.adfinternal.view.faces.model.binding.CurrencyRowKeySet._computeCurrentRowKey(CurrencyRowKeySet.java:118)
         at oracle.adfinternal.view.faces.model.binding.CurrencyRowKeySet.iterator(CurrencyRowKeySet.java:34)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRendererUtils.writePojoSelectionState(TableRendererUtils.java:195)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.renderDataBlockRows(TableRenderer.java:1040)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._renderSingleDataBlock(TableRenderer.java:925)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._handleDataFetch(TableRenderer.java:599)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.encodeAll(TableRenderer.java:255)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:815)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:208)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:733)
         at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:527)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:287)
         at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputListOfValuesRendererBase$ListOfValuesDialogRenderer.encodeContent(SimpleInputListOfValuesRendererBase.java:598)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelWindowRenderer.encodeAll(PanelWindowRenderer.java:190)
         at oracle.adfinternal.view.faces.renderkit.rich.DialogRenderer.encodeAll(DialogRenderer.java:135)
         at oracle.adf.view.rich.render.RichRenderer.delegateRenderer(RichRenderer.java:846)
         at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputListOfValuesRendererBase$ListOfValuesPopupRenderer.encodeAllChildren(SimpleInputListOfValuesRendererBase.java:634)
         at oracle.adfinternal.view.faces.renderkit.rich.PopupRenderer.encodeAll(PopupRenderer.java:225)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:815)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:208)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:733)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1271)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:753)
         at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputListOfValuesRendererBase._renderPopup(SimpleInputListOfValuesRendererBase.java:418)
         at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputListOfValuesRendererBase.renderElementContent(SimpleInputListOfValuesRendererBase.java:234)
         at oracle.adfinternal.view.faces.renderkit.rich.FormInputRenderer.encodeAllAsElement(FormInputRenderer.java:109)
         at oracle.adfinternal.view.faces.renderkit.rich.FormElementRenderer.encodeAll(FormElementRenderer.java:133)
         at oracle.adf.view.rich.render.RichRenderer.delegateRenderer(RichRenderer.java:846)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.renderFieldCellContents(LabeledInputRenderer.java:153)
         at oracle.adfinternal.view.faces.renderkit.rich.LabelLayoutRenderer.encodeAll(LabelLayoutRenderer.java:251)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.encodeAll(LabeledInputRenderer.java:140)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:815)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:208)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:733)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:287)
         at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.renderDataCell(BaseColumnRenderer.java:879)
         at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.encodeAll(BaseColumnRenderer.java:88)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:815)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:208)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:733)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:287)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._encodeTablePPRTargets(TableRenderer.java:420)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.encodeAll(TableRenderer.java:269)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:815)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:208)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:733)
         at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:527)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:287)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:304)
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:136)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:815)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:208)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:733)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:287)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:304)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:374)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:815)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:208)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:733)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1271)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:753)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:244)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:175)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:178)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:174)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:619)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:241)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:201)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:171)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:135)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:284)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:69)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:284)
         at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:74)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:284)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:208)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:165)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:611)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:362)
         at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:915)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:821)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:626)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:599)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:383)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:161)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:142)
         at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    I've just created the table with the Wizard, I did'nt change anything on it.
    I'm running my ADF Page under Firefox 2.0.0.9.
    Thanks for your help, if you've got any idea
    Laurent

  • SQL Server Management Studio - Configuring the environment for first time use

    Hi
    I have recently switched my local 'My Documents' folder location to a network drive that I 'make available off line' to allow on-line/off-line work and synchronisation when I am working in and out of the office.
    When I load my SQL Server Management Studio 2005 I frequently get 'Microsoft SQL Server Management Studio is configuring the environment for first time use'.
    Management Studio  them loads and I can continue without problem.
    I am guessing it is trying to make reference to some settings file. Any ideas? I wonder if I can change/move these settings elsewhere to a local drive?
    Thanks

    Hi,
    There is bug report of this issue:
    http://connect.microsoft.com/SQLServer/feedback/details/126364/configuring-enviroment-for-the-first-time-every-time-in-ms-sql-server-management-express
    "SQL Server Management Studio Express saves the settings for the user in ...\Documents and Settings\<User Profile>\Local Settings\Application Data\Microsoft\Microsoft SQL Server\90\Tools\ShellSEM
    and in ...\Documents and Settings\<user profile>\Application Data\Microsoft\Microsoft SQL Server\90\Tools\ShellSEM
    if any of these files are not available or unusable, SSMSE will generate new ones."
    Hope this helps.
    BR,
    JoukoK

  • How to: Print table on first page, use second page (back) for text only

    Hi, I am looking for a clear document on how to use pagination and the Odd and Even pages.
    We need to print a table over several pages, but only on Odd pages.
    On the back of each page we need to print "Terms and Conditions". Is that possible? Can it be done without scripting
    We are on ADOBE version 8.1
    In the file properties, double sided is switched on, and version set to 8.1 and higher.
    I created two Master pages, a FrontPage with ContentArea1and a BackPage with ContentArea2.
    FrontPage is used for uneven pages, BackPage is used for the even pages. The masterpages are printed correctly (alternating properly).
    Two pages were created for the content area's:
    ITEMS: contains item data (table with header and footer). Place is "On Odd Page". After "Goto page BackPage". And if the table needs to be paginated it goes to BackPage with overflow leader "Conditions".
    CONDITIONS: contains a textfield (Terms and Conditions). Place is "On Even Page". After "Goto page FrontPage". No overflow.
    What should happen is that on the front pages the item table is printed. If there are too many lines it should overflow to page number 3 then 5 etc. All the even pages should display the text.
    What actually happens is that the item table also gets printed in the content area for the Condition text...
    Also the "Conditions" are not printed on the last back page. But only once before it...
    Cheers,
    Edwin.

    Fixed it... After a lot of creating, deleting, playing around with pagination and the inevitable cursing...
    I have created 5 pages:
    1. FirstPage
         - Odd/Even: Odd (Front) Pages
         - Placement: First page (In page set)
    2. FrontPage (For Odd pages)
         - Odd/Even: Odd/Front Pages
         - Placement: Rest of Pages
    3. BackPage (For Even pages)
         - Odd/Even: Even (Back) Pages
         - Placement: Rest of Pages
    4. LastPage
         - Odd/Even: No Odd/Even Restrictions
         - Placement: Last page (In page set)
    5. DummyPage
         - Odd/Even: Blank pages
    The 'Terms and conditions' are located on the BackPage and LastPage (as a text).
    The table that is printed is (of course) located on a normal page (flowed subform).
    Pagination tab: Placement = Following previous, and After = "Continue filling parent". No overflow... Basically, it's all default.
    The table lines will now start on the first page and if there are more lines than can be printed on this page, it will continue in the next content area. That will be on the FrontPage.
    The trick is that each master page must have a content area (mandatory). Except for Blank pages, but these cannot be used... Blank pages would only be used once, after the first page.
    What I discovered is that you can drag a content area away from the Master page and attach it to a different master page.
    Logically, if there is no content area on a page, then data cannot be printed there. So, I created a Dummypage. On this page I dumped the content areas from the LastPage and the BackPage. As a result, content cannot be printed anymore on the back of pages. Only the standard text (a text field) is printed there. When the data from the table is overflowing, it will automatically overflow from the FirstPage to the next content area. Which is located on the FrontPages only.
    The DummyPage is NOT used anywhere.
    The result is that the records can only be printed on the content areas that exist on the First and Front pages. The back pages are now skipped.
    Duplex printing is now working correctly, and the text is printed on the back of all the pages.
    Cheers,
    Edwin.

  • Can a ComboBox be used for Text Input ?

    Hi
    In Ms Access the combo box can be used for text input for creating new lines in the Database instead of just being limited to the lines already there in the drop down list. Is this possible with the combo box available in Flex 4. If it is I haven't being successful in getting it to work.
    Thanks for you help in advance
    ParaicKW

    I am using a Dataservices Commit method to write to the Database via a button on the screen
    When I type into the ComboBox's text input and click outside the combobox or on the commit button the application effectively freezes
    SituationService is a CRUD type servicePHP to MYSQL and it works with the Datagrid
    Here is the code -
    ParaicKW
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" xmlns:situationservice="services.situationservice.*">
        <fx:Script>
            <![CDATA[
                import mx.controls.Alert;
                import mx.events.FlexEvent;
                protected function Situation_creationCompleteHandler(event:FlexEvent):void
                    getAllTblsituationResult3.token = situationService.getAllTblsituation();
                protected function dataGrid_creationCompleteHandler(event:FlexEvent):void
                    getAllTblsituationResult.token = situationService.getAllTblsituation();
                protected function button1_clickHandler(event:MouseEvent):void
                    situationService.commit();
                protected function vGroup_creationCompleteHandler(event:FlexEvent):void
                    getAllTblsituationResult2.token = situationService.getAllTblsituation();
            ]]>
        </fx:Script>
        <fx:Declarations>
            <s:CallResponder id="updateSituationResult"/>
            <situationservice:SituationService id="situationService" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
            <s:CallResponder id="getAllSituationResult"/>
            <s:CallResponder id="getAllTblsituationResult"/>
            <s:CallResponder id="getAllTblsituationResult2"/>
            <s:CallResponder id="getAllTblsituationResult3"/>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <mx:DataGrid x="96" y="167" id="dataGrid" creationComplete="dataGrid_creationCompleteHandler(event)" dataProvider="{getAllTblsituationResult.lastResult}" editable="true" width="470" height="237">
            <mx:columns>
                <mx:DataGridColumn headerText="ID2" dataField="ID2"/>
                <mx:DataGridColumn headerText="SITUATION" dataField="SITUATION" width="200"/>
            </mx:columns>
        </mx:DataGrid>
        <s:Button label="Commit Updates" click="button1_clickHandler(event)"/>
        <s:HGroup width="90%" height="80%" verticalCenter="20" horizontalCenter="0">
            <mx:ComboBox width="476" id="cmbSituation" creationComplete="Situation_creationCompleteHandler(event)" dataProvider="  
                     {getAllTblsituationResult3.lastResult}" labelField="SITUATION" editable="true">
            </mx:ComboBox>
            <s:TextArea width="426" id="textArea" text="{getAllTblsituationResult3.lastResult.SITUATION}"/>
            <s:Button label="Back" click="cmbSituation.selectedIndex = cmbSituation.selectedIndex-1 ; textArea.selectedIndex = textArea.selectedIndex-1"/>
            <s:Button label="Forward" click="cmbSituation.selectedIndex = cmbSituation.selectedIndex+1 ; textArea.selectedIndex = textArea.selectedIndex-1"/>
        </s:HGroup>
    </s:Application>

Maybe you are looking for

  • Problem with connection and sessions

    Hello, I have some mobile user that connect to sap with a SAPCONSOLE in a server. the problem is that when they move the loose the connection and when they try to connect again the sistem promps to keep the connection or cancelled the connection. How

  • TS3992 icloud password issues

    how do I create (reset) a new password for my iCloud account?  every website directed to is worthless.  everyone links to a website where you ne to put in a password to  furthe.  e othe problem I had is thatwhen I was asked my birthdate, it said I wa

  • PB stuck in S-video out mode despite no s-video cable connected!

    Greetings, Earlier today I attached a TV to my computer's s-video out to watch some video, afterwards I disconnected the cable and went to use my computer as I would ordinarily. Unfortunately now my Powerbook still shows a TV as being connected despi

  • Still frame from timeline

    In imovie06 I was able to make a still image from the ntime line and use in my project. Can anybody point me to this facility within Final Cut Express, please?

  • In MS(v8.1) Excel(v2007) clicking on Mail icon will not launch TB and attach file

    What I have already done: TB has been made my default email client I am logged in locally (not through MS)