473,748 Members | 2,516 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Offline application for reporting and collect data

Hi All
We are having a VB application on SQL. But we need to collect
information from persons who will be offline to verify data and insert
new data. Generally they will be entering the data in Excel spread
sheets which can be uploaded to the database using the application
after some validations.

But rather than Excel I was looking at Infopath with Access as the
database, to create validation rules and collect data offline that can
be submitted at a later stage when the user is back online. But the
reporting tool is not serving the purpose.
Rather Can i build a VB.Net application that comes with Access data
base embedded in it in the installer so that even when the user is
offline we can get him the reports and enable him to update or enter
new data through the grids?? And later we can easily gather the data to
SQL by just importing using DTS.
Or is there any other better approach? Please advice.

Thanks
Senthil

Dec 1 '06 #1
6 2982
Hi,

Take a look at the sql compact edition now in release canidate.
Sql Compact edition has some nice features for sync with sql server. It
should be out by the end of the year.

http://blogs.msdn.com/stevelasker/ar...-released.aspx

http://blogs.msdn.com/stevelasker/ar...whereInfo.aspx

http://blogs.msdn.com/stevelasker/ar...eSnipetts.aspx

Ken
-----------------------
"Senthil" <se************ @gmail.comwrote in message
news:11******** **************@ j44g2000cwa.goo glegroups.com.. .
Hi All
We are having a VB application on SQL. But we need to collect
information from persons who will be offline to verify data and insert
new data. Generally they will be entering the data in Excel spread
sheets which can be uploaded to the database using the application
after some validations.

But rather than Excel I was looking at Infopath with Access as the
database, to create validation rules and collect data offline that can
be submitted at a later stage when the user is back online. But the
reporting tool is not serving the purpose.
Rather Can i build a VB.Net application that comes with Access data
base embedded in it in the installer so that even when the user is
offline we can get him the reports and enable him to update or enter
new data through the grids?? And later we can easily gather the data to
SQL by just importing using DTS.
Or is there any other better approach? Please advice.

Thanks
Senthil
Dec 1 '06 #2
Hi Ken/All,
Thanks for the update man. That is very interesting stuff. But
what I plan is giving an installer to the client that will install the
Application and the database needed for it(incase of MDB i can load the
MDB with tables). But as far as I have worked with SQL, first we need
to install SQL server and restore the database backup in the system. So
the user has to install the SQL compact and then has to do a backup of
the database! Can I do this also in the installer?? (I preferred ACCESS
just to short cut this procedure as I cannot force the user to install
a lot)

Thanks and Regards
Senthil
Ken Tucker [MVP] wrote:
Hi,

Take a look at the sql compact edition now in release canidate.
Sql Compact edition has some nice features for sync with sql server. It
should be out by the end of the year.

http://blogs.msdn.com/stevelasker/ar...-released.aspx

http://blogs.msdn.com/stevelasker/ar...whereInfo.aspx

http://blogs.msdn.com/stevelasker/ar...eSnipetts.aspx

Ken
-----------------------
"Senthil" <se************ @gmail.comwrote in message
news:11******** **************@ j44g2000cwa.goo glegroups.com.. .
Hi All
We are having a VB application on SQL. But we need to collect
information from persons who will be offline to verify data and insert
new data. Generally they will be entering the data in Excel spread
sheets which can be uploaded to the database using the application
after some validations.

But rather than Excel I was looking at Infopath with Access as the
database, to create validation rules and collect data offline that can
be submitted at a later stage when the user is back online. But the
reporting tool is not serving the purpose.
Rather Can i build a VB.Net application that comes with Access data
base embedded in it in the installer so that even when the user is
offline we can get him the reports and enable him to update or enter
new data through the grids?? And later we can easily gather the data to
SQL by just importing using DTS.
Or is there any other better approach? Please advice.

Thanks
Senthil
Dec 1 '06 #3
Ken,
I have written a similar application. I use a vb 2005 front end with
an embedded access database. It is distributed to several customers
for offline data collection. Then they just email me the database, and
I import thier inputs into my master copy. You could also import these
into SQL as well. If you want more info, contact me at ms*****@cox.net
Michael
Senthil wrote:
Hi Ken/All,
Thanks for the update man. That is very interesting stuff. But
what I plan is giving an installer to the client that will install the
Application and the database needed for it(incase of MDB i can load the
MDB with tables). But as far as I have worked with SQL, first we need
to install SQL server and restore the database backup in the system. So
the user has to install the SQL compact and then has to do a backup of
the database! Can I do this also in the installer?? (I preferred ACCESS
just to short cut this procedure as I cannot force the user to install
a lot)

Thanks and Regards
Senthil
Ken Tucker [MVP] wrote:
Hi,

Take a look at the sql compact edition now in release canidate.
Sql Compact edition has some nice features for sync with sql server. It
should be out by the end of the year.

http://blogs.msdn.com/stevelasker/ar...-released.aspx

http://blogs.msdn.com/stevelasker/ar...whereInfo.aspx

http://blogs.msdn.com/stevelasker/ar...eSnipetts.aspx

Ken
-----------------------
"Senthil" <se************ @gmail.comwrote in message
news:11******** **************@ j44g2000cwa.goo glegroups.com.. .
Hi All
We are having a VB application on SQL. But we need to collect
information from persons who will be offline to verify data and insert
new data. Generally they will be entering the data in Excel spread
sheets which can be uploaded to the database using the application
after some validations.
>
But rather than Excel I was looking at Infopath with Access as the
database, to create validation rules and collect data offline that can
be submitted at a later stage when the user is back online. But the
reporting tool is not serving the purpose.
Rather Can i build a VB.Net application that comes with Access data
base embedded in it in the installer so that even when the user is
offline we can get him the reports and enable him to update or enter
new data through the grids?? And later we can easily gather the data to
SQL by just importing using DTS.
Or is there any other better approach? Please advice.
>
Thanks
Senthil
>
Dec 1 '06 #4
Senthil

I have done exactly what you are asking about ... for a construction company
.... about 4 years ago ... and is still in production!

Tips:

Build one user interface that points to either you SQL Server database (when
connected) or to the MS Access Database file when not connected...bui ld the
necessary functionality in your DAL to deal with difference between the two
database technologies (dates inclosed with # for access and ' for sql
server)...

Build custom synchronization routines to deal with 'data exchange /
transfer' ... this will allow you to run 'out-of-sync' versions between
remote users and the office ... the synchronization routine will adjust and
alert the user accordingly when uploading data from XML files (xml files to
be used for data exchange). This gives you a lot more control over data
exchange and makes it really easy to accomodate other data sources for
importing.

Why 'out-of-sync' version! Because there WILL be times when you need to get
an update out ... but you can not feasibly locate (access) all the remote
users...however , these remote users will still be sending you data ...
Example .... situation ... remote construction crew using satelite phones
for communication ... you do not want to be sending them a 20meg file that
takes 2 hours to download (if the connection is not dropped) ... @ 2 bucks a
minute ... if the update has nothing to do with them! By building version
control in you exchange process, you can easily deal with this! I can make
changes to the database schema and not worry about the exchange process ....
the exchange manager I build will automatically deal with these changes on
export and import.

Basically, user starts application ... program checks for connectivity to
network ... is it there ...
yes ... update interface ... update local MDB ... prompt user if they want
to connect to their local database or the server ...
no ... connect the user to their local MDB file...work as normal...

User wants to 'exchange' data - synchronize it ... push it to the server...
....start exchange program .... produce identified xml documents...now ...the
user either...
- emails files to a company email account used to manage incoming files ...
program on the server that checks for and processes any new incoming data
files...
- saves the files to a know folder for immediate processing...

....for pulling data from the server ... user either...
- uses the program to build a 'request queue' (i.e. all new projects in
Alberta for Client XYZ, Updated Employee List, Updated Equipment List and
Maintenance Work ORders for Equipment Unit 123, Unit 12344, Unit 123344) ...
Email sent to the manage email account ... email is processed ... program
sends back a compressed XML file with the data....user gets email ... loads
data done...

- if user is connected to the network ... click a button ...update database!

Hope this gives you some ideas ... for more specifics ... jus task.

Jeff.

either email them to the office or save the


"Senthil" <se************ @gmail.comwrote in message
news:11******** **************@ l12g2000cwl.goo glegroups.com.. .
Hi Ken/All,
Thanks for the update man. That is very interesting stuff. But
what I plan is giving an installer to the client that will install the
Application and the database needed for it(incase of MDB i can load the
MDB with tables). But as far as I have worked with SQL, first we need
to install SQL server and restore the database backup in the system. So
the user has to install the SQL compact and then has to do a backup of
the database! Can I do this also in the installer?? (I preferred ACCESS
just to short cut this procedure as I cannot force the user to install
a lot)

Thanks and Regards
Senthil
Ken Tucker [MVP] wrote:
>Hi,

Take a look at the sql compact edition now in release
canidate.
Sql Compact edition has some nice features for sync with sql server. It
should be out by the end of the year.

http://blogs.msdn.com/stevelasker/ar...-released.aspx

http://blogs.msdn.com/stevelasker/ar...whereInfo.aspx

http://blogs.msdn.com/stevelasker/ar...eSnipetts.aspx

Ken
-----------------------
"Senthil" <se************ @gmail.comwrote in message
news:11******* *************** @j44g2000cwa.go oglegroups.com. ..
Hi All
We are having a VB application on SQL. But we need to collect
information from persons who will be offline to verify data and insert
new data. Generally they will be entering the data in Excel spread
sheets which can be uploaded to the database using the application
after some validations.

