Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB Databases
|
Pro VB Databases Advanced-level VB coding questions specific to using VB with databases. Beginning-level questions or issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 14th, 2004, 12:12 PM
Registered User
 
Join Date: Sep 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default upload a xls file into database blob column


Hi All,

I am having an Excel file(..abc.xls) with 'Submit' button on one of the Sheets. When User Clicks that button, I need to upload the entire excel file ( means the abc.xls file) which he is working into Sybase SQL Anywhere database table with blob column. I have defined a ODBC Driver to connect to Database.

My idea of doing it... save the existing excel file into some temp dir as abc1.xls and upload that file into database... and then delete that abc1.xls file. But I am not sure whether this is right way or there exist a better way of doing it.

Please guide me to complete this task... I am not so good at VBA Programming as of now.. Please provide me some sample code also.. if possible... or give me some book reference to learn thru.

Thanks in advance for all your help.

Thanks,
G S.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Download - file from Database [Blob field] -JSP lapog Pro JSP 10 January 20th, 2011 05:19 PM
BLOB: file is empty after retrieving blob data thr taraprasad Pro JSP 0 May 22nd, 2008 10:02 AM
How to Images in Blob Column nishuaneja Classic ASP Databases 1 August 26th, 2007 11:14 AM
Upload .xls file to SQL Server bubberz ASP.NET 1.0 and 1.1 Basics 2 August 22nd, 2005 05:20 AM
Asp.net upload Excel Column to Database Patrick19 VB.NET 0 April 18th, 2005 02:56 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.