I need a memory jog.
A long, long time ago...in a galaxy...
no. Really. I remember being able to create a recordset that eliminated duplicate values. Since I am not using a query I cannot use "select distinct..."
I thought there was another method, like creating a group that would not allow...
...Private Sub Command0_Click()
Dim db As DAO.Database
Dim rst As DAO.Recordset
Set db = CurrentDb()
Set rst = db.OpenRecordset("SELECT Table1.* FROM Table1;")
rst.MoveLast
rst.MoveFirst
For Inti = 1 To rst.RecordCount
Select Case rst.Fields(0)
Case Is = Format(rst.Fields(0), "Short...
Is there a way to hide (and unhide) an object (or text) in Powerpoint when a selected piece of text is clicked on?
I know there is an on click event of the text...I just can't figure out the syntax to hide and unhide a separate object on the same slide
...procedure but I'll execute it after I create it.
CREATE PROCEDURE UpdateTable
@StartDate DATETIME,
@EndDate DATETIME
AS
INSERT INTO TABLE2 SELECT * FROM TABLE1
WHERE ActPatInDate BETWEEN @StartDate AND @EndDate;
I intend to pass the criteria when I execute it in VBA. TABLE2 is my sql server...
...procedure but I'll execute it after I create it.
CREATE PROCEDURE UpdateTable
@StartDate DATETIME,
@EndDate DATETIME
AS
INSERT INTO TABLE2 SELECT * FROM TABLE1
WHERE ActPatInDate BETWEEN @StartDate AND @EndDate;
I intend to pass the criteria when I execute it in VBA. TABLE2 is my sql server...
PHV,
I know you sometimes answer a question with a question as a clue to help steer them to the answer.
Is this such a situation?
When I link to the table, it doesn't present the option to select the pk. Nor can I change it once it's in the Access database.
Is there something I'm overlooking?
I see duplicate records in a table where there aren't any.
If I open the linked table I see duplicate records. If I sort the table, the duplicate records don't sort together. If I run a find duplicates query it doesn't find any.
It gets better. If I copy and paste the entire table to Excel...
I have a make table query that creates a new table everyday.
I have tried-
Dim tdf As DAO.TableDef
Dim fld As DAO.Field
Dim db As DAO.Database
Set db = CurrentDb
Set tdf = db.TableDefs("MyTableName")
Set fld = tdf.Fields("MtFieldName")
fld.Properties("Format") =...
Please forgive me but I have searched FAQs and done searches till my eyes are bleeding but I can't seem to find anything to help.
All I want is to be able to have a user click a button and navigate to a folder where they want to save a file to. I tried to use fileopensave but it requires you to...
I am noticing the endusers are leaving temp files behind. i will go into the directory and there will be a dozen tem files db1...db2...db12...etc. This started happening when I checked the compact on close box. I use Access 2003.
Has anyone experienced this before?
...the no filter (nothing selected in the cbo box) isn't working. Anyone see what I'm doing wrong?
Set rstSurg = db.OpenRecordset("SELECT tblMyTable.*, tblMyTable.Dept
FROM tblMyTable
WHERE (((tblMyTable.Dept)=IIf([forms]![frmMyForm]![cboDept]<>'',[forms]![frmMyForm]![cboDept],(tblMyTable.Dept)...
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.