Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

Automatic Timestamp (no replies)

$
0
0
WD21, HFCS

Thought I would try this.
Set field to record the creation date in my data file as 'timestamp'- selected Date(yyyymmdd) as the Sub Type and selected 'At Creation'-'Local Time'-'Not Key'
Regenerated the analysis, added a couple of records - Nothing, no date was recorded
Also tried it to record 'last modification' - same result.
The 'Help', other than stating it is available, give no information so my question is does it in fact work? - Has anyone been successful in using it?

The above is somewhat of a moot question as I have found a another issue for which I get the following (partial) error.....
MemoryToFile function called.
Operation not allowed on <LU_SysLookUps.SysDt_C> item: it is a automatic timestamp item.

Nothing in the 'Help' about this one.

Another separate issue I have is when using HRetrieveRecord("LU_SysLookUps")
The error(partial) on this is....
Error at line 30 of Internal procedure ipOnChange process.
Operation not allowed on <LU_SysLookUps.ckCode_Sort> item: it is a composite key.

Yes, the datafile does contain a CK but the 'Help' suggestes in the Remarks for the function that this should not be a problem....
The content of composite keys is not retrieved but the item separator is present (to avoid a shift).

Both the above calls are from Class methods but I do not see how that can be the problem.

Oh well, another couple of hours I will never see again

Now got rid of the CK and removed 'timestamp' from all my data files - everything running as expected.

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>