Discussion:
SPT and Remote Views
Chris Davis
2018-11-06 15:54:11 UTC
Permalink
Hi All

What extra happens when using Remove Views over SPT?

Using the same ODBC conneciton to a Filemaker database if I do "select * from ...." I get mixed results for the text strings.

If I perform the same query via a remote view I get the same mixed result.

But if I go one step further with the Remote View and specifc properties of the fields it manages to pull complete information out of filemaker.

So what extra is Remote View managing to ask of the Filemaker ODBC driver to make it behave?

Any ideas?

Regards

Chris.



--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@CWLP265MB1668.GBRP265.PROD.OUTLOOK.COM
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Ted Roche
2018-11-06 16:52:32 UTC
Permalink
Remote views, as you've indicated, let you specify the target structure of
the query.

When you execute direct SPT Fox attempts to get the first record matching
the query, and uses the structure of that result as the (fixed column)
structure of the result set. So, if you have a varying-length string
(varchar) and the first result is 3 characters, VFP might create a C(3)
field, which could truncate everything else. Does that describe what you
are seeing?
Post by Chris Davis
Hi All
What extra happens when using Remove Views over SPT?
Using the same ODBC conneciton to a Filemaker database if I do "select *
from ...." I get mixed results for the text strings.
If I perform the same query via a remote view I get the same mixed result.
But if I go one step further with the Remote View and specifc properties
of the fields it manages to pull complete information out of filemaker.
So what extra is Remote View managing to ask of the Filemaker ODBC driver
to make it behave?
Any ideas?
Regards
Chris.
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CACW6n4vOGqu7Xx+PP8FWK_e5xKYWczvuWEqzKODWL1VBr-***@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Chris Davis
2018-11-06 17:08:34 UTC
Permalink
Not really, I can issue the query once and I get C(10) and again and I get M(10) with the whole value in it.

It seems to be an issue with the Filemaker ODBC driver, they suggested VFP does ODBC v1? And their driver only supports ODBC v2?

Whatever the issue is, Remote Views seem to get around it. I would just like to be able to get around it using SPT.

-----Original Message-----
From: ProfoxTech <profoxtech-***@leafe.com> On Behalf Of Ted Roche
Sent: Tuesday, 06 November 2018 16:53
To: ***@leafe.com
Subject: Re: SPT and Remote Views

Remote views, as you've indicated, let you specify the target structure of the query.

When you execute direct SPT Fox attempts to get the first record matching the query, and uses the structure of that result as the (fixed column) structure of the result set. So, if you have a varying-length string
(varchar) and the first result is 3 characters, VFP might create a C(3) field, which could truncate everything else. Does that describe what you are seeing?
Post by Chris Davis
Hi All
What extra happens when using Remove Views over SPT?
Using the same ODBC conneciton to a Filemaker database if I do "select
* from ...." I get mixed results for the text strings.
If I perform the same query via a remote view I get the same mixed result.
But if I go one step further with the Remote View and specifc
properties of the fields it manages to pull complete information out of filemaker.
So what extra is Remote View managing to ask of the Filemaker ODBC
driver to make it behave?
Any ideas?
Regards
Chris.
--- StripMime Report -- processed MIME parts --- multipart/alternative
text/plain (text body -- kept)
text/html
---
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@CWLP265MB1668.GBRP265.PROD.OUTLOOK.COM
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Charlie-gm
2018-11-06 20:46:08 UTC
Permalink
Just a quick FYI.

If using SQL Pass-through, don't forget you have the "CAST()" syntax
available (you can convert dates to strings, set a size of the character
length, etc). I've used it frequently to ensure a "proper" (expected)
VFP data type output result.

