English Boards > Tutorials

Configuration backup

<< < (5/5)

JohnS:
If we can update the title text and read the command line parameters, then I think it gives us many possibilities in the future. And right now it would give us a Training Mode Warning prompt/notification to visually identify a terminal mode.


--- Quote ---I don't know where we are going to :)
--- End quote ---
But getting there is the fun part. Its all the little ideas, 'what ifs' that make it interesting and lead to unexpected new features.

emre:

--- Quote from: emre on January 31, 2012, 02:24:15 pm ---So what will you think about implementing an action for updating the title text? We can use it for different purposes...

I can add an additional feature to "Application Started" rule for testing command line parameters.


--- End quote ---

I forgot to mention this is also implemented on 2.86. We can test the existence of /training switch on Application Started event and execute Update Sub Title action.

joe:

--- Quote from: emre on December 08, 2011, 11:05:40 am ---Hello balitaly,
Normally we create backups before entering trial data and restore it before real usage.

I attached a SQL Script for you to clear all transaction data from database. If you run this script it will keep your settings but clear all tickets, work periods etc.

USE IT AT YOUR OWN RISK...
Take your backups before running this script. It will not generate backups. It will clear data without confirmation.


For SQL Server Express you can easily create backups and execute it with SQL Management Console.

If you are using SQL Compact Edition (CE) you can download a handy Management Tool from http://sqlcetoolbox.codeplex.com/ website.

The SQL CE database file stored under MyDocuments\SambaPOS2 folder. Create a copy of SambaData2.sdf file to create a backup

After running SQL CE Toolbox application:

* Right click on "No SQL Connections found .... etc" title on the right and click "Add .. Connection" (First item). A popup window will appear.
* Click [Browse] button, locate SambaData2.sdf file.
* Click [Close] button at the bottom of the screen.
* Popup window should disappear and you should see your database file listed under connections list.
* Right click on the file name and click "Open SQL Editor". This will display an editor screen on the right.
* Click "Open" from toolbar and locate script file (dtran.sqlce).
* Click Execute...
For security reasons we didn't implemented that feature inside sambapos application but we'll implement "Training Mode" on further releases so you'll be able to enable training mode when needed.

--- End quote ---


hi there, im reading over and over again but still dont understand....
i had already backup the SambaData2.sdf  file....
but i dont know what it mean "After running SQL CE Toolbox application"
where to find this application?

Navigation

[0] Message Index

[*] Previous page

Go to full version