Bind calendar selection to a string
Is it possible to bind the selected date of the calendar component to a string instead of a date ?
The reason I need this is that I have a dynamic form and the input can be a drop down, text box, text area, or calendar depending on what the client asks for. I bind each of these to the same String but only render one of them per form. In order to allow the use of the calendar I need it to be bound to the same variable as the others.
Thanks
Yup, the built-in calendar component in Creator 2 could be improved. I've written a new prototype popup calendar that I think is better, but it hasn't been nicely packaged up into a complib yet. It's on my TODO list. You can see a screenshot of the prototype calendar at http://blogs.sun.com/roller/page/edwingo?entry=component_authoring_for_creator.
The code is available from java.net in the bpcatalog CVS tree and you can build a complib from the "ui" subdirectory of that tree. There may be a workaround for the built-in component, but it'll take some work probably.
-Edwin
Similar Messages
-
Hi
How can I do to select data using string with range:
srch_strA = notcr-low.
srch_strb = notcr-high.
* Building selection
IF srch_strA IS NOT INITIAL AND srch_strB IS INITIAL.
CONCATENATE '%' srch_strA '%' INTO srch_strA.
*document header
SELECT bukrs belnr gjahr bktxt bldat xblnr
FROM bkpf INTO CORRESPONDING FIELDS OF TABLE it_bkpf
WHERE bukrs EQ p_bukrs AND
belnr IN belnr AND
gjahr EQ p_gjahr
AND xblnr IN xblnr
AND BKTXT LIKE srch_strA.
ENDIF.
IF srch_strA NE '' AND srch_strB NE ''.
CONCATENATE '*' srch_strA '*' INTO srch_strA.
CONCATENATE '*' srch_strB '*' INTO srch_strB.
ti_nc-sign = 'I'.
ti_nc-option = 'BT'.
ti_nc-low = srch_strA.
ti_nc-high = srch_strB.
append ti_nc. clear ti_nc.
*document header
SELECT bukrs belnr gjahr bktxt bldat xblnr
FROM bkpf INTO CORRESPONDING FIELDS OF TABLE it_bkpf
WHERE bukrs EQ p_bukrs AND
belnr IN belnr AND
gjahr EQ p_gjahr
AND xblnr IN xblnr
AND BKTXT IN ti_nc.
ENDIF.
Thanks in advance.
Moderator message - Please use code tags around your code
Edited by: Rob Burbank on Nov 27, 2009 5:26 PMHi,
Pls. use this code and check if its working...
srch_strA = notcr-low.
srch_strb = notcr-high.
* Building selection
IF srch_strA IS NOT INITIAL AND srch_strB IS INITIAL.
CONCATENATE '%' srch_strA '%' INTO srch_strA.
*document header
SELECT bukrs belnr gjahr bktxt bldat xblnr
FROM bkpf INTO CORRESPONDING FIELDS OF TABLE it_bkpf
WHERE bukrs EQ p_bukrs AND
belnr IN belnr AND
gjahr EQ p_gjahr
AND xblnr IN xblnr
AND BKTXT LIKE srch_strA.
ENDIF.
IF srch_strA NE '' AND srch_strB NE ''.
CONCATENATE srch_strA '*' INTO srch_strA.
CONCATENATE srch_strB '*' INTO srch_strB.
ti_nc-sign = 'I'.
ti_nc-option = 'BT'.
ti_nc-low = srch_strA.
ti_nc-high = srch_strB.
append ti_nc. clear ti_nc.
*document header
SELECT bukrs belnr gjahr bktxt bldat xblnr
FROM bkpf INTO CORRESPONDING FIELDS OF TABLE it_bkpf
WHERE bukrs EQ p_bukrs AND
belnr IN belnr AND
gjahr EQ p_gjahr
AND xblnr IN xblnr
AND BKTXT IN ti_nc.
ENDIF.
Thanks,
Sid -
Binding Calendar services to just one IP.
Hello, i managed to bind Messaging system to one ip but i'm still unable to bind calendar services to just one IP (box has 3 ips). Can anyone post me solution where to change it so all those services would be only on one ip and not on all, taking unnessecary ports? Thanks
tcp 0 0 0.0.0.0:3080 0.0.0.0:* LISTEN 24208/cshttpd
tcp 0 0 0.0.0.0:57997 0.0.0.0:* LISTEN 24184/enpd
tcp 0 0 0.0.0.0:19472 0.0.0.0:* LISTEN 24196/csadmind
tcp 0 0 0.0.0.0:81 0.0.0.0:* LISTEN 23745/webservd-wdog
tcp 0 0 0.0.0.0:27442 0.0.0.0:* LISTEN 23687/job_controlle
tcp 0 0 0.0.0.0:8888 0.0.0.0:* LISTEN 24074/webservd-wdog
tcp 0 0 0.0.0.0:7997 0.0.0.0:* LISTEN 23657/enpdHi,
You have a few different applications listed here and you didn't supply any version information so some of these may/may not work:
cshttpd (calendar):
try setting the following parameter in ics.conf:
service.http.listenaddr = "<interface IP>"
For messaging server, there is a script called ha_ip_config already provided which sets all of the appropriate values for messaging server. This should help with the job_controller port.
For the various enpd processes (one for calendar and one for mail), I don't think there is any easy way of setting this.
See how you go with the settings above.
Cheers,
Shane. -
Bind Variables with AND in String causing Issues in XML & Report Outputs
Hi all,
I'm creating a BI Publisher report (10.1.3.2) and am experiencing an issue with the interprutation of Bind Variables in the Data Template.
Here is an example of some of the Data template
<dataTemplate name="BudgetDataBU" description="BudgetDataBU" dataSourceRef="DLXN">
<parameters>
<parameter name="p_Year" dataType="Integer" include_in_output="true"/>
<parameter name="p_Measure" dataType="character" include_in_output="true"/>
<parameter name="p_Currency" dataType="character" include_in_output="true"/>
<parameter name="p_Version" dataType="character" include_in_output="true"/>
</parameters>
<dataQuery>
<sqlStatement name="BusUnits">
<![CDATA[SELECT DISTINCT CC.BUSINESS_UNIT as BUSINESS_UNIT
FROM DLXN_FACT_DATA_DET FD,
DLXN.COST_CENTRE CC
WHERE FD.COST_CENTRE = CC.COST_CENTRE
AND FD.CAL_YEAR = :p_Year
AND FD.Currency = :p_Currency
AND FD.Measure = :p_Measure
AND FD.Version = :p_Version
AND CC.DLXN_VIEW = 'Delexian' ]]>
</sqlStatement>
<sqlStatement name="Details">
<![CDATA[SELECT DLXN_FACT_DATA_DET.VERSION,
DLXN_FACT_DATA_DET.CURRENCY,
DLXN_FACT_DATA_DET.CAL_YEAR as CAL_YEAR,
SUM(nvl(DLXN_FACT_DATA_DET.JAN_AMT,0)) as JAN_AMT,
</sqlStatement>
</dataQuery>The problem is with the :p_Measure Bind Variable but it could just as easily be any of the other character parameters.
The particular string value that is causing a problem is "Travel and Expenditure". I believe it is due to the "AND" in the string but this string value cannot be changed in the database to say "Travel & Expenditure".
I have thought about using a REPLACE function in the SELECT statement but see this as an ugly solution.
Any input greatly appreciated.
Kind Regards,
Gary.We remove this restriction ,fix included in BI Publisher July 2009 update for 10.1.3.4.x. The patch number is 8704846.
-
Calendar selection not the same as in iCal ?
In Calendar I want show/hide my calendars like in iCal but I can only select either one of them or ALL.
This is not nice especially with Weeknumber, showing an event every day if I select ALL.
I want to optionally enable the Weeknumbers view. Can this be done or do I have to submit an enhancement request ?I have to look at this but I think this updated both id and ic, and now I'll tell him
thnks Bob -
Calendar selection no longer appears
I have a google calendar set up on the New iPad as an exchange, another google calendar set up as pop, and finally, my wife's google calendar as a subscribed calendar. All was well for months... but out of no where, now when I open the calendar app, while I can see all 3 calendards appearing (each with their own color) in the calendar itself... yet when I click the "Calendars" button in the top left corner, I cannot actually see each unique calendar to select to turn on/off. A the screen shows when I click "Calendar" is the top blue screen saying "Show Calendar" and the "Edit" button, but nothing at all appears below the "Show Calendar."
Thus, I can no longer turn on or off calendars anymore from the calendar app!
PLEASE help. I've been trying to figure out how to fix this for hours. I even did a system restore and when to settings and deleted the Accounts and reinstalled with no luck.Did you try just quitting the calendar app completely and then restart the iPad?
Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Restart the iPad.
Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button. -
Sql (Select) result in string
Hi , I found this code in internet but it´s put a result in range on excel.
I would like some code with end is some like "MyVarString = objMySQLRecordsetResult"
For example: In my select result = "User01" , I would like put this value in a var string.
The code ends ...
'ActiveSheet.Range("A1").CopyFromRecordset objMyRecordset
I want ...
Test01 = Recordset objMyRecordset
tks for your help !!
Public Sub GetDataFromADO()
'Declare variables'
Dim objMyConn As ADODB.Connection
Dim objMyCmd As ADODB.Command
Dim objMyRecordset As ADODB.Recordset
Set objMyConn = New ADODB.Connection
Set objMyCmd = New ADODB.Command
Set objMyRecordset = New ADODB.Recordset
Dim TESTE01 As String
'Open Connection'
objMyConn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.15.0;Data Source="
& ActiveWorkbook.Path & "\Database.accdb" & "; Jet OLEDB:Database Password= `MY PASSWORD"
objMyConn.Open
'Set and Excecute SQL Command'
Set objMyCmd.ActiveConnection = objMyConn
objMyCmd.CommandText = "select DUSER from DUSER WHERE DUSER = 'USUR01 "
objMyCmd.CommandType = adCmdText
'Open Recordset'
Set objMyRecordset.Source = objMyCmd
objMyRecordset.Open
objMyRecordset.OpenRecordset
'Copy Data to Excel'
'ActiveSheet.Range("A1").CopyFromRecordset objMyRecordset
End SubTry:
Public Sub GetDataFromADO()
Dim Conn As New ADODB.Connection
Dim Rs As New ADODB.Recordset
'Open Connection'
Conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.15.0;Data Source=" & ActiveWorkbook.Path & "\Database.accdb" & "; Jet OLEDB:Database Password= `MY PASSWORD"
Conn.Open
'Open Recordset'
Rs.Open "select DUSER from DUSER WHERE DUSER = 'USUR01'", Conn, adOpenDynamic, adLockReadOnly
'Copy Data to Excel'
ActiveSheet.Range("A1").CopyFromRecordset Rs
Rs.Close
Conn.Close
End Sub
Rod Gill
Author of the one and only Project VBA Book
www.project-systems.co.nz -
Select expert - 'A string is required here'
Post Author: greg_zen
CA Forum: Formula
Hi All,
in select expert I put code like below:
1)
'{sp.ContractNo} like {?ContractNo}'
where ?contractNo is a parameter declared as a 'string'
It worked fine with Crystal Enterprise 10 SP3
After coping all reports and stored procedures to another server and installing SP6 for Crystal Enterprise 10 it stopped working.No idea why.
So I tried to replace select formula like this:
2)
if cstr({?ContractNo})="" or cstr({?ContractNo})="*" or IsNull({?ContractNo}) then True
first I used it without cstr function but after running there was always 'A string is required here' error message. Adding cstr didn't helped. Still the same.
Original select was based on 'like' keyword to make it possible to enter starting character or just a part of string.
As because users in most cases want to select data for all Contracts, select 2) was acceptable or at least I wanted to see anything. No way,
still the same error 'A string is required here' during the runtime.
Any idea what's going on ?
I'd appreciate any suggestions and comments.
Regards,
greg_zenPost Author: SKodidine
CA Forum: Formula
For your first formula, why not try with wildcards and see if it works, since you mentioned that the intent was for the user to enter a part of a string?
Try one of these:
{sp.ContractNo} like {?ContractNo} & '*' // for any number of characters
{sp.ContractNo} like {?ContractNo} & '?' // for a single character
For the second (re-write) formula, make sure that the NULL condition is always checked first.
if IsNull({?ContractNo}) or cstr({?ContractNo})="" or cstr({?ContractNo})="*" then True -
Improper casting of bind in select list item?
Hi all,
In v3.1.2, I have a Select List item called P1_DEPT_FILTER where the LOV is:
Number of Columns 1
Display Null Yes
Null display value -- ALL --
Null return value
List of values definition select DNAME, DEPTNO from DEPT order by 1
In a computation of another item on the same page, I have a SQL Query in the computation that contains a WHERE clause referencing the Select List item:
AND (:P1_DEPT_FILTER IS NULL OR assigned_belt LIKE :P1_DEPT_FILTER)
The problem is that sometimes the computation query returns no rows. Using APEX debug and also dumping the session variables shows P1_DEPT_FILTER to contain the expected value based on what I selected, so I created a LOGON TRIGGER on the owner's database for the owner's schema to fire up a SQL Trace with binds. The bind variables for the computation query show "dty=1", which is a (n)varchar2 type, instead of the expected "dty=2".
My theory is that this improper casting is causing the computation to not work correctly, since running the computation query outside of APEX works perfectly.
I'm missing something here, but am stuck on where to continue troubleshooting. Thoughts?
TIA!
Rich
Edited by: socpres on Dec 17, 2008 4:02 PM (typo)Hey Scott,
My apologies for not posting the exact SQLin my original post -- I tend toward obfuscation. In any case...
That computation and it's slight derivatives appear on computations for P3_ID, P3_ID_NEXT, and P3_ID_PREV, as well as the "Get Next or Previous Primary Key Value" process. Since the value returned for the P3_CHAMPION_FILTER Select List is "8" when I attempt to filter, I altered the P3_CHAMPION_FILTER for each of the 4 SQLs similar to this:
SELECT
NVL(MIN(ID),0)
FROM
vip_project.project_table
WHERE
project_document IS NULL
AND lead_team_charter_date IS NOT NULL
AND (NVL(:P3_BELT_FILTER,0) = 0 OR assigned_belt = TO_NUMBER(:P3_BELT_FILTER))
-- AND (NVL(:P3_CHAMPION_FILTER,0) = 0 OR assigned_champion = TO_NUMBER(:P3_CHAMPION_FILTER))
AND (NVL(:P3_CHAMPION_FILTER,0) = 0 OR assigned_champion = 8)And it works perfectly! Without a filter on Champion, the correct 56 rows meeting the criteria are available for navigation on the form. If I select the item in the P3_CHAMPION_FILTER that corresponds to the value of "8", only the 3 rows for that "champion" column are navigable. Here's what debug says about the P3_CHAMPION_FILTER field when I select the "8" item:
0.14: ...Session State: Saved Item "P3_BELT_FILTER" New Value="0"
0.14: ...Session State: Saved Item "P3_CHAMPION_FILTER" New Value="8"
0.14: ...Session State: Save "P3_ID" - saving same value: "1"
And the Session State:
100 3 P3_CHAMPION_FILTER Select List 8 I
So, in theory, changing the "TO_NUMBER(:P3_CHAMPION_FILTER)" to "8" should have no effect, but it does. Baffling!
Thanks!
Rich -
Duplicate binding of selection menus
I have 3 'selection lists' within a cfform type=html (AJAX)
that are pulling the same data. One in the search area of the form,
a second in the edit area not near the first, allowing the user to
select a new option and a third on a seperate tab in an area where
they can edit the selection list (here there is also an autosuggest
to a slightly different query). All these are actually within the
same form. Is there a better approach assuming they must be in
different areas (e.g., a way to bind the other 2 select menus to
the first to reduce trips back to the data or maybe a better
presentation concept).
1) Search Selection:
Document Type: <cfselect name="strdoctype"
id="strdoctype" display="diadoctypename" selected="#intdoctype#"
bindattribute="diadoctypekey"
bind="cfc:#strcomponentpath#.readdiadoctypename()"
bindonload="true" style="width:270px; font-size:xx-small" />
2) Edit record field value:
Document Type: <cfinput type="text"
name="editdiadoctypenameText" id="editdiadoctypenameText"
readonly="True" required="No" bind="{searchGrid.diadoctypename}"
style="width:350px;font-size:xx-small" disabled="true" />
or change it: <cfselect name="editdiadoctypename"
id="editdiadoctypename" display="diadoctypename"
bindattribute="diadoctypekey"
bind="cfc:#strcomponentpath#.readdiadoctypename()"
bindonload="true" style="width:350px;
font-size:xx-small;display:inline" />
3) Show what is there and then allow to Add value to
selection list field with autosuggest to avoid dups:
<span style="float:left">Current Document
Types: </span>
<cfselect name="readEditablediadoctypename"
id="readEditablediadoctypename" display="diadoctypename"
bindattribute="diadoctypekey"
bind="cfc:#strcomponentpath#.readdiadoctypename()"
bindonload="true" style="width:375px; font-size:xx-small" />
<br clear="left" />
<span style="float:left">Add a new Document
Type: </span>
<cfinput type="text" name="adddiadoctypename"
id="adddiadoctypename"
autosuggest="cfc:#strcomponentpath#.readSuggestdiadoctypename({cfautosuggestvalue})"
autosuggestminlength="1" typeahead="no"
style="width:375px;font-size:xx-small; margin-bottom:7em" >Karri,
I just want to have the authorization role name entered in my start form as input for my method.
Scenario:
The user runs the start transaction and enters a authorization role name in the field Then he starts the workflow and transaction PFCG automatically starts as next step for initiator. Now i want the authorization role name appeare in PFCG.
My container element for start forms is ZAGR_FORM and refers to a dictionary table with same name containing the field AGR_NAME. My method is a self defined method of BO-subtype Z_ROLE being delegated from business object 'ROLE' containing key field AGR_NAME of table ZAGR_FORM.
In the step container i can't bind the element ZAGR_FORM to '_Wi_Object_ID' to have the effect i want. The error meassege is
"An object compatible with 'BO.Z_ROLE' was expected as the source expression."
The same message also during creation of a container operation.
Can it be solved by modifiing the program of method?
Here is the generated code:
"BEGIN_METHOD ZPFCG CHANGING CONTAINER.
CALL TRANSACTION 'PFCG' AND SKIP FIRST SCREEN.
END_METHOD."
I hope this helps you for more details.
Regards
Mehran
Edited by: Mehran Fardisfar on Jul 9, 2010 8:36 AM
Edited by: Mehran Fardisfar on Jul 9, 2010 8:48 AM -
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
import flash.data.SQLConnection;
import flash.events.SQLErrorEvent;
import flash.data.SQLStatement;
import flash.events.SQLEvent;
import flash.filesystem.File;
public function init():void
// creating a connection and the database
var conn:SQLConnection = new SQLConnection();
conn.addEventListener(SQLEvent.OPEN, openHandler);
conn.addEventListener(SQLErrorEvent.ERROR, errorHandler);
var dbFile:File = File.applicationStorageDirectory.resolvePath("DBSample.db");
conn.openAsync(dbFile);
// putting the database creation into the open handler of conn object
function openHandler(event:SQLEvent):void
trace("the database was created successfully");
var createStmt:SQLStatement = new SQLStatement();
createStmt.sqlConnection = conn;
var sql:String =
"CREATE TABLE IF NOT EXISTS employees (" +
" firstName TEXT, " +
" lastName TEXT, " +
createStmt.text = sql;
createStmt.addEventListener(SQLEvent.RESULT, createResult);
createStmt.addEventListener(SQLErrorEvent.ERROR, createError);
createStmt.execute();
function createResult(event:SQLEvent):void
Alert.show("Table created");
// table structure error handle
function createError(event:SQLErrorEvent):void
trace("Error message:", event.error.message);
trace("Details:", event.error.details);
// error handler for conn object
function errorHandler(event:SQLErrorEvent):void
trace("Error message:", event.error.message);
trace("Details:", event.error.details);
b2.addEventListener(MouseEvent.CLICK,select);
// select function
function select():void
// select statement
var selectStmt:SQLStatement = new SQLStatement();
selectStmt.sqlConnection = conn;
selectStmt.text = "SELECT firstName, lastName FROM employees";
selectStmt.addEventListener(SQLEvent.RESULT, resultHandler);
selectStmt.addEventListener(SQLErrorEvent.ERROR, errorHandler);
selectStmt.execute();
function resultHandler(event:SQLEvent):void
var result:SQLResult = selectStmt.getResult();
var numResults:int = result.data.length;
for (var i:int = 0; i < numResults; i++)
var row:Object = result.data[i];
var output:String = "firstname: " + row.firstName;
output += "; lastName: " + row.lastName;
trace(output);
b1.addEventListener(MouseEvent.CLICK,insert);
// insert fuction
function insert():void
var insertStmt:SQLStatement = new SQLStatement();
insertStmt.sqlConnection = conn;
var sqls:String =
"INSERT INTO employees (firstName, lastName) values(:firstName,:lastName)";
//"" + "(firstName, lastName) " + "VALUES ('Bob', 'Smith')";
insertStmt.parameters[":firstName"] = fname.text;
insertStmt.parameters[":lastName"] = lname.text;
insertStmt.text = sqls;
insertStmt.addEventListener(SQLEvent.RESULT, insertResult);
insertStmt.addEventListener(SQLErrorEvent.ERROR, insertError);
insertStmt.execute();
function insertResult(event:SQLEvent):void
trace("INSERT statement succeeded");
fname.text="";
lname.text="";
function insertError(event:SQLErrorEvent):void
trace("Error message:", event.error.message);
trace("Details:", event.error.details);
]]>
</mx:Script>
<mx:TextInput x="17" y="52" id="fname" />
<mx:TextInput x="17" y="120" id="lname"/>
<mx:DataGrid x="375" y="87" dataProvider="">
<mx:columns>
<mx:DataGridColumn headerText="fname" dataField="col1"/>
<mx:DataGridColumn headerText="lname" dataField="col2"/>
</mx:columns>
</mx:DataGrid>
<mx:Button x="58" y="207" id="b1" label="insert" />
<mx:Button x="375" y="288" id="b2" label="select" />
</mx:WindowedApplication>what about creating an ArrayCollection variable
[Bindable]
private var myAC:ArrayCollection;
then
function resultHandler(event:SQLEvent):void
var result:SQLResult = selectStmt.getResult();
myAC = ArrayCollection(result.data);
and
<mx:DataGrid dataProvider="{myAc}"/> -
Multiple selection tree to string
I have make a tree with 15 row, i set the selection to 1 or more. now i want to make multiple selection of tree to appear in string control, how can i do that?
Thank you
Solved!
Go to Solution.
Attachments:
test.vi 10 KBUse the Value property:
The order in "response" will be the order the elements were selected.
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice -
CR 2008 & VS 2008 - Record Selection Gets Empty String on Report Refresh
I'm using CR2008 in VS 2008 (WinForms not Web). This seems like a fairly easy thing to do (was in VB6/CR8.5).
My program provides a list of reports via the FileDialog, grabs the report name, loads the report document with the report, then the viewer displays the report. Everything works great to that point, but then the user refreshes the report and the selection string is changed to "" (empty) and all records from the table are displayed. Is there something that I'm missing here?
I have tried both 8.5 and CR2008 reports with the same results. The login seems to be working fine.
Any help would be appreciated,
Thanks
RA Smith
Puzzled
Code:
Private Sub OpenCrystalReportDirectoryToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OpenCrystalReportDirectoryToolStripMenuItem.Click
If FileIO.FileSystem.DirectoryExists(dirPath) = False Then
MsgBox("Crystal Reports Directory not valid. " & _
"Check that drive is mapped to S: drive.", MsgBoxStyle.Exclamation)
Else
Me.OpenFileDialog1.InitialDirectory = dirPath
If OpenFileDialog1.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
Try
rptName = OpenFileDialog1.FileName
If FileIO.FileSystem.DirectoryExists(rptName) = True Then
MsgBox("File not found", MsgBoxStyle.Exclamation)
Else
Me.reportDocument1.Load(rptName, OpenReportMethod.OpenReportByTempCopy)
Me.CrystalReportViewer1.ReportSource = Me.reportDocument1
End If
Catch Ex As Exception
MessageBox.Show("Cannot read file from disk. Original error: " & Ex.Message)
End Try
End If
End If
End SubHi,
Post your question in SDK forum.
[NET Development - Crystal Reports|SAP Crystal Reports, version for Visual Studio;
That forum is monitored by qualified technicians and you will get a faster response there. Also, all SDK queries remain in one place and thus can be easily searched in one place.
Thank you for your understanding,
Shweta -
Date Field Calendar Select F4 - F2 Not Working
Gosh this really seems like a simple question, but I can't seem to find an answer to it.
I am sure somebody has run into this before:
When populating a date field, you should be able to highlight the field, hit F4 to pull up the calendar and F2 will then populate the field with the current date.
The problem is, F2 is only highlighting the current date; not entering it into the field.
This creates an extra step for order entry.
Has anyone had this problem before and know a way to resolve it?Dear
I think your best bet is to check for SAP notes on this topic.
For example note:
Note 94052 - Equipment master: F2 key does not work
Example of solution of this note (but probably applicable for other issues as well)
Enhance interface status to activate the F2 key. You receive its name via menu option System -> Status. Then change the status for program 'SAPMIEQ0' using Transaction SE41 as follows:
In the 'Recommended function key settings' section enter 'OA' for the F2 key in the first column and 'Display object' in the second column.
Kind regards
Tom -
XPath question (select on tag string contents)
Hi,
I have the following XML file (a wikinews dump):
<mediawiki>
<page>
<title>Image:Wiki.png</title>
<id>1</id>
<restrictions>move=sysop:edit=sysop</restrictions>
<revision>
<id>92375</id>
<timestamp>2005-06-29T02:57:00Z</timestamp>
<contributor>
<username>NGerda</username>
<id>2442</id>
</contributor>
<text xml:space="preserve">Wikinews logo.
{{CopyrightByWikimedia}}</text>
</revision>
</page>
</mediawiki>(with more <page> elements of course)
I would like to only select those pages (titles and text) where the title does not contain 'category:' or 'Image:' or 'Template:' etc. or just does not contain ':' (I do not have all the pages, only most of them).
What would be the right XPath expression?
Any help is greatly appreciated!
GrandiJoos
Edited by: Grandi on Oct 6, 2007 7:05 AM
Expanded topic titleSomething like:
/mediawiki/page[not(contains(title, ':'))]
Maybe you are looking for
-
How to Design a Page for Both Insertion and Updation
Hi, I have Page where I need to populate a table from Standard PO/AP table and once the save is clicked on the table, the data shoudl be inserted in custoim table. Ex: Ui table wil have 3 columns and say 5 rows - PO# - Line# - Amount for 'X' purpose
-
Can I update to iOS 8.0 a different way?
Due to an earlier accident, the bottom part of my iPad screen is no longer tactile; I had dropped the device, the screen cracked and all was well until I got the screen replaced... I tried installing iOS 8.0, but failed because I can't agree to the T
-
Can we recover lost work?
A colleague and I have been working on a large project, 100 GB worth.We started on my MBP and saved it to an external Lacie HD.Then she carried on using her MB. After trimming it down and cropping out the unwanted stuff we added transitions and theme
-
Updated to iDVD 7.1.1 and am now unable to correctly open an old .dvdproj created in iDVD '06. Worse still, iDVD tells me that there are themes missing (They are all there, including my own 'favorite' themes, in the user/library/application support/i
-
I have 3 tables, let's call them A B and C. I will use A1, A2 to differentiate between different rows in a table. A will be the base table. I want to join B and C to A, but maintain separate rows for each join on B or C So if would look lik A1 null C