-Charlie
Post by Chris Davis
Not really, I can issue the query once and I get C(10) and again and I get M(10) with the whole value in it.
It seems to be an issue with the Filemaker ODBC driver, they suggested VFP does ODBC v1? And their driver only supports ODBC v2?
Whatever the issue is, Remote Views seem to get around it. I would just like to be able to get around it using SPT.
-----Original Message-----
Sent: Tuesday, 06 November 2018 16:53
Subject: Re: SPT and Remote Views
Remote views, as you've indicated, let you specify the target structure of the query.
When you execute direct SPT Fox attempts to get the first record matching the query, and uses the structure of that result as the (fixed column) structure of the result set. So, if you have a varying-length string
(varchar) and the first result is 3 characters, VFP might create a C(3) field, which could truncate everything else. Does that describe what you are seeing?
Post by Chris Davis
Hi All
What extra happens when using Remove Views over SPT?
Using the same ODBC conneciton to a Filemaker database if I do "select
* from ...." I get mixed results for the text strings.
If I perform the same query via a remote view I get the same mixed result.
But if I go one step further with the Remote View and specifc
properties of the fields it manages to pull complete information out of filemaker.
So what extra is Remote View managing to ask of the Filemaker ODBC
driver to make it behave?
Any ideas?
Regards
Chris.
--- StripMime Report -- processed MIME parts --- multipart/alternative
text/plain (text body -- kept)
text/html
---
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/c18d3b7d-a3c3-2884-6c2f-***@gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Paul H. Tarver
2018-11-07 20:13:35 UTC
Permalink
+1

Paul H. Tarver
Tarver Program Consultants, Inc.

-----Original Message-----
From: ProfoxTech [mailto:profoxtech-***@leafe.com] On Behalf Of
Charlie-gm
Sent: Tuesday, November 06, 2018 2:46 PM
To: ***@leafe.com
Subject: Re: SPT and Remote Views


Just a quick FYI.

If using SQL Pass-through, don't forget you have the "CAST()" syntax
available (you can convert dates to strings, set a size of the character
length, etc). I've used it frequently to ensure a "proper" (expected)
VFP data type output result.

-Charlie
Post by Chris Davis
Not really, I can issue the query once and I get C(10) and again and I get
M(10) with the whole value in it.
Post by Chris Davis
It seems to be an issue with the Filemaker ODBC driver, they suggested VFP
does ODBC v1? And their driver only supports ODBC v2?
Post by Chris Davis
Whatever the issue is, Remote Views seem to get around it. I would just
like to be able to get around it using SPT.
Post by Chris Davis
-----Original Message-----
Sent: Tuesday, 06 November 2018 16:53
Subject: Re: SPT and Remote Views
Remote views, as you've indicated, let you specify the target structure of the query.
When you execute direct SPT Fox attempts to get the first record matching
the query, and uses the structure of that result as the (fixed column)
structure of the result set. So, if you have a varying-length string
Post by Chris Davis
(varchar) and the first result is 3 characters, VFP might create a C(3)
field, which could truncate everything else. Does that describe what you are
seeing?
Post by Chris Davis
Post by Chris Davis
Hi All
What extra happens when using Remove Views over SPT?
Using the same ODBC conneciton to a Filemaker database if I do "select
* from ...." I get mixed results for the text strings.
If I perform the same query via a remote view I get the same mixed result.
But if I go one step further with the Remote View and specifc
properties of the fields it manages to pull complete information out of filemaker.
So what extra is Remote View managing to ask of the Filemaker ODBC
driver to make it behave?
Any ideas?
Regards
Chris.
--- StripMime Report -- processed MIME parts --- multipart/alternative
text/plain (text body -- kept)
text/html
---
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/009d01d476d6$5d910110$18b30330$@tpcqpc.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Kevin J Cully
2018-11-07 20:24:27 UTC
Permalink
I was looking for an old blog post but I couldn't find it. At times there may be a problem with the ODBC connection and using CAST(), especially with VARCHAR(max). If you ever experience problem using CAST() and accessing a field of type VARCHAR(max), take a look at CONVERT(). This will work with VFP ( and Xojo! ) to access these fields where CAST() fails.

-----Original Message-----
From: ProFox [mailto:profox-***@leafe.com] On Behalf Of Paul H. Tarver
Sent: Wednesday, November 07, 2018 3:14 PM
To: ***@leafe.com
Subject: RE: SPT and Remote Views

