I have a TABLE FILE where I want to create a focus db. Thus, I use the following line:
ON TABLE HOLD AS Test_Database FORMAT FOCUS
However, when looking in Explorer, the names of the 2 files created are lower case:
test_database.foc test_database.mas
I can use a -DOS RENAME command and change it from lower to mixed case for both files. But I was wondering if there's a setting, or something, in WebFocus such that filenames would be saved the way I type it - i.e., mixed case - without using extra lines (the DOS commands).
Thanks, MarkThis message has been edited. Last edited by: FP Mod Chuck,
WF 8.2.02 App Studio DataMigrator ReportCaster Windows Server 2016
May 23, 2018, 11:25 AM
BabakNYC
I'm not sure why you need to do that. I suggest you use all uppercase for the HOLD AS TEST_DATBASE. That way you won't have to deal with -DOS commands.
WebFOCUS 8206, Unix, Windows
May 23, 2018, 11:33 AM
folkie
BabaNYC,
I like using mixed case for filenames. That way, I can cut down on underscores. Plus, using all uppercase, as in your example, does the same as in my example - the files still end up all lowercase in Explorer.
Thanks, Mark
WF 8.2.02 App Studio DataMigrator ReportCaster Windows Server 2016
May 23, 2018, 11:47 AM
BabakNYC
Unfortunately, regardless of the case you use in the HOLD AS, the file on disk will be in lowercase. For instance take a look at the apps/ibisamp directory you'll see that car.mas is all lowercase even though we usually type TABLE FILE CAR. BTW, TABLE FILE car and TABLE FILE Car work the same.