Hi,
is it possible to see the actual SQL command which is sent to Acces when
using an OleDbDataAdapte r?
Al I can see now is that an update command failed.
Why, is not told.
Thanks in advance,
Ben 4 1003
Ben de Vette wrote: is it possible to see the actual SQL command which is sent to Acces when using an OleDbDataAdapte r? Al I can see now is that an update command failed. Why, is not told.
Ben,
Open the DataAdapter's UpdateCommand property, then drill down
on the SQL Update command that being used.
Note if you were using MSDE or SQL Server, you could use the
SQL Server Profile tool to see the actual command being sent.
But with Access, you are limited...
--
Thanks,
Carl Prothman
Microsoft ASP.NET MVP
Carl,
I already found this command string, but it is filled with the question mark
sign which still has to be filled with the parameters. I am looking for the
way to see the actual command sent.
Anyone?
Ben
"Carl Prothman [MVP]" <ca****@spamcop .net> wrote in message
news:ew******** ******@TK2MSFTN GP09.phx.gbl... Ben de Vette wrote: is it possible to see the actual SQL command which is sent to Acces when using an OleDbDataAdapte r? Al I can see now is that an update command failed. Why, is not told.
Ben, Open the DataAdapter's UpdateCommand property, then drill down on the SQL Update command that being used.
Note if you were using MSDE or SQL Server, you could use the SQL Server Profile tool to see the actual command being sent. But with Access, you are limited...
--
Thanks, Carl Prothman Microsoft ASP.NET MVP
Hi,
FOUND the problem.
I used a reserved word as a fieldname.
Why o Why is access itself not telling me NOT to use this name :-(
So, as always, the problem is easy, but hard to find.
For the people who want to know the reserved words: http://support.microsoft.com/default...NoWebContent=1
Greetz,
Ben
"Ben de Vette" <Be************ ****@profiler.n l> wrote in message
news:10******** *****@corp.supe rnews.com... Carl,
I already found this command string, but it is filled with the question
mark sign which still has to be filled with the parameters. I am looking for
the way to see the actual command sent.
Anyone? Ben
Yep. Anytime you use (and i advise you do not) but any time you do you
usually have to encase it in Brackets. [Fieldname] Although if one can avoid
reserved words one should.
"Ben de Vette" <Be************ ****@profiler.n l> wrote in message
news:10******** *****@corp.supe rnews.com... Hi,
FOUND the problem. I used a reserved word as a fieldname.
Why o Why is access itself not telling me NOT to use this name :-(
So, as always, the problem is easy, but hard to find. For the people who want to know the reserved words: http://support.microsoft.com/default...NoWebContent=1
Greetz, Ben
"Ben de Vette" <Be************ ****@profiler.n l> wrote in message news:10******** *****@corp.supe rnews.com... Carl,
I already found this command string, but it is filled with the question mark sign which still has to be filled with the parameters. I am looking for the way to see the actual command sent.
Anyone? Ben
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Good Man |
last post by:
Hi there
If I enter the following at the command line, I
successfully get an email sent to the correct name/email:
php /var/www/html/admin/adminscripts/welcome-cli.php
'Me' 'me@me.net'
|
by: BlackFireNova |
last post by:
I am learning Visual Basic as I go, and many times I run across a
command I would like to reference.
Can anyone tell me how I can open the VBA Help Reference portion of
Access directly, without opening access first? Currently I find I have
to open an mdb, then a form or report, then click on the builder, to get
into VBA, then I can access the help to lookup the command info, which
is very combersome.
Alternately, is there a source or...
|
by: Susan Bricker |
last post by:
Is there a way to change the background color of command buttons? I
know that I saw some VBA code somewhere that showed how to do this. I
think it involved making the button transparent and then creating a box
the same size and making it have a color for the background. Although,
I can't visualize the logic or how to kick off the 'click' event with
this overlay sitution. Ok ... I am rambling.
Does anyone have the answer to this one? ...
|
by: Susan Bricker |
last post by:
Is it possible to make command buttons (in forms) have a background
color? Or is there a means to simulate a command button and make it
have a background color and able to kickoff a 'click' event?
Thanks.
Sue
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
|
by: Stephan Steiner |
last post by:
Hi
Generally,
FileInfo fi = new FileInfo(path);
long size = fi.Length;
gets you the length of a file in bytes. However, when copying files, even
while the copy operation is still in progress, the filesize, as indicated in
Windows Explorer or derived with the above two lines of code, will be the
size of the file once the copy operation has completed. Is there a way to
| |
by: Thomas Johnson |
last post by:
I am trying to find out how to access the VS 2003 .Net command prompt. I
am trying to execute the 'csc' command against a module but have no idea
where to find the command prompt. Here's a stupid question --> Could
this actually be the MSDOS CMD prompt that I cann access from the start
run command?? Thanks in advance. . .Tom Johnson
*** Sent via Developersdex http://www.developersdex.com ***
|
by: Ben |
last post by:
Hi!
I already sent this to the ACCESS newsgroup. But since I do not know really
which side is really causing the problem, I have decided to send this
inquiry
to this newsgroup also, if I may.
Below is the environment of the application:
a. MS Access 2003 application running on Windows XP
b. SQL Server 2000 - backend running MS Server 2003 OS
|
by: Ojas |
last post by:
Hi!,
I just out of curiosity want to know how top detect the client side
application under which the script is getting run. I mean to ask the
how to know whether the script is running under Command Prompt or
Browser or some other application?
Ojas.
|
by: Jim Flechsenhaar |
last post by:
Using VB6 in Access I am tryign to link a command window to an access
form or sub form. I have a command button that opens a command window
for pinging a computer that is the active record in the database. what I
would like to imbed that into my form instead of opening a seperate
window.
*** Sent via Developersdex http://www.developersdex.com ***
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
| |
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...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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...
|
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...
|
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();...
|
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...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |