473,804 Members | 2,272 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

COPY A RECORDSET WILL NO LONGER COPY!

Hi!
This is a routine for copying a recordset into a new order.
It has worked fine under Win98. However, my client has changed to
Win XP, and suddenly it doesn't work anymore. I keep getting the
following error message: Object is not in collection.

So I do a very thorough check and doublecheck of fieldnames from underlying
table, tblOrderDetails . I even write them down in NotePad, and compares them...
but there is no difference. I even check the table and the forms controlsource
and the fields controlsource, names etc., almost everything else I can think of...

Could this be due to win XP? Have even tested with Win 2000, and the same
thing happens. Anybody that can tell me what I'm missing?

Here's the routine, originally suggested by A. Kallal, and it
has been going steadily under win 98:

Dim rs As DAO.Recordset
'Of course I have the reference to Microsoft DAO 3.6 checked
'and everything else as on the win98 machine...
Dim sqlNew As String
Dim lngNewOrderID As Long

If (Me!chkDeleted. Value = True) Then
MsgBox "YOU ARE NOT ALLOWED TO COPY A DELETED ORDER!"
DoCmd.CancelEve nt
ElseIf (Me!chkDeleted. Value = False) Then

If MsgBox("You are about to copy this invoice." & Chr(13) _
& "All data will be copied to new invoice," & Chr(13) _
& "but is given a new invoicenumber." & Chr(13) _
& Chr(13) _
& "Sure you will continue?", vbExclamation + vbYesNo, "COPY INVOICE!") = vbYes Then

Me.Refresh

Set rs = Me.RecordsetClo ne
With rs
.AddNew
'But no new Customer are added, only new invoicenumber!
!CustID = Me!CustID
.Update
End With

rs.Bookmark = rs.LastModified
lngNewOrderID = rs!InvoiceID

sqlNew = "INSERT INTO tblOrderDetails ( _
ItemID,Amount,D iscount,UnitPri ce,Fee,InvoiceI D) " & _
"SELECT ItemID,Amount,D iscount,UnitPri ce,Fee," & lngNewOrderID & _
'Give a space to end lngNewOrderID
" FROM tblOrderDetails " & _
"WHERE InvoiceID= " & Me!InvoiceID

CurrentDb.Execu te sqlNy, dbFailOnError

End If
End If

How can I write an error-trapping code to see what happens after
Me.Refresh
and after the sqlNew-thing?

Questions, questions...Ooo hh...the bells, the bells, Are they ringing for me?
Nov 13 '05 #1
6 1797
May I assume that sqlNy is a typo, and that in your code it's sqlNew?

Open your code window, and put your cursor on the line where you want code
execution to break.
Click Debug - ToggleBreakPoin t to set a breakpoint.

Run the code.
It will stop at your breakpoint.
Each time you hit the F8 key, another line of code will execute.

While the code is in break mode, you can see the value of many variables
just by hovering your cursor over them in code.
If a variable doesn't respond to this treatment,
copy it to the clipboard,
open the immediate window, (ctl-G)
type ? and paste the variable name
then hit Enter.
The value of the variable should appear in the immediate window.

At the very least, by stepping through with F8, you should be able to
determine which line of code is causing the error.
Post that to this newsgroup, and your chances of getting a helpful reply
will increase greatly!

HTH
- Turtle

"Geir Baardsen" <ge***********@ hotmail.com> wrote in message
news:35******** *************** ***@posting.goo gle.com...
Hi!
This is a routine for copying a recordset into a new order.
It has worked fine under Win98. However, my client has changed to
Win XP, and suddenly it doesn't work anymore. I keep getting the
following error message: Object is not in collection.

So I do a very thorough check and doublecheck of fieldnames from underlying table, tblOrderDetails . I even write them down in NotePad, and compares them... but there is no difference. I even check the table and the forms controlsource and the fields controlsource, names etc., almost everything else I can think of...
Could this be due to win XP? Have even tested with Win 2000, and the same
thing happens. Anybody that can tell me what I'm missing?

