Using/updating symbols externally?
Hi.
The is probably a stupid question, but here it goes :
- can symbols be linked externally, like with images in inDesign or Illustrator so that they update automatically?...
Pedro
Hi, Pedro-
Not at the moment. You can, of course, link your export directory out of these programs to your project folder, and every time the file changes, it will reload in Animate.
Hope that helps,
-Elaine
Similar Messages
-
Hi All
Breifly explain me why do we use field symbols. and how to use them and where to use them.
Thanks! in advanceHi,
The new style of definition of internal tables usually doesn't include a header area for the internal table. Furthermore, ABAP Objects will not allow internal tables with header lines. For added performance, instead of declaring a work area--use a field symbol. The work area concept and header line format both require data to be moved from the internal table to the work area or header area. A field symbol is just a pointer that will point to the proper line of the itab. With field symbols, no data needs to be moved. The field symbol just stores the proper memory address to point at the right line. The field symbol can have structure and be made up of fields similar to a work area or header line. Because no data needs to be copied, processing is much faster.
The keys to the usage are:
1) Defining the table records and the field symbol in a similar type.
just an ordinary standard table
TYPES: BEGIN OF it_vbak_line,
vbeln LIKE vbak-vbeln,
vkorg LIKE vbak-vkorg,
vtweg LIKE vbak-vtweg,
spart LIKE vbak-spart,
kunnr LIKE vbak-kunnr,
END OF it_vbak_line.
DATA: it_vbak TYPE TABLE OF it_vbak_line.
FIELD-SYMBOLS: <it_vbak_line> TYPE it_vbak_line.
or as a screaming fast hash table for keyed reads
TYPES: BEGIN OF it_vbpa_line,
vbeln LIKE vbak-vbeln,
kunnr LIKE vbak-kunnr,
END OF it_vbpa_line.
DATA: it_vbpa TYPE HASHED TABLE OF it_vbpa_line
WITH UNIQUE KEY vbeln.
FIELD-SYMBOLS: <it_vbpa_line> TYPE it_vbpa_line.
2) In ITAB processing, utilize the ASSIGNING command.
loop example
LOOP AT it_vbak ASSIGNING <it_vbak_line>.
look at records--populate it_zpartner
read example
READ TABLE it_vbpa ASSIGNING <it_vbpa_line>
WITH TABLE KEY vbeln = <it_vbak_line>-vbeln.
3) Refer to the field symbol's fields in the loop or after the read.
wa_zpartner-vkorg = <it_vbak_line>-vkorg.
wa_zpartner-vtweg = <it_vbak_line>-vtweg.
wa_zpartner-spart = <it_vbak_line>-spart.
wa_zpartner-kunag = <it_vbak_line>-kunnr.
wa_zpartner-kunwe = <it_vbpa_line>-kunnr.
See the code example below for further detail. The code was written in R/3 4.6C and should work for all 4.x versions.
Code
REPORT z_cnv_zshipto_from_hist NO STANDARD PAGE HEADING
LINE-SIZE 132
LINE-COUNT 65
MESSAGE-ID z1.
Program Name: ZSHIPTO from History Creation: 07/23/2003 *
SAP Name : Z_CNV_ZSHIPTO_FROM_HIST Application: SD *
Author : James Vander Heyden Type: 1 *
Description : This program reads tables VBAK & VBPA and populates *
ZPARTNER. ZPARTNER table is read in by ZINTSC06. ZINTSC06 updates *
the ZSHIPTO relationships. *
Inputs: Selection Screen *
Outputs: *
External Routines *
Function Modules: *
Transactions : *
Programs : *
Return Codes: *
Ammendments: *
Programmer Date Req. # Action *
================ ========== ====== ===============================*
J Vander Heyden 07/23/2003 PCR Initial Build *
DATA DICTIONARY TABLES *
TABLES:
zpartner.
SELECTION SCREEN LAYOUT *
PARAMETERS: p_load RADIOBUTTON GROUP a1 DEFAULT 'X',
p_deltab RADIOBUTTON GROUP a1.
SELECTION-SCREEN SKIP 2.
SELECT-OPTIONS: s_vkorg FOR zpartner-vkorg MEMORY ID vko OBLIGATORY
NO INTERVALS NO-EXTENSION,
s_vtweg FOR zpartner-vtweg MEMORY ID vtw OBLIGATORY
NO INTERVALS NO-EXTENSION,
s_spart FOR zpartner-spart MEMORY ID spa OBLIGATORY
NO INTERVALS NO-EXTENSION.
INTERNAL TABLES *
TYPES: BEGIN OF it_vbak_line,
vbeln LIKE vbak-vbeln,
vkorg LIKE vbak-vkorg,
vtweg LIKE vbak-vtweg,
spart LIKE vbak-spart,
kunnr LIKE vbak-kunnr,
END OF it_vbak_line.
DATA: it_vbak TYPE TABLE OF it_vbak_line.
FIELD-SYMBOLS: <it_vbak_line> TYPE it_vbak_line.
TYPES: BEGIN OF it_vbpa_line,
vbeln LIKE vbak-vbeln,
kunnr LIKE vbak-kunnr,
END OF it_vbpa_line.
DATA: it_vbpa TYPE HASHED TABLE OF it_vbpa_line
WITH UNIQUE KEY vbeln.
FIELD-SYMBOLS: <it_vbpa_line> TYPE it_vbpa_line.
DATA: it_zpartner TYPE TABLE OF zpartner.
DATA: wa_zpartner TYPE zpartner.
STRUCTURES *
VARIABLES *
DATA: z_mode VALUE 'N',
z_commit TYPE i,
z_good TYPE i,
z_bad TYPE i.
CONSTANTS *
SELECTION-SCREEN HELP *
INITIALIZATION *
INITIALIZATION.
AT LINE SELECTION *
AT LINE-SELECTION.
AT SELECTION SCREEN *
AT SELECTION-SCREEN.
START-OF-SELECTION *
START-OF-SELECTION.
IF p_load = 'X'.
PERFORM select_records.
PERFORM process_itab.
ELSE.
PERFORM delete_table.
ENDIF.
END-OF-SELECTION *
END-OF-SELECTION.
*& Form DELETE_TABLE
text
FORM delete_table.
DATA: w_answer.
CLEAR: w_answer.
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
titlebar = text-002
DIAGNOSE_OBJECT = ' '
text_question = text-003
text_button_1 = text-004
icon_button_1 = 'ICON_OKAY'
text_button_2 = text-005
icon_button_2 = 'ICON_CANCEL'
default_button = '2'
display_cancel_button = ''
USERDEFINED_F1_HELP = ' '
START_COLUMN = 25
START_ROW = 6
POPUP_TYPE =
IMPORTING
answer = w_answer.
TABLES
PARAMETER =
EXCEPTIONS
TEXT_NOT_FOUND = 1
OTHERS = 2
IF w_answer = 1.
DELETE FROM zpartner
WHERE vkorg IN s_vkorg
AND vtweg IN s_vtweg
AND spart IN s_spart.
MESSAGE i398(00) WITH 'Records deleted from table: '
sy-dbcnt
ENDIF.
ENDFORM. " DELETE_TABLE
*& Form SELECT_RECORDS
text
FORM select_records.
get vbaks
CLEAR: it_vbak.
SELECT vbeln vkorg vtweg spart kunnr
FROM vbak
INTO CORRESPONDING FIELDS OF TABLE it_vbak
WHERE vkorg IN s_vkorg
AND vtweg IN s_vtweg
AND spart IN s_spart
AND auart = 'TA'.
get vbpa we's
CLEAR: it_vbpa.
SELECT *
FROM vbpa
INTO CORRESPONDING FIELDS OF TABLE it_vbpa
FOR ALL ENTRIES IN it_vbak
WHERE vbeln = it_vbak-vbeln
AND posnr = '000000'
AND parvw = 'WE'.
ENDFORM. " SELECT_RECORDS
*& Form PROCESS_ITAB
attempt post goods issue for all entries.
FORM process_itab.
LOOP AT it_vbak ASSIGNING <it_vbak_line>.
look at records--populate it_zpartner
READ TABLE it_vbpa ASSIGNING <it_vbpa_line>
WITH TABLE KEY vbeln = <it_vbak_line>-vbeln.
IF sy-subrc = 0.
CLEAR: wa_zpartner.
wa_zpartner-mandt = sy-mandt.
wa_zpartner-vkorg = <it_vbak_line>-vkorg.
wa_zpartner-vtweg = <it_vbak_line>-vtweg.
wa_zpartner-spart = <it_vbak_line>-spart.
wa_zpartner-kunag = <it_vbak_line>-kunnr.
wa_zpartner-kunwe = <it_vbpa_line>-kunnr.
APPEND wa_zpartner TO it_zpartner.
ENDIF.
ENDLOOP.
SORT it_zpartner BY mandt vkorg vtweg spart kunag kunwe..
DELETE ADJACENT DUPLICATES FROM it_zpartner.
do a mass table update.
INSERT zpartner FROM TABLE it_zpartner.
IF sy-subrc = 0.
MESSAGE s398(00) WITH 'Inserted records: ' sy-dbcnt.
ENDIF.
ENDFORM. " PROCESS_ITAB
reward if helpful,
kushagra -
Modify DB by single field using Field Symbol
Hi,
please help me ,actually i have not use the field symbol in any object. i have one requirement ,i have to modify the DB by field STATUS using Field symbol ,
I am sending u my code so please help me how can i modify DB using field symbol..
gw_msg3_status1 = k_status1 .
LOOP AT gi_msg3 INTO gs_msg3.
gs_msg3-status = gw_msg3_status1 .
gs_msg3-issue = lw_issuno.
MODIFY gi_msg3 FROM gs_msg3 TRANSPORTING status.
MODIFY gi_msg3 INDEX sy-tabix FROM gs_msg3 TRANSPORTING issue status.
ENDLOOP.
Thanks & Regards,
Meenakshiperform dboperation_table using 'SET' 'BIRTHDT' '=' <fs>.
perform dboperation_table using 'WHERE' 'PARTNER' '=' <fs>
perform dboperation_update using 'BUT000'.
form dboperation_table
using p_type
p_var1
p_var2
p_var3.
data: t_l type cmst_str_data.
data: d_cx_root type ref to cx_root,
d_text type string.
try.
clear t_l.
if p_var3 is not initial.
t_l = p_var3.
condense t_l.
concatenate '''' t_l '''' into t_l.
endif.
concatenate p_var1 p_var2 t_l into t_l
separated by space.
case p_type.
when 'SET'. append t_l to g_s_t.
when 'WHERE'. append t_l to g_w_t.
endcase.
catch cx_root into d_cx_root.
d_text = d_cx_root->get_text( ).
message a398(00) with d_text.
endtry.
endform. "DBOPERATION_table
form dboperation_update
using p_tabname type zdboperation-tabname.
data: tabname type bus_table.
data: d_cx_root type ref to cx_root,
d_text type string.
try.
tabname-tabname = p_tabname.
call function 'ZDBOPERATION_UPDATE'
in update task
exporting
tabname = tabname
tables
where_table = g_w_t
set_table = g_s_t.
catch cx_root into d_cx_root.
d_text = d_cx_root->get_text( ).
message a398(00) with d_text.
endtry.
endform. "DBOPERATION_update
Hope it will help you.
Regards,
Madan. -
Is there a way to update an external dictionary for services without migrating the services
Is there a way to update an external dictionary for services without migrating the services
Is there a way to update a common external dictionary used by many services without migrating each and every service that uses the dictionary. I have updated the table in the database and the external dictionary in our Development Environment. The external dictionary is used by many services. When I migrate the changed service to TEST/STAGE/PROD environments (NOTE: the table has been updated in the TEST/STAGE/PROD Databases), only the changed service is having the external dictionary updated. All other services that use the same external dictionary are NOT updated. I have the following questions
Is it possible to migrate dictionaries so that all the services which are using that dictionary are updated?
If the first one is not possible, Is there any other way to update the external dictionary without migrating all the services that use dictionary?dont think so but I could be wrong
as it were I didn't like the build in audio so I connected some external logictech 2.1 speakers but there
are times when I use headset so I bought this one
or any minijack splitter will work too so I have 2 things connected to the headset port works just fine
http://www.belkin.com/IWCatProductPage.process?Product_Id=404634 -
Trying to save files on "PC" side of Mac, using a FreeAgent external harddrive. I get the error message E:/not accessible access denied. Can I not use an external harddrive, if not, what is the best way to back up PC side of a Mac
Apple has really crappy NTFS read-only that does not always work. And it is probably a licensing issue.
Paragon Software is constantly being updated and supported with their NTFS for Mac OS X - they also have an HFS+ driver for Windows that works - Apple's HFS+ read-only driver for Boot Camp / Windows does not.
I keep seeing problems and lack of support for MacFUSE, that could change.
http://www.bing.com/search?q=ntfs+for+mac -
Can a use a partitioned external hard drive to create a disk image? I tried, doesn't seem to work using disk manager.
OK, it's very bad computing to use a backup disk for anything but a backup. The reason being is if/when the HD crashes you will have lost not only all your backup but the data files. While I commend you for wanting redundant backup, you really need separate EHDs for doing so. Format each EHD using Disk Utility to Mac OS Extended (Journaled) using the GUID parttition. When you connect, OS X will ask if you want to use that drive as a Time Machine backup drive, select yes and then let it backup. On the second EHD format the same way however do not use TM as a backup, this time I'd suggest an app such as SuperDuper or Carbon Copy Cloner to make a clone of the internal HD. Leave both EHDs connected and TM will backup new or changed files automatically on a hourly basis. The clone you will need to set to backup on the schedule you want. For example I have my SuperDuper EHD set to backup only changed or updated files at 2AM every day.
The advantage of a clone is that if the computers internal HD crashes you can boot from a clone and continue working, TM will not do that but it's great for keeping an archive of all files. So if you want a version of a file from many months ago, TM will help you locate and restore it. -
Using the + symbol in XML
Hello all,
I am having a small problem with an external XML file. I
can't seem to get the + symbol to work in XML files or in text
files. OK, let me back up a second, I know how to use the + symbol
in the text file by encoding it with %2B, but I'd like to find a
way to make it easier for the copywriter to edit the files. Saving
as Unicode-8 only works with odd characters like ä etc, not
with all symbols.
Back to my mail problem. I can't figure out a way to use the
+ at all in the XML file I am using for the news ticker. I have
tried embedding the text in a CDATA tag, but it doesn't seem to do
anything and am not sure I am parsing it correctly. The text shows
up fine, just sans the symbols I need. Here's a brief segment of
the XML parser I am using:Try saving it in UTF-8, and also add encoding info to the
xml:
<?xml version="1.0" encoding="UTF-8"?>
Worked fine for me.
greets,
blemmo -
How to use field-symbols in MODIFY ... TRANSPORTING and SORT
Hi,
I need to increase the performance of an abap report using the field-symbols. More exactly the code is the following.
TYPES:
BEGIN OF itab_structure.
INCLUDE STRUCTURE nameofstructure.
TYPES:
RECNO LIKE sy-tabix,
END OF itab_structure.
DATA:
itab TYPE STANDARD TABLE OF itab_structure
WITH HEADER LINE
WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
SORT itab ASCENDING BY f1.
LOOP AT itab WHERE f1 = '10'.
itab-fn= value-n.
MODIFY itab
TRANSPORTING fx fy fz ft
WHERE f1 = c1_filed AND
f2 = c2_field.
ENDLOOP.
I need your suggestions in this kind of conversion or solution.
SORT itab ASCENDING BY f1 (<-- I don't know if in this case the better performances should be obtained using field symbols and in which way)
FIELD-SYMBOLS: <fs_itab_line> TYPE LINE OF itab.
LOOP AT itab ASSIGNING <fs_itab_line> WHERE
<fs_itab_line>-f1 = '10'.
MODIFY itab
TRANSPORTING fx fy fz ft
WHERE f1 = c1_filed AND
f2 = c2_field.
(I don't know if in this case the better performances should be obtained using field symbols and in which way)
ENDLOOP.
I wish to implement the field symbols or the better performance in terms of execution time in all my abap code, where it is possible.
Any suggestion will be well appreciated.
Thanks in advance for your kind support.
Regards,
GiovanniDear All,
I have appeciated your suggestions and I can conclude these points in my case:
1) The "sort" statement is not optimized in a different way using filed-symbols
2) The loop with "where" condition on a standard table is performed using filed-symbols
But ... my last point to investigate is about the statement MODIFY table TRANSPORTING f1, f2 WHERE conditions.
More exactly, in my code the execution logic of the abap code expects a global modification of the same table at the end of every (primary) loop, using the MODYFY statement.
In other words in my code I can locate two loops on the same table in the following logic:
LOOP AT table1 WHERE f1 = '10'. (#1)
updates to table1
set c1_filed, c2_filed
LOOP AT table1. (#2)
IF f1 = c1_filed AND
f2 = c2_filed.
table1-fx = 'x'.
table1-fy = 'y'.
table1-fz = 'z'.
table1-ft = 't'.
ENDIF.
MODIFY table1.
ENDLOOP. (#2)
ENDLOOP. (#1)
In better way (maybe more fast in terms of execution time) to modify a set of lines (MODIFY...TRANSPORTING...WHERE):
LOOP AT table1 WHERE f1 = '10'.
table1-fx= 'x'.
table1-fy= 'y'.
table1-fz= 'z'.
table1-ft= 't'.
MODIFY itab
TRANSPORTING fx fy fz ft
WHERE f1 = c1_filed AND
f2 = c2_field.
ENDLOOP.
My aim is to use field-symbols everywhere possible for speeding up the execution of my code,by maintaining this logic.
My proposal should be the following but I need your kind opinion.
FIELD-SYMBOLS: <fs_#1_line> TYPE LINE OF table1.
FIELD-SYMBOLS: <fs_#2_line> TYPE LINE OF table1.
LOOP AT table1 WHERE f1 = '10' ASSIGNING <fs_#1_line>. (#1)
updates to table1
set c1_filed, c2_filed
LOOP AT table1 ASSIGNING <fs_#2_line>. (#2)
IF <fs_#2_line>-f1 = c1_filed AND
<fs_#2_line>-f2 = c2_filed.
<fs_#2_line>-fx = 'x'.
<fs_#2_line>-fy = 'y'.
<fs_#2_line>-fz = 'z'.
<fs_#2_line>-ft = 't'.
ENDIF.
ENDLOOP. (#2)
ENDLOOP. (#1)
Your kind support is very important for me.
Thanks in advance.
Regards,
Giovanni -
How can i Use the symbols from the main html page?
Hello!
Im trying to find a solution for days!!
i need to use my symbols from the html page, for example to hide the symbol i want to use: sym.$( "sym1" ).hide(); or to make it draggable (with jquery UI) i wanna use: sym.$( "sym1" ).draggable(); but it doesn't work.
i know i can do the same from the edgeActions.js file and here is the working code:
Symbol.bindElementAction(compId, symbolName, "document", "compositionReady", function(sym, e) {
var ex1 = sym.$( "farmer" );
//ex1.html( '<input type="text" />' );
yepnope({
both: [
"libs/jquery-ui.min.js",
"libs/jquery-ui.css",
callback: function() {
( ex1 ).draggable();
but the main problem is that it's always include this file as the very last .js, so in case Im trying to use the symbols from the index.html page (For example: ( ex1 ).draggable(); ) the variables are undefined (because it read the html first)...
Please Help, Im desperate..
Thank you very much!!!
EranHi, Eran-
You will want to use the AdobeEdge.* APIs, which should give you access from external JavaScript into your Edge Animation. The API document has information on that. However, you will need to wait until the runtime loads, so you should use the bootstrapping method that is outlined in Josh Hatwich's post on our blog:
http://blogs.adobe.com/edge/2012/05/15/bootstrapping-edge-compositions/
Hope that helps!
-Elaine -
Can I move the common library or use a symbolic link so that Dropbox can sync it?
A team of us are now using Fireworks for interaction design, and need to synchronise the common library so that the elements we use are up to date.
1. Is the common library the correct method?
2. we use dropbox, and I don't think I can tell dropbox to synchronise just the common library folder (as an isolated path from the rest of the dropbox tree...) - so, is there a trick using a symbolic link we could use so that dropbox thinks the common library is actually in it's own tree? (OSX is BSD afterall...)
We're on Mac OSX 10.7.X, running FW CS6 and using the latest dropbox for Mac.
I look forward to hearing some ideas. The question of teams using fireworks has been raised several times since 2009, and Adobe still hasn't got a solution. The mind boggles as to whether or not Adobe takes Fireworks seriously - I hope they do...
All the best,
DylanThanks groove25.
I did find that it is possible to use symbolic links and Dropbox to synchronise the common library across computers. It does come with its idiosynchrasies though (excuse thepun).
I'm going to have a go with what this thread recommends:
http://hints.macworld.com/article.php?story=20120803093247391
and leichter's explanation and walkthrough (nested in the thread) looks very helpful:
There's a subtle point that, once you understand it, makes symlinks much more useful in Dropbox.
The whole design of symlinks in Unix tries to make them invisible to programs that don't specifically try to manipulate them. So suppose 'sym' is a symlink to 'file'. If a program opens 'sym' for read, it actually gets the data in 'file'. If it appends to 'sym', it actually appends to 'file'. However, if it deletes 'sym', what disappears is the link 'sym', not the file 'file'. Opening 'sym' for writing as a new file - not appending to it - is equivalent to deleting the old file and creating a new one: It leaves 'file' unchanged and creates an entirely new file named 'sym' which no longer has any connection with 'file'.
A link to a directory follows the same rules. Looking a file up using the symlink as the name really searches the linked-to directory. Creating a file through the symlink is like appending: It creates the entry in the linked directory. And so on.
A program that wishes to do something special - like change where a symlink points - has to be aware that it's dealing with a symlink and use special OS calls for that exact purpose.
Dropbox works with symlinks *but it doesn't do anything special with them*. So suppose you put that 'sym' linked to 'file' in your Dropbox directory. Dropbox comes along, finds a new file, and sends it to its servers. What does it send? Well, first the name 'sym', and then the "contents" - i.e., what it gets from reading 'sym' which is exactly the contents of 'file'. On the server, and then later on other clients, what you will find is a normal file named 'sym' with the contents of 'file'. *There is no connection with a file named 'file'.* If you change 'file' on the system where 'sym' links to it, the changes propagate. If you change it anywhere else, the changes propagate back - but Dropbox doesn't modify files in place, it writes entire new ones. So the effect back on the original system is to break the link and write a new file named 'sym' with the latest contents - but no connection to 'file'.
I know of no way to keep a link to a *file* as a symlink across updates. But the story is different for *directories*. Unlike ordinary files, directories are normally updated in place (unless you explicit delete and recreate them). So you can do the following:
1. Create directory 'dir' anywhere you like.
2. Create symlink 'dirlink' pointing to 'dir' in your Dropbox folder.
3. Wait for 'dirlink' to appear on all other clients. It will appear as an ordinary directory, not as a symlink. If the original 'dir' had files in it, those will now appear as files on the clients, too.
4. On each client, rename 'dirlink' to 'dir' *in the place you want it to appear in your directory tree*. (Renaming only works if you are staying not the same device. Otherwise, you need to create 'dir' and move all the files.) This need not be the same on all clients, though it's easier to keep track of if it is.
5. On each client, create symlink 'dirlink' pointing to 'dir'.
Now you have a 'dirlink' on each client, which will to Dropbox look like a subdirectory - and it will sync all the files in that "subdirectory". Changes made on any client to any file in 'dir' aka 'dirlink' will be synced to all the other clients as well. Files created or deleted in 'dir' will be created/deleted on every other client as well.
It's probably easiest to do all this while there are no files in 'dir'. Otherwise, Dropbox sometimes repeatedly syncs the same files until everything eventually settles down.
The limitations here:
- Some platforms (e.g., iOS) don't support symlinks. To them, 'dirlink' will just be an ordinary subdirectory.
- Any time you add a new client, you have to go through the process for that client. Certain reset operations in Dropbox - anything that requires re-syncing every file in the Dropbox folder on a client - will require the same, because Dropbox doesn't know how to *create* symlinks - it'll just create an ordinary subdirectories.
I've used this configuration for a couple of years. You have to watch out for the reset situations and such, but generally once you have it set up, it "just works".
-- Jerry
All the best,
Dylan -
My G2 iPod that I use as an external drive to archive memory cards on the go cannot link with my new 13" Macbook Pro cause it uses a firewire 400 lead. It will not work with a USB lead. Is there a firewire 800 ipod lead or converter available? Can any one shed some light on this please?
As far as I know, if a harddrive works with a Macpro, it should work with the Macbook: if your Macbook is low on power, plug in the AC adapter
If your Macbook has a firewire port, then it should be fine. BUt i would do somemore research first. -
Can I restore photo files from Time Machine without the use of an external drive? While I was transferring photos back and forth from a thumb drive something went haywire and my IPhoto was wiped clean! When I click on Time Machine I see all the dated pages (without an external storage drive connected), go back to a date where all my photo files are there, click "restore", and I get the message: "The Finder can't complete the operation because some data in file cant be read or written (error code - 36)"
Thanks so much Terence. I tried some of the fixes from that page, but then discovered the suggestion to compress the Time Machine Back up of the original library and transfer it as a zip back to my computer as detailed here:
http://pondini.org/TM/E9.html
That worked like a charm. I really appreciate it. -
I want to remove the monitor from my 17" Macbook Pro 2008 to use as an external for my Macbook Pro 15" 2012. How can I convert lvds to Thunderbolt and power the monitor?
It's almost impossible. The new iMacs have a Target Display Mode, but it's built to do that. Without ripping your screen out, finding an acceptable power supply, frame, and whatever electronics to convert a Thunderbolt signal to the screen, the cost will be much larger than buying a cheaper HiDef monitor that runs with an HDMI to Thunderbolt cable to your MacBook 15. In fact, you can sell your 17" MBP for a lot of money, unless it's broken or something, buying you a really sweet monitor.
By the way, I found your answer by searching this forum. I would suggest using the search function here in the futuere. -
How to use DataSource and External transaction in 9ias?
I'm working on a project that the application server needs to connect to over 100 databases.
I'd like to use connection pooling and external transaction service defined in OC4J's Datasources.
I wonder if anyone has an example of using datasource and external transaction service for OC4J.
Right now, I export toplink project to a java source and do the initialization there manually but I don't know how to use Datasource to get connections and how to use the external transaction service in the java code for OC4J.
I really appreciate you help.
WeiHere is a fill in the blank example on how you could set this up through code:
Project project = new MyProject();
// alternatively, use the XMLProjectReader
server = project.createServerSession();
server.getLogin().useExternalConnectionPooling();
server.getLogin().setConnector(new JNDIConnector(new javax.naming.InitialContext(), "jdbc/DataSourceName"));
// the next line depends on the type of driver you want to use.
server.getLogin().useOracleThinJDBCDriver();
server.getLogin().useOracle();
server.getLogin().setUserName("username");
server.getLogin().setPassword("password");
server.getLogin().useExternalTransactionController();
server.setExternalTransactionController(new Oracle9iJTSExternalTransactionController());
server.logMessages();
server.login(); -
How to use substr in external table defnition.
Hi All,
Im using oracle 11g. I have an external table which is reading data from a file. For one of the column, i need to get only the first 250 characters. My external table defnition looks like this
create table tbl_substr
( col1 varchar2(20),
col2 varchar2(250)
organization external
( type oracle_loader
default directory XXXX
access parameters (
records delimited by newline
FIELDS TERMINATED BY '|'
missing field values are null
( col1 ,
col2 "substr(:col2,1,250)"
) ) location ('file.txt') )
reject limit unlimited
But this defnition gives an error when i do select * from tbl_substr
I want to use substr in external table defnition its self and not in SELECT. Also i dont want to crete a view to solve this. If anyone has done this please help.You need to play with COLUMN_TRANSFORMS
http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/et_params.htm#sthref1792
BTW, i too got it from Google. I was not aware about this :)
Amardeep Sidhu
Maybe you are looking for
-
Home sharing - can see movie on iPhone, but it won't play.
I've got home sharing set up on iTunes and in my iPhone 3GS. I'm in the process of testing the digitizing of my home DVD library into iTunes, and have made my first attempt. The film works fine in iTunes on my Mac, and I can see it on my iPhone, but
-
Multiple speakers for airport express
I'm trying to connect multiple speakers from my Itunes but I can't get it to work. I can get one or the other to work but I can't get both to work at the same time. I updated the software for A-express, still doesn't seem to work. Anyone else have th
-
Dear Members, I have a custom OAF Page in R12. In this page there is date field. Name of the date field is TransactionDate I want to restrict the user to enter a date only between *01-JAN-2012 and 01-APR-2012*. To achieve the above requirement I foll
-
In Safari, my iMac sometimes zooms way too much and will not zoom back. I have a wireless mouse set to zoom in and out on double tap, but the excessive zooms happen with no taps. A page zooms in so less than 1/4 of the page is visible and nothing I
-
My itunes account is diabled because i forgot my security questions so i now have money i cant use!!!!! if apple s not gonna pick up there game i want a refund of all the money i spent.