|
Post by George on Jun 2, 2020 13:22:08 GMT -5
Robert:
Getting a temp name is trivial, there is a get-temp-filename already in the, it just needs a macro call function. It allocates a guaranteed unique name in the standard Windows TEMP folder. It needs a passed, 3 char prefix which will be used in creating the name. The names are all XXXyyyy.tmp. e.g. if passed ABC you'd get back ABChhhhh.TMP where hhh are some random characters.
This should do, I don't want to get into 'private' Temp folders, nor do I want to go altering the current SPFLite usage.
2nd item - isn't this what Get_Uniq_ID was supposed to provide, why re-invent some variation of it?
George
|
|
|
Post by George on Jun 4, 2020 11:47:55 GMT -5
Adding Get_Temp_Filename$ is fine, using the normal WIndows TEMP folder is also fine, we don't need a proliferation of TEMP folders all over a users system and then having to ensure they get 'managed'.
Get_INIPath$ gets you the SPFite Data folder.
Get_Uniq will return (SPFLite PID x 10000) + (SPFLite Tab# * 100)
I truly don't see a macro creating more that 100 sub-tables and possibly colliding with another macro in another tab.
Just not gonna happen.
George
|
|
|
Post by George on Jun 6, 2020 15:22:20 GMT -5
Robert: The table number must be just that: a number, no alphabetic. That differentiation is how the parse determines its a sub table number.
G.
|
|