Questions tagged [findfirst]
55 questions
0
votes
1 answer
MS Access 2003 findfirst method doesnt work in Load() event of form
After a few days of frustration, I have decided to present this issue here for resolution. Searches through countless forums and help sites have not presented any similar issue. The following details the problem with a FindFirst method in MS…

user3716557
- 41
- 5
0
votes
1 answer
How to see all files and folders including hidden when using Delphi XE5?
I am using the following code to get a list of files and folders. I cannot seem to get the list to include hidden files and folders.
procedure GetAllSubFolders(sPath: String; Listbox: TListbox);
var
Path: String;
Rec: TSearchRec;
begin
try
…

user3510818
- 103
- 1
- 12
0
votes
1 answer
Editable cross-tab query in access 2010 form (how to improve code)
Currently based on some advice from experts, in one form I try present editable cross-tab query like form for displaying values in several columns from flat table (the data is financial data from various periods = FFI_Period for each financial…

registoni
- 3
- 2
- 6
0
votes
0 answers
File search and Open word document algorithm
using code from a tutorial and making various modifications i have got working code for a recursive procedure which searches for a file with a file name which has been entered by the user at a given path and through sub folders when the parameters…

Jeowkes
- 501
- 7
- 20
-1
votes
2 answers
Mysql query to find first using IN clause with preference from left to right
I have a test table with columns(id, title, language)
id: primary_key (auto-increment)
unique_key(composite) on language and title
id
title
language
1
Japanese
JP
2
Australian
AU
3
English
EN
4
Hindi
HI
I would like to have a query…

Another coder
- 360
- 5
- 18
-1
votes
1 answer
There is a way to improve the execution time?
I'm developing a VBA code that is responsible for searching in a excel file the value of a cell (serial number) and its production start date. After that, its searches on a Access databse for that same serial number and writes on the especified…

Andre Tella
- 3
- 2
-1
votes
1 answer
Does Stream#findFirst() (or findAny) shortcircuit a flatmapped stream?
Java 8 Stream#findFirst() is a short-circuiting terminal operation.
Meaning it will stop generating the stream once an element is found (usually used with a filter() operation).
However, I want to know if it will short circuit on a stream created by…

wilmol
- 1,429
- 16
- 22
-1
votes
1 answer
C errors: implicit declaration of function and storage size isn't known, despite the function and struct being members of an included header file
I'm trying to make a test program that simply searches for any file in its root folder:
#include
#include
#include
struct ffblk ffblk;
int main(){
int result = findfirst("*.*", &ffblk,FA_ARCH);
return 0;
}
But…

G. Lucas
- 19
- 1
- 5
-1
votes
2 answers
Swift 3 - MagicalRecord : How use findFirst on empty entitie
I call the MagicalRecord's findFirst() method on an entity which is empty on the first run.
I have the error
EXC_BAD_INSTRUCTION (code=EXC_i386_INVOP...),
and if I insert one line before calling findFirst() method, no error (or if I call…

Anthony
- 73
- 1
- 2
- 6
-2
votes
1 answer
How do I make FindFirst look for files in the current directory?
I'm having trouble writing code for a procedure that will open a directory folder and delete all of the files within it recursively so that I can in turn delete the folder itself. I won't have trouble with the recursive procedure, but I can't seem…
user2583762