• Join/Login
  • Business Software
  • Open Source Software
  • For Vendors
  • Blog
  • About
  • More
    • Articles
    • Create
    • SourceForge Podcast
    • Site Documentation
    • Subscribe to our Newsletter
    • Support Request
SourceForge logo
For Vendors Help Create Join Login
SourceForge logo
Business Software
Open Source Software
SourceForge Podcast
Resources
  • Articles
  • Case Studies
  • Blog
Menu
  • Help
  • Create
  • Join
  • Login
  • Home
  • Browse
  • local_search
  • Code

local_search Code

Load filenames to a local database for an easy search

Brought to you by: redbow-tie
  • Summary
  • Files
  • Reviews
  • Support
  • Code
  • Tickets
  • Wiki
Menu ▾ ▴
 
  • Browse Commits
  • Fork
  • Merge Requests 0

Branches

  • main

Tags

  • First

Tree [8a4601] main /
 History

HTTPS git://
HTTPS access


File Date Author Commit
 LGPL 2024-09-18 Ronny Ronny [9eb09c] Added support for MariaDB
 .gitattributes 2024-09-18 Ronny Ronny [c63c03] Added support for MariaDB
 README.md 2024-09-18 Ronny Ronny [9eb09c] Added support for MariaDB
 SWE_VERSION.md 2024-09-19 Ronny Ronny [8a4601] Updated
 db_con.sw 2024-08-26 Ronny Ronny [491226] first commit
 demo.png 2024-08-26 Ronny Ronny [491226] first commit
 file_index.sw 2024-09-18 Ronny Ronny [c63c03] Added support for MariaDB
 help.sw 2024-08-26 Ronny Ronny [491226] first commit
 layout.png 2024-08-26 Ronny Ronny [491226] first commit
 lf_login.sw 2024-09-18 Ronny Ronny [c63c03] Added support for MariaDB
 libiconv-2.dll 2024-08-26 Ronny Ronny [491226] first commit
 libintl-8.dll 2024-08-26 Ronny Ronny [491226] first commit
 libmariadb.dll 2024-09-18 Ronny Ronny [9eb09c] Added support for MariaDB
 sql.sw 2024-08-26 Ronny Ronny [491226] first commit
 start.sw 2024-09-18 Ronny Ronny [c63c03] Added support for MariaDB
 swe.exe 2024-09-18 Ronny Ronny [c63c03] Added support for MariaDB
 sweq.exe 2024-09-18 Ronny Ronny [c63c03] Added support for MariaDB

Read Me

Local_Search. Load filenames to a local database for an easy search. This program is made with my Swedish Compiler. That is focusing on a simple Gui and support many different databases (PostgreSQL, MariaDB, SqLite, Odbc). It’s working under Linux (Wine).

News

The latest version is now supporting MariaDB. The interface file is dynamical loaded.
Set SWE_MARIA/SWE64_MARIA to the name so can the DLL be loaded direct from the splash
screen and the version is showed.

sqlite

For higher performens I disable this database file safety. So if the load of filenames will
crash/hang the database will be corrupt, delete the database and start over.

Known problem

SqlExperss is not supported as the lack of the LIMIT keyword (I don't think there is a bulk load function, so it will be slow).
Limited support for Wide character.

About the Compiler

Sorry there is no Compiler manual, but there is a simple help program. I have many test program that's is published in another project.

Are You curious about the syntax ?
Perhaps this little program can make Yours interest:

form start ()
    layout "Database test" sysmenu 
              b    b  b    b

    e     ee       e
    f     ff               f
    g     gg               g

    end
    pre
        db.sqlite ("demo.db" )
        sql.select ( "* from customer" )
        .display ()        
    end
field
e:  "Name"
e: E1 EDIT, display ( sql.cust_no )
f: "Name"
f: E2 EDIT, display ( sql.name )
g: "City"

g: E3 EDIT, display ( sql.city )
b: BACK BT "Back"
    select    
        if ( -- sql < 0 )
            .disable ( BACK )
        end
        .enable ( FORW )
        .display ()    
    end
b: FORW BT "Forw"
    select
        if ( ++ sql >= sql.rows() )
            -- sql
            .disable ( FORW )
        end
        .enable ( BACK )
        .display ()        
    end
end

The output

SourceForge
  • Create a Project
  • Open Source Software
  • Business Software
  • Top Downloaded Projects
Company
  • About
  • Team
  • SourceForge Headquarters
    1320 Columbia Street Suite 310
    San Diego, CA 92101
    +1 (858) 422-6466
Resources
  • Support
  • Site Documentation
  • Site Status
  • SourceForge Reviews
SourceForge logo
© 2025 Slashdot Media. All Rights Reserved.
Terms Privacy Opt Out Advertise
×