473,672 Members | 2,629 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

I found the answer

Thanks Ana,
That table was just an example to show what I want,
I want one record whenever value of field 1 change
while I sorted records based on value of field 2,
I know it's not a regular SQL question, anyway I
could find a way with Select/Sub-Select and with
Lead and Over (they are analytical functions).
Thanks anyway - Sasan
Jul 19 '05 #1
0 1102

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

Similar topics

5
4584
by: TimS | last post by:
I am getting a baffling File not found error (0x800A0035). I am writing asp on a windows 2000 server. I build a path and filename from several fields in a jet database using SQL commands, like this: Sql = "SELECT dirs.rootname,dirs.dirname FROM dirs" RS.open Sql RS.movefirst do while not RS.EOF temp1=trim(RS("rootname"))
0
778
by: Gidi | last post by:
hello, i was looking for this answer for something like a month and yesterday i found it. my problem was to register my dataGrid cells to event or to respond to events and what i did was to create my own DataGrid calss MydataGrid that inherits from DataGrid and override a process (which some one in this forum showed me how to do few months ago...) and to create in my form a dataGrid of the type MydataGrid. the code is: protected...
8
1958
by: Frank | last post by:
Hello, I have usercontrol dll. If I reference it in the calling application with local copy=true it works fine. If I set local copy to false. I get an error saying the dll cannot be found. What do I have to set to ensure the dll in the bin of the usercontrol is used? The reference path in the projectproperties refers to that bin. Someplace else I have to set something? Thanks Frank
1
3805
by: hendy | last post by:
Dear all, i'm using windows XP, IIS 5.1, Visual .NET 2003 and SQL Server 2000. When I open New Project - Visual C# Projects - ASP .NET Web Service - Location : http://localhost/WebService1 After that i click OK, then it returns error
13
31385
by: =?Utf-8?B?S2VzdGZpZWxk?= | last post by:
Hi Our company has a .Net web service that, when called via asp.net web pages across our network works 100%! The problem is that when we try and call the web service from a remote machine, one outside of our domain, we get the error.. ** Client found response content type of 'text/html; charset=Windows-1252', but expected 'text/xml' **. We can discover the web service by typing in the url of the asmx so we know the server can 'see' it...
22
1870
by: tomb | last post by:
I am generating a form dynamically through AJAX. The form and the data come in very nicely, but my reset button doesn't do anything. There are 3 other buttons that call javascript functions - they work fine. Just the reset button seems to be dead. The form is inserted into a Div using AJAX. Here are my form details: <form id="clientform" name="clientform"> <table> <tr> <td>Name:</td>
3
1205
by: pbrunson | last post by:
For two days I have tried every combination of code I could find / think of. I have a simple update I want to do to a field, but I am getting a data type miss match error when I set the WHERE to a varable. Here is what I have; Dim MyID As Integer MyID = UserName.GetUserName() DoCmd.RunSQL "UPDATE tblEmployees SET ='" & Me.txtNewPassword.Value & "' WHERE ='" & MyID & "';" The function GetUserName() works everywhere else I use it. ...
1
1983
by: ronnysaid | last post by:
Hi all, I was wondering if there is a way to get the range from the frozen panes in excel using interop v.12?? Or is there a property associated with the range indicating its frozen or not?? the only thing i could accomplish is to select a range then check ActiveWindow.FreezePanes, but this will return true if you have any range frozen other than the selected one, so i want to get the range from the current Frozen panes. Thanks in...
13
44333
by: dantebothermy | last post by:
Hi all: On Access 2003: I have a tabular form with labels next to the associated fields. I'd like them both to dissappear when the associated field is null. ("Can Shrink" will do this for the field, but the label is still there, so the report does not shrink.) Any ideas how I can make the label shrink too? Thanks,
2
1766
by: bmerlover | last post by:
Hello, I have written my code in Visual C++ using .NET Framework. I have several checkboxes on my GUI and I would like to give the user the option of saving the current state of the checkboxes. I took care of the save file, now the loading of the file is where I have my problem. The checkbox names are saved in the file, when the user loads this file back into the GUI, I read the checkbox names line by line and I am suppose to check whatever...
0
8931
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
8828
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
8680
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
7446
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
6238
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
5705
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
4227
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...
0
4418
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1816
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.