But rather than Excel I was looking at Infopath with Access as the
database, to create validation rules and collect data offline that can
be submitted at a later stage when the user is back online. But the
reporting tool is not serving the purpose.
Rather Can i build a VB.Net application that comes with Access data
base embedded in it in the installer so that even when the user is
offline we can get him the reports and enable him to update or enter
new data through the grids?? And later we can easily gather the data to
SQL by just importing using DTS.
Or is there any other better approach? Please advice.

Thanks
Senthil

Dec 1 '06 #5
"Senthil" <se************ @gmail.comwrote in news:1164977472 .565260.149500
@l12g2000cwl.go oglegroups.com:
But as far as I have worked with SQL, first we need
to install SQL server and restore the database backup in the system. So
the user has to install the SQL compact and then has to do a backup of
the database! Can I do this also in the installer??
You can run a SQL script to build the tables, or ship the database with the
installer.
Dec 1 '06 #6
Hi All

@Jeff That makes a lot of sense. Thanks for putting in your valuable
time for thefeedback.
@Ken The Everywhere edition looks good. Will try to get that installed
and check and if works that will make my job a lot easier.

Thanks and Regards
Senthil
Spam Catcher wrote:
"Senthil" <se************ @gmail.comwrote in news:1164977472 .565260.149500
@l12g2000cwl.go oglegroups.com:
But as far as I have worked with SQL, first we need
to install SQL server and restore the database backup in the system. So
the user has to install the SQL compact and then has to do a backup of
the database! Can I do this also in the installer??

You can run a SQL script to build the tables, or ship the database with the
installer.
Dec 2 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
285
by: Jeff Dillon | last post by:
We are using SQL2000 back end for our current web-based ASP application, and moving to .NET. We would like a solution where users could connect at the office for example with their laptop (or PDA), sync with the server via a Windows Forms application or similar, then go offline to enter data. Then upon returning to the office, connect and sync. Any .NET tutorials available?
0
1613
by: moko | last post by:
This is a bit long-winded. Can somebody read thru these 2 use cases, and tell me if it is feasible ? :- Use Case : Replication before Offline Synch Scenario 1 : Oracle Server , MSDE client 1. User clicks on 'Go Offline'. System creates a MSDE SQL database in laptop (client), gets the schemas of the tables in Oracle, creates corresponding tables in client's MSDE SQL (mapping Oracle datatypes to SQL
2
2159
by: Steve Miller | last post by:
hello... i am a 'user' of access, meaning, i import excel files, join, and merge....that's about the extent of my expertise with ms-access. my boss wants me to create an access application that will replace our 'excel' version of time reporting. we use ms-access 2000. i have a huge book (mastering access 2000) though the cd is missing. i looked at using the wizard for time reporting, but is was designed for external clients, and the...
3
1743
by: George Durzi | last post by:
I've developed a web based sales contact software for my company. Account managers use the software to record sales activity they've made. Recently, they've been complaining that there are times when they can't use the application, e.g. when they have no internet access, like on a plane. DUH, it's an internet based application!!! Apparently, my boss wants to take this excuse away from them. He realizes and agrees with me that...
2
1646
by: John | last post by:
Hi I need to develop an app in vb 2005 which can work in both offline and online modes and will be running on client laptops. I have listened to the following web cast; http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032271522&EventCategory=3&culture=en-US&CountryCode=US What I need to know is, do the laptops need to have a local version of sql server (mobile, express etc.) to accomplish the offline mode?
5
2022
by: Agnes | last post by:
My client got branch in some small city, their network connection is not stable. He suggest us to change the application" each time user login the system, it will automically d/l the master file into his workstation', so, the querry or searching can be performed in local pc, If the user want to update the account record, It will connect the sql server (located in data centre) and update the data. Does anyone got some idea on it ??...
15
1836
by: limeydrink | last post by:
Hi all, I want to create a mobile field worker data solution. Let me explain... I work for a company that has some software used by call takers to enter information into a database about faults with electrical appliances they manufacture, sell to customers, and then provide maintenance contracts for.
0
1059
by: venkateshg | last post by:
Dear All, I request your suggestion for the following requirement. One of the requirements of my applications is to gather data from multiple vendors about their products - the number of fields vary from 50 to 150 fields. Based on the data collected from all the vendors, my application should consolidate all the inputs and assess the value / criticality / complexity of each product based on the business rules. Also it has to provide...
1
3972
by: GCeaser | last post by:
------- I have also posted this to the microsoft.public.xml group but I am not sure which one it belongs in ------ OK - I have an XML file from a vendor that uses a DTD files as follows: <!DOCTYPE metis PUBLIC "-//METIS/METIS XML 1.2//EN" "http://xml.metis.no/metis12.dtd"> The problem is - currently and periodically - the vendor takes the dtd file offline. Thus, when I am trying to open the XML document in
0
8994
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9555
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9329
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9250
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8247
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6796
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4878
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3315
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.