Ask Your Question

I have a Form Database and a Spreadsheet that I want to communicate with each other.

asked 2019-02-12 03:58:56 +0200

My Database form is to keep track of samples loaned out to customers. I have a field for the Barcode, Name and Supplier. Plus extra fields.

My Spreadsheet has fields for Barcode, Name and Supplier.

I want to use the database form to put in the Barcode and have it get from the spreadsheet the Name and Supplier and automatically put into the fields in the database.

This to be repeated up to 8 times depending how many samples are being loaned out.

I have tired to find this in your excellent help, but to no avail. I hope you can tell me how to do this. Thanks Judi Archer

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2019-02-12 04:09:59 +0200

Ratslinger gravatar image


There is no existing process to automatically retrieve data from a Calc sheet to a Database using a Base form. This may be possible by using macros but requires knowledge of macro programming.

It is not clear why the spreadsheet is necessary.

edit flag offensive delete link more


Thanks for your comment. The Form is to be used by staff to enter the barcode only and the spreadsheet look up and find the matching barcode with its additional details from the 2,000 odd samples entered into the Spreadsheet and automatically enter the details into the matching form fields. (Saving time reading and typing in the Name and Supplier. The form is then printed off and given to the customer so they know the details of the fabric.

Curtain Store gravatar imageCurtain Store ( 2019-02-12 05:19:41 +0200 )edit

If I can do this within a Base file instead of using the spreadsheet file that would be great.

Curtain Store gravatar imageCurtain Store ( 2019-02-12 05:33:39 +0200 )edit

Regardless of use, if you are looking to enter data from a spreadsheet into a Base database (or retrieve data from a spreadsheet into Base), it will require macro coding.

As for Name & Supplier, that is probably little more than a table link in Base.

Ratslinger gravatar imageRatslinger ( 2019-02-12 05:38:48 +0200 )edit

Just got last comment after typing mine. If that is all the spreadsheet is used for, then why not convert that list into a table in Base and link samples to that. There is no limitations as to the amount of samples linked. Base and databases are all about prep work. What are the goals then how to get there. Not something to be done in an afternoon.

For convenience, here is the link to the Base documentation -> LibreOffice Base Handbook. Lower on that page is also a tutorial on relational databases.

Ratslinger gravatar imageRatslinger ( 2019-02-12 05:45:46 +0200 )edit

Thank you again. You are a great help to my problem, much appreciated. I will go and have a read.

Curtain Store gravatar imageCurtain Store ( 2019-02-12 09:50:56 +0200 )edit

I have my two base files now. Thanks that was very helpful. Only problem now is I don't know how to link them. Any help on this would be really great. Thanks

Curtain Store gravatar imageCurtain Store ( 2019-02-13 22:16:48 +0200 )edit

@Curtain Store

This is all covered in the documentation (link provided above). This is the basics of relational databases. A lot has to do with the system you are putting together (all the details), the tables you have and yet need to design, and what output you are expecting.

This forum is designed to ask a question and get a response. Further questions are hidden from others searching for answers. The step by step process of putting together a working system (this beside all the back & forth questions on design possibilities) is too large for typical forums.

If you have a specific question, please ask as a new question but include all details possible. For more on this, please see this post -> Guidelines for asking.

Ratslinger gravatar imageRatslinger ( 2019-02-14 01:24:03 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-02-12 03:58:56 +0200

Seen: 74 times

Last updated: Feb 12 '19