Here's the routine, originally suggested by A. Kallal, and it
has been going steadily under win 98:

Dim rs As DAO.Recordset
'Of course I have the reference to Microsoft DAO 3.6 checked
'and everything else as on the win98 machine...
Dim sqlNew As String
Dim lngNewOrderID As Long

If (Me!chkDeleted. Value = True) Then
MsgBox "YOU ARE NOT ALLOWED TO COPY A DELETED ORDER!"
DoCmd.CancelEve nt
ElseIf (Me!chkDeleted. Value = False) Then

If MsgBox("You are about to copy this invoice." & Chr(13) _
& "All data will be copied to new invoice," & Chr(13) _
& "but is given a new invoicenumber." & Chr(13) _
& Chr(13) _
& "Sure you will continue?", vbExclamation + vbYesNo, "COPY INVOICE!") = vbYes Then
Me.Refresh

Set rs = Me.RecordsetClo ne
With rs
.AddNew
'But no new Customer are added, only new invoicenumber!
!CustID = Me!CustID
.Update
End With

rs.Bookmark = rs.LastModified
lngNewOrderID = rs!InvoiceID

sqlNew = "INSERT INTO tblOrderDetails ( _
ItemID,Amount,D iscount,UnitPri ce,Fee,InvoiceI D) " & _
"SELECT ItemID,Amount,D iscount,UnitPri ce,Fee," & lngNewOrderID & _
'Give a space to end lngNewOrderID
" FROM tblOrderDetails " & _
"WHERE InvoiceID= " & Me!InvoiceID

CurrentDb.Execu te sqlNy, dbFailOnError

End If
End If

How can I write an error-trapping code to see what happens after
Me.Refresh
and after the sqlNew-thing?

Questions, questions...Ooo hh...the bells, the bells, Are they ringing for

me?
Nov 13 '05 #2
Hi, Geir.

As Turtle points out, there's a typo in the code that you have posted. I
suspect that you copied and pasted it verbatim from your code module that is
no longer working in Windows XP. If this is the case, then a simple "Option
Explicit" and compile operation would have allowed you to immediately see
the variable where the typo occurred and to quickly fix it.

For Tom Wickerath's recommendations for setting "Option Explicit" to help
you avoid future errors due to typos, as well as other advice on settings
for your VB Editor, please see this Web page:

http://www.access.qbuilt.com/html/ge...tml#VBEOptions

HTH.

Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips.

(Any human can read my reply E-mail address and should alter it so that a
message will be forwarded to me. Spammers are free to use my UNALTERED
reply E-mail address. I will *never* get those messages!)
"MacDermott " <ma********@nos pam.com> wrote in message
news:pE******** *******@newsrea d2.news.atl.ear thlink.net...
May I assume that sqlNy is a typo, and that in your code it's sqlNew?

Open your code window, and put your cursor on the line where you want code
execution to break.
Click Debug - ToggleBreakPoin t to set a breakpoint.

Run the code.
It will stop at your breakpoint.
Each time you hit the F8 key, another line of code will execute.

While the code is in break mode, you can see the value of many variables
just by hovering your cursor over them in code.
If a variable doesn't respond to this treatment,
copy it to the clipboard,
open the immediate window, (ctl-G)
type ? and paste the variable name
then hit Enter.
The value of the variable should appear in the immediate window.

At the very least, by stepping through with F8, you should be able to
determine which line of code is causing the error.
Post that to this newsgroup, and your chances of getting a helpful reply
will increase greatly!

HTH
- Turtle

"Geir Baardsen" <ge***********@ hotmail.com> wrote in message
news:35******** *************** ***@posting.goo gle.com...
Hi!
This is a routine for copying a recordset into a new order.
It has worked fine under Win98. However, my client has changed to
Win XP, and suddenly it doesn't work anymore. I keep getting the
following error message: Object is not in collection.

