![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
How does one setup a q-pointer to a file in the windows system. For example, say, c:\contacts ? |
#3
| |||
| |||
|
|
"Concerned Netizen" <nospam (AT) nospam (DOT) com> wrote in message news:xgszg.140605$H71.62387 (AT) newssvr13 (DOT) news.prodigy.com... How does one setup a q-pointer to a file in the windows system. For example, say, c:\contacts ? netizen- OpenQM has multiple ways to "point" to a data file outside of QM. You can create a 'Directory' type file using an explicit path within the available file system, which will then be available within QMBasic using normal Open, Read, Write commands, (see "CREATE-FILE" command.) Directory type files have no dictionaries (VOCs) and cannot be reported upon using English/Access from TCL. Also you can specify a 'Q' type file pointer where attr<2>=Account or Path, attr<3>=File name in Account, attr<4>=Server name (QMNet connections only). I believe these will have Directory type file limitations, if they reside outside the file system. See OpenQM documentation for more details. Note: as with most MV flavors, if you read data from an outside source, it is highly recommended to run an 'MCP' conversion (or equivalent) on the data before actually doing anything with it inside the DBMS. Hope that helps... If not, try the OpenQM forum on Google Groups. BFaux |
#4
| |||
| |||
|
| Thanks, I went over the documentation, but I don't seem to see if or how OpenQm could sort an existing directory. Can it? |
#5
| |||
| |||
|
|
Goo'day, On Tue, 01 Aug 2006 05:22:38 GMT, "Concerned_Netizen" Concerned_netizen (AT) WhydontIgetspamanymore (DOT) net> wrote: Thanks, I went over the documentation, but I don't seem to see if or how OpenQm could sort an existing directory. Can it? If I understand the question properly, what's wrong with !SORT ?? HTH Regards, Bruce Nichol Talon Computer Services ALBURY NSW Australia http://www.taloncs.com.au If it ain't broke, fix it until it is.... |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
I'd be happy to use sort on a directory i could point to which was a native windows directory. The question I was trying to proffer was, er, how do i make a directory that was native to windows visible to SORT in openqm. In D3 it was easy... |
athname
#8
| |||
| |||
|
|
Goo'day, Ah! Now I think I understand.... On Tue, 01 Aug 2006 07:23:56 GMT, "Concerned_Netizen" Concerned_netizen (AT) WhydontIgetspamanymore (DOT) net> wrote: I'd be happy to use sort on a directory i could point to which was a native windows directory. The question I was trying to proffer was, er, how do i make a directory that was native to windows visible to SORT in openqm. In D3 it was easy... In OpenQM it's even easier. There's a configuration parameter FILERULE which "allows additive rules for file names": 1 = Allow Account:File 2 = Allow Server:Account:file (QMNet) 4 = Allow PATH athnameso if config FILERULE is set to 4 or higher, one can SORT PATH:e:\downloads\qm<Enter> and get a result like: SORT PATH:E:\DOWNLOADS\QM ... Page 1 PATH:E:\DOWNLOADS\QM 051231.CSV QM-AT-COLOUR.ZIP QMCLIENT_JAVA.ZIP QMCLIENT_NET.ZIP QMDOCS_2-1-13.ZIP QMDOCS_2-1-14.ZIP QMDOCS_2-1-5.EXE QMWEB-WIN-2006-03-03.ZIP QM_2-1-11.EXE QM_2-1-12.EXE QM_2-1-13.EXE QM_2-1-14.EXE QM_2-2-0.EXE QM_2-2-10.EXE QM_2-2-11.EXE QM_2-2-12.EXE QM_2-2-13.EXE QM_2-2-14.EXE QM_2-2-15.EXE.... : HTH Regards, Bruce Nichol Talon Computer Services ALBURY NSW Australia http://www.taloncs.com.au If it ain't broke, fix it until it is.... |
#9
| |||
| |||
|
|
where in the documentation would I find information on how to set up configuration parameters and FILERULE. I sure can't seem to find them by typing HELP FILERULE |
![]() |
| Thread Tools | |
| Display Modes | |
| |