Auto incremnt of code
hi
i have made a udf in bp master address tab say U_LCODE and have placed the value as LOC0000001 now next time it should be auto incremented by 1 overtime the address name field in the BP Master address TAB changes
Regards,
Manish
Hello Manish
It can be done through only technical guys so ask them to do as per ur requirement manually u can do it u can do by giving fms and write a query for fms on auto increment and u need to select it while adding the document ..
i think this will solve u
Regards
Jenny
Similar Messages
-
HT201304 Can the restrictions pass code be different than the auto lock pass code?
Can the restrictions pass code be different than the auto lock pass code. Defeats the purpose if a child can get into restrictions using the same code that is used to prevent unauthorized access to the phone itself.
Dre73 wrote:
Can the restrictions pass code be different than the auto lock pass code.
Of course it can, for the reason you state. -
Auto-generated Swing Code: jbInit()
Hi,
I noticed that the auto-generated code for Swing apps directly uses class member variables, which is far from ideal. For example:
public class Screen {
private JLabel boardingPassLabel = new JLabel();
public void jbInit() {
boardingPassLabel.setText("Boarding Pass");
boardingPassLabel.setBounds(new Rectangle(170, 25, 115, 20));
boardingPassLabel.setFont(new Font("Tahoma", 1, 12));
}The issue is that instantiating Screen will cause a JLabel to also be instantiated. While this is fine for a single screen and a single label, if there are hundreds of screens, each with twenty labels and buttons, it quickly gets out of hand.
It would be nice to see the following code auto-generated:
public class Screen {
private JLabel boardingPassLabel;
public void jbInit() {
JLabel boardingPassLabel = getBoardingPassLabel();
boardingPassLabel.setText("Boarding Pass");
boardingPassLabel.setBounds(new Rectangle(170, 25, 115, 20));
boardingPassLabel.setFont(new Font("Tahoma", 1, 12));
public JLabel getBoardingPassLabel() {
if( boardingPassLabel == null ) {
boardingPassLabel = createBoardingPassLabel();
return boardingPassLabel;
protected JLabel createBoardingPassLabel() {
return new JLabel();
}This allows subclasses to provide a different subclass of JLabel (if needed). It also means that there is little overhead to instantiating the Screen class. Thus if we had to instantiate 100 screens, each with 20+ widgets, there would be no performance hit.
As a work-around, we can simply not instantiate the Screen classes until just before they are used. This may not work in our situation, though.
Thoughts?
DI should probably add a detail here.
We are running the Swing app on the CrEme JVM under Windows CE on a 520 MHz hand-held device with at most 256 MB of memory. (The specs say 520 MHz; but runs slower in practice.) Thus we need a lot more control over object instantiation, as has been described.
It would be nice to see a "use lazy initialization" checkbox for the auto-generated code. Or perhaps a "generate and use accessors" checkbox.
Note that the following code contains a redundancy:
private JLabel boardingPassLabel = null;The assignemnt to null is superfluous; it adds about 50 more bytes to the final class size (using Sun's javac). It can be omitted for class member variables.
D -
Suggest Values(Auto Fill) for code and description in WD ABAP
Greetings everyone,
I have one ABAP webdynpro application which has to provide the auto fill (Suggest Values) option for one of the field for Eg:Material No.The requirement is the user will have only one field where he/she should be able to search the material either by its name or material number in the same field.Please let me know how we can achieve this.As of now i am able to search by material number using suggest values using my own custom search help.But how can i include the material description also as search option for the material number field.Any help will be appreciated.
Material No:[____________] <- - - i should be able to search both by material number and description in suggest values(Autofill)
Thanks,
VigneshHi Thomas,
You are right. I have exactly thought the same way and i implemented the code as well in the search help exit which will give my own search result to the searching criteria with both number and description. I have able to achieve this for one application and now i am able to search with both number and description in the same field.But when i am trying to get the same functionality for another field ,it is showing a auto fill values but only for code and not for description of the code.I have mentioned below the code i have written in the search help exit and i am passing the list to the source tab and getting the search help result in record_tab.When i test this from normal SAP GUI using F4 functionality it works perfect.But when i try to use this search help via Autofill(Suggest values) in WD ABAP,it is not working the same way what i want.I mean it only searches with the code but not with the description in teh autofill.
Any help will be appreciated.
IF callcontrol-step = 'SELECT'.
DATA:lwa_selopt TYPE ddshselopt,
lit_selopt_rsfnr TYPE RANGE OF tn39t-rsfnr,
lwa_selopt_rsfnr LIKE LINE OF lit_selopt_rsfnr ,
lit_selopt_desc TYPE RANGE OF stnd_rsfna,"rsfna, "nkdi-stdtext,
lwa_selopt_desc LIKE LINE OF lit_selopt_desc,
lwa_tn39t TYPE tn39t,
lit_tn39t TYPE STANDARD TABLE OF tn39t,
lv_sel_val TYPE ddshselopt-low.
READ TABLE shlp-selopt INTO lwa_selopt WITH KEY shlpfield = 'RSFNR'."'DKEY'.
IF sy-subrc EQ 0.
MOVE-CORRESPONDING lwa_selopt TO lwa_selopt_rsfnr.
APPEND lwa_selopt_rsfnr TO lit_selopt_rsfnr.
lwa_selopt-option = 'CP'.
CONCATENATE '' lwa_selopt-low '' INTO lwa_selopt-low.
MOVE-CORRESPONDING lwa_selopt TO lwa_selopt_desc.
APPEND lwa_selopt_desc TO lit_selopt_desc.
CLEAR:lit_tn39t[],record_tab[].
SELECT * FROM tn39t INTO TABLE lit_tn39t
WHERE spras = sy-langu AND ( rsfnr IN lit_selopt_rsfnr
OR rsfsn IN lit_selopt_desc ).
CALL FUNCTION 'F4UT_RESULTS_MAP'
EXPORTING
source_structure = 'TN39T'
TABLES
shlp_tab = shlp_tab
record_tab = record_tab " <--- I am getting the result correctlyin record_Tab ..but it is not coming in the output/
source_tab = lit_tn39t
CHANGING
shlp = shlp
callcontrol = callcontrol
EXCEPTIONS
illegal_structure = 1
OTHERS = 2.
callcontrol-step = 'DISP'.
ENDIF.
EXIT. "Don't process STEP DISP additionally in this call.
ENDIF.
Thanks,
Vignesh -
I know this subject has been discussed in here several times and I have searched and tried several of theexamples. Can someone please tell me what is wrong with the following code as I receive error message internal error when I execute the FMS
SELECT CASE WHEN OCRD.CardType = 'S' THEN 'V' ELSE 'C' END + CAST((MAX(CAST(RIGHT(T0.CardCode, (LEN(T0.CardCode)-1)) AS INT))+1) AS VARCHAR) FROM OCRD T0
Thanks in advance for any helpKeith,
this is probably the solution for your problem from SAP notes :
In order to create consecutive alphanumeric business partner codes, such as C1000, C1001 etc, please follow the procedure outlined below:
1. Manually create the first customer, supplier and lead type business partners, e.g. C1000, S5000, L8000.
2. Go to Reports -> Query Generator -> Click on 'Execute' without making any selection.
3. In the 'Queries' window click on the pencil icon in the upper left area to activate the query structure area. The area appears grey when blocked, white when ready and yellow when active.
4. Copy and paste the query from below or the attached text file (BPcode_autocreate.txt) into the window, replacing the 'SELECT *' that is present by default:
select max(cardtype)
+ cast(substring( max(cardcode), 2, len(max(cardcode)))
+ 1 as nvarchar(10)) from ocrd
where cardtype = $[OCRD.CARDTYPE]
1. Click on the button 'Save',then, in the 'Save Query' window, enter an appropriate name for the query and select the appropriate category. Then click on 'Save'.
2. Click on 'Cancel' in the window 'Queries' and 'Close' in the window 'Query Generator'.
3. Go to Business Partners -> Business Partner Master Data, change to 'Add' mode.
4. Map a formatted search to this field by either of the following means:
1. Clicking in the field 'Code' to activate it, then select 'Tools' in the strip menu, select 'Search Function', then 'Define'.
2. Pressing CtrlAltF2 in the active field.
5. In the 'Define Formatted Search' window, click on the button for 'Search by Saved Query'
6. Bring the cursor to the bar that will pop up just below 'Search by Saved Query' until it changes from an arrow to a pointing hand, then double-click.
7. The 'Query Manager' window will pop up, select the category where the query above was saved under, then click on the query name to select it, click on 'OK'.
8. Place a tick in the box for 'Auto Refresh When Field Changes' and select 'BP Name' from the drop down menu.
9. Click on 'Cancel' in the Business Partner Master Data window and open it up again.
10. Click on 'Refresh Regularly' and click on 'Save'.
11. Change to 'Add' mode, select the 'Type' (Customer, Supplier, Lead) and enter a name for the new business partner. Press the 'Tab' key and the next available BP code will automatically be inserted into the BP code field.
Rgds, -
My auto-indent and code formatting is not working.
Usually on dreamweaver CS5.5 my code (html) would indent my <div> tags and align them up with the end div </div>. Not only were the <siv> tags formateed but various of others tags were as well.
How Dreamweaver used to format my code:
<head>
<title>Example</title>
<link rel="stylesheet" href="style.css" type="text/css" media="screen" />
</head>
<body>
<div id="outside_container">
<div id="container">
<a href="#"><img src="images/logo.jpg" id="logo" /></a>
<ul id="menu">
<li><a href="#"></a></li>
<li><a href="#"></a></li>
<li><a href="#"></a></li>
</ul>
<ul id="right_menu">
<li><a href="#">t</a></li>
<li><a href="#">t</a></li>
</ul>
<img src="images/panel_home.jpg" id="panel" />
<div id="content">
<div class="column1">
<h2>Text</h2>
<p>Text Here</p>
</div>
Now it does not even format it so all of my code aligns on the left like so:
<head>
<title>Example</title>
<link rel="stylesheet" href="style.css" type="text/css" media="screen" />
</head>
<body>
<div id="outside_container">
<div id="container">
<a href="#"><img src="images/logo.jpg" id="logo" /></a>
<ul id="menu">
<li><a href="#"></a></li>
<li><a href="#"></a></li>
<li><a href="#"></a></li>
</ul>
<ul id="right_menu">
<li><a href="#">t</a></li>
<li><a href="#">t</a></li>
</ul>
<img src="images/panel_home.jpg" id="panel" />
Can anybody please help me?Did you try Edit > Preferences > Code Format > Indent?
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
[SOLVED]netctl-auto no longer working
Can some kind person point me in the right direction to fix this? Seems to have stopped working after latest upgrade. Manually netctl start works OK. Haven't been able to find the solution in man pages or googling.
[email protected] - Automatic wireless network connection using netctl profiles
Loaded: loaded (/usr/lib/systemd/system/[email protected]; enabled)
Active: failed (Result: exit-code) since Wed 2014-07-09 08:00:20 UTC; 1h 14min ago
Docs: man:netctl.special(7)
Process: 231 ExecStart=/usr/bin/netctl-auto start %I (code=exited, status=1/FAILURE)
Jul 09 08:00:20 arch systemd[1]: Failed to start Automatic wireless network connection using netctl profiles.
Jul 09 08:00:50 arch netctl-auto[231]: Included profile 'wlp16s0-Matviak'
Jul 09 08:00:51 arch netctl-auto[231]: Included profile 'wlp16s0-WIRELESS'
Jul 09 08:00:51 arch netctl-auto[231]: Successfully initialized wpa_supplicant
Jul 09 08:00:51 arch netctl-auto[231]: ctrl_iface exists and seems to be in use - cannot override it
Jul 09 08:00:51 arch netctl-auto[231]: Delete '/run/wpa_supplicant/wlp16s0' manually if it is not used anymore
Jul 09 08:00:51 arch netctl-auto[231]: Failed to initialize control interface '/run/wpa_supplicant'.
Jul 09 08:00:51 arch netctl-auto[231]: You may have another wpa_supplicant process already running or the file was
Jul 09 08:00:51 arch netctl-auto[231]: left by an unclean termination of wpa_supplicant in which case you will need
Jul 09 08:00:51 arch netctl-auto[231]: to manually remove this file before starting wpa_supplicant again.
Last edited by hilltownboy (2014-08-02 12:41:03)journalctl -b | grep wlp16s0:
ul 29 11:27:17 arch systemd-udevd[148]: renamed network interface wlan0 to wlp16s0
Jul 29 11:27:28 arch kernel: IPv6: ADDRCONF(NETDEV_UP): wlp16s0: link is not ready
Jul 29 11:27:28 arch kernel: IPv6: ADDRCONF(NETDEV_UP): wlp16s0: link is not ready
Jul 29 11:27:19 arch dhcpcd[225]: wlp16s0: adding address fe80::ea40:c74b:8e70:d43a
Jul 29 11:27:23 arch wpa_actiond[317]: Starting wpa_actiond session for interface 'wlp16s0'
Jul 29 11:27:24 arch dhcpcd[230]: wlp16s0: waiting for carrier
Jul 29 11:27:24 arch dhcpcd[230]: wlp16s0: carrier acquired
Jul 29 11:27:25 arch dhcpcd[230]: wlp16s0: IAID e0:20:c5:69
Jul 29 11:27:28 arch dhcpcd[230]: wlp16s0: carrier lost
Jul 29 11:27:25 arch systemd[1]: netctl@wlp16s0\x2dWIRELESS.service: main process exited, code=exited, status=1/FAILURE
Jul 29 11:27:25 arch systemd[1]: Unit netctl@wlp16s0\x2dWIRELESS.service entered failed state.
Jul 29 11:27:28 arch network[222]: Starting network profile 'wlp16s0-WIRELESS'...
Jul 29 11:27:28 arch network[222]: Delete '/run/wpa_supplicant/wlp16s0' manually if it is not used anymore
Jul 29 11:27:28 arch network[222]: The WPA supplicant did not start for interface 'wlp16s0'
Jul 29 11:27:28 arch network[222]: Failed to bring the network up for profile 'wlp16s0-WIRELESS'
Jul 29 11:27:28 arch netctl-auto[223]: Included profile 'wlp16s0-Matviak'
Jul 29 11:27:28 arch netctl-auto[223]: Included profile 'wlp16s0-WIRELESS'
Jul 29 11:27:28 arch dhcpcd[230]: wlp16s0: soliciting a DHCP lease
Jul 29 11:27:28 arch dhcpcd[230]: wlp16s0: if_sendrawpacket: Network is down
Jul 29 11:27:28 arch dhcpcd[230]: wlp16s0: dhcp if_readrawpacket: Network is down
Jul 29 11:31:21 arch dbus[227]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.7" (uid=1000 pid=605 comm="systemctl restart netctl-auto@wlp16s0 ") interface="org.freedesktop.systemd1.Manager" member="RestartUnit" error name="(unset)" requested_reply="0" destination="org.freedesktop.systemd1" (uid=0 pid=1 comm="/sbin/init ")
Jul 29 11:31:22 arch dhcpcd[230]: wlp16s0: if_sendrawpacket: Network is down
Jul 29 11:31:22 arch dhcpcd[230]: wlp16s0: dhcp if_readrawpacket: Network is down
Jul 29 11:31:25 arch dhcpcd[230]: wlp16s0: if_sendrawpacket: Network is down
Jul 29 11:31:25 arch dhcpcd[230]: wlp16s0: dhcp if_readrawpacket: Network is down
Jul 29 11:31:29 arch dhcpcd[230]: wlp16s0: if_sendrawpacket: Network is down
Jul 29 11:31:29 arch dhcpcd[230]: wlp16s0: dhcp if_readrawpacket: Network is down
Jul 29 11:31:29 arch sudo[607]: norman : TTY=pts/1 ; PWD=/home/norman ; USER=root ; COMMAND=/usr/bin/systemctl restart netctl-auto@wlp16s0
Jul 29 11:31:29 arch wpa_actiond[317]: Terminating wpa_actiond session for interface 'wlp16s0'
Jul 29 11:31:33 arch dhcpcd[230]: wlp16s0: if_sendrawpacket: Network is down
Jul 29 11:31:33 arch dhcpcd[230]: wlp16s0: dhcp if_readrawpacket: Network is down
Jul 29 11:31:37 arch dhcpcd[230]: wlp16s0: if_sendrawpacket: Network is down
Jul 29 11:31:37 arch dhcpcd[230]: wlp16s0: dhcp if_readrawpacket: Network is down
Jul 29 11:31:41 arch netctl-auto[633]: Included profile 'wlp16s0-Matviak'
Jul 29 11:31:41 arch netctl-auto[633]: Included profile 'wlp16s0-WIRELESS'
Jul 29 11:31:41 arch dhcpcd[230]: wlp16s0: if_sendrawpacket: Network is down
Jul 29 11:31:41 arch dhcpcd[230]: wlp16s0: dhcp if_readrawpacket: Network is down
Jul 29 11:31:41 arch kernel: IPv6: ADDRCONF(NETDEV_UP): wlp16s0: link is not ready
Jul 29 11:31:41 arch wpa_actiond[651]: Starting wpa_actiond session for interface 'wlp16s0'
Jul 29 11:31:43 arch kernel: wlp16s0: authenticate with f8:1a:67:d3:6f:aa
Jul 29 11:31:43 arch kernel: wlp16s0: send auth to f8:1a:67:d3:6f:aa (try 1/3)
Jul 29 11:31:43 arch kernel: wlp16s0: authenticated
Jul 29 11:31:43 arch kernel: wlp16s0: associate with f8:1a:67:d3:6f:aa (try 1/3)
Jul 29 11:31:43 arch kernel: wlp16s0: RX AssocResp from f8:1a:67:d3:6f:aa (capab=0x421 status=0 aid=2)
Jul 29 11:31:43 arch kernel: wlp16s0: associated
Jul 29 11:31:43 arch kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlp16s0: link becomes ready
Jul 29 11:31:43 arch dhcpcd[230]: wlp16s0: carrier acquired
Jul 29 11:31:43 arch wpa_actiond[651]: Interface 'wlp16s0' connected to network 'WIRELESS'
Jul 29 11:31:43 arch dhcpcd[230]: wlp16s0: adding address fe80::ad30:b256:e3a3:dbd0
Jul 29 11:31:43 arch dhcpcd[230]: wlp16s0: IAID e0:20:c5:69
Jul 29 11:31:43 arch dhcpcd[230]: control command: dhcpcd -4 -q -t 30 -K -L wlp16s0
Jul 29 11:31:43 arch dhcpcd[230]: wlp16s0: soliciting a DHCP lease
Jul 29 11:31:43 arch dhcpcd[230]: wlp16s0: offered 192.168.0.100 from 192.168.0.1
Jul 29 11:31:44 arch dhcpcd[230]: wlp16s0: soliciting an IPv6 router
Jul 29 11:31:48 arch dhcpcd[230]: wlp16s0: leased 192.168.0.100 for 7200 seconds
Jul 29 11:31:48 arch dhcpcd[230]: wlp16s0: adding route to 192.168.0.0/24
Jul 29 11:31:48 arch dhcpcd[230]: wlp16s0: adding default route via 192.168.0.1
Jul 29 11:31:56 arch dhcpcd[230]: wlp16s0: no IPv6 Routers available
Blank line omits dozens of repeated "Network is down", etc. -
How to use generated code from "Import Web Services" with Cairngorm Framework
I recently downloaded Flex Builder 3 beta 2 and tried out the
wizard that lets you import web services. The code that is
auto-generated makes if fairly straight forward to consume web
services using the object types defined in the WSDL. No longer does
the developer need to decode the XML payload! The only problem I am
having is how does you integrate the auto- generated code with the
Cairngorm framework? This seems like a huge question for anyone who
might want to leverage Cairngorm and the auto-generated proxy code
in the same project (like me).
Here are the problems that I see so far.
1) How do you configure the generated service class to work
with the Cairngorm service locator? The service constructor only
accepts a “LCDS destination string” which implies that
you must use Lifecycle data services. Unfortunately, the project I
am trying to retrofit currently uses a WebService and does not use
data services. All I really need to do is change the endpoint URL
(ie from local to a development server). This issue is noted in the
bug https://bugs.adobe.com/jira/browse/FB-8456. What I think is
needed is a way to set the endpointURI in the Services.mxml file.
2) Even if I come up with a hack around #1, I do not receive
a callback to my IResponder even though I register it immediately
after the method call. I can register and listener function within
my business delegate and receive the callback, but my Command
object, which implements IResponder, does not receive the call back
even though it is registered. From what I read in the ASDocs it
should but it doesn’t for me!
These are the issues I have observed in 3 hours of messing
with this. I hope this makes sense. I would love to integrate
auto-generated web service proxies into Cairngorm but I don’t
see a straight forward way without re-architecting Cairngorm. Has
any one else run across this issue? If so, do you have any insights
on how to proceed? Any help is appreciated.Since I posted this question, I have abandoned the notion of
auto-generated web services and embraced the good old FDS concept
where the RemoteObject meta-tag does all the conversion work for
me. We are now using the Granite DS package and it is working well
for us. I would love to consume web services, but it just isn't
worth the hassle when all you have to do with Granite (and FDS) is
cast your return objects to the proper object type.
BTW, since this posting, I have investigated competing Flex
app frameworks. After my research, I checked out the PureMVC
framework. Wow!! Cairngorm always left me with an uneasy feeling
and I guess I am not alone. Apparently, Cliff Hall felt the same
way. That is why he started the project. I like his approach alot
more than Cairngorm especially since it includes notifications
which allow me to broadcast my own app level events independent
from the AS Event framework. Check out PureMVC. For what it is
worth, it has my humble endorsement. Cliff was even gracious enough
to acknowledge the other Adobe Consulting guys for their work. Good
for you Cliff, I respect that. Check out a better way at
http://www.puremvc.org/ -
Embedding Html code or widgets within Adobe Edge Animate project
Hi There,
I have just discovered Edge and i think it is amazing finally the "new" web standards are being put in the designers hands again!!
My question is this i have designed an online web based application using the amazing features in edge, what i need to do now is for instance add a weather widget or a news feed, how do i get this to work in edge, i have read about using iframes to embed video but this approach doesnt work for me, i would love to use this software for all of our web based projects but i need to know if its possible to embed html
If anyone out there can point me to some literature or an example of how this is done i would be so grateful! seriously love this software!
Thanks in advance!Hi again Darrell,,
Thanks for the reply, At the moment if i could get hello world to show within a div in edge i would jump for joy! . Im starting to wonder if there is something wrong with my procedure, correct me if im wrong here..
Open edge, create new project, draw out rectangle, convert to symbol, name symbol widgetContainer, open up stage properties and set overflow to auto, open up code editor and under composition ready event add "sym.$("widgetContainer").load('html/helloworld.html');" Is this the right process?
What i need to do i either pull an iframe of an existing webpage onto the div whitin my project or get a jquery standalone project to display within the div either will work for me as long as i have the ability to update the information seamlessly, the exact widget im using is called WeatherSlider Premium jQuery Weather Widget. To be honest i would love to just pull an iframe of the site i would like displayed in the div that would be perfect..
Thank you again for taking the time to listen and reply to this, Adobe community for the win! I was mortified when flash got pushed out the market so i am really happy that we are back in the game with awesome tools again So excited to be learning again
Thank you again hope my rambling has made sense -
Hallo,
ich muss hunderte Visitenkarten erstellen auf denen ein personalisierter QR-Code oben sein soll. Laut Adobe Neuerungen in der CC 2014 InDesign, soll es nun
einen 'Erweiterter QR-Code-Generator' geben mit dem QR Codes automatisch erstellt werden können. Nur wo finde ich den? Help!
Danke!Hallo zusammen!
Ich glaube hier ist die Lösung.
Auto Generate QR Codes with Data Merge in InDesign CC 2014
Hatte nämlich auch das Problem und wusste nicht wie die Spalte für den QR-Code benannt werden musste.
Die Spalte muss so benannt werden "#QRcodes" damit sie erkannt wird.
Habe das ganze aber noch nicht ausprobiert.
Ich hoffe ich konnte euch helfen. -
Unwanted Line Breaks in PL/SQL CODE after 'CREATE OR REPLACE' statements
Does anybody know how to keep SQL Developer from automatically editing PL/SQL code and adding line breaks after 'CREATE OR REPLACE' statements?
It keeps taking:
CREATE OR REPLACE PACKAGE DEVELOPER AUTHID DEFINER
And turns it into:
create or replace
package developer AUTHID DEFINER
This unwanted linebreak causes our autodeployment processes to break.
Thanks,
Michael Dunn
University of Notre Dame
Edited by: user9133268 on Feb 21, 2012 8:00 AMHi Michael,
I believe nothing for this issue has progressed since it was asked here:
2.1 RC Extra Line Breaks
As there may be approval for some planned improvements to the SQL Formatter feature in 3.2, I logged an enhancement request for you:
Bug 13744858 - FORUM: UNWANTED LINE BREAK AFTER CREATE OR REPLACE SYNTAX
Regards,
Gary
SQL Developer Team
Edited by: Gary Graham on Feb 21, 2012 4:19 PM
But if you have control over your auto-deployment process code, it might be quicker to enhance that to deal with CREATE OR REPLACE on the same or the preceding line. Also, note that if you edit the package DDL to put the CREATE OR REPLACE on the same line with the package name in the code editor, then immediately use Export or Save Package Spec and Body to save it to disk, then PACKAGE <name> will appear on the same line as the CREATE OR REPLACE syntax. -
Database :Auto increment in SQL server ID
Hi,
How can I do auto increment in SQL server primary column ID. Actualy I am writing the data into the SQL datbase table using LabVIEW and I wanted to set the auto increment to the primary key column ID. I have three column in TEST_REPORT table i.e Test_ID, Test_No and Test_Result. I wanted to set Test_ID as a primary key and set as a auto increment and write the value for only Test_No and Test_Result column
When ever I am writing data into table the Test_ID is not getting auto incremented. I set that auto increment manualy through SQL server management studio.
Please help me to fix this issue.Hi Palanivel,
Thanks for the suggestion.
Initially I was using same logic "query for TEST ID at initially" but I have to query data from more than 20 tables and write into it and its taking lots of space and query time.
I am just looking for alternative of this.
Actually I am setting the auto incremnt for TEST ID through the SQL server managemnt studio but when ever I ignore the TEST ID column and write the data in rest column.
I gets the error message "Insert Error: Column name or number of supplied values does not match table definition". -
Vim newbie question about formatting code
I just started learning vim and am wondering how I can get it to auto format some code. For example:
check() {
for i in $nodes; do
ping -c 1 $i > /dev/null
if [ $? -eq 0 ]; then
echo "Looks like $i is up so initializing the cluster on it."
ssh $i "\$HOME/bin/cluster-setup.sh"
fi
done
I have tabstop=3 in my ~/.vimrc and I'd just like to apply formatting to that code block so it looks like:
check() {
for i in $nodes; do
ping -c 1 $i > /dev/null
if [ $? -eq 0 ]; then
echo "Looks like $i is up so initializing the cluster on it."
ssh $i "\$HOME/bin/cluster-setup.sh"
fi
done
I read about =i{ but it has no effect for me.
Thanks!
Last edited by graysky (2011-06-18 14:32:18)graysky,
If you want vim to autoindent while typing, customize your ~/.vimrc file. I posted mine here: http://linuxandsuch.wordpress.com/2011/06/19/my-vimrc/ a few days back. I recommend all the options.
However, if you want to indent an already existing file use the indent program. Install with
sudo pacman -S indent
And then, to indent your file, run:
indent myfile.c
I'd recommend reading the manpage for indent to learn to tweak it to your coding style though . -
Please suggest how can we auto generate bar code # in item master in SAP-B1.
You can setup a formatted search containing the logic of barcode number calculation. With a click on the barcode field the system will generate a new barcode based on the "logic".
The downside of this solution is that no validation exists for a duplicate barcode. You can overcome the validation issue using the SP Transaction Notification procedure.
George Z -
i'm looking for a FREE lightweight java editor that supports auto-complete and possibly code generation.
auto-complete is when you type the object and a dot, the editor pop-up a window listing all methods available for you to use.
code generation (or whatever it is called) is like a template that i can use....like i type in tryc and a space and it will create a try{ } catch{} block for me
by lightwieght, i mean th eeditor is small and does not requires a lot of memory to run. don't want a full blown editor like Eclipse, JBuilder, NetBean (they're too resource hungry). something like JCreator and TextPad. My computer is old (PIII 733 mhz, 384MB RAM)..yes, my computer motherboard only allows up to 384 MB of RAM ..this sucks when RAM is soooo cheap.
i check with most free editor, but to get auto-complete and code generation...you have to pay for it...so i'm wondering if anyone knows of a FREE one?Use the Plug-In Manager (Plugins menu item) to review the available plugins. Click the Install tab and highlight the name, it'll display a description.
There's a couple of auto completes - I use Dot Complete (it has a minor glitch starting, I have to click Complete to get it to start)
There's a number of template facilities, both built in and as plugins.
Maybe you are looking for
-
Order of execution for various Nodes in HANA Views
Hello Folks, I have created some analytic and calculation views. I would like to know order of execution of various nodes inside them such as Logical Join, Data Foundation, Semantics for Analytic views.
-
Idea of sending a message for all connected users.
Dears,,, I'm trying to develop through oracle forms an idea of sending a pop-up message to all connected users. Example, I need to inform users to quit in 5 minutes due to a restart to the application server. I thought about a timer trigger that will
-
JTable - dynamic update exception
Hi, My application displays a JTable based on an extended TableModel. The TableModel observes an external source for changes, and updates the internal table data representation accordingly after which it calls SwingUtilities.invokeLater( new Runnable
-
Hi All, what's the impact if i add print preview button in ME53N ? is it advisable to do so ..am curious why PO has that button but PR doesnt have..pls advise
-
FireWire vs USB at hibernate mode
Well I have the following task/issue. I have iMac and installed SamrtSleep 3rd party utility. It put my IMac in hibernate mode once system goes sleep. I have made for UPS setup so when power is off iMac will hibernate. The problem is I have several e