So I do a very thorough check and doublecheck of fieldnames from underlying
table, tblOrderDetails . I even write them down in NotePad, and compares

them...
but there is no difference. I even check the table and the forms

controlsource
and the fields controlsource, names etc., almost everything else I can

think of...

Could this be due to win XP? Have even tested with Win 2000, and the same thing happens. Anybody that can tell me what I'm missing?

Here's the routine, originally suggested by A. Kallal, and it
has been going steadily under win 98:

Dim rs As DAO.Recordset
'Of course I have the reference to Microsoft DAO 3.6 checked
'and everything else as on the win98 machine...
Dim sqlNew As String
Dim lngNewOrderID As Long

If (Me!chkDeleted. Value = True) Then
MsgBox "YOU ARE NOT ALLOWED TO COPY A DELETED ORDER!"
DoCmd.CancelEve nt
ElseIf (Me!chkDeleted. Value = False) Then

If MsgBox("You are about to copy this invoice." & Chr(13) _
& "All data will be copied to new invoice," & Chr(13) _
& "but is given a new invoicenumber." & Chr(13) _
& Chr(13) _
& "Sure you will continue?", vbExclamation + vbYesNo, "COPY INVOICE!") =

vbYes Then

Me.Refresh

Set rs = Me.RecordsetClo ne
With rs
.AddNew
'But no new Customer are added, only new invoicenumber!
!CustID = Me!CustID
.Update
End With

rs.Bookmark = rs.LastModified
lngNewOrderID = rs!InvoiceID

sqlNew = "INSERT INTO tblOrderDetails ( _
ItemID,Amount,D iscount,UnitPri ce,Fee,InvoiceI D) " & _
"SELECT ItemID,Amount,D iscount,UnitPri ce,Fee," & lngNewOrderID & _
'Give a space to end lngNewOrderID
" FROM tblOrderDetails " & _
"WHERE InvoiceID= " & Me!InvoiceID

CurrentDb.Execu te sqlNy, dbFailOnError

End If
End If

How can I write an error-trapping code to see what happens after
Me.Refresh
and after the sqlNew-thing?

Questions, questions...Ooo hh...the bells, the bells, Are they ringing

for me?

Nov 13 '05 #3
Hi!
Thank you for good advices. I did it all. I checked the typo. There's
no typo, just me writing too fast when copying to the group. The code
is as I got it from the suggestion of A.Kallal, so it should work as
under win98. However, I did as McDermot explained , pasted and run in
the immediate window, and here is the result, commented at codelines:
Dim rs As DAO.Recordset
Dim sqlNew As String
>>>'No typo Dim lngNewOrderID As Long
>'Taking away the checking if this order is deleted, for sake of >>>>>>>'simplic ity while checking code If MsgBox("You are about to copy this invoice." & Chr(13) _
& "All data will be copied to new invoice," & Chr(13) _
& "but is given a new invoicenumber." & Chr(13) _
& Chr(13) _
& "Sure you will continue?", vbExclamation + vbYesNo, "COPY INVOICE!") = vbYes Then
Me.Refresh
>>'And here I get: ?Me.Refresh "Expected function or variable"
Set rs = Me.RecordsetClo ne
With rs
.AddNew
'But no new Customer are added, only new invoicenumber!
!CustID = Me!CustID
.Update
End With

rs.Bookmark = rs.LastModified
lngNewOrderID = rs!InvoiceID

sqlNew = "INSERT INTO tblOrderDetails ( _
ItemID,Amount,D iscount,UnitPri ce,Fee,InvoiceI D) " & _
"SELECT ItemID,Amount,D iscount,UnitPri ce,Fee," & lngNewOrderID & _
'Give a space to end lngNewOrderID
" FROM tblOrderDetails " & _
"WHERE InvoiceID= " & Me!InvoiceID
>>>'And here I get: "False"
CurrentDb.Execu te sqlNy, dbFailOnError
>>'And here I get: ? CurrentDb.Execu te sqlNy, dbFailOnError "Argument not >>>>>>>'optiona l"
End If