+1

Paul H. Tarver
Tarver Program Consultants, Inc.

-----Original Message-----
From: ProfoxTech [mailto:profoxtech-***@leafe.com] On Behalf Of Charlie-gm
Sent: Tuesday, November 06, 2018 2:46 PM
To: ***@leafe.com
Subject: Re: SPT and Remote Views


Just a quick FYI.

If using SQL Pass-through, don't forget you have the "CAST()" syntax available (you can convert dates to strings, set a size of the character length, etc). I've used it frequently to ensure a "proper" (expected) VFP data type output result.

-Charlie
Post by Chris Davis
Not really, I can issue the query once and I get C(10) and again and I get
M(10) with the whole value in it.
Post by Chris Davis
It seems to be an issue with the Filemaker ODBC driver, they suggested VFP
does ODBC v1? And their driver only supports ODBC v2?
Post by Chris Davis
Whatever the issue is, Remote Views seem to get around it. I would just
like to be able to get around it using SPT.
Post by Chris Davis
-----Original Message-----
Sent: Tuesday, 06 November 2018 16:53
Subject: Re: SPT and Remote Views
Remote views, as you've indicated, let you specify the target
structure of
the query.
Post by Chris Davis
When you execute direct SPT Fox attempts to get the first record matching
the query, and uses the structure of that result as the (fixed column) structure of the result set. So, if you have a varying-length string
Post by Chris Davis
(varchar) and the first result is 3 characters, VFP might create a C(3)
field, which could truncate everything else. Does that describe what you are seeing?
Post by Chris Davis
Post by Chris Davis
Hi All
What extra happens when using Remove Views over SPT?
Using the same ODBC conneciton to a Filemaker database if I do "select
* from ...." I get mixed results for the text strings.
If I perform the same query via a remote view I get the same mixed result.
But if I go one step further with the Remote View and specifc
properties of the fields it manages to pull complete information out
of
filemaker.
Post by Chris Davis
Post by Chris Davis
So what extra is Remote View managing to ask of the Filemaker ODBC
driver to make it behave?
Any ideas?
Regards
Chris.
--- StripMime Report -- processed MIME parts --- multipart/alternative
text/plain (text body -- kept)
text/html
---
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@SN6PR0901MB2526.namprd09.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Paul H. Tarver
2018-11-07 20:33:56 UTC
Permalink
Haven't run into a problem with CAST(), but I'll add CONVERT() to my notes
for further review.

Thanks!

Paul H. Tarver
Tarver Program Consultants, Inc.


-----Original Message-----
From: ProfoxTech [mailto:profoxtech-***@leafe.com] On Behalf Of Kevin J
Cully
Sent: Wednesday, November 07, 2018 2:24 PM
To: ***@leafe.com
Subject: RE: SPT and Remote Views

I was looking for an old blog post but I couldn't find it. At times there
may be a problem with the ODBC connection and using CAST(), especially with
VARCHAR(max). If you ever experience problem using CAST() and accessing a
field of type VARCHAR(max), take a look at CONVERT(). This will work with
VFP ( and Xojo! ) to access these fields where CAST() fails.

-----Original Message-----
From: ProFox [mailto:profox-***@leafe.com] On Behalf Of Paul H. Tarver
Sent: Wednesday, November 07, 2018 3:14 PM
To: ***@leafe.com
Subject: RE: SPT and Remote Views

+1

Paul H. Tarver
Tarver Program Consultants, Inc.

-----Original Message-----
From: ProfoxTech [mailto:profoxtech-***@leafe.com] On Behalf Of
Charlie-gm
Sent: Tuesday, November 06, 2018 2:46 PM
To: ***@leafe.com
Subject: Re: SPT and Remote Views


Just a quick FYI.

If using SQL Pass-through, don't forget you have the "CAST()" syntax
available (you can convert dates to strings, set a size of the character
length, etc). I've used it frequently to ensure a "proper" (expected) VFP
data type output result.

