Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LibraryDirectory

Status
Not open for further replies.

nik11

Programmer
Feb 6, 2010
34
US
I am reading some libraries using LibraryDirectory in a pbl file which are then inported in a datawindow using Importfile function. Is it possible to omit some libraries programmatically or by some other way.
 
You can loop through the rows in the DW after the import and do a rowsdiscard to get rid of the unwanted ones based on whatever criteria you devise.

Or you can parse the string returned from LibraryDirectory looking for whatever your criteria is to 'filter out' the unwanted stuff (and then import it into the dw).

Matt

"Nature forges everything on the anvil of time
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top