Wrox Programmer Forums
|
VB Databases Basics Beginning-level VB coding questions specific to using VB with databases. Issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Databases Basics 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 28th, 2005, 05:54 PM
Registered User
 
Join Date: Aug 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default mshflexgrid

I want to update data in my dbase III with values in mshflexgrid. When I do that, the dbase III compiler doesn’ t recognize this file as dbaseIII database any more. Is there something that I can do about this?
thanks

If .Fields(j).Name <> "" Then
                    If Not IsNull(MSHFlexGrid1.TextMatrix(i, j)) And (MSHFlexGrid1.TextMatrix(i, j)) <> "" Then 'if the grid value is null, set the field value to "" empty string
                        '.AddNew
                        .Fields(j).Value = CVar(MSHFlexGrid1.TextMatrix(i, j))
                    Else

                        .Fields(j).Value = Null
                    End If
                End If
                j = j + 1
                .Update








Similar Threads
Thread Thread Starter Forum Replies Last Post
MSHFlexGrid Headings Awesomo Beginning VB 6 1 August 6th, 2006 05:21 AM
mshflexgrid kolani Beginning VB 6 0 September 28th, 2005 05:09 PM
MSHFlexgrid slgknjn Beginning VB 6 4 February 25th, 2005 04:07 PM
mshflexgrid jothi Pro VB 6 1 August 12th, 2004 03:40 AM
MSHFlexGrid Sample hello2lu Access VBA 0 July 10th, 2004 11:03 AM





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