I have been trying to move the data from one location to another but I have not go through by correct process, just copied the data manually.
Related
I've been working on project where useres are able to load some data from the CSV, but each client have CSV with different structure. I can't ask them to change structure of the file because they are using those somewhere else. All of those files contains data that i need and I want to ask once at first upload which columns contains data i expect and then save this information so i don't have to ask them again.
Do you know how to ask client to somehow point those columns for me ? And how i should store those informations to use it next time ?
I am trying to move a backup file that is created every morning from its current location to a shared network location but can not figure out how to code for dynamic dates in SQL.
Ex: The file is called my.file03232017130.bak and every day a new file will be saved with the same name except the 03232017130 will be changed to that days date.
I would like to utilize SSIS and SQL to set up a process that will move the file every morning from where it is saved by default to a different location.
Any help is appreciated.
Make a package variable and then set the value to the string using code depending on the current date in a Script Task, then use that variable in your File System Task.
Setup a File Watcher on the backup folder and utelize a File Transfer Task to send each file to the destination you want. You can do it without the 3rd party tools but it will take much longer to setup and usually runs into many windows related issues
I have a database that i have split into 3 pieces: a Front End, and two back ends that contain tables. Copying the front end to a users desktop cuts the runtime from 90 minutes to 30 minutes. However, when I move the back end to the desktop as well, the runtime is less than 8 minutes. The problem I am facing doing this is that I had to manually update the table links.
Is there a way to make it so that Access automatically updates the links based on what users computer it is on?
For example, I created a batch file to move the database files from the shared drive to a folder on the users destop using:
"%userprofile%\Desktop\Folder1\"
as the location to move the files to. "The "%userprofile%" automatically identifies the user and route the files properly. I didn't know if there was something similar to automatically update the links in Access.
Please let me know if you don't understand what I am trying to ask.
Assuming the 1st backend is on the user computer, and the 2nd backend is on the shared network, I think what you can do is create a qry upon opening the database to update the user's table, then after exiting, a 2nd qry that will export user's table back to the 2nd backend on the shared network. You'll have to add a field in the table so that your database knows which record to be added or to be exported.
we can assume the user is working with Ms Word files.
After the user chooses a file, the software needs to store it.
That is easy, with Delphi blob and MsSql image.
Now lets say the user wants to edit the file,
could you suggest a simple solution, that will open the file in Ms Word, allow edit, and then save the changes to the image?
It would be better if old version could be kept, like svn.
Any component that you could suggest?
Copy the blob out to a temp file:
C:\Documents and Settings\\Local Settings\Temp\2011112_1115112.doc
or
wherever windows wants you to store temp files for this user.
Launch WinWord on that file,
waiting on the program to finish.
When they're done, copy it back.
For multi-user situations, you'll need exclusive access. WinWord usually figures that out when you're sharing files. But in this case, you'll have to simulate it, perhaps with a field on the table row to reserve/release the document for read/write access.
With the particular app I am working on, I have a significant amount of data that I need to have in my db so I can read it in. I also have the need to write a few things to the db. I took a copy of the sqlite db out of the documents folder and put it into my main bundle and can read my manually inserted data without problems.
I am now trying to insert data, but I am running into difficulty. I remember reading somewhere that you can't write to a db in the main bundle? Only the documents folder? Is that correct? What are my options if I need to have custom data in a core data db that I also need write to?
Should I move it out of the main into the documents folder?
Thanks!
I can't find documentation to back this up, but it is my understanding that the application bundle is read-only. I have read that if you have a pre-populated Core Data store in the app bundle, you need to copy it to the Documents directory - and then make modifications that copy.
Check out this.