Search found 211 matches

by mainhatten
Sun Nov 29, 2020 7:01 pm
Forum: Visual FoxPro
Topic: Input needed on FoxPro array support
Replies: 13
Views: 7321

Input needed on FoxPro array support

<r>Hi Robert,<br/>
Antonio already ticked off most of the things to watch out for. Only a few things left unsaid after on 27. adding local [ARRAY] la(arraydim):<br/>
Numbering to his first answer:<br/>
4 ) vfp will check whether the first parameter exists or not - but if it exists it is also checked ...
by mainhatten
Sun Nov 29, 2020 3:15 pm
Forum: Chit-Chat
Topic: DBFCDX driver, array in memo field
Replies: 3
Views: 3462

DBFCDX driver, array in memo field

<r>Hi Robert,
<QUOTE author="robert"><s>[quote="robert"]</s>For backward compatibility we added reading of arrays from memos.<br/>
However this format is so complicated that we did not add writing. <br/>
In a DotNet environment we recommend that you serialize your arrays to a string and store that ...
by mainhatten
Wed Nov 18, 2020 6:11 pm
Forum: Visual FoxPro
Topic: Sample Form Bound to .DBF fields
Replies: 19
Views: 13499

Sample Form Bound to .DBF fields

<r>I think it is clearly bad practice if you bind directly on fields of an unbuffered table used to persist user input. I have been using biz and data layers for ages, using view or cursor records instead of lists of pojos, circumventing the need for ORMs. As long as the backend data store is ...
by mainhatten
Wed Nov 18, 2020 4:58 pm
Forum: Product
Topic: Mixing C# and X#
Replies: 19
Views: 5334

Mixing C# and X#

<r>I'd argue for something on Github...<br/>

<QUOTE author="wriedmann"><s>[quote="wriedmann"]</s>
<QUOTE><s>[quote]</s>Would be nice, if we could create a community filled "repo" in download, mainly for the bread and butter tools <e>[/quote]</e></QUOTE>
I would do that immediatly. Do you have any ...
by mainhatten
Wed Nov 18, 2020 4:39 pm
Forum: Product
Topic: X# slow - maybe the array handling ?
Replies: 21
Views: 6494

X# slow - maybe the array handling ?

<r>Yupp, overflow is not bad as it will still result in !=.<br/>
For vfp tables inside a database triggers modifying that counterflag could be added, then changes done via vfp would flag as well.<br/>
Even might read out the flag for vfp Cursorrefresh() as well - but for that insert and delete would ...
by mainhatten
Wed Nov 18, 2020 12:42 pm
Forum: Product
Topic: X# slow - maybe the array handling ?
Replies: 21
Views: 6494

X# slow - maybe the array handling ?

<r>Hi Wolfgang,<QUOTE author="wriedmann"><s>[quote="wriedmann"]</s>please let me confirm that the speed issues that ADS sometimes has have nothing to do with X#, but they are also occurring when using VO.<e>[/quote]</e></QUOTE>
No code seen so no idea what might happen - but I think the MS ideas on ...
by mainhatten
Wed Nov 18, 2020 12:27 pm
Forum: Product
Topic: X# slow - maybe the array handling ?
Replies: 21
Views: 6494

X# slow - maybe the array handling ?

<r><QUOTE author="robert"><s>[quote="robert"]</s>However...<br/>
There is a 4 byte field in the DBF header (DBASE_LAN, only used by Dbase AFAIK) that we could use for a version counter:<br/>
<URL url="https://github.com/X-Sharp/XSharpPublic/blob/feature/Runtime/Runtime/XSharp.Rdd/Dbf/DbfHeader.prg ...
by mainhatten
Wed Nov 18, 2020 11:52 am
Forum: Product
Topic: X# slow - maybe the array handling ?
Replies: 21
Views: 6494

X# slow - maybe the array handling ?

<r>Robert,
<QUOTE author="robert"><s>[quote="robert"]</s>
FoxPro seems to simply assume nothing has changed and shows "old data" even when another user has changed the data in the mean time.<br/>
It waits until you try to update the data before checking for changes made by other users.<br/>
And ...
by mainhatten
Wed Nov 18, 2020 12:00 am
Forum: Product
Topic: DBCreate
Replies: 24
Views: 6380

DBCreate

<r>Dick,
<QUOTE author="ic2"><s>[quote="ic2"]</s>
We use dbf (almost) exclusively combined with ADS. Now we are slowly starting to use SQL queries to retrieve data, show bBrowsers, etc. ADS does support this, although they have their own interpretation of SQL, this is common I am afraid (MySQL is ...
by mainhatten
Tue Nov 17, 2020 5:26 pm
Forum: Visual FoxPro
Topic: macro on left side of equation
Replies: 7
Views: 4309

macro on left side of equation

<r>Hi Robert,
<QUOTE author="robert"><s>[quote="robert"]</s>This has been implemented in X# in the mean time.<e>[/quote]</e></QUOTE>
I had realized that - but I expect the "Store to (nameexpr)" to be faster compared to macrocompilation in xSharp as well, so I decided to mention the vfp "better ...