Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA 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 5th, 2012, 11:04 AM
Friend of Wrox
 
Join Date: Jan 2011
Posts: 103
Thanks: 7
Thanked 0 Times in 0 Posts
Default Submitting XLM via VBA

Hi,

I have a database system which submits XML to external source. However It debugging on a line within the VBA code, however I don't understand what the line does. the line is


Code:
    Dim ws As clsws_TiRequestsService
    Set ws = New clsws_TiRequestsService
Can anyone tell me what these lines are doing as I dont understand what clws_TIRequestsService is in VBA? Also is there any reason why it would debug on this line?

If it helps before this line is code to put the data needed into a variable and also define the username and password for the login which is used after this code.

Thank you,

Kind regards

Jeskit
 
Old September 5th, 2012, 11:28 AM
Friend of Wrox
 
Join Date: Jan 2011
Posts: 103
Thanks: 7
Thanked 0 Times in 0 Posts
Default

Hi, an update on my issue is the computer it crashed on had loads of programs open behind. Would this cause a problem?
 
Old September 6th, 2012, 06:44 AM
JP JP is offline
Authorized User
 
Join Date: Apr 2008
Posts: 57
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Those lines are declaring and instantiating an object. That name looks like a custom class.

You should have either a class module with that name, or a project reference to a project with that name.
__________________
Regards,
JP
JP SoftTech





Similar Threads
Thread Thread Starter Forum Replies Last Post
Not sure why the form isn't submitting arholly ASP.NET 3.5 Basics 1 April 1st, 2010 06:21 AM
retriveing data from a XLM file hddavie Classic ASP Basics 6 July 29th, 2009 04:23 PM
Form Submitting cro_crx Beginning PHP 3 January 17th, 2005 01:30 PM
Submitting a form YuliaKupina Classic ASP Basics 3 June 24th, 2004 01:52 AM





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