Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / March 2005

Tip: Looking for answers? Try searching our database.

How to Sort record while bringing back on form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Wahab - 08 Mar 2005 11:09 GMT
Hi
I've form which I'm using for new input and for edit too, this form consist
of srlNo field where i m  writng transction nos like 1 2 3 and soon. This
form is based on recordset
strSQL = "SELECT * FROM [DataSub]WHERE DocumentNo =" & DocumentNo & ";"      
 
Me.RecordSource = strSQL
my problem is while briging back the record I want  the records must appear
in sequence  like 1,2,3 but now im geting 1,3,2 any help
thanks in advance.
David Cleave - 08 Mar 2005 12:05 GMT
Hi

Is this not what you want?:

strSQL = "SELECT * FROM [DataSub] WHERE DocumentNo =" & DocumentNo & " ORDER
BY [srlNo];"  

> Hi
> I've form which I'm using for new input and for edit too, this form consist
[quoted text clipped - 6 lines]
> in sequence  like 1,2,3 but now im geting 1,3,2 any help
> thanks in advance.
Wahab - 09 Mar 2005 11:47 GMT
Thank you very much Mr. David , It works - exactly Wahat I want and job done
too!

> Hi
>
[quoted text clipped - 13 lines]
> > in sequence  like 1,2,3 but now im geting 1,3,2 any help
> > thanks in advance.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.