I have had an experience with a mdb with a single table with more than 1 million 800 thousand records, it was historical information of one year, i was importing it from monthly dbf file, but i couldn't store all the year in a single mdb, so i used two and then design a union query, that really...
Excuse me theres an error,
With RS
'If RS![assignmentnumber] = assignmentnumber
Then
<<THAT BELOW IS WRONG IT MUST BE LIKE THIS>>
<< .FINDFIRST "ASSIGNMENTNUMBER = '" &...
Excuse me theres an error,
With RS
'If RS![assignmentnumber] = assignmentnumber
Then
<<THAT BELOW IS WRONG IT MUST BE LIKE THIS>>
<< .FINDFIRST "ASSIGNMENTNUMBER = '" &...
With RS
'If RS![assignmentnumber] = assignmentnumber Then
<<THAT BELOW IS WRONG IT MUST BE LIKE THIS>>
<< .FINDFIRST "ASSIGNMENTNUMBER = '" &" FORM![YOUR FORM NAME]!ASSIGNMENTNUMBER'"
** WRONG ==>> .FindFirst...
With RS
'If RS![assignmentnumber] = assignmentnumber Then
<<THAT BELOW IS WRONG IT MUST BE LIKE THIS>>
<< .FINDFIRST "ASSIGNMENTNUMBER = '" &" FORM![YOUR FORM NAME].ASSIGNMENTNUMBER'"
** WRONG ==>> .FindFirst...
Well it's a way to do it, the other is using excel round function like this.
dim ex as excel.application
dim nn as long
dim x as integer
x = 3
set ex = createobject("excel.application")
nn = ex.worksheetfunction.round(34567.65,x)
debug.print 34567.65 & nn
set ex = nothing
x represent...
IT WOULD BE BETTER TO SPLIT YOUR DATABASE SO YOU HAVE YOUR DATA IN ONE AND FORMS MODULES, REPORTS AND SO ON IN ANOTHER, THEN EXPORT DEFINITIONS ONLY OF YOUR DATABASE CONTAINING YOUR DATA TO USE IT AS A MASTER COPY SO WHEN YOU NEED AN EMPTY DATABASE YOU COPY THE MASTER GIVING IT A NEW NAME (USE...
ISN'T IT BETTER TO USE A QUERY TO SELECT THE RECORDS NEEDED, INCLUDING THE ORDER BY CLAUSE, MAYBE BY THAT WAY DEPENDING ON SEVERAL THINGS RELATED TO YOUR DESIGN AN YOU SYSTEM REQUIREMENTS YOU ALSO MAY NOT NEED SEVERAL TABLES INSTEAD A SINGLE ONE, USING THE APROPIATE FIELDS AS CRITERIA YOU CAN...
Ok, it's good what waldemar tolds us, but you can also called the function or sub like this, form_myform.updatedisplay or forms!myform.updatedisplay.
Felix A.
THERE ARE SUGESTIONS TO NOT USE FRECUENTLY SENDKEYS, BUT I HAVE USED IT IN SOME SITUATION LIKE YOURS, REQUEST THE DATA YOU NEED TO PASS AS PARAMETERS TO YOUR QURY IN A FORM INCLUDING IN IT THE TEXTBOXES OR CONTROLS YOU NEED THEN USE SENDKEYS TO SEND THE VALUES, NUMBERS AND DATES MUST BE...
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.