And when setting a breakpoint, the code breaks on the line: Me.Refresh

Thank you for patience. If you think you can help me, please do.
Anyway..I learned to work with the code-editor in a way I never have
done before. :-)
Nov 13 '05 #4
Me.refresh won't work in the immediate window.

"Me" is a reference to a form, and that line will only
work inside the code module of a form.

(david)

"Geir Baardsen" <ge***********@ hotmail.com> wrote in message
news:35******** *************** **@posting.goog le.com...
Hi!
Thank you for good advices. I did it all. I checked the typo. There's
no typo, just me writing too fast when copying to the group. The code
is as I got it from the suggestion of A.Kallal, so it should work as
under win98. However, I did as McDermot explained , pasted and run in
the immediate window, and here is the result, commented at codelines:
> Dim rs As DAO.Recordset
> Dim sqlNew As String
>>>>'No typo Dim lngNewOrderID As Long
>>'Taking away the checking if this order is deleted, for sake of
>>>'simplic ity while checking code If MsgBox("You are about to copy this invoice." & Chr(13) _
> & "All data will be copied to new invoice," & Chr(13) _
> & "but is given a new invoicenumber." & Chr(13) _
> & Chr(13) _
> & "Sure you will continue?", vbExclamation + vbYesNo, "COPY INVOICE!") =
vbYes Then
>
> Me.Refresh
>>>'And here I get: ?Me.Refresh "Expected function or variable"
> Set rs = Me.RecordsetClo ne
> With rs
> .AddNew
> 'But no new Customer are added, only new invoicenumber!
> !CustID = Me!CustID
> .Update
> End With
>
> rs.Bookmark = rs.LastModified
> lngNewOrderID = rs!InvoiceID
>
> sqlNew = "INSERT INTO tblOrderDetails ( _
> ItemID,Amount,D iscount,UnitPri ce,Fee,InvoiceI D) " & _
> "SELECT ItemID,Amount,D iscount,UnitPri ce,Fee," & lngNewOrderID & _
> 'Give a space to end lngNewOrderID
> " FROM tblOrderDetails " & _
> "WHERE InvoiceID= " & Me!InvoiceID
>>>>'And here I get: "False"
> CurrentDb.Execu te sqlNy, dbFailOnError
>>>'And here I get: ? CurrentDb.Execu te sqlNy, dbFailOnError "Argument

not >>>>>>>'optiona l" > End If
>


And when setting a breakpoint, the code breaks on the line: Me.Refresh

Thank you for patience. If you think you can help me, please do.
Anyway..I learned to work with the code-editor in a way I never have
done before. :-)

Nov 13 '05 #5
Just a hunch:

Try substituting vbCrLf for Chr(13) throughout the MsgBox call immediately
preceding Me.Refresh.

HTH
- Turtle

