Re: MS Access VBA Programming - Queries on the Run - Crystal Report
- From: "alandunn" <u34142@uwe>
- Date: Sun, 13 May 2007 09:25:29 GMT
Hello All
I have a small problem with a MS Access developed in VBA.
The programme is developed as queries on the run using SQL.
I have a number of private forms which are bought together in a global form.
Every thing is OK if I generate a report with the complete database, but if I
select parts of the to selectively sorted database it is calling for
parameters, using the filter.
The code line on the global form with the following command appears as
follows:
Set rst = db.OpenRecordset(marSQL, dbOpenDynaset)
The set rst command shows rst = nothing and the dbOpenDynaset command = 2
These notations appears in the debug mode.
I was wondering if you could help me.
I have completed a number of these programmes in the past without any
problems but now this problem is coming to light.
Regards
Alan Dunn
.
- Prev by Date: Escaped, But Still Dirty
- Next by Date: Re: Escaped, But Still Dirty
- Previous by thread: Escaped, But Still Dirty
- Next by thread: Compaction Code Question Acc2K3/2K format
- Index(es):
Relevant Pages
|