# No VFP dbi Files in Export?

**URL:** <https://forum.servoy.com/t/no-vfp-dbi-files-in-export/20514>\
**Category:** Feedback\
**Created:** [June 4, 2021, 11:00pm UTC](https://forum.servoy.com/t/no-vfp-dbi-files-in-export/20514 "2021-06-04T23:00:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![john1598360627](https://avatars.discourse-cdn.com/v4/letter/j/439d5e/32.png) [@john1598360627](https://forum.servoy.com/u/john1598360627)\
**Post date:** [June 4, 2021, 11:00pm UTC](https://forum.servoy.com/t/no-vfp-dbi-files-in-export/20514/1 "2021-06-04T23:00:40Z")

</div>

ENVIRONMENT  
Servoy Version - 2021.3.0.3642

Servoy Type - NG Client

Operation System - Windows 10 Version 10.0.19041 Build 19041

Browser - Chrome, Firefox

PROBLEM  
VFP dbi files are not included in a File Export (.servoy).

STEPS  
File Export.

RESULT  
No dbi files for our VFP database.

QUESTION  
I’m honestly not sure if this is a bug or I’m missing the steps on how to include dbi files in an export.

I notice there are options to

- Export all tables from referenced servers
- Export metadata tables (from database)

I tried exporting all tables, but it still ignored the VFP. Haven’t tried metadata tables yet.

COMMENTS  
By the way, these are dbi files that are created within servoy. Done so to give our VFP databases a PK so that we can actually interface with it in query builder. No sure if this is effecting why it doesn’t work.

_Help appreciated!_

---

<div class="post-metadata">

**Author:** ![sdevlin](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/sdevlin/32/4488_2.png) [@sdevlin](https://forum.servoy.com/u/sdevlin)\
**Post date:** [June 8, 2021, 3:39pm UTC](https://forum.servoy.com/t/no-vfp-dbi-files-in-export/20514/2 "2021-06-08T15:39:19Z")

</div>

Hi John,

Yes DBF files are supported in export just like any other database.

_Export all tables from referenced servers_ is probably what you want. (You can ignore metadata)

Problem could be that you don’t actually have a reference to the server itself. That could be anything which is bound to a table, i.e. form, value list, relation, etc.

Also, you probably want to _export based on DBI files_ option to pickup the PK setting if not defined in DBF itself.

Best,  
Sean

---

<div class="post-metadata">

**Author:** ![john1598360627](https://avatars.discourse-cdn.com/v4/letter/j/439d5e/32.png) [@john1598360627](https://forum.servoy.com/u/john1598360627)\
**Post date:** [June 9, 2021, 10:25pm UTC](https://forum.servoy.com/t/no-vfp-dbi-files-in-export/20514/3 "2021-06-09T22:25:22Z")

</div>

> sean:  
> Hi John,
> 
> Yes DBF files are supported in export just like any other database.
> 
> _Export all tables from referenced servers_ is probably what you want. (You can ignore metadata)
> 
> Problem could be that you don’t actually have a reference to the server itself. That could be anything which is bound to a table, i.e. form, value list, relation, etc.
> 
> Also, you probably want to _export based on DBI files_ option to pickup the PK setting if not defined in DBF itself.
> 
> Best,  
> Sean

Hmmmm, this didn’t work.

I believe this is due to how we do NOT have any VFP table bound to forms, value lists, relations, or any other Servoy Object. We just want to import the data and not have the user manipulate it.

Specifically, all that I’m doing with the VFP is that I modify the table’s PK is a db identify, thus creating a dbi file for Servoy. Then, all I’m doing within the program itself is DatabaseManager code so that the VFP data can be imported into a regular SQL server.

So again, nothing is being bound, do you believe this could be why the DBI files for VFP aren’t appearing in a Servoy file export?

---

<div class="post-metadata">

**Author:** ![john1598360627](https://avatars.discourse-cdn.com/v4/letter/j/439d5e/32.png) [@john1598360627](https://forum.servoy.com/u/john1598360627)\
**Post date:** [June 10, 2021, 10:18pm UTC](https://forum.servoy.com/t/no-vfp-dbi-files-in-export/20514/4 "2021-06-10T22:18:50Z")

</div>

Ok so, as an experiment I:

Bound one of the VFP tables to a random form. Did the export, and yes in fact that bound table was the only one that stayed in the export.

The question becomes though, is there ANY way to include UNBOUND tables (like they aren’t attached to any form, etc) in a solution export?

---

<div class="post-metadata">

**Author:** ![sdevlin](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/sdevlin/32/4488_2.png) [@sdevlin](https://forum.servoy.com/u/sdevlin)\
**Post date:** [June 10, 2021, 10:49pm UTC](https://forum.servoy.com/t/no-vfp-dbi-files-in-export/20514/5 "2021-06-10T22:49:20Z")

</div>

Hi John,

No there is no way to do that. I believe the exporter will ignore any servers which have no hard reference.
