a custom positioning of editfield in line with horizontalfieldmanager
Sorry guys, I guess its easy...
but I failed to get the position of editfield at a fixed rate x position on the screen.
I use the horizontalfieldmanager and add a labelfield, then an editfield. that way I can create a form with the addition of several honzontalmanagers. but I want that all editfields to start a same position x and not directly behind the labelfield of each line. in the end, I want to have a block of editfield, starting at a certain position x on the screen?
where is my mistake? I tried setposition with no luck...
Thank you very much
Sven
Thank you, two solutions helped me and I fixed it very fast
Tags: BlackBerry Developers
Similar Questions
-
SQL Loader - ignore the lines with "rejected - all null columns."
Hello
Please see the attached log file. Also joined the table creation script, data file and the bad and throw the files after execution.
Sqlldr customer in the version of Windows-
SQL * Loader: release 11.2.0.1.0 - Production
The CTL file has two clauses INTO TABLE due to the nature of the data. The data presented are a subset of data in the real world file. We are only interested in the lines with the word "Index" in the first column.
The problem we need to do face is, according to paragraph INTO TABLE appears first in the corresponding CTL lines file to the WHEN CLAUSE it would insert and the rest get discarded.
1. statement of Create table : create table dummy_load (varchar2 (30) name, number, date of effdate);
2. data file to simulate this issue contains the lines below 10. Save this as name.dat. The intention is to load all of the rows in a CTL file. The actual file would have additional lines before and after these lines that can be discarded.
H15T1Y Index | 2. 19/01/2016 |
H15T2Y Index | 2. 19/01/2016 |
H15T3Y Index | 2. 19/01/2016 |
H15T5Y Index | 2. 19/01/2016 |
H15T7Y Index | 2. 19/01/2016 |
H15T10Y Index | 2. 19/01/2016 |
CPDR9AAC Index | 2. 15/01/2016 |
MOODCAVG Index | 2. 15/01/2016 |
H15TXXX Index | 2. 15/01/2016 |
H15TXXX Index | 2. 15/01/2016 |
3. the CTL file - name.ctl
DOWNLOAD THE DATA
ADD
IN THE TABLE dummy_load
WHEN (09:13) = "Index".
TRAILING NULLCOLS
(
COMPLETED name BY ' | ',.
rate TERMINATED BY ' | '.
COMPLETED effdate BY ' | '. ' TO_DATE (: effdate, "MM/DD/YYYY").
)
IN THE TABLE dummy_load
WHEN (08:12) = "Index".
TRAILING NULLCOLS
(
COMPLETED name BY ' | ',.
rate TERMINATED BY ' | '.
COMPLETED effdate BY ' | '. ' TO_DATE (: effdate, "MM/DD/YYYY").
)
invoke SQL loader in a file-> beats
C:\Oracle\product\11.2.0\client\bin\sqlldr USERID = myid/[email protected] CONTROL=C:\temp\t\name.ctl BAD=C:\temp\t\name_bad.dat LOG=C:\temp\t\name_log.dat DISCARD=C:\temp\t\name_disc.dat DATA=C:\temp\t\name.dat
Once this is run, the following text appears in the log file (excerpt):
Table DUMMY_LOAD, charged when 09:13 = 0X496e646578 ('Index' character)
Insert the option in effect for this table: APPEND
TRAILING NULLCOLS option in effect
Column Position Len term Encl. Datatype name
------------------------------ ---------- ----- ---- ---- ---------------------
NAME FIRST * | CHARACTER
RATE NEXT * | CHARACTER
EFFDATE NEXT * | CHARACTER
SQL string for the column: ' TO_DATE (: effdate, "MM/DD/YYYY").
Table DUMMY_LOAD, charged when 08:12 = 0X496e646578 ('Index' character)
Insert the option in effect for this table: APPEND
TRAILING NULLCOLS option in effect
Column Position Len term Encl. Datatype name
------------------------------ ---------- ----- ---- ---- ---------------------
NAME NEXT * | CHARACTER
RATE NEXT * | CHARACTER
EFFDATE NEXT * | CHARACTER
SQL string for the column: ' TO_DATE (: effdate, "MM/DD/YYYY").
Record 1: Ignored - all null columns.
Sheet 2: Cast - all null columns.
Record 3: Ignored - all null columns.
Record 4: Ignored - all null columns.
Sheet 5: Cast - all null columns.
Sheet 7: Discarded - failed all WHEN clauses.
Sheet 8: Discarded - failed all WHEN clauses.
File 9: Discarded - failed all WHEN clauses.
Case 10: Discarded - failed all WHEN clauses.
Table DUMMY_LOAD:
1 row loaded successfully.
0 rows not loaded due to data errors.
9 lines not loading because all WHEN clauses were failed.
0 rows not populated because all fields are null.
Table DUMMY_LOAD:
0 rows successfully loaded.
0 rows not loaded due to data errors.
5 rows not loading because all WHEN clauses were failed.
5 rows not populated because all fields are null.
The bad file is empty. The discard file has the following
H15T1Y Index | 2. 19/01/2016 |
H15T2Y Index | 2. 19/01/2016 |
H15T3Y Index | 2. 19/01/2016 |
H15T5Y Index | 2. 19/01/2016 |
H15T7Y Index | 2. 19/01/2016 |
CPDR9AAC Index | 2. 15/01/2016 |
MOODCAVG Index | 2. 15/01/2016 |
H15TXXX Index | 2. 15/01/2016 |
H15TXXX Index | 2. 15/01/2016 |
Based on the understanding of the instructions in the CTL file, ideally the first 6 rows will have been inserted into the table. Instead the table comes from the line 6' th.
NAME RATE EFFDATE H15T10Y Index 2 January 19, 2016 If the INTO TABLE clauses were put in the CTL file, then the first 5 rows are inserted and the rest are in the discard file. The line 6' th would have a ""rejected - all columns null. "in the log file. "
Could someone please take a look and advise? My apologies that the files cannot be attached.
Unless you tell it otherwise, SQL * Loader assumes that each later in the table and what clause after the first back in the position where the previous left off. If you want to start at the beginning of the line every time, then you need to reset the position using position (1) with the first column, as shown below. Position on the first using is optional.
DOWNLOAD THE DATA
ADD
IN THE TABLE dummy_load
WHEN (09:13) = "Index".
TRAILING NULLCOLS
(
name POSITION (1) TERMINATED BY ' | '.
rate TERMINATED BY ' | '.
COMPLETED effdate BY ' | '. ' TO_DATE (: effdate, "MM/DD/YYYY").
)
IN THE TABLE dummy_load
WHEN (08:12) = "Index".
TRAILING NULLCOLS
(
name POSITION (1) TERMINATED BY ' | '.
rate TERMINATED BY ' | '.
COMPLETED effdate BY ' | '. ' TO_DATE (: effdate, "MM/DD/YYYY").
)
-
IN. print - lines with Mutiple expeditions
Hello
As I said in my other post I am customizing our PO by creating a new rtf. I had a few problems and one of them is printing the ines lpo with mutiple expeditions. I my body that prints lines in. (works quite well), but some po lines have multiple shipments. These shipping details follow some of the same positions of the po line:
Date promised
Qty.
Unit price
but they print under the po line.
I hope that makes sense... If anyone has any experience with this problem please let me know.
Thank you
Jessica
Published by: Jessica on January 18, 2009 20:07Please check your mail and answer me
Thank you
Rahul -
How can I play files CSV lines with a different number of columns?
Hi all
I am trying to load CSV with DIAdem 2014 files, and I found there is a great tool, "use".
However, with the CSV use tool, there are critical problem with my data files. (See photo)
As you can see the CSV file attached, it includes a lot of lines with different columns.
And here, use read the number of columns of 1st line (e.g.: 4 columns) and set it as the number of columns to read.
So I can not load all of the data (e.g.: 53 columns) if first row data were lower than columns.
Can anyone recommend any approach, please?
Kind regards
Young
Admin 24/03/16 Note: files deleted by request of the user
I just add a few lines of script and fix the related use. (I just added the code to get a direct look).
The uri of the file will appear as a new kind of load in the dialog file tiara is intalled by double click
Would be nice if you could provide some information, how the data was created. Maybe we can it add as official of our web page to use plugin.
Option Explicit
Void ReadStore (File)
File.Formatter.Delimiters = «»
File.Formatter.LineFeeds = \n
File.Formatter.DecimalPoint = '. '.Dim startLine: startLine = file. GetNextLine()
<>InStr (startLine, ' [Tenergy Bus Log Data] "" ") then
call RaiseError()
end ifAnd that not File.Position = File.Size
Dim groupName: groupName = file. GetNextStringValue (eString)
If it isn't root. ChannelGroups.Exists (groupName) then
root. ChannelGroups.Add (groupName)
end if
Dim grp: set grp = root. ChannelGroups (groupName)
Dim i: i = 1
do for real
Dim val: val = file. GetNextStringValue (eR64)
If isempty (val) then
Exit
end if
< i="">
dial the grp. Channels.Add ("Brand" & I, eR64)
end if
protected chObj: set chObj = grp. Channels (i)
chObj.Values (chObj.Size + 1) = val
i = i + 1
loop
Call File.SkipLine)
WendEnd Sub
-
Drawing line with the mouse clicks on picture indicator
Hello
I need to import a JPG file in an image control, draw a line in 2 clicks, read bothe XY positions and perform some basic trigonometry. Any simple or striaghtforward way to draw the line with the mouse and read thos passay on the bitmap (positions relative pixel)?
Thanks in advance,
-
Adobe, your customer service to the DPS overflows with excruciating.
Can you please help me understand why when I call your customer service about the pricing and digital publishing suite that not a single soul in this building knows something about products within the company they work. It's absolutely ridiculous.
Since the "new pricing" came into force... we were always having charged at the old rate. We tried to get this rectified with someone at Adobe, but of course you make it impossible to actually talk to someone in North America.
We have an invoice number, an order number, number, customer number on contracts, to charge the number...
all these numbers but still... no phone number to actually talk to someone to answer questions about the billing. It is even not a phone number on the invoice that you send me.
You should be ashamed.
You call the customer service number? The line of support in company (formerly named gold) is on the first page of the DPS dashboard? Or the General line of Adobe support?
If you sent me a private message with your contract number, customer number and contact information, I tender one hand to help you.
Neil
-
How to create a line with pointed head
Hello
In my application, I need to draw the line with pointed head, I don't know how to set a custom with pointed head line.
Is there a solution, please answer.
Thank youHi, add this function after drawing the line
public function createArrow (): void
{
var angle: Number = Math.atan2 (getY2 () - getY1 (), getX2 () - getX1 (());
graphics.lineTo (getX2 () - arrowHeight * Math.cos (angle) - arrowWidth * Math.sin (angle),)
getY2 () - arrowHeight * arrowWidth + Math.sin (angle) * Math.cos (angle));
graphics.lineTo (getX2 (), getY2());
graphics.lineTo (getX2 () - arrowHeight * arrowWidth + Math.cos (angle) * Math.sin (angle),)
getY2 () - arrowHeight * Math.sin (angle) - arrowWidth * Math.cos (angle));
}getX1(), getY1(), getx2() and getY2() are the start and finish of the line
Hope it will work for you.
-
How to make "In line with text" as default option
I use 5.6 Pages to deal with certain documents that have a lot of pictures. When I paste an image of the document, the default option of "skin" for the image is "automatic", I have to manually change the "inline with the text" option each time and drag it to the right place, it's extremely frustrating. Is it possible to put "in line with text" as default option when I paste a picture?
Hello RCN,
Click in the text where you want the image to be inserted.
Dough.
If the focus is on the text, the image will be stick like 'Move with text;' if emphasis is placed on an object (eg. an image that does not move with the text), the image will stick like "rest on the Page.
Kind regards
Barry
-
Hello. I am trying to format a table, so that when I hit it, it moves to the bottom of the page and the bumps any text underneath down as well (that is if you can see the whole table and all text at any time)
.
However, the only options I seem to have are moving with the text > inline with the text. The first part is what I want, but having the means of inline with the text of table than all text below it floats UNDER the table, and you can't read it.
PIC 1 - My only option when "move with the text" is selected. As you can see all the other features are also grayed out.
Photo 2 - I want now, select above and below, but when I select something other that in line with the text...
PIC 3... it jumps to stay on the Page option is not what I want.
Any ideas?
You can have a floating table in v4.3 Pages ' 09 that moves before the text typed before it, but this feature has not been added to any release of v5 Pages. Simply set the table in the Wrap Pages ' 09 Inline with the text Inspector, and object causes the film if you wish.
-
Put 'do shell script' multi-line with comments
I would like to integrate a Bash in Applescript script, as it is on several lines with comments.
The only documentation useful, that I can find is tn2065, but as far as I can see, it does not say how.
What is the correct syntax?
Maybe I'm missing something, but you can just write your script bash as a text object and passing to the shell script:
game of longBashCommand to "# some relevant comments.
CD /somedir
/ bin/something - foobar
# one other comment here
/ bin/Gisèle
' # one other comment.
the shell script longBashCommand
The trickiest part is perhaps the need to escape some characters such as quotation marks in the command shell.
-
M40X: using digital telephone line with modem internal
the M40 X manual says use digital telephone line with the internal modem, in zimbabwe, all lines are digital until to now do for telephone line
[Edited by: admin August 10 05 21:19]
Hallo nasir
You are right. Connect the modem to a digital telephone line. As far as I know, the tension is much higher by digital line and it can damage the equipment.
In my opinion the best solution for you is an external digital modem.
Good bye
-
My deskjet 3522 print horizontal lines with no printing on the lines
My deskjet 3522 print horizontal lines with no printing on the lines
I solved prolem with horizontal lines with no printing on the printer cleaning lines and lining up and will leave no paper in the tray to dust cllect
-
Arrow line (single line with an arrowhead) in MS Paint Win7
Is there anyway that I can draw an arrow line (straigt single line with an arrowhead at the end) in the new MS Paint in Win7?
The following items may be worth a visit:
Windows 7 - paint help
http://Windows.Microsoft.com/en-us/Windows7/using-paintWindows 7 - getting started with paint - tutorial
http://Windows.Microsoft.com/en-us/Windows7/getting-started-with-paintWindows 7 - How to add an arrow to a screenshot
http://www.allsandiegocomputerrepair.com/693/how-to-add-an-arrow-to-a-screenshot/ -
Original title: ping does not work
In the cmd box when I try to ping from a site, I get a message saying 'ping is not recognized as an internal or external command.'
I entered the command as follows: Office > ping www.yahoo.com
Dan Calic, salvation
Thanks for posting your question in the Microsoft Community.
I understand that you are unable to ping a website in command line with an error message: 'ping is not recognized as an internal or external command.' Correct me if I'm wrong.
I imagine the inconvenience that you are experiencing. I will certainly help the question of fixing.
To help you suggest several steps to solve the problem, I would appreciate if you could answer the following questions:
1 are you facing problems when accessing Internet?
2. have you made any recent hardware or exchange of software on your computer before the show?
Please follow the steps and check the question below:
a. click Start, and then type the three letters cmd in the search box and then right-click on command prompt and click run as administrator.
b. type these commands and press enter after each:
dir %SystemRoot%\System32\ping.exe
path %path%;%SystemRoot%\System32
Ping www.yahoo.com
c. a report.
Your response is very important for us to ensure a proper resolution. Please get back to us with the information above to help you accordingly.
-
Cannot print the printer is off line with 14 documents pending.
Original title: Printing print HPrinter
My printer is off line with 14 documents pending. How can I get it online and cancel pending documents.Hi Helen,
I understand that your printer is off line and there are 14 documents waiting in the queue.
Here are a few troubleshooting steps that you can try to solve this problem.
Method 1: Run the printer Troubleshooter and check.
a. open the printer Troubleshooter by sliding in the edge right of the screen, tap Search (or if you use a mouse, pointing to the top right of the screen, move the mouse down and then clicking Search), entering the Troubleshooting in the search box, by typing or clicking on settings and then type or click on find and fix problems. Under hardware and sound, click use a printer.
b. follow the steps in the resolution of the problems.
If the method above does not work, proceed to the next method.
Method 2: Disable the documents waiting in the queue, check the following suggestions.
a. the key press Windows + R and type services.msc in the search field and press to enter.
b. the Services listed, stop the print spooler service.
(c) in Windows Explorer, navigate to the folder below and open the PRINTERS.
C:\Windows\system32\spool\PRINTERS
d. click on continue or Yes (if prompted by UAC) to approve the opening of the PRINTERS folder.
e. remove all files in the PRINTERS folder, until it is empty, and then close Windows Explorer.
Note: DO NOT DELETE the PRINTERS folder itself. Don't delete its content.
f. open Services, and then start the print spooler service.Also see suggestions from the following link:
After completing the methods suggested above, answer us with the State of the question.
Maybe you are looking for
-
Can't see the deleted on el capitan bootcamp partition and can recover hard disk space
-
Qosmio X 300-pad touch does not work
Hello, I opened and cleaned my toshiba qosmio X-300-130 and when I turned it on evrything worked fine except my touchpad that it did not work or the buttons, so I reinstalled the driver PAD SEMANTICS, but nothing changed so I reinstalled my WINDOWS 7
-
Win XP with all updates, - SP3 and have many $Ntuninstallkbxxxxxxxxx and KBxxxxx files that take up a large space of HD. These can be deleted, or at least a copy on a CD if necessary in the future?
-
Text of the e-mail Message screen
Hello I want to get the text of the message in the body of the Message and address and the subject of the e-mail screen Best regards!
-
Bluetooth not working do not error Bluetooth is not ready
I have a Toshiba laptop, windows 7. Bluetooth no longer works at the time, the icon is red and when I try to add a new connection it gives the message "Bluetooth is not ready." I tried to uninstall the adapter USB Bluetooth devices Manager and look f