You dont say what is the source of your reports, but you can put this (or something like this) as recordsource
SELECT [chrCompanyID] & [chrModelID] & [chrHullID] & [chrManufactureMonth] & [chrManufactureYear] & [chrModelYear] AS HIN, chrStage AS stage, chrModelID AS ModelID, Order AS INVOICE...
keusch,
You can make an unbound textbox in the form where you want to see the 'Sum' of your remarks and use this code in form's current event
Private Sub Form_Current()
Dim db As DAO.Database
Dim rst As DAO.Recordset
Dim str As String
Set rst = db.OpenRecorset("SELECT remark FROM...
This may help:
SELECT Contacts_Full.ID, Contacts_Full.Address1, Contacts_Full.City, Contacts_Full.ST, Contacts_Full.Zip
FROM Contacts_Full
WHERE (Contacts_Full.Address1 Is Null OR Contacts_Full.City Is Null OR Contacts_Full.ST Is Null OR Contacts_Full.Zip Is Null) AND NOT...
Put this in SQL view of query (delete anything else)
SELECT fname1 & " " & lname1 AS MainAuthor, fname2 & " " & lname2 & ", " & fname3 & " " & lname3 AS Authors FROM Your_Table
No need for programming
Gresford,
Why use page brakes? Make your subreports as thin as possible, put them together and put ForceNewPage property for the footer of subreports to After Section.
ps: It works but debuging this thing may be a nightmare :-). Its usefull if these reports dont change often.
For the first question u can add a subform to your form bound to your table using all the fields. Then put this code in the nodeclick event of the treeview :
Private Sub test_NodeClick(ByVal Node As Object)
Dim strPath As String, strSQL As String
Dim str1 As String, str2 As String, str3 As...
If you use Treeview Control version 5.0 (SP2) make sure that the coresponding reference, Microsoft Windows Common Controls 5.0 (SP2), has higher priority in references from Microsoft Windows Common Controls 6.0 (SP4). On the other hand, if u use Treeview Control version 6.0 (SP4) do the...
Its not the network i think. I got a user seeing this message with a stand-alone computer, with fresh installation (2 months, formating disk, win98, office2000), working only excel, but quite complicated spreadsheets. No solution till now...
ActiveXCtl0 is the name Access gives to the Treeview control by default (and for other ActiveX objects, but now we deal with Treeview :-) ). Replace it with the name u gave to your control.
(Talking about Common Controls 6.0 (SP4) )
Quite complicated but much better :
Private Sub Form_Open(Cancel As Integer)
Dim db As DAO.Database
Dim rst1 As DAO.Recordset, rst2 As DAO.Recordset, rst3 As DAO.Recordset, rst4 As DAO.Recordset
Dim tree As TreeView
Dim n1 As Node, n2 As Node, n3 As Node, n4 As Node
Dim a As Integer, b As...
Put this code in the open event of the form wich has the Treeview control:
Private Sub Form_Open(Cancel As Integer)
Dim db As DAO.Database
Dim rst As DAO.Recordset
Dim tree As TreeView
Dim n1 As Node, n2 As Node, n3 As Node, n4 As Node
Dim x As Integer
Set tree = Me![ActiveXCtl0].Object
Set db...
At the OnClick event of the button
Private Sub OnClick_Button1()
Dim oApp As Word.Application
Dim oDoc As Word.Document
Set db = CurrentDb
Set oApp = CreateObject("Word.Application")
Set oDoc = oApp.Documents.Add("C:\Your_Word_App.doc")
oApp.Visible = True
.
.
do...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.