|
| [WD19] What is the correct indirection type for a file field |
| Iniciado por guest, 20,ene. 2015 07:36 - 2 respuestas |
| |
| | | |
|
| |
| Publicado el 20,enero 2015 - 07:36 |
Hello All
I have an indirection process that works on data in a hyper file and I am using the "indItem" constant type when extracting the field name and while it does not give an error I am curious if it is the correct one.
There is a constant (indFile) for files and I suppose I was expecting an "indField" if there was one specifically for file fields but there is not so..
This is the code LTempString = ExtractString(LItemList,firstRank,CR) WHILE LTempString <> EOT LFldNameString = ExtractString(LTempString,1) LItemIntType = Val(ExtractString(LTempString,3)) SWITCH LItemIntType CASE 10,14,24 //10 date type item on 6 bytes //14 date type item on 8 bytes //24 date+time type item LDateFldName = LWDFile+"."+LFldNameString IF NOT DateValid({LDateFldName,indItem}) THEN Regards Al |
| |
| |
| | | |
|
| | |
| |
| Publicado el 20,enero 2015 - 08:19 |
Hi Al My belief is that indItem is correct & is PCSoft's alternative to calling it a field, the same way as HListItem lists all the fields(items!) .
Cheers
David |
| |
| |
| | | |
|
| | |
| |
| Publicado el 20,enero 2015 - 10:04 |
Hello David
That makes perfect sense - thanks
Regards Al |
| |
| |
| | | |
|
| | | | |
| | |
|