-Charlie
Post by Chris Davis
Not really, I can issue the query once and I get C(10) and again and I get
M(10) with the whole value in it.
Post by Chris Davis
It seems to be an issue with the Filemaker ODBC driver, they suggested VFP
does ODBC v1? And their driver only supports ODBC v2?
Post by Chris Davis
Whatever the issue is, Remote Views seem to get around it. I would just
like to be able to get around it using SPT.
Post by Chris Davis
-----Original Message-----
Sent: Tuesday, 06 November 2018 16:53
Subject: Re: SPT and Remote Views
Remote views, as you've indicated, let you specify the target
structure of
the query.
Post by Chris Davis
When you execute direct SPT Fox attempts to get the first record matching
the query, and uses the structure of that result as the (fixed column)
structure of the result set. So, if you have a varying-length string
Post by Chris Davis
(varchar) and the first result is 3 characters, VFP might create a C(3)
field, which could truncate everything else. Does that describe what you are
seeing?
Post by Chris Davis
Post by Chris Davis
Hi All
What extra happens when using Remove Views over SPT?
Using the same ODBC conneciton to a Filemaker database if I do "select
* from ...." I get mixed results for the text strings.
If I perform the same query via a remote view I get the same mixed result.
But if I go one step further with the Remote View and specifc
properties of the fields it manages to pull complete information out
of
filemaker.
Post by Chris Davis
Post by Chris Davis
So what extra is Remote View managing to ask of the Filemaker ODBC
driver to make it behave?
Any ideas?
Regards
Chris.
--- StripMime Report -- processed MIME parts --- multipart/alternative
text/plain (text body -- kept)
text/html
---
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/00aa01d476d9$35532810$9ff97830$@tpcqpc.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Stephen Russell
2018-11-08 02:38:42 UTC
Permalink
You could add a column for the length of varchar(max) content and sort on
that descending. Then you will know if the width of Fox cursor is actually
getting all of the data.
Post by Kevin J Cully
I was looking for an old blog post but I couldn't find it. At times there
may be a problem with the ODBC connection and using CAST(), especially with
VARCHAR(max). If you ever experience problem using CAST() and accessing a
field of type VARCHAR(max), take a look at CONVERT(). This will work with
VFP ( and Xojo! ) to access these fields where CAST() fails.
-----Original Message-----
Sent: Wednesday, November 07, 2018 3:14 PM
Subject: RE: SPT and Remote Views
+1
Paul H. Tarver
Tarver Program Consultants, Inc.
-----Original Message-----
Sent: Tuesday, November 06, 2018 2:46 PM
Subject: Re: SPT and Remote Views
Just a quick FYI.
If using SQL Pass-through, don't forget you have the "CAST()" syntax
available (you can convert dates to strings, set a size of the character
length, etc). I've used it frequently to ensure a "proper" (expected) VFP
data type output result.
-Charlie
Post by Chris Davis
Not really, I can issue the query once and I get C(10) and again and I get
M(10) with the whole value in it.
Post by Chris Davis
It seems to be an issue with the Filemaker ODBC driver, they suggested VFP
does ODBC v1? And their driver only supports ODBC v2?
Post by Chris Davis
Whatever the issue is, Remote Views seem to get around it. I would just
like to be able to get around it using SPT.
Post by Chris Davis
-----Original Message-----
Sent: Tuesday, 06 November 2018 16:53
Subject: Re: SPT and Remote Views
Remote views, as you've indicated, let you specify the target structure of
the query.
Post by Chris Davis
When you execute direct SPT Fox attempts to get the first record matching
the query, and uses the structure of that result as the (fixed column)
structure of the result set. So, if you have a varying-length string
Post by Chris Davis
(varchar) and the first result is 3 characters, VFP might create a C(3)
field, which could truncate everything else. Does that describe what you are seeing?
Post by Chris Davis
Post by Chris Davis
Hi All
What extra happens when using Remove Views over SPT?
Using the same ODBC conneciton to a Filemaker database if I do "select
* from ...." I get mixed results for the text strings.
If I perform the same query via a remote view I get the same mixed
result.
Post by Chris Davis
Post by Chris Davis
But if I go one step further with the Remote View and specifc
properties of the fields it manages to pull complete information out
of
filemaker.
Post by Chris Davis
Post by Chris Davis
So what extra is Remote View managing to ask of the Filemaker ODBC
driver to make it behave?
Any ideas?
Regards
Chris.
--- StripMime Report -- processed MIME parts --- multipart/alternative
text/plain (text body -- kept)
text/html
---
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CAJidMYJkyLdkCeWo2sRxeyKb38ycnmTut7U=7md+vM=+P1+***@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Chris Davis
2018-11-08 11:28:41 UTC
Permalink
Thanks for the all the responses, I contacted filemaker support and basically they say the problem isn't theirs its because the implementation of ODBC in foxpro is v1? And the only support v2.

