|
-
Mar 9th, 2003, 03:02 PM
#1
Thread Starter
Junior Member
Problem1: Data Report is not refresh
Data Report is not refresh until i reload the program
The following is my code. I have set DE(Data Environment) = Nothing and Invoice (Report Name) = Nothing
==============================================
Code:
szSql = "select contract, DueDate, Amount, Cname, Csur From contract, ar_sub, customer where contract.custid = customer.custid and contract.contractno = ar_sub.contractno and "
szSql = szSql & "ar_sub.subid like '" & SubID & "' and "
szSql = szSql & "month(duedate) like '" & m & "' and "
szSql = szSql & "year(duedate) like '" & Year(Date) & "' "
Invoice.Sections("section2").Controls("lblSub").Caption = Sname
DE.Commands("Invoice").CommandText = szSql
Invoice.Show
Set Invoice = Nothing
Set DE = Nothing
==============================================
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|