"Geir Baardsen" <ge***********@ hotmail.com> wrote in message
news:35******** *************** **@posting.goog le.com...
Hi!
Thank you for good advices. I did it all. I checked the typo. There's
no typo, just me writing too fast when copying to the group. The code
is as I got it from the suggestion of A.Kallal, so it should work as
under win98. However, I did as McDermot explained , pasted and run in
the immediate window, and here is the result, commented at codelines:
> Dim rs As DAO.Recordset
> Dim sqlNew As String
>>>>'No typo Dim lngNewOrderID As Long
>>'Taking away the checking if this order is deleted, for sake of
>>>'simplic ity while checking code If MsgBox("You are about to copy this invoice." & Chr(13) _
> & "All data will be copied to new invoice," & Chr(13) _
> & "but is given a new invoicenumber." & Chr(13) _
> & Chr(13) _
> & "Sure you will continue?", vbExclamation + vbYesNo, "COPY INVOICE!") =
vbYes Then
>
> Me.Refresh
>>>'And here I get: ?Me.Refresh "Expected function or variable"
> Set rs = Me.RecordsetClo ne
> With rs
> .AddNew
> 'But no new Customer are added, only new invoicenumber!
> !CustID = Me!CustID
> .Update
> End With
>
> rs.Bookmark = rs.LastModified
> lngNewOrderID = rs!InvoiceID
>
> sqlNew = "INSERT INTO tblOrderDetails ( _
> ItemID,Amount,D iscount,UnitPri ce,Fee,InvoiceI D) " & _
> "SELECT ItemID,Amount,D iscount,UnitPri ce,Fee," & lngNewOrderID & _
> 'Give a space to end lngNewOrderID
> " FROM tblOrderDetails " & _
> "WHERE InvoiceID= " & Me!InvoiceID
>>>>'And here I get: "False"
> CurrentDb.Execu te sqlNy, dbFailOnError
>>>'And here I get: ? CurrentDb.Execu te sqlNy, dbFailOnError "Argument

not >>>>>>>'optiona l" > End If
>


And when setting a breakpoint, the code breaks on the line: Me.Refresh

Thank you for patience. If you think you can help me, please do.
Anyway..I learned to work with the code-editor in a way I never have
done before. :-)

Nov 13 '05 #6
Hi, there all!
When putting your head in a bucket of water, sometimes it says 'pling'!

So, here is how I seems to have solved the riddle:

I declared: Dim lngCustID as Long
lngCustID = Me!CustID

and instead of:

With rs
> > .AddNew
> > 'But no new Customer are added, only new invoicenumber!
> > !CustID = Me!CustID
> > .Update
> > End With
I wrote:

With rs > > .AddNew
> > 'Now customer is added!
> > !CustID = lngCustID
> > .Update
> > End With

and now it works. Can U understand it???????????:-)

Thanks for all suggestions!

"MacDermott " <ma********@nos pam.com> wrote in message news:<Z2******* *********@newsr ead2.news.atl.e arthlink.net>.. .
Just a hunch:

Try substituting vbCrLf for Chr(13) throughout the MsgBox call immediately
preceding Me.Refresh.

HTH
- Turtle

"Geir Baardsen" <ge***********@ hotmail.com> wrote in message
news:35******** *************** **@posting.goog le.com...
Hi!
Thank you for good advices. I did it all. I checked the typo. There's
no typo, just me writing too fast when copying to the group. The code
is as I got it from the suggestion of A.Kallal, so it should work as
under win98. However, I did as McDermot explained , pasted and run in
the immediate window, and here is the result, commented at codelines:
> > Dim rs As DAO.Recordset
> > Dim sqlNew As String
>>>>>>'No typo


Dim lngNewOrderID As Long
'Taking away the checking if this order is deleted, for sake of>>>>'simplic ity while checking code > If MsgBox("You are about to copy this invoice." & Chr(13) _
> > & "All data will be copied to new invoice," & Chr(13) _
> > & "but is given a new invoicenumber." & Chr(13) _
> > & Chr(13) _
> > & "Sure you will continue?", vbExclamation + vbYesNo, "COPY INVOICE!") =
vbYes Then > >
> > Me.Refresh
> >>>'And here I get: ?Me.Refresh "Expected function or variable"
> > Set rs = Me.RecordsetClo ne
> > With rs
> > .AddNew
> > 'But no new Customer are added, only new invoicenumber!
> > !CustID = Me!CustID
> > .Update
> > End With
> >
> > rs.Bookmark = rs.LastModified
> > lngNewOrderID = rs!InvoiceID
> >
> > sqlNew = "INSERT INTO tblOrderDetails ( _
> > ItemID,Amount,D iscount,UnitPri ce,Fee,InvoiceI D) " & _
> > "SELECT ItemID,Amount,D iscount,UnitPri ce,Fee," & lngNewOrderID & _
> > 'Give a space to end lngNewOrderID
> > " FROM tblOrderDetails " & _
> > "WHERE InvoiceID= " & Me!InvoiceID
> >>>>'And here I get: "False" CurrentDb.Execu te sqlNy, dbFailOnError > >>>'And here I get: ? CurrentDb.Execu te sqlNy, dbFailOnError "Argument not >>>>>>>'optiona l" > > End If
> >