They proved this by using the same DSN I had created to use with foxpro and querying it via excel and msquery and all the data appears without issue.

I have decided not to pursue using fox to get the data out.

-----Original Message-----
From: ProfoxTech <profoxtech-***@leafe.com> On Behalf Of Stephen Russell
Sent: Thursday, 08 November 2018 02:39
To: ***@leafe.com
Subject: Re: SPT and Remote Views

You could add a column for the length of varchar(max) content and sort on that descending. Then you will know if the width of Fox cursor is actually getting all of the data.
Post by Kevin J Cully
I was looking for an old blog post but I couldn't find it. At times
there may be a problem with the ODBC connection and using CAST(),
especially with VARCHAR(max). If you ever experience problem using
CAST() and accessing a field of type VARCHAR(max), take a look at
CONVERT(). This will work with VFP ( and Xojo! ) to access these fields where CAST() fails.
-----Original Message-----
Sent: Wednesday, November 07, 2018 3:14 PM
Subject: RE: SPT and Remote Views
+1
Paul H. Tarver
Tarver Program Consultants, Inc.
-----Original Message-----
Sent: Tuesday, November 06, 2018 2:46 PM
Subject: Re: SPT and Remote Views
Just a quick FYI.
If using SQL Pass-through, don't forget you have the "CAST()" syntax
available (you can convert dates to strings, set a size of the
character length, etc). I've used it frequently to ensure a "proper"
(expected) VFP data type output result.
-Charlie
Post by Chris Davis
Not really, I can issue the query once and I get C(10) and again and I get
M(10) with the whole value in it.
Post by Chris Davis
It seems to be an issue with the Filemaker ODBC driver, they
suggested VFP
does ODBC v1? And their driver only supports ODBC v2?
Post by Chris Davis
Whatever the issue is, Remote Views seem to get around it. I would just
like to be able to get around it using SPT.
Post by Chris Davis
-----Original Message-----
Sent: Tuesday, 06 November 2018 16:53
Subject: Re: SPT and Remote Views
Remote views, as you've indicated, let you specify the target structure of
the query.
Post by Chris Davis
When you execute direct SPT Fox attempts to get the first record matching
the query, and uses the structure of that result as the (fixed column)
structure of the result set. So, if you have a varying-length string
Post by Chris Davis
(varchar) and the first result is 3 characters, VFP might create a C(3)
field, which could truncate everything else. Does that describe what you are seeing?
Post by Chris Davis
Post by Chris Davis
Hi All
What extra happens when using Remove Views over SPT?
Using the same ODBC conneciton to a Filemaker database if I do "select
* from ...." I get mixed results for the text strings.
If I perform the same query via a remote view I get the same mixed
result.
Post by Chris Davis
Post by Chris Davis
But if I go one step further with the Remote View and specifc
properties of the fields it manages to pull complete information
out of
filemaker.
Post by Chris Davis
Post by Chris Davis
So what extra is Remote View managing to ask of the Filemaker ODBC
driver to make it behave?
Any ideas?
Regards
Chris.
--- StripMime Report -- processed MIME parts --- multipart/alternative
text/plain (text body -- kept)
text/html
---
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@CWLP265MB1668.GBRP265.PROD.OUTLOOK.COM
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Dave Crozier
2018-11-07 10:32:03 UTC
Permalink
Chris,
Not dealt with FM for a couple of years but I did have similar inconsistency issues with the SPT and ended up using remote views when I wrote a small add-on system for a friend who specialises in FM Pro.

