Home Page link  

HTML Status Window

 

Point-Of-Sale Software - - MS Point Of Sale software discussed here

 Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
HTML Status Window Morcott 03-12-2007
Posted by Morcott on March 12, 2007, 9:36 am
Please log in for more thread options
I am trying to add the Batch Start date to the HTML Status window.
I can get the Batch number using QSRules.Register.Batch.Batchnumber
but
QSrules.Register.Batch.OpeningTime returns nothing

any help appresiated

Greg



Posted by Akber Alwani on March 13, 2007, 2:56 am
Please log in for more thread options
HI Morcott,
You can use the below code to get the batch No, the time it opened.
Set QSRules = qsBridge.RequestQSRules()
strSQL = ""
strSQL = "SELECT Batch.BatchNumber, Batch.OpeningTime From Batch "
strSQL = strSQL & " LEFT JOIN Register ON Batch.RegisterID = Register.ID"
strSQL = strSQL & " WHERE Register.Number =" &
QSRules.Session.Register.Number
strSQL = strSQL & " AND Batch.ClosingTime IS NULL "        
Set Rs = QSRules.Session.Database.OpenRecordset(strSQL, True)

'
'
IF NOT RS.EOF AND NOT RS.BOF THEN        
        Batch = "Batch # " & Rs.Fields("BatchNumber") & " Opened on " &
Rs.Fields("OpeningTime")
END IF
' '
Batch = Batch & " T: "

I appreicate if you rate me please.



"Morcott" wrote:

> I am trying to add the Batch Start date to the HTML Status window.
> I can get the Batch number using QSRules.Register.Batch.Batchnumber
> but
> QSrules.Register.Batch.OpeningTime returns nothing
>
> any help appresiated
>
> Greg
>
>
>

Similar ThreadsPosted
HTML Status Window Question August 21, 2007, 3:32 pm
Display SQL Results in HTML Window March 23, 2008, 2:14 pm
Custom button for Internal html window July 20, 2006, 2:03 am
HTML Status Bar December 1, 2005, 2:30 pm
HTML Status Bar on RMS POS December 9, 2005, 5:28 pm
HTML STATUS BAR September 25, 2006, 9:50 am
HTML Status Bar February 10, 2007, 4:20 pm
html status screen February 3, 2006, 7:30 am
html status screen February 3, 2006, 7:45 am
Add item using HTML Status Bar March 20, 2008, 5:25 pm

Contact Us | Privacy Policy
This site is not affiliated with Intuit - makers of Quickbooks and Quicken software
This site is not affiliated with Sage Software - makers of Peachtree accounting software
XML SitemapXML Sitemap