GithubHelp home page GithubHelp logo

slabelle001 / vba-import-eport-to-sql-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from spences10/vba-import-eport-to-sql-server

0.0 0.0 0.0 85 KB

Excel with validation for a SQL server backend

License: MIT License

PLpgSQL 95.98% Visual Basic 4.02%

vba-import-eport-to-sql-server's Introduction

VBA Import Export to SQL server

Description

This is an example of using Excel for a front end for SQL server using Excel to validate your data.

It has validation in it to notify the user of the database constraints.

Build

This whole project is solely dependant on you having either a local instance SQL server or a SQL server you can create the sample-model.sql database in.

The files sample-model.slq and sample-data.sql should be used to create the database and data for this project, the scripts were taken from http://www.dofactory.com/sql/sample-database which is a simple database for this project to run from.

Once the database and data scripts have been run then you will need to create the stored procs used by the project spGetAllSupplierProducts.sql, spInsertProducts.sql, spSupplierList.sql and spUpdateProducts.sql.

ImportExport.xlsm is stored as a BLOB instead of being created say via a ps script as it has worksheet controls and some code contained for worksheet events.

You will need to import modImportExport.bas and modValidation.bas, you should then be able to run the Import from the Control sheet of the ImportExport.xlsm workbook.

Still to come

Contributing

Please fork this repository and contribute back using pull requests. Any contributions, large or small, major features, bugfixes and integration tests are welcomed and appreciated but will be thoroughly reviewed and discussed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.