One thing is sure.... it isn't going to be fixed if it is an ODBC issue!!!

Dave Crozier
Software Development Manager
Flexipol Packaging Ltd.

﴾⚆ᨎ⚆﴿



Flexipol® Packaging Ltd
T 01706 222 792
E ***@flexipol.co.uk
W https://www.flexipol.co.uk/
Follow us:
Unit 14 Bentwood Road, Carrs Industrial Estate, Haslingden, Lancashire, BB4 5HH

​This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. If you have received this e-mail in error you must not copy, distribute or take any action in reliance on it. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.

Flexipol Packaging Ltd. has taken every reasonable precaution to minimise the risk of virus transmission through email and therefore any files sent via e-mail will have been checked for known viruses. However, you are advised to run your own virus check before opening any attachments received as Flexipol Packaging Ltd will not in any event accept any liability whatsoever once an e-mail and/or any attachment is received.

It is the responsibility of the recipient to ensure that they have adequate virus protection.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
​​
​Terms & Conditions:
Notwithstanding delivery and the passing of risk in the goods, the property in the goods shall not pass to the buyer until the seller Flexipol Packaging Ltd. ("The Company") has received in cash or cleared funds payment in full of the price of the goods and all other goods agreed to be sold by the seller to the buyer for which payment is then due. Until such time as the property in the goods passes to the buyer, the buyer shall hold the goods as the seller's fiduciary agent and bailee and keep the goods separate from those of the buyer and third parties and properly stored protected and insured and identified as the seller's property but shall be entitled to resell or use the goods in the ordinary course of its business. Until such time as the property in the goods passes to the buyer the seller shall be entitled at any time
-----Original Message-----
From: ProFox <profox-***@leafe.com> On Behalf Of Chris Davis
Sent: 06 November 2018 17:09
To: ***@leafe.com
Subject: RE: SPT and Remote Views

Not really, I can issue the query once and I get C(10) and again and I get M(10) with the whole value in it.

It seems to be an issue with the Filemaker ODBC driver, they suggested VFP does ODBC v1? And their driver only supports ODBC v2?

Whatever the issue is, Remote Views seem to get around it. I would just like to be able to get around it using SPT.

-----Original Message-----
From: ProfoxTech <profoxtech-***@leafe.com> On Behalf Of Ted Roche
Sent: Tuesday, 06 November 2018 16:53
To: ***@leafe.com
Subject: Re: SPT and Remote Views

Remote views, as you've indicated, let you specify the target structure of the query.

When you execute direct SPT Fox attempts to get the first record matching the query, and uses the structure of that result as the (fixed column) structure of the result set. So, if you have a varying-length string
(varchar) and the first result is 3 characters, VFP might create a C(3) field, which could truncate everything else. Does that describe what you are seeing?
Post by Chris Davis
Hi All
What extra happens when using Remove Views over SPT?
Using the same ODBC conneciton to a Filemaker database if I do "select
* from ...." I get mixed results for the text strings.
If I perform the same query via a remote view I get the same mixed result.
But if I go one step further with the Remote View and specifc
properties of the fields it manages to pull complete information out of filemaker.
So what extra is Remote View managing to ask of the Filemaker ODBC
driver to make it behave?
Any ideas?
Regards
Chris.
--- StripMime Report -- processed MIME parts --- multipart/alternative
text/plain (text body -- kept)
text/html
---
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@CWLP265MB0852.GBRP265.PROD.OUTLOOK.COM
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are to
Loading...