Nov 13 '05 #7

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

Similar topics

8
15253
by: Hung Huynh | last post by:
Hi, I'm trying to use either one of these methods to position the cursor in a specific position inside a recordset, but neither one seems to work. For example, I have 10 records in my rsData recordset, and I issue this command rsData.Move 5, 1 'move to #5 from beginning
11
2345
by: Sam Wilson [Bentley] | last post by:
If you pass a C++ object by value as an argument to a function which has a variable-length argument list (...), the MSVC7 C++ compiler does not call the object's copy constructor and will not complain if the copy constructor is private. 1) Is this part of the C++ language definition? What is the thinking behind it? 2) In any case, how can I catch at compile time any callers that try to
3
8376
by: Tlm | last post by:
Hello All, I have a form (FrmA) with a subform (SubFrmB) embedded in it. SubFrmB also has a subform embedded in it (SubFrmC) The form's recordsource is based on a table (TblA). SubFrmB's recordsource is also based on a table (TblB). SubFrmC's recordsource is also based on a table (TblC). There is a one-to-many relationship between TblA (one) and TblB (many).
1
1766
by: Geir Baardsen | last post by:
Hi! As you can see I have worked with my code and done some changes. Now the code will execute, because of this, and because I took away some code in the OnCurrent event that was probably causing a clash. It does in fact copy the new Invoice number and the data from tblOrderDetails, but still missing is the CustID-field, that it refuses to copy. The CustID-field is a Combobox on frmOrders, and is by no way locked or... I again have...
1
4646
by: ora06 | last post by:
Hi everybody I am a newcomer in VC++ developement I work VC with Oracle database I want to manipulate the database with ADODB After connected , i do as follow: ------------------------ recordset->Open("INSERT INTO other_info(card_id) VALUES (200)",connection.GetInterfacePtr(),adOpenForwardOnly,adLockReadOnly,adCmdText);
2
3512
by: Jim M | last post by:
I rarely deal with recordsets directly with code, since I usually use Access queries, so be patient with this question. I want to open a recordset with various default variables used by my program. I tried: Public Sub OpenDefaults() Dim db As dao.Database Dim globalRst As dao.Recordset Set db = CurrentDb() Set globalRst = db.OpenRecordset("tblDefaults") End Sub
4
4979
by: Jim Devenish | last post by:
I wish to copy a table on a SQL Server backend to a table on an Access (.mdb) front end in the simplest way. I have the following to get the recordset but am seeking something easier. Dim theConnectionString theConnectionString = "Driver=SQL Server; Server=Server;Database=myData;Trusted_Connection=Yes"
3
9249
by: Richnep | last post by:
Hi all, I have tabbed subforms where I need to copy one field value from one subform over to another subform. Although I can run an update query to accomplish this I would like to do it through VBA. sub tables relationships are 1:N with the main table. So the recods display like this in the subform:
4
2720
by: =?Utf-8?B?R1ROMTcwNzc3?= | last post by:
Hi Guys, thanks for your help yesterday, I've got one more question, then I think I'm done for now,... Is it possible to insert recordset data in a javascript, for instance I have a javascript code that calculates the total price, depending on number of units, currently what the code does is set the price like so - if qty 1 then £99+VAT if qty equall to or greater than 2 and equall to or less than 9 then price =
0
9594
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10599
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...
0
10346
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10090
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
9173
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
7635
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
6863
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5531
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4308
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

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.