Variable based on another varable does not change at runtime
Hi.
I have Foreach Loop container with a EXEC SQL task inside.
The Foreach Loop loops through a directory containing flat files and and maps the filename to a "FileName" variable.
The filenames have a datestamp in the filename that I want to extract.
Because of that I have also another variable called "FileDate" which basically is an expression with substrings based on the FileName variable. The expression works fine when evaluating.
The EXEC SQL task inside the Foreach Loop does an insert to a log table (two columns - FileName and FileDate) based on the two variables mentioned above. The trouble is, however, that only FileName is populated correctly in the table.
For example: I have 5 files with different datestamps. In the log table the FileName column is populated correctly (5 different values), but the FileDate column has the same value for all 5 rows.
Any ideas why ?
dakine
Hi Dakine,
Your expression works well in my test package. It’s really odd that it doesn’t work in your package. You could add a Script Task into the Foreach Loop Container to show the value of the FileDate variable in a MessageBox, and check whether its value is correct
for each loop of the container. The script is simple (select User::FileDate as ReadOnlyVariables for the Script Task):
MessageBox.Show(Dts.Variables["User::FileDate"].Value.ToString());
By the way, you can also try to recreate the package from scratch.
Regards,
Mike Yin
If you have any feedback on our support, please click
here
Mike Yin
TechNet Community Support
Similar Messages
-
Tabset in page fragment , the url does not changes when we select tabs...
Hi
Thank you for reading my post.
i noticed that when we use a tabSet in a page fragment , selecting tabs does not change the current URL ,
is it a correct manner ? I think when we select a tab and it opens another page the url should change.HI,
There is a relevant topic on EA discussion.
Topic :TabSet in page fragment , selecting a tab open a page but does not change the current browset url
https://feedbackprograms.sun.com/project/forum/thread.html?cap={3F4DA363-16D3-4D4C-920C-992ECB054B6D}&forid={CC6B8562-F896-4A44-ACB6-4684BDD05E19}&topid={361DBDF0-FFDE-4618-9FC6-86E4903A9565}
Hope this helps.
Please post messages related to Creator 2 EA at the feedbacks programs portal. The URL is:
https://feedbackprograms.sun.com/login.html
Thanks,
RK. -
Oracle form query mode does not change color to blue
Hi, I have created a custom form and using query mode in it. However on hitting F11, the record does not change to blue, instead it turns white. Can someone please guide me as to what I should be doing to get this right?
Thanks for your responses.The fact that it doesn't change color when you "Enter Query" mode tells me your Custom Form does not conform to Oracle Application Programming Standards. I recommend you visit the Oracle Applications Documentation web site, choose your EBS version and scroll down and look at the Oracle Applications User Interface Standards for Forms-Based Products and Oracle Applications Developer's Guide to ensure your Custom Form conforms to Oracle Standard.
Also, I suggest you always use the TEMPLATE.fmb (or if you can't find this form, use the APPSTAND.fmb) as the starting point of any Custom Form. This will ensure you have the minimum required objects and code in your form.
Hope this helps,
Craig B-)
If a response is helpful or correct, please mark it accordingly. -
Iak file does not change channel config?
I am relatively new to Lab-View so please bear with me
I have multiple iak files setup for different vi's that require some different ranges on the AI-100 modules I am using (FP-1601 Ethernet module). My problem is when I start a vi, with the iak file path needed wired to the FP-open tag, it does not change the channel configuration from whatever is currently on the modules themselves.
Is this correct? I know I can get the channels to update to the iak file by opening it in FP explorer and editing the device clicking on the channel config and syncing to the file. This will be very tedious for the un-trained test monkey these different programs are designed for. Am I missing some option somewhere that syncs the modules t
o the iak file when you open a field point session?From a program perspective, the IAK file is solely used to provide channel mapping information. From a FieldPoint Explorer (or NI-FP) perspective, the IAK file contains all channel naming information, communication mapping information and channel configuration information. In FieldPoint Explorer (3.0.2 or less), the only way to change the channel configuration between IAK's, is to switch IAK's in FP Explorer and right click on each (and every) FieldPoint IO Module, choosed Edit This Device and then choose Channel Configuration. When the dialog box asks you whether to use the Device or File settings, choose File. In NI-FP 4.0, there exists an option to download the entire configuration to an entire bank at a time, but there is still no method of downloading the co
nfiguration file programmaticly at run time.
However, another option in the form of the Ethernet Configuration VI's exists. They allow you to programmatically configure each channel (range & attributes). For an understanding of the range and attribute values, you can cross reference the FP-1000/1001 Programmers Reference Manual.
Regards,
Aaron
Regards,
Aaron -
Changing cell padding does not change margin
The text in the cell of an existing table is clearly indented from the cell border. However, the cell padding is set to 0. When I change the cell padding to 10, 50, or any other number, the text margin does not change.
I am trying to create another table. The text in the new table is flush left. Whatever I set the cell padding to, the text margin does not change.
The documentation indicates that the only way to change the cell margins is to change cell padding. Obviously that does not work. How do I change the cell padding?
Thank you.
CathyCan you please anwser couple of queries to nail down the issue?
1) Please let us know the Contribute Version and OS you are using.
2) Is this happening with a particular page?
3) Can you try creating a new blank page, insert a table and modify the Cell Padding value.Check whether it is getting reflected and also verify the cell padding parameter is added in the code.
4) Previously if it worked and broken suddently, please try clearing the Contribute preference. Refer to the blog post, blogs.adobe.com/contribute/2011/11/launch-contribute-freshly-by-deleting-preferences.html -
Cursor does not change for pop-up window
I created a link for a pop-up window. The link does work, but the cursor does not change to a pointy finger, the standard link icon.
I don't know a lot of javascript, but can figure it out if it's just adding some code. Any help would be appreciated! Here's the code:
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
Thanks in advance.
ToddHi Todd,
i got the same problem.(cursor not change for pop-up windows) and because i m not an expert in internal html code i did try several solutions to fix it.
The easiest (but also even longer if u need to do severals) is to create a button (withs 2 overflight changing pics) with "inserer", "image survolée"
the "image survolée" can be linked to a pop-up window with the correct effect. To do so highlight the "expected new link to" and on right side task bar ad a "comportement" named "ouvrir la fenetre du navigateur" and optionally choose the size and windows available function of the pop-up. It works even if u need to proceed first with an overflight changing button.
The result is longer to obtain and not absolutely perfect. So I guess it s only an help solution for a single mateer. i would be glad to get another solution with a text link rather than using the overflight button system. Technically it should be better, more efficient and faster to proceed with applying an html code that really makes the text appearing as a classic link to a new windows whatever pop up or full size window. Please let me know if u get further answer to fix this problem.
Many thx and excuse my technical english translation about DreamCs4 -
When elevating privilege for a standard user using an admin account, the UAC runs the application under the admins account "user" and not the standard users account "user", the problem is that doing so, it does not change the standard
users settings
In this example, trying to change the "Check for Updates Automatically" as the standard user, is grayed out, you have to be an admin to change this. This is a design of Java.
When you right click and run as an administrator, the option is no longer grayed out and can be deselected, however, this only changes that setting for the admins specific "user", not the standard users specific "user" the admin is elevating
privilege for. as illustrated below.
Is there a work around for an admin to run his credentials but elevate the standard users session instead of his own or some other way to set the standard users setting when admin credentials are required?Hi,
Based on your description, I understand that you want to disable
Check for Updates Automatically option for standard users in Java.
You can achieve this target by editing
EnableJavaUpdate registry entry. For more details, please refer to following articles and check if can help you.
(Please back up before that registry operation. That will help us to avoid unexpected issues.)
How to disable Java Update in Windows
7
Disable Java updates with
Group Policy
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft
does not guarantee the accuracy of this information.
However, this issue is related to Java product. I suggest that you should contact with Java product support.
I believe we will get a better assistance there.
If anything I misunderstand or any update, please don’t hesitate to let me know.
Hope this helps.
Best regards,
Justin Gu
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
Safari 5.0 - URL does not change when changing location
I have noticed this on two Macs running 10.6.3. When moving between pages (eg, clicking on a link within a page, or using the Google search bar to locate and load a new page), the URL in the address bar does not change to the new location. It remains at the
This applies whether the new page is within the same domain, or is at a different location.
Specific test: Load http://news.bbc.co.uk in Safari. Towards the top left of the page, there's a link to the BBC home page, which should appear in the status bar as "http://www.bbc.co.uk". Clicking on it will send you to that page, but the URL will remain as the news subdomain. If you click to another tab, then click back, it'll then update correctly.
MattHi Matt,
MIght be corrupted Safari pref files.
Go to the Safari Menu Bar, click Safari/Preferences. Make note of all the preferences under each tab. Quit Safari. Now go to ~/Library/Preferences and move this file com.apple.safari.plist to the Desktop.
Relaunch Safari and see if that makes a difference. If not, move the .plist file back to the Preferences folder. If Safari functions as it should, move that .plist file to the Trash.
If the problem persists, go to ~/Library/Caches. From the com.apple.Safari folder move the "cache.db" file to the Trash. Relaunch Safari.
Carolyn -
When call someone touching another,waitng does not appear on iphone5
when call someone touching another,waitng does not appear on iphone5
Under (system prefernces>security and privacy) do you have 'disable automatic login' checked?
I have it checked which means I must sign in to my account. To change the picture go to system preferences>users and groups. Hover over the picture and click on the glif at the bottom right of the picture. -
How do I check internet usage history? When i use the "History" tab on the tool bar all I see is today's activity & the calendar does not change when I click on it. Thanks
zedzed,
Here's another thought.
Navigate to HD > Users > Library > Safari: Make a duplicate of History.plist.
To duplicate the file, click once to highlight it. Press the Command + D keys.
Drag the History,plist copy file to the Desktop.
Highlight it. Press the Command + I keys, to get info.
Change Open With to TextEdit.
When you open the file in TextEdit, it will be difficult to read, but you will be able to pick out some sites.
ali b -
Hi
I have an uploading problem to the server. The problem is when I try to upload a file it goes through the correct proceedure,
but does not change the remote file i.e.Index.htm, or three stages1.htm.
My Localroot folder is C:\Gods Plan Web\
The site map layout is C:\Gods Plan Web\Index.htm
The folder for the remote site is /public_html/
Should the local root folder mirror the remote site, i.e./public_html/
if this is so, what should I put into the
(a) Local Root Folder box?
(b) site map layout box?
The FTP is performing well other than changing the intended file.You should be uploading only the contents of your local root to the public_html folder (remote root).
The index.html you use as your site's home page needs to be in your site root. If you look at your Files window in DW, you should have something like the following...
Site - Whatever you named your site
index.html
images
pages
page1.html
page2.html
If you have any folder between Site - and the index.html page, like...
Site - Whatever you named your site
mywebsite
index.html
It will upload to the public_html while still in that folder, so to find your page online, you would need to type something like...
www.mydomain.com/mywebsite
public_html should NOT appear within your local files and if it existed there, would cause a redundancy if uploaded. You would need to type www.yourdomain.com/public_html to see the uploaded pages.
If you could post a screen shot of your expanded Files window while connected to the server (just connect and click the Expand button in Files, don't drill down into any of the directories), we may be able to see the issue. -
When I convert my pdf doc to word, the fonts go really weird and it also puts some text into boxes. when I try to select the text and change the font, it does not change it properly? This is making it impossible to amend.
Hi Janedance1,
If the PDF that you converted already has searchable text, please try disabling OCR as described in this document: How to disable Optical Character Recognition (OCR) when converting PDF to Word or Excel. (If the PDF was created from a scanned document and doesn't already have searchable text, disabling OCR isn't a great option, as the text won't be searchable/editable in the converted Word doc.)
Please let us know how it goes.
Best,
Sara -
Tables are deleted but database size does not change in sql server 2008r2
Hi All,
20GB Tables are deleted in my database but database size does not change and disk size showing same size.Hi ,
I have ran the Disk usage by Top Tables report and Identified couple of tables with unwanted data for last 5 years. I have deleted the data for the first 3 years and then ran the Disk usage by Top Tables report again. When I compared the report before
and after the data deletion, I have noticed certain facts which is not matching with what I know or learned from experts like you. The following are the points where I am looking for clarification:
1.Reserved (KB) has been reduced. I was expecting the data Reserved (KB) will remain the same after the data deletion.
2. The Data(KB) and Indexes(KB) fields have been reduced as expected. The Unused(KB) field have been increased as expected.
I was expecting the total of Data(KB) and Indexes(KB) field space gained will be equal to the Unused(KB) field gained after deleting the data. But that is not the case. When I deducted(subtracted) the difference in the Reserved(KB)(Difference before
and after data deletion) field from the Total of space gained from the data deletion is equal to the Unused(KB) gained field value.
I am not a SQL expert and not questioning but trying to understand whether we really gain space by deleting data from the tables. Also keen to get the concepts right, but my testing by deleting some records confused me.
Looking ahead to all your expert advice.
Thanks,
Vennayat -
Restriction of f4 help of a bex variable based on another variable input
Hi,
Could you please let me know if there is any possibility to restriction of f4 help of a bex variable based on another variable input.
eg: when i select particular company code in one variable, i need to restrict the f4 help for another variables eg: pur. group based on selected company code.
Regards
KasiHi,
Try using replacement path option in bex with replace variable with variable selction.
Thanks. -
In Adobe Acrobat X Standard, our user used to be able to resize drawings to 8.5 x 10, it stopped working yesterday. It allows her to do this without an error but the size does not change?
Try unmounting the volume on your iMac using Disk Utility. Then mount it again. You may need to reboot the laptop or relaunch its Finder process (using the Force Quit window) after remounting the drive on your iMac. Remember that no process may be accessing any files on the drive you plan to unmount, or the unmount will fail. Unmounting and remounting an external drive on my iMac made it become visible on my MacBook Pro after it had disappeared.
Maybe you are looking for
-
Have PowerbookG4 bought in 2002. No $ to buy new, but should I?
I have a Powerbook G4, purchased in June 2004 and running 10.3.9. I was planning to buy a new one next summer but this one has issues. I can't use any USB 2.0 divices; when I tried to use the same external back up drive this week that I have been usi
-
Implenting webdynpro as a Calable Object with GP Interface
Hi People, I have created a webdynpro application, and want to implement it as a callable object with GP interface, I have added all the required DC's. There is no error in Build, There in no error in Deployment, But when I try to create the Callable
-
How to transfer iTunes to new mac while keeping library on external drive?
I have a new iMac (running 10.4.11). Old mac is a G4 powerbook, which is synched to my ipods and iphone. My iTunes library is on an external hard drive. How do I get the new computer to "own" the iTunes account and media library so it will synch with
-
Pages crashing on iPad2. Every time I open it. Anyone else suffering this fate?
Am keen to know if it is a common problem or just me
-
Hi, i want Selection of infotype menus, n i have chosen menu type as 'S' in table V_T588C but how can i view my menu, i read in F1 documentation tht i need to choose 'other function' where is this and how can i set my menu